| Author |
Message |
Partyism
Joined: 25 Sep 2007 Posts: 301
|
|
|
| Tue Sep 02, 2008 9:00 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
sidtheduck

Joined: 28 Mar 2008 Posts: 71
|
|
|
|
 |  | 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.
 |  | 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. 
|
|
| Tue Sep 02, 2008 7:40 pm |
|
 |
Goberg
Joined: 18 Jan 2007 Posts: 43
|
|
|
|
Hehe, that was me, sorry forgot about that post 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.  |
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
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 |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 301
|
|
|
|
did somebody already take a look @ randomimage.php?
 |  | 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:
 |  | 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 |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 301
|
|
|
| Sun Sep 21, 2008 6:52 pm |
|
 |
nam

Joined: 23 Dec 2006 Posts: 141
|
|
|
|
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 |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 301
|
|
|
|
does that script work with mygallery? If so could you post it?
|
|
| Sun Sep 21, 2008 10:00 pm |
|
 |
nam

Joined: 23 Dec 2006 Posts: 141
|
|
|
|
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 |
|
 |
marcelvk
Joined: 19 Jun 2008 Posts: 23
|
|
|
|
 |  |
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
 |  |
<?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 :
 |  | 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 |
|
 |
marcelvk
Joined: 19 Jun 2008 Posts: 23
|
|
|
|
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 |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 301
|
|
|
|
to bad this is not working for me
 |  | <?php echo file_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2"); ?> |
|
|
| Fri Oct 24, 2008 2:09 pm |
|
 |
marcelvk
Joined: 19 Jun 2008 Posts: 23
|
|
|
| Sat Oct 25, 2008 9:54 am |
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 551 Location: Hoogeveen, NL |
|
|
|
 |  | to bad this is not working for me
 |  | <?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.
 |  | 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 |
|
 |
marcelvk
Joined: 19 Jun 2008 Posts: 23
|
|
|
|
Maybe i don't get it!?!
i have a :
 |  |
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??
 |  |
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 
|
|
| Tue Oct 28, 2008 12:51 pm |
|
 |
Ramon
Joined: 12 Oct 2005 Posts: 551 Location: Hoogeveen, NL |
|
|
|
At the top of the page add
 |  | <?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.
 |  | <?php
curl_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2")
?> |
_________________
 |
|
| Tue Oct 28, 2008 5:11 pm |
|
 |
|