PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   "How Do I..." Questions (http://www.photoplog.com/forum/forumdisplay.php?f=7)
-   -   Hey (http://www.photoplog.com/forum/showthread.php?t=75)

Martyn 02-14-2006 04:41 PM

Hey
 
im using the left and right columns,

i would like random pictures to show up in there..

now i either need..

the code for 1 random image ( which is alot more work! or.. a full on addon which will help etc..

thanks!

edit. on other had. the code is somewhere.. because

$photoplog_forumhome shows this on the forumhome. shame i can't seem to find it in the code anywhere, and modify it, hope you can help.

this would be great, also could add this to a profile.. :0)

Morgan 02-14-2006 04:53 PM

The FORUMHOME thumbs code is located in the PhotoPlog Forum Home Thumbs plugin. For one thumbnail on FORUMHOME, go to vB ACP -> Plugin System -> Plugin Manager -> PhotoPlog Forum Home Thumbs -> Edit

Replace the following:
Code:

ORDER BY RAND()
LIMIT 5

With the following:
Code:

LIMIT 1
For MEMBERINFO use $photoplog_memberinfo (see the README.txt file for more details).

If you are using vBa CMPS, there is a vertical module here: http://www.vbulletin.org/forum/showthread.php?t=103839

And there is a vBa CMPS horizontal module here: http://www.photoplog.com/forum/showp...46&postcount=8

Martyn 02-14-2006 05:27 PM

I don't use any of them.

also that didnt work for the columns.. whats the code? might be alot simple?

Morgan 02-14-2006 07:10 PM

The code for $photoplog_forumhome is in the PhotoPlog Forum Home Thumbs plugin:

vB ACP -> Plugin System -> Plugin Manager -> PhotoPlog Forum Home Thumbs -> Edit

Nitro 02-14-2006 08:55 PM

If your trying to use the $photoplog_forumhome variable elsewhere other than the forum home page it could be worth trying moving the hook location of the plugin to something like global_start.

I would guess having never used the left and right column mod that they are in themselves purely template edits and outside of the forumhome template.


All times are GMT. The time now is 01:47 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.