The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
PhotoPlog 1337 Thumbs (Just incase basic templates bore you.) Details »» | |||||||||||||||||||||||||||
PhotoPlog 1337 Thumbs (Just incase basic templates bore you.)
Developer Last Online: Jun 2013
Right well I did not like the way the Thumbnails appeared on the Forum Index from PhotoPlog, just made it look like every other site. I also was not happy with the fact that they ONLY showed on the Forum Index.
This is just a nice little change, also my first released plugin of any kind so any virtual bullying will be counter attacked with an onslaught of mouldy oranges. So here is a little plugin by me, basically just an edit of the original so credit must go to Calorie too. Wonderful thing he/she/it has done with this gallery. For examples see the screenshots. By the way this requires that you actually have the PhotoPlog Gallery Installed. (Go Get it!) Installation Instructions:
Editing the appearance of the Thumbnails. Open the PhotoPlog 1337 Thumbs Plugin for editing. Search for this Code: Code:
<img src=\"".$photoplog_location."/file.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid."&w=s\" style=\"width: 55px; height: 55px; padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" /> To edit the number of Thumbnails Shown. Open the PhotoPlog 1337 Thumbs Plugin for editing. Search for this Code: Code:
LIMIT 10 To show on vBadvanced (If you are displaying thumbs in header or navbar etc..) Admin CP > vBA CMPS > Edit Pages > Home Page > Portal Output Global Variables > add: photoplog_thumbs Feel free to read my blog if you want, not asking for much and I know you will love it, about as much as Honey Loves Ants . www.ShaneRounce.com Updates: To install updates simply upload the new plugin over your old one and redo file edits. 17th April 2006 - v1.5 - Fixed Problem with Alignment of more than 5 Images. - All XHTML Valid now too. Show Your Support
|
Comments |
#12
|
||||
|
||||
Nice
|
#13
|
|||
|
|||
Cheers mate love it
And Now i Click Install...... |
#14
|
||||
|
||||
Quote:
I don't usually have the time for things like this. :P Updated my Blog the other day, by the way. :P |
#15
|
|||
|
|||
I edited the code for performance reasons, to output links to the static images on filesystem ..
the sql-query: Code:
$photoplog_file_infos = $db->query_read("SELECT fileid, userid, username, title, description, filename FROM photoplog_fileuploads WHERE moderate = 0 ORDER BY RAND() LIMIT 15 "); Code:
$photoplog_fileid = $photoplog_file_info['fileid']; $photoplog_userid = $photoplog_file_info['userid']; $photoplog_username = $photoplog_file_info['username']; $photoplog_linkto = $photoplog_location."/index.php?".$vbulletin->session->vars['sessionurl']."n=".$photoplog_fileid; $photoplog_url = $photoplog_location."/images/".$photoplog_userid."/small/".$photoplog_file_info['filename']; $photoplog_row_top .= " <td align=\"center\" width=\"20%\"> <a href=\"$photoplog_linkto\"> <img src=\"$photoplog_url\" style=\"width: 75px; height: 75px; padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" /> </a> </td> is there a way to cache this bit? please pm me |
#16
|
||||
|
||||
Quote:
|
#17
|
||||
|
||||
Quote:
Props to defel for his/her help too. I got stuck with soem stuff, I'm generally not a coder. :P |
#18
|
|||
|
|||
i install this .. but y can't view this .. all images is upload whit permision 600 and i can't view this tumbails .. :S .. view attachment help please :S
|
#19
|
||||
|
||||
this doesnt show on vBadvanced pages, is there a way to make it?
|
#20
|
||||
|
||||
I could get this to work at all. nothing appeared.
no effect that I could find. I tried puting $photoplog_forumhome AND $photoplog_thumbs like...everywhere. I tried these templates (in several locations) -forumhome under navbar -header -forumdisplay -navbar nothing! I'm sure I did something stupid and just not seeing it. but for now.. I really can't figure out why it won't work. any help would be greatly appreciated. ps. also couldn't find "LIMIT 10" anywhere in the code. :. |
#21
|
||||
|
||||
good work
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|