Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Plugin • Lightbox Gallery 'MyGallery'
Goto page Previous  1, 2, 3 ... , 11, 12, 13  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Plugin • Lightbox Gallery 'MyGallery'
Author Message
Partyism



Joined: 25 Sep 2007
Posts: 301

Post Reply with quote
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.
Tue Sep 02, 2008 9:00 am View user's profile Send private message
Guest








Please login to hide the ads.

sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
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. Very Happy
Tue Sep 02, 2008 7:40 pm View user's profile Send private message
Goberg



Joined: 18 Jan 2007
Posts: 43

Post Reply with quote
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 Razz will update with info now.

wrote:
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. Very Happy


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 Razz
Maybe you could start off by telling me how I could give the script permission to upload .flv files?
Wed Sep 03, 2008 9:38 am View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 301

Post Reply with quote
did somebody already take a look @ randomimage.php?

Code:
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:
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

Wed Sep 17, 2008 9:59 am View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 301

Post Reply with quote
*Kick* Embarassed
Sun Sep 21, 2008 6:52 pm View user's profile Send private message
nam



Joined: 23 Dec 2006
Posts: 141

Post Reply with quote
randomimage.php did not work for me too, so I had to find another PHP free script on the internet and use it instead.
Sun Sep 21, 2008 9:17 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 301

Post Reply with quote
does that script work with mygallery? If so could you post it?
Sun Sep 21, 2008 10:00 pm View user's profile Send private message
nam



Joined: 23 Dec 2006
Posts: 141

Post Reply with quote
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.
Mon Sep 22, 2008 12:43 am View user's profile Send private message
marcelvk



Joined: 19 Jun 2008
Posts: 23

Post Reply with quote
Quote:

marcelvk wrote:
Sad 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:

   <?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:
plugins/mygallery/gallery.inc.php?mggal=1&mgpage=2

instead of using my lay-out...

Do you know how to solve this??
Thu Oct 09, 2008 11:59 am View user's profile Send private message
marcelvk



Joined: 19 Jun 2008
Posts: 23

Post Reply with quote
Solved...


Last edited by marcelvk on Sat Oct 25, 2008 9:55 am; edited 1 time in total
Thu Oct 16, 2008 7:27 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 301

Post Reply with quote
to bad this is not working for me

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

Fri Oct 24, 2008 2:09 pm View user's profile Send private message
marcelvk



Joined: 19 Jun 2008
Posts: 23

Post Reply with quote
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/gallery.inc.php?mggal=2

Does anyone know a solution?
Sat Oct 25, 2008 9:54 am View user's profile Send private message
Ramon



Joined: 12 Oct 2005
Posts: 551
Location: Hoogeveen, NL

Post Reply with quote
Partyism wrote:
to bad this is not working for me

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


Probably because your host disabled it Wink

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

Code:
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;
      }


_________________
Mon Oct 27, 2008 8:34 pm View user's profile Send private message Visit poster's website
marcelvk



Joined: 19 Jun 2008
Posts: 23

Post Reply with quote
Maybe i don't get it!?!

i have a :

Code:

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:

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 Laughing
Tue Oct 28, 2008 12:51 pm View user's profile Send private message
Ramon



Joined: 12 Oct 2005
Posts: 551
Location: Hoogeveen, NL

Post Reply with quote
At the top of the page add

Code:
<?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:
<?php
curl_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2")
?>


_________________
Tue Oct 28, 2008 5:11 pm View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3 ... , 11, 12, 13  Next
Page 12 of 13

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.