vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Thread Thumbnails V4 *Upgraded* (https://vborg.vbsupport.ru/showthread.php?t=264655)

fxwoody 06-02-2011 10:00 PM

Thread Thumbnails V4 *Upgraded*
 
1 Attachment(s)
Thread Thumbnails V4 Rev 1.1

Description of the main feature:

The Thread Thumbnails V4 plugin is an extra image that will be displayed onto the Forumdisplay Threadlist of specified Forums and subForums.
The user will either have the possibility to add manually or automatically (option setup) the image of is choice to be shown as a Thumbnail.

This mod was originally created by Null Parameter for 3.8 and 4.0, but, for several reasons and many hours of trying to make the mod stable and fully working in vB 4.1.x, i'ved reworked the script and put it in an easier approach.


Functions:

When submitting a New Thread or editing an existing Thread, you can select the option for:
  • User Entered URL
  • First Attachment
  • First Image In Post

When making a new post, the user will either have to input the URL for the thumbnail (User Entered URL option) or the thumbnail will be automatically displayed if the "FIRST" image or attachment option is selected.

To edit a thumbnail, if the "User Entered URL" is selected, a text box will be shown in the editor for them or staff to edit it.( I will try to add the editing option from the quickedit box in the future releases)

If other options are selected, the thumb will be automatically updated when the first image is replace, either from the post or the attachment.

Notes:
For the attachment editing, you will have to delete the first image and then reload it last for the plugin to work. The sequence of attachment doesn't get automatically changed when transferring attachment inside the vBulletin attachment options!
This is part of vBulletin, not the plugin.

For the first image in post option, you can edit directly from the quickeditor in order to replace the thumb.

What's new:

I'ved included an image folder with two thumbnail style for your board, you can easily select the one you need by replacing the name of the thumb in the ACP "Thread Thumbnails Options" from "No Thumbnail Replacement Image"

Thumbnail choice:
  • nothumb.jpg
  • nothumb1.jpg


Installation:

Upload the "thumbs" folder into: images->misc->
Import XML file from your ACP Manage Products

You will have to make some manual modifications in you forum's skin in order for the plugin to work well.

Every template mods are included in the Text file of the attachment.
Follow the instructions and you shouldn't have any problems.

Version:
v4.0
-------------
  • Support for vB4
  • Removed the Automatic Template Edits
  • Use Phrases
  • Option to make Thumbnails Required (fully upgraded)
  • Option to specify the CSS Style of thumbnail images
  • New Thumb images added
  • Thumb Editing upgraded
  • Megamoose PHP script included in folder

V4.0 Rev1.0 *Updated to 4.1.5*
V4.0 Rev1.1 Changed Selection option

Enjoy the plugin and don't forget to CLICK INSTALLED !

fxwoody 06-03-2011 11:18 AM

1 Attachment(s)
As per requested , i replaced the option for selecting the forums by listing instead of by IDs.

Enjoy!

Mikevet1984 06-03-2011 11:36 AM

thank you very much fxwoody!

fxwoody 06-03-2011 11:40 AM

Welcome Mikevet ;)

Now i will have to delete tons of posts in my test forum lolllll

Cheers and let me know if you get any problems :)

Mikevet1984 06-03-2011 11:42 AM

One question please...

For those already installed the previous mod if I unistall Null parameter mod and install yours will the thumbnails be replaced using this new nod or I will have to manually re-enter all images using the edit function.

I use the User Entered URL.

And one more thing, there is a php file inside the rar file. What does this file do? Do we have to upload this file to the server?

mwink 06-03-2011 02:15 PM

First of all : Thanks!

And how about this question:

When I choose the First Image in Post option, no thumbnails show up in my current threads. Why?

Will the old add-on work?

Thanks again!

fxwoody 06-03-2011 09:12 PM

@Mikevet
No this wont replace the old thumbs, it's mostly an update of the plugin.
The PHP is Megamoose script to retrieve missing thumbs or if you add a full forum and do not want to edit every post.

@mwink
This depends on how you had the setup before. If it was on URL or 1st attachment, you wont get the first image to show automatically. This will be done with megamoose script.
Just try manually to edit the post and you will see it appear.

I asked Megamoose if he could modify the script to retrieve the 1st attachment image also.
To be followed .....

nacaruncr 06-03-2011 10:11 PM

something that would be good, is that when the user places an image in html code hack take the picture too ... because some use the html code and the truth would be nice :D

thanks ;)

fxwoody 06-04-2011 11:33 AM

I will check for this nacaruncr ;)
No promises tho :)

shrimpca 06-14-2011 01:16 PM

Where is path .php ???

mitch84 06-14-2011 01:20 PM

tagged for a future install

COL NIL SATIS 06-14-2011 01:23 PM

tagged

fxwoody 06-15-2011 04:54 PM

Quote:

Originally Posted by shrimpca (Post 2207598)
Where is path .php ???


Path of what shrimpca? The updater for first image in post???

need more info here ;)

mitch84 06-16-2011 01:47 PM

work fine on vb4.1.4, thx!

mwink 06-18-2011 07:44 AM

We don't get it to work. It seems installed ok, it shows thread thumbnail options in the admin, I checked the settings, they are also ok. But I just don't get it working. Nothing happens when I make a post... Any suggestions? Thanks!

fxwoody 06-18-2011 08:17 AM

Quote:

Originally Posted by mwink (Post 2209330)
We don't get it to work. It seems installed ok, it shows thread thumbnail options in the admin, I checked the settings, they are also ok. But I just don't get it working. Nothing happens when I make a post... Any suggestions? Thanks!

Did you upload all the files, made the changes in the templates?

Most important did you add {vb:raw thread.thumbnail} in the threadbit under the right code?

Lots of possibilities, why it would not work mwink.

mwink 06-18-2011 11:02 AM

Thanks a lot for the quick response. It is working now! Only... we have 2 thumbnails now, 1 before and 1 after the thread icon. Any ideas?

Thanks again!

fxwoody 06-18-2011 12:35 PM

Yes it's for the 3D effect! lolll just kidding ;)

look in the options and see where the thumbnail location is set to! It should be "After Threadicon"
The location of the thumb is placed with the {vb:raw thread.thumbnail}! If you have a custom template, you might have to play with the location in the script!
But in general, it shouldn't be a problem of script, mostly options ;)

radiofranky 07-22-2011 03:54 AM

Hi,
I was wondering if you could help me make it work on vbadvanced "recent post module".
I tried to edit the template by inserting the code but it seems like the img url variable is not being passed.

thanks

fxwoody 07-22-2011 04:50 PM

i will try to help you out but i have not vbadvanced installed on my site :(

The script should be added like in a normal state from the templates...i assume
Let me check it out in my test site to see ;)

radiofranky 07-22-2011 10:26 PM

thanks very much.

radiofranky 07-23-2011 01:49 AM

Quote:

Originally Posted by fxwoody (Post 2223600)
i will try to help you out but i have not vbadvanced installed on my site :(

The script should be added like in a normal state from the templates...i assume
Let me check it out in my test site to see ;)

In your regular edit, you have edited 3 different files. However, in vbadvanced theren't those files.

I only added the code to "adv_portal_recthreads_lean" and is returns nothing.

thanks

trackpads 07-30-2011 06:34 PM

With 4.1.5 when you install this mod it will tall you it is unsupported. I edited the XML to change the version to 4.2 or something and installed it anyway and it works like a charm. I apprecaite all of your work, thanks alot!!

-Jason

james7zt 07-31-2011 06:25 AM

hello fxwoody, would you please make it works with vb 4.1.5 I dont have xml editor tool and had never done it before ...
thank you much.

trackpads 07-31-2011 01:57 PM

Just use notepad and it will be fine.

TEMPESTADE 07-31-2011 04:24 PM

works fine with vb 4.1.5 tanks

fxwoody 07-31-2011 07:48 PM

@james7zt : the adjustment as been done

james7zt 08-01-2011 12:28 AM

Quote:

Originally Posted by fxwoody (Post 2227359)
@james7zt : the adjustment as been done

thank you so much!!!! 1000000000000000000 times :) it working great!!! i love it.
regards,

Chris Ober 08-02-2011 04:40 PM

Can it be easily modified to add an option to show thumbs for both First Attachment OR
First Image In Post instead of only one or the other? That way if a person uploads an attachment or enters with the IMG tags, a thumbnail is created instead of only creating for the setting it's on.

misericorde 08-04-2011 10:42 AM

Thank you so much for this update

Installed and working

Luca_ITA 08-05-2011 04:00 PM

Work on vb4.1.5pl1.
Thank you for this mod!!

Note:
Update instruction for v4.1.5pl1
Code:

<img id="posticon_preview" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" title="Selected post icon" />
to
Code:

<img id="posticon_preview" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" title="{vb:rawphrase selected_post_icon}" />

nando99 08-12-2011 04:56 PM

anyway this can be used on the cms front page? i'd like to show my latest threads and have the thread thumbnail show up with it, is that possible?

fxwoody 08-13-2011 10:17 AM

I do not use the CMS function :(
I will take a look a it from my test site , for curiosity ;)

e3fnxs6p 08-21-2011 05:12 PM

Currently, when "first image in post" (source2) is set, it won't display thumbnails from attachments. When "first attachment" (source1) is set, it won't display thumbnails from the first image. But often, you would like to have a combination of these options, instead of excluding each other.

You can solve this by doing this:
1) set the thumbnail source to "First Attachment".
2) go to plugin manager > "Forum Display - Threadbit Display" > find the line containing
$hook_query_fields .= ", MIN(attachment.attachmentid) AS attachmentid";
and append under that line, the following line:
$hook_query_fields .= ", thread.thumbnailurl AS thumbnailurl";

That's all.

fxwoody 08-21-2011 09:36 PM

I'm not sure this would work my friend!
Let me check it out

my123world 09-03-2011 08:47 PM

The "No Thumb" Image Doesnt Appear For Me... :( What Should i Do?

fxwoody 09-04-2011 11:27 AM

Did you have you added the scripts from the instruction in every templates??
If thumbs are not showing, normally it's because you are missing the threadbit script.
Or you didn't add the forums from the options?!?!

nacaruncr 09-21-2011 07:50 AM

Is it work with the align codecs?
center, left, right??
because are someone who not work with them....

excuse me my english :S

angeljs 09-21-2011 12:19 PM

Quote:

Originally Posted by nando99 (Post 2232700)
anyway this can be used on the cms front page? i'd like to show my latest threads and have the thread thumbnail show up with it, is that possible?

I would love this mod to be able to do this :)

angeljs 09-21-2011 12:21 PM

Does this mod work with the forums' search function?


All times are GMT. The time now is 08:01 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
  • Page Generation 0.01515 seconds
  • Memory Usage 1,820KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete