![]() |
Hi there. Anyway to show it to guests as well? for some reason it's not showing for guests...
Thanks for this plugin :) |
iv been playing with the code with usegroupid but no success so far... could someone help so that the thumbnails are shown to guests(not logged in) as well? thanks.
|
I got it!
A user "Dismounted" helped me out on this. Find Code:
<if condition="($tt_displaythumbs) AND ($bbuserinfo['field7'] <> 'Off' OR $show['guest'])"> Code:
<if condition="$tt_displaythumbs AND ($bbuserinfo['field7'] != 'Off' OR $show['guest'])"> |
there is one add-on that enable you to control showing thumbnail to guests, otherwise you can do it by allowing them to see attachments in admincp
|
How do you resize the image to something smaller? The images come out huge. Where do I edit the settings.
|
Quote:
Code:
<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" /> |
Works great on vBulletin Version 3.6.7PL1
|
Quote:
Thanks! |
Quote:
hmm, doesnt work. this code would only be in the Threadbit IF someone had the radio button option in the userCP allowing users to turn off thumbnail viewing. What I would like to see in this mod, and I cant imagine why this is so tough (though I am no coder, lol) is to simply allow these thumbnails next to the thread title to display to guests/non-registered. Go to my forum and you'll see how LAME it is without this: http://www.fordmuscle.com/forums/tech-exchange/ |
Quote:
I want to display the LAST poster's avatar instead of a status icon on forumhome, but noone seems to want to help me out here. I figures this thread was close enough. If ANYONE has any ideas of how I would achieve this PLEASE let me know. I really want to work thi sout. |
How do you get the IMG Tages to work? Instead of doing the attachment, its killing our space, and server. :(
|
Quote:
I wish to know too |
Quote:
Code:
<if condition="$show['threadicons']"> Code:
<if condition="$show['threadicons']"> I've not tried this yet, so if someone does, and it doesn't work, let me know. >< |
excellent!
|
is there any update for this product to 3.6.8?
|
Just installed & set up in V3.6.8. Works great now that I know how to find my forum ids.
|
your replay not clear, what the connection bettwen this hach and Forum IDs?!!!
|
I have a problem with this plugin...doesn't work with vBulletin Version 3.6.8
|
I dont read forumID in my adress bar, but using the number of "forumdisplay.php?f=21" (in this case is 21) and chance the value in this line (open the xlm file):
<phpcode><![CDATA[$tt_thumbsforums = array(1, 21); everythings works fine I have only 1 problem : How I can use this plug-in in more forumdisplay ? |
Quote:
|
Trana:
You can edit this section in the postbit timeplate: Code:
<if condition="$show['thumbnailattachment']"> Aery: You can edit the plugin through the control panel, there is no need to mess around in the xml file. On the following line you place the forum ids of the forums that will have thumbnails. So if you want to enable thumbnails on forums 6, 11, and 25, the code would look like: Code:
$tt_thumbsforums = array(6, 11, 25); |
Thank you very much.
My dumb about editing XML file :) |
A direct question to jasonmerchant:
Why is OR $show['guest'] part of the if tag that checks for the user chosen thumbnails On or Off option? (<if condition="($tt_displaythumbs) AND ($bbuserinfo['field5'] <> 'Off' OR $show['guest'])">) Why is it "necessary" to also check $show['quest'] in the if tag? The issue is whether or not the thread option is On or Off, right(??). |
Quote:
|
is there any update for 3.6.8?
|
theOzer:
The $show['guest'] in the if statement turns thumbnails on for all guests. Guests don't have profile options, so they can not choose. nnjj.net: This plugin works in 3.6.8, maybe a moderator can move this plugin to the 3.6.8 forum? Trana: I believe you said that you don't want to display thumbnails in posts with this plugin, correct? All you need to do is replace the content of the first if statement with the second one. ie: Replace: Code:
<legend>$vbphrase[attached_thumbnails]</legend> Code:
<legend>$vbphrase[attached_images]</legend> |
PLEASE - does anyone know how to modify this line to make it show the LAST attachment:
<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" /> |
Casa:
I have not tested it yet, but you should be able to just change the MIN sql function to MAX. ie: Replace the following in the plugin: Code:
$hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid "; With: Code:
$hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MAX(attachment.attachmentid) AS attachmentid "; |
Quote:
Jason You rock, that worked. PM me if you are interested in other coding work. thanks |
Be sure to change the forum ids in the $thumbsforums array to the forum ids you want to enable thumbnails in
where??? |
nnjj.net:
On the first line: Code:
$tt_thumbsforums = array(2); Code:
$tt_thumbsforums = array(3, 7, 12); |
Quote:
Ideally, I would like to enable this hack while also maintaining the ability to display the entire full size image in posts. Please let me know if you have any ideas. |
man, i could HUG you
er, i WON'T, of course. but this is JUST what i've been searching for |
How would one disable thumbnails from showing in search results?
|
I was wondering - can we update this to work with 3.7?
Code:
<if condition="$show['threadicons']"> |
Im curious aswell. Will it work with 3.7?
|
i just installed for my forum 3.7.4.
|
All times are GMT. The time now is 04:53 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:
|