![]() |
PhotoPlog: vBa CMPS Thumbs
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. |
thanks :)
|
thanks :)
|
Perfect view, thanks Calorie :)
|
thank you! :)
|
Thanks, but doesn´t show up; i think it´s the missing location of the script, which is in: "http://my_site/forum/photoplog".
Any idea what i have to change in the module-file for that? |
installed with no problem.... :rolleyes:
|
Thanks for the thanks. :)
@klaush: is your PhotoPlog directory set to /forum/photoplog in settings? |
Works nicely, thanks.
|
Thanks ;)
Click Install |
Quote:
|
Do you see any part of the block, or nothing at all? What about if you view the HTML source, do you see anything there?
|
Quote:
What must i do to sort 3 or 5 images horizontal? |
Quote:
|
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.
|
This works spot on in vbportal after 4 minor changes 5 if you want to make it a horizontal block as per the post above this one.
If your ok with it Calorie I will post the 4 steps and how to call the random thumb script ? |
Sure, go for it.
|
Quick how to make this work in vbportal
open the photoplog_thumbs.php file in an editor & Code:
Save the block again and when you toggle it on for your respective module layouts it should work. To make it horizontal use the forum thumbs plugin code for layout example and add a center block instead. I cant say what will work in other portals but this may help as an insight there aswell. How to is in a code box for the usual licence viewing restrictions. Any issues just check back to this post as I will likely just update it than spread vbportal posts throughout this thread. Step 2 of the file edit (the 3 instance edit) maybe saveable by adding as line 1 of the file or perhaps even as line 1 of the portal block code Edit: updated this bit as per some more expert advice than mine ;) Still havnt tried the step 2 saver but it should be fine. Code:
$db = $vbulletin->db; |
Calorie the images arent displaying :S
|
Check the PhotoPlog permissions in the usergroup manager and look at the HTML source for image tags.
|
first just wanna say thanks for sharing this !!
but i seem to have a problem and i cant figure out what it is .........i see the html shell but no picture thumb... my directory is forums/photoplog ya that "s" causes me headaches lol but i have tried every thing i can think of and i still cant get a picture to display in the shell any ideas? |
Check the 'can view files' permission in the usergroup manager.
|
Yes i do have my user group set to can view ..... ah haha i wonder if this is what klaush did aswell
I am sorry it was something i did lol omg ... I guess it would help if i approved photos so that the registered user can see them as soon as i did that it worked .... thanks !!! so just to sum up in case someone else has same issue make sure under your admincp>photoplog >Moderate Files check approved |
Hi guys
Nice mod, but Im having a problem. I have the forums working a sub-domain, and everything works fine there, but... cba is working on root, and I cant get the thumbs whoing there. Im runing vb 3.5.3 Some help here please. |
Do you see anything onscreen where the thumbs should be, and do usergroups have 'can view files' permission?
|
Hi calorie
Yes usergrups all have "can view files" set to yes. I dont see anything on screen while on cpms. Just an empty blank table Check it http://www.virtualtuners.com (here doesnt work) http://forum.virtualtuners.com (here it works) Am I doing something wrong? |
In photoplog_thumbs.php find:
Code:
$photoplog_location = $photoplog_schemehost.$vbulletin->options['photoplog_script_dir']; Code:
$photoplog_location = 'http://www.domain.com/photoplog'; |
Yeah lol its forums.virtualtuenrs.com soz :)
I'll do what you told, and get you tuned in. |
Quote:
Im having the same problem... all my thumbs are on vertical status, instead of horizontal. I searched for PhotoPlog Forum Home thumbs plugin, but I cant find it. Wich file I need to "copy" to photoplog_thumbs.php to make them appear in the horizontal? Regards |
The PhotoPlog Forum Home Thumbs plugin is part of PhotoPlog (ACP -> Plugin System -> Plugin Manager) though there is a horizontal version posted elsewhere. ;)
|
Exellent job!! THANKS
|
Quote:
|
In the photoplog_thumbs.php while loop, set the following:
Code:
$photoplog_description = htmlspecialchars_uni($photoplog_file_info['description']); |
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. :D Code:
$photoplog_file_infos = $db->query_read("SELECT * |
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. :) |
Quote:
Regardz :) |
I'm getting an uncached template warning using this:
Quote:
|
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')); |
When you set up the module, in the templates used field, is adv_portal_photoplog_thumbs there?
|
Quote:
[/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. :D |
All times are GMT. The time now is 06:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|