![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Coppermine Random Photos on vBulletin FORUMHOME (easy)
![]() Developer Last Online: Feb 2013 ![]() ![]() ![]() This modification is in the archives.
This is basicaly the easiest way to have random photos from your Coppermine Gallery displayed on your vBulletin home page.
Tested and working perfectly. Here's the installation process containing only 3 steps. Requirements : Coppermine Photo Gallery Installed. Installation steps : 1. Download coppermine.php and edit the database info. After you're done, upload it in your forum root. 2. Open your vBulletin index.php file and under require_once('./global.php'); add the following line:
(save the changes > upload the file in the forum root) 3. Open your Style Manager ("Styles & Templates" in the AdminCP menu) and edit the FORUMHOME template. Depending on where you want your random pictures to appear, you should paste this code eather under $navbar or <!-- end what's going on box -->. The code you need to paste is:
(Save the template.) All done. I know you like it - ![]() Here's the live demo and some screenshots: Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Module VbAdvanced: Coppermine Random photos | DjTaz | vBulletin 3.5 Add-ons | 51 | 13 Apr 2008 14:39 |
Coppermine CoppermineFetch and Photos on vBulletin FORUMHOME | 4Prometheus | vBulletin 3.5 Add-ons | 5 | 25 Apr 2007 10:04 |
Comments |
#2
|
|||
|
|||
my logo is just like here....top and to the left.... how would i put the pics to the right of the logo and and will it work with 3.6 ?
thx No members have liked this post.
Last edited by hgb; 19 Aug 2006 at 20:32. |
#3
|
|||
|
|||
Hi,
great hack. Installed! and yes it works fully with 3.6.0 as im running it there. Just a question, what if i want to display those random pics code under forumnav, but on ALL FORUMS not just FORUMHOME, then which template should i modify No members have liked this post.
|
#4
|
|||
|
|||
another question:
what if i want to open the thumbnail pics in a "new" window ? which lines do i modify in coppermine.php for that No members have liked this post.
|
#5
|
||||
|
||||
works great ............. thanks a lot for that love it ...
No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by Selene
If you want this hack to work on all the areas , just put the code into NAVBAR instead of FORUMHOME at the very bottom - that should do the trick for you.
![]()
__________________
My 3.5.x Hacks : V3Arcade Link to Games in News And Events Module VbAdvanced: Coppermine Random photos Module CMPS: MSN Messenger Login Random Sound on PM Message Digichat Login Hack for VB3.5 No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by Selene
Thanks for installing.
If you want to open the pics in a new window, just open the coppermine.php file, find the line: $copphotos.='<td><a target = "_parent" and replace it with: $copphotos.='<td><a target = "_blank" That should do the trick ![]() No members have liked this post.
|
#8
|
||||||||
|
||||||||
OOPS - I MAY HAVE MISREAD THE QUESTION HERE - I THOUGHT YOU WANTED TO OPEN THE THUMBNAILS INSTEAD OF THE PHOTO , SORRY ... WELL THIS IS HOW THAT IS DONE ANYWAY :s
Originally Posted by Selene
Im not sure why you would want to do this , and i checked the codes on it - the amount of recoding would be huge if you wanted to make the thumbnail display instead of the image since coppermine isnt even set up to show a single thumbnail on its own. That being said ... if you change some of the code in coppermine.php from this : Find
and change to
it should bring you to that users thumbnail page instead of to the photo itself
__________________
My 3.5.x Hacks : V3Arcade Link to Games in News And Events Module VbAdvanced: Coppermine Random photos Module CMPS: MSN Messenger Login Random Sound on PM Message Digichat Login Hack for VB3.5 No members have liked this post.
|
#9
|
||||
|
||||
Indeed.
You got two resonable answers and modifications - I hope you got what you were asking for ![]() No members have liked this post.
|
#10
|
||||
|
||||
why the thumbnails in forum home are much smaller than the thumbs in coppermine home and how to fix this ?
No members have liked this post.
|
#11
|
||||
|
||||
i found a bug. it displays thumbs for uploaded pics that ARENT approved yet by the admin. any fix ?
No members have liked this post.
|
#12
|
||||
|
||||
Re: Coppermine Random Photos on vBulletin FORUMHOME (easy)
Are you sure about this?
No members have liked this post.
|
#13
|
||||||||
|
||||||||
Re: Coppermine Random Photos on vBulletin FORUMHOME (easy)
Yes they are sure - the coppermine.php script isnt set to check for approvals , it just randomly checks all the files. Luckily i have a fix for that if you wish
change the code in coppermine.php line 27 from
to
and your in business again with only approved photos showing. Anyone with VBadvanced , you can get the module for it here : http://www.vbulletin.org/forum/showthread.php?t=119432
__________________
My 3.5.x Hacks : V3Arcade Link to Games in News And Events Module VbAdvanced: Coppermine Random photos Module CMPS: MSN Messenger Login Random Sound on PM Message Digichat Login Hack for VB3.5 No members have liked this post.
|
#14
|
||||
|
||||
Re: Coppermine Random Photos on vBulletin FORUMHOME (easy)
Bug fixed. Thanks Tazie!
![]() I replaced the coppermine.php file. Everyone that installed this mod can download the new version now. No members have liked this post.
|
#15
|
|||
|
|||
Does anyone know how to port this for VB3.6.3 ?? I've tried to put this on my forum and get this error.
No members have liked this post.
Last edited by Martin-TMGRS; 17 Nov 2006 at 14:21. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 17:12.