![]() |
|
![]() Attention: Last reply in this thread was more than 15 Years ago |
|
Thread Tools |
#1
|
|||
|
|||
![]() How could I add a random image to the side column of www.raidarena.com any help would be greatly appreciated thank you.
|
#2
|
||||
|
||||
![]() Check the main readme file for how to add thumbnails to forum home. You can add the thumbnails wherever you want on the page, but after $navbar is a good spot. If you want a different number of thumbnails, you would need to change the LIMIT of the query located in the PhotoPlog Forum Home Thumbs plugin.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. ![]() ![]() While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
![]() so if you wanted it in a side column you would have to add $photoplog_forumhome to your side column code and change the query to 1 for it to work right huh?
|
#4
|
||||
|
||||
![]() Yes, change the query to 1 but as to your side column code, you will need to try it, as I don't know the content of that code and have no time to review it for you.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. ![]() ![]() While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#5
|
|||
|
|||
![]() I think I have it figured out I found a PhotoPlog 1337 Thumbs addon that I can use I played with the code to change the image size show and I can put it in the side column and it works but hmm what do I change in this code to make it only show 1 random.
FROM photoplog_fileuploads WHERE moderate = 0 ORDER BY RAND() LIMIT 20 change to 1 correct? Code:
Content visible to registered users only. |
#6
|
||||
|
||||
![]() Yes, try it, that change won't break anything.
![]()
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. ![]() ![]() While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#7
|
||||
|
||||
![]() I was about to start a thread about this, but figured I should try 'search' first
![]() I've tried to have one random picture appear in my side column, but it hasn't worked. I went into the PhotoPlog Forum Home Thumbs plugin and changed the number from 5 to 1 (I'm assuming that's right) and then added my code to the side column using $photoplog_forumhome. But, to no avail. Any other suggestions or tips on how to get this to work properly without adding another hack/mod to my site? |
#8
|
||||
|
||||
![]() Your sidebar probably gets set before the PhotoPlog variable so nothing would show. Check these threads for how to make use of the global_start hook.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. ![]() ![]() While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
random image and photo of the day? | bluemoon | "How Do I..." Questions | 1 | 12-17-2007 07:39 PM |
Left side column | rizwan65 | "How Do I..." Questions | 2 | 05-02-2006 05:19 AM |