Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
PhotoPlog 1337 Thumbs (Just incase basic templates bore you.) Details »»
PhotoPlog 1337 Thumbs (Just incase basic templates bore you.)
Version: 1.00, by SHANE-D-PAIN SHANE-D-PAIN is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-01-2006 Last Update: 04-16-2006 Installs: 94
Uses Plugins Template Edits
 
No support by the author.

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:
  1. Upload the Plugin.
  2. Add the following code to any Template. For best results add it somewhere such as the Very Bottom of the navbar or soemthign else which is included throughout the site.
    Code:
    $photoplog_thumbs
  3. Your done.
If you would like to edit the appearance or number of thumbnails shown then this next part is for you.

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."&amp;w=s\" style=\"width: 55px; height: 55px; padding: 1px; margin: 0px; border: 1px solid #CCCCCC;\" />
Edit anything in the 'style' tag to suit.

To edit the number of Thumbnails Shown.
Open the PhotoPlog 1337 Thumbs Plugin for editing.
Search for this Code:
Code:
 LIMIT 10
And simply change the number to the number of Thumbnails you would like to appear.


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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-09-2006, 04:15 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GuaRRand
Care to enlighten me??
I still havent found the right place to put $photoplog_thumbs ...

Please people. if you find a solution..POST IT! :banana:

turns out... I am a moron.

I didn't realize the moderation setting was on. so all the images were stuck in the moderation que. I just accept them all and waahlaa!! all better.

go to your ADMIN CP >> Photoplog >> usergroup Manager >>
and make the second to last two option is set to "NO"

(Moderate This Group's Files: No )


what through me off is that it shows images in the actual gallery even though they in the moderation cue. anyway....
Reply With Quote
  #33  
Old 06-10-2006, 07:13 AM
camuca camuca is offline
 
Join Date: May 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed; good job. Working perfect!
Reply With Quote
  #34  
Old 06-10-2006, 08:24 PM
+buG +buG is offline
 
Join Date: Jun 2002
Location: Bay Area CA
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks ..
But how do you upload a plugin?
Reply With Quote
  #35  
Old 06-12-2006, 06:44 PM
SHANE-D-PAIN's Avatar
SHANE-D-PAIN SHANE-D-PAIN is offline
 
Join Date: Sep 2003
Location: Sheffield, Uk
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cannot be serious. -_-
Reply With Quote
  #36  
Old 06-13-2006, 12:01 AM
+buG +buG is offline
 
Join Date: Jun 2002
Location: Bay Area CA
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SHANE-D-PAIN
You cannot be serious. -_-
I figured it out.
Would it be possible to enable this to generate images from an assigned/specific category?
Reply With Quote
  #37  
Old 06-13-2006, 06:09 AM
darkcrunk's Avatar
darkcrunk darkcrunk is offline
 
Join Date: Jul 2005
Location: Bangladesh
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one, really. But i would not install it, considering the high traffic and the amount of stress our delicate servers have to go thru everytime a page loads :P
Reply With Quote
  #38  
Old 06-14-2006, 07:21 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by darkcrunk
Nice one, really. But i would not install it, considering the high traffic and the amount of stress our delicate servers have to go thru everytime a page loads :P
does it add a lot of queries or something? what if we limit the number of images that appear?

I really love the look of this so I'd hate to have to NOT use it cause of server load.
Reply With Quote
  #39  
Old 08-08-2006, 05:43 AM
ltaylor's Avatar
ltaylor ltaylor is offline
 
Join Date: Apr 2006
Location: Canada
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you able to show the smaller thumbs on other pages within the forum? I have the orginal thums on forum home. But would like to show the smaller thumbs on CMS and other pages? thanks.
Reply With Quote
  #40  
Old 08-19-2006, 12:30 AM
wezoo wezoo is offline
 
Join Date: Apr 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack !!!!
im jsut about to install it

can it be adapted to work on a none vb page i would love something like this on my portal ?
Reply With Quote
  #41  
Old 08-28-2006, 05:35 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it!! looks GREAT!!
working on 3.6.0 gold fine


example: www.clantsu.org/forums

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04821 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete