New Random Photo Block (lots of extras)
J-Mann
Joined: 2003-03-21
Posts: 90 |
Posted: Tue, 2003-11-04 21:02 |
I've reworked my random block so that it now displays a Random Photo, as well as the last 5 updated albums with the dates they were updated AND it shows the single most popular item accross all of your albums, as well as the total number of items and total number of albums. The package includes the block, a "Most Popular" items module and a readme file with instructions for modifying the variables to work with your site. You can view the block at www.perfectcell.org and you can see the module at www.perfectcell.org/modules.php?name=Top_Screensavers. You can download the package from www.perfectcell.org/Random_Block.zip or you can download JUST the module from www.perfectcell.org/Most_Popular.zip Let me know if there are any issues. My Info page is done and I'll have it packaged with a readme soon. You can see it at www.perfectcell.org/modules.php?name=Info |
|
Posts: 8
This is awesome! too bad for me it is phpnuke. Anyone know how to port something like this over to postnuke?
Posts: 126
FYI...This link is broken...
Posts: 90
woops, sorry about that...
try this:
http://www.perfectcell.org/Random_Block.zip
Thanks for bringing this up, sorry it took me so long to respond.
J-
Posts: 104
Very nice add in.
Has anyone tested it yet with 1.4 pl2 yet?
Posts: 6
I second the request for a postNuke version of this great block!
-mpm
Posts: 7
I having problems with this block in 1.4.1. I get "Your Gallery settings were configured with an older version of Gallery, and are out of date. Please re-run the Configuration Wizard!"
When the config wizard is re-run, the same message occurs in the block. My Gallery itself is fine.
The apache log shows "PHP Warning: Invalid argument supplied for foreach() in /server/html/family/modules/gallery/session.php on line 64" That's the line in the sessions file that we had to change. Changing it back results in the same error.
Posts: 114
I am using gallery 1.3.3 and nuke 6.5 and I get the following errors:
Most Popular:
ERROR: requested index [12] out of bounds [11]
Fatal error: Call to a member function on a non-object in /my/server/path/main/modules/gallery/classes/Album.php on line 737
And on index page:
Warning: fopen(/my/server/path/main/modules/gallery/albums/top-pics.cache) [function.fopen]: failed to create stream: No such file or directory in /my/server/path/main/modules/gallery/platform/fs_unix.php on line 53
Any ideas? I haven't had much luck with these type blocks but this composite looks really nice ;-)
Cheers
Posts: 43
Anyone?
Posts: 78
me too! any answers yet?
march/04 I took care of this by updating my albums.
grant
Posts: 4
hello
i have upload and modify all files and i have error :
Fatal error: Call to a member function on a non-object in /home/public_html/portal/modules/Most_Popular/index.php on line 366
and
Warning: Division by zero in /home/allsexef/public_html/portal/modules/Most_Popular/index.php on line 374
you can help me please? thanks
Posts: 794
corine41, not sure if you have this block mentioned in this thread, but if you are using Joerg's block this error is probably from using the Use resize and the Use photo not thumb together. You're best to use the thumbs only.
Posts: 52
I am using gallery 1.4.2 and PHP-Nuke 7.0 under linux.
I am getting this.
So I reconfigured it and I am still getting the message.
??
The block also seems to throw off my css stuff?
Any ideas?
Thanks
Posts: 52
Whoever made or modified this block. It does not work under the above enviroment.
Posts: 271
can this be installed in gallery 1.4.3 ? on powweb servers ?
Thanks in advance
KHSjr
Posts: 26
PHP NUKE 7.0.1
gallery 1.4.http://stenope.ophidite.net/info.php
I just installed random block of J MAnn
and here is my error when i click on Most popular
Fatal error: Call to a member function on a non-object in /Library/WebServer/Documents/SQL/PHP-Nuke-7/html/modules/Most_Popular/index.php on line 324
and when i use random block
Warning: fopen(/block-random.cache): failed to open stream: Permission denied in /Library/WebServer/Documents/SQL/PHP-Nuke-7/html/modules/gallery/platform/fs_unix.php on line 55
What's the problem
Any clue ?
Thanks
Posts: 794
FAQ Gallery:c.15 possibly? Be sure you apply it to your albums/ directory.
Posts: 26
Still the same problem
http://stenope.ophidite.com
Posts: 18
When I try to view the top 100, I got this:
Warning: Division by zero in /home/httpd/vhosts/noccruisers.com/httpdocs/modules/Top_Photos/index.php on line 374
UNTIL I activated the block. It seemed to work fine, but I have nothing in the top 100 area.
Posts: 17
Hiya grant, I'm having the same problem, mind telling me what you mean when you said you "upgraded" your albums? Would greatly appreciate it.
Cheers,
Oy.