Plugin • MyGallery Lightbox Gallery • Update march 7th 2009

Download plugins, language packs and stuff.

Postby Partyism » Tue Sep 02, 2008 9:00 am

someone managed to get this working. http://forums.cutenewsru.com/cutenewsru-and-jw-flv-media-player-t2175.html but we dont get any feedback no more.
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby sidtheduck » Tue Sep 02, 2008 7:40 pm

bongda wrote:man, I still have that same problem that some of the guys had; and even though I already tried to CMOD all the required folders to 777, it's still not working.
I wonder if anybody has the same problem that I do. Basically, if i click on the MyGallery Manager, I will see the login box:
I tried to to use admin and pass for the username and password; but it doesn't do anything.

Does anaybody have any ideas why?
bongda,

Did you CHMOD the galleries.dat and log.dat.php files as well? I'm guessing the log.dat.php file doesn't have write permissions.

Goberg wrote:is it possible to integrate JW FLV Media Player with this. I would love to be able to upload flv files (note: I don't need the server to encode videos to flv) and make some sort of gallery out of it
Goberg, It doesn't work at the moment, but there should be a workaround / hack that could do this. I can take a look, but as you can probably tell, it'll take me a little bit to get it up and running since I'm busy as crap at the moment and I've got some other things to work on for MyGallery prior to the FLV uploads. Feel free to attempt yourself and I can try to help if you get stuck in certain areas. :D
User avatar
sidtheduck
 
Posts: 71
Joined: Fri Mar 28, 2008 5:17 pm

Postby Goberg » Wed Sep 03, 2008 9:38 am

Partyism wrote:someone managed to get this working. http://forums.cutenewsru.com/cutenewsru-and-jw-flv-media-player-t2175.html but we dont get any feedback no more.


Hehe, that was me, sorry forgot about that post :P will update with info now.

Goberg, It doesn't work at the moment, but there should be a workaround / hack that could do this. I can take a look, but as you can probably tell, it'll take me a little bit to get it up and running since I'm busy as crap at the moment and I've got some other things to work on for MyGallery prior to the FLV uploads. Feel free to attempt yourself and I can try to help if you get stuck in certain areas. :D


All right, I try as good as i can, but I'm not good at php or anything like that, I just like to mess around :P
Maybe you could start off by telling me how I could give the script permission to upload .flv files?
Goberg
 
Posts: 79
Joined: Thu Jan 18, 2007 2:31 pm

Postby Partyism » Wed Sep 17, 2008 9:59 am

did somebody already take a look @ randomimage.php?

Code: Select all
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/partyism/domains/partyism.nl/public_html/artikelen/plugins/mygallery/randomimage.php on line 10


When deleting the '&' i get the following error:

Code: Select all
Warning: file(galleries.dat) [function.file]: failed to open stream: No such file or directory in /home/partyism/domains/partyism.nl/public_html/artikelen/plugins/mygallery/randomimage.php on line 9

Warning: Invalid argument supplied for foreach() in /home/partyism/domains/partyism.nl/public_html/artikelen/plugins/mygallery/randomimage.php on line 10

Warning: rsort() expects parameter 1 to be array, boolean given in /home/partyism/domains/partyism.nl/public_html/artikelen/plugins/mygallery/randomimage.php on line 13
/artikelen/plugins/mygallery/images//15
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby Partyism » Sun Sep 21, 2008 6:52 pm

*Kick* :oops:
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby nam » Sun Sep 21, 2008 9:17 pm

randomimage.php did not work for me too, so I had to find another PHP free script on the internet and use it instead.
User avatar
nam
 
Posts: 221
Joined: Sat Dec 23, 2006 9:10 pm

Postby Partyism » Sun Sep 21, 2008 10:00 pm

does that script work with mygallery? If so could you post it?
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby nam » Mon Sep 22, 2008 12:43 am

Unfortunately no. Or as I am not good in PHP coding I could not figure out how to link it with mygallery.

So each time I add a new gallery through mygallery, I also need to update the rotator script.

You can find it at:

http://www.dyn-web.com/code/rotate_images/rotate_random.php

I searched many, and found this one easy to install and update and also very powerful.
User avatar
nam
 
Posts: 221
Joined: Sat Dec 23, 2006 9:10 pm

Postby marcelvk » Thu Oct 09, 2008 11:59 am

marcelvk wrote:
:( can no one help me?
It isn't that easy to just insert a single album into a post at this point, marcelvk, unless your server allows URL wrappers for the PHP function file_get_contents. To use that, just add
Code: Select all
   <?php echo file_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2"); ?>

will display the 2nd album and link directly to your MyGallery installation (not to the embedded album in Cutenews). I'll see what I can do for future development to make it easier to include a single album.


Hi there i'm back again with a little problem on this code... it works but when a gallery exists of more than one page it will link to :
Code: Select all
plugins/mygallery/gallery.inc.php?mggal=1&mgpage=2

instead of using my lay-out...

Do you know how to solve this??
marcelvk
 
Posts: 29
Joined: Thu Jun 19, 2008 10:10 pm

Postby marcelvk » Thu Oct 16, 2008 7:27 pm

Solved...
Last edited by marcelvk on Sat Oct 25, 2008 9:55 am, edited 1 time in total.
marcelvk
 
Posts: 29
Joined: Thu Jun 19, 2008 10:10 pm

Postby Partyism » Fri Oct 24, 2008 2:09 pm

to bad this is not working for me

Code: Select all
<?php echo file_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2"); ?>
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby marcelvk » Sat Oct 25, 2008 9:54 am

Strange... it worked for me... only that if you have more pages in gallery like i explainend in an earliear post it doesn't stay in my lay out but goes to:
http://www.yourdomain.com/mygallery/gal ... hp?mggal=2

Does anyone know a solution?
marcelvk
 
Posts: 29
Joined: Thu Jun 19, 2008 10:10 pm

Postby Ramon » Mon Oct 27, 2008 8:34 pm

Partyism wrote:to bad this is not working for me

Code: Select all
<?php echo file_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2"); ?>


Probably because your host disabled it ;)

Use cURL instead, its both safer and faster, at least i think i read something about it being faster.

Code: Select all
function curl_get_contents($url)
      {
         $curl = curl_init();
         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($curl, CURLOPT_URL, $url);
         $html = curl_exec($curl);
         curl_close($curl);
         return $html;
      }
Image
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

Postby marcelvk » Tue Oct 28, 2008 12:51 pm

Maybe i don't get it!?!

i have a :

Code: Select all
Parse error: parse error, unexpected ':', expecting ')' in /var/www/vhosts/domain.com/httpdocs/test.php on line 99


Where do i put in the url??

Code: Select all
function curl_get_contents($url)
      {
         $curl = curl_init(http://www.taizegroep.nl/index.php);
         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($curl, CURLOPT_URL, $url);
         $html = curl_exec($curl);
         curl_close($curl);
         return $html;
      }


Not that a star in php :lol:
marcelvk
 
Posts: 29
Joined: Thu Jun 19, 2008 10:10 pm

Postby Ramon » Tue Oct 28, 2008 5:11 pm

At the top of the page add

Code: Select all
<?php function curl_get_contents($url)
      {
         $curl = curl_init(http://www.taizegroep.nl/index.php);
         curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($curl, CURLOPT_URL, $url);
         $html = curl_exec($curl);
         curl_close($curl);
         return $html;
      }

?>


and then call it like this.

Code: Select all
<?php
curl_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2")
?>
Image
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

PreviousNext

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron