Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PhotoPlog: vBa CMPS Thumbs Details »»
PhotoPlog: vBa CMPS Thumbs
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.6.8 Rating:
Released: 12-26-2005 Last Update: 01-25-2007 Installs: 280
Template Edits
Additional Files  
No support by the author.

Purpose: add PhotoPlog random thumbs to vBa CMPS in horizontal/vertical form.

Requirements: both PhotoPlog Lite v.1.0.7+ and vBadvanced CMPS are required.

Fine Print: no redistribution, copyright retained in full, right reserved to uncheck support box.

Sorry, no screenshot provided. Imagine some horizontal or vertical thumbs.

Fun Fact: there were 209 downloads and 37 installs at the time this add-on was last updated.
Fun Fact: there were 644 downloads and 112 installs at the time this add-on was last updated.

Show Your Support

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

Comments
  #32  
Old 01-11-2006, 06:26 AM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exellent job!! THANKS
Reply With Quote
  #33  
Old 01-11-2006, 06:29 AM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by calorie
Ah okay, to change to horizontal, you'd need to edit the photoplog_thumbs.php file, making it similar to the PhotoPlog Forum Home Thumbs plugin.
Is there any way we can also fetch the description along with each thumbnail? That would really beneficial to my website. Thanks again.
Reply With Quote
  #34  
Old 01-11-2006, 09:06 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the photoplog_thumbs.php while loop, set the following:
Code:
$photoplog_description = htmlspecialchars_uni($photoplog_file_info['description']);
Reply With Quote
  #35  
Old 01-11-2006, 03:07 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working just fine, thank you!

Quick question - how can I define how many thumbnails are shown?

[high]* Club3G clicks install
[/high]

Edit: Got it, it's in the .php file.

Code:
$photoplog_file_infos = $db->query_read("SELECT *
						FROM photoplog_fileuploads
						WHERE moderate = 0
						ORDER BY RAND()
						LIMIT 3
	");
Reply With Quote
  #36  
Old 01-12-2006, 07:09 PM
Club3G Club3G is offline
 
Join Date: Aug 2004
Location: Orlando, Fl
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more quick question - is there a way to set the thumbnail sizes?

http://www.sevenstring.org

I'd like 'em a little bigger so that they fill out the entire Module. Great mod all around, thank you very much.
Reply With Quote
  #37  
Old 01-19-2006, 08:45 AM
o85au o85au is offline
 
Join Date: Mar 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by klaush
Fixed! My fault!

What must i do to sort 3 or 5 images horizontal?
Hi, I'm having the some trouble as what you had mate, I was wondering what you did to fix it? Thanks in advance.

Regardz
Reply With Quote
  #38  
Old 01-26-2006, 01:02 PM
Guest210212002
Guest
 
Posts: n/a
Default

I'm getting an uncached template warning using this:

Quote:
Page generated in 0.93365 seconds with 19 queries (1 queries for uncached templates) [Server Loads: 0.74 0.84 : 0.70]
Uncached templates: adv_portal_photoplog_thumbs (1)
How would I go about caching it?
Reply With Quote
  #39  
Old 01-27-2006, 02:15 PM
Guest210212002
Guest
 
Posts: n/a
Default

I'm not sure if I'm the only one having the problem, but if adv_portal_photoplog_thumbs isn't caching for anyone else, here's how I cache it.

Add a plugin to vBulletin/General -> cache_templates with the following contents:

Code:
$globaltemplates = array_merge($globaltemplates, array('adv_portal_photoplog_thumbs'));
Reply With Quote
  #40  
Old 01-27-2006, 02:46 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you set up the module, in the templates used field, is adv_portal_photoplog_thumbs there?
Reply With Quote
  #41  
Old 01-27-2006, 04:49 PM
Guest210212002
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by calorie
When you set up the module, in the templates used field, is adv_portal_photoplog_thumbs there?
[high]* Guest210212002 needs to drink less coffee.
[/high]

Yeah, it was there. Of course, the fact that I had it in there as adv_portal_photoplog_thmubs was the reason it wasn't caching.

Thanks man. On the upside, I learned how to write template caching plugins.
Reply With Quote
Reply


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 03:05 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.04680 seconds
  • Memory Usage 2,300KB
  • 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
  • (4)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
  • (8)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