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 (https://vborg.vbsupport.ru/showthread.php?t=237404)

krustyx 09-10-2010 06:46 PM

Quote:

Originally Posted by krustyx (Post 2095886)
I have a problem here.

First image in post selected.

When posting a message, the image doesnt show.

I have to go back in the thread, edit, save, then the image is showing.

Any fix for this? Thank you

https://vborg.vbsupport.ru/showpost....&postcount=154

presyce 09-11-2010 06:31 PM

is it possible to make this available to only one forum section?

CrystaStarLight 09-12-2010 10:28 PM

Wouldn't simply resizing the images to thumbnails make the forumdisplay.php page load slowly, or does this generate actual images in thumbnail size?

I wish the developer could add Woody's fixes in his post for 4.0.6 to the main page.

struff 09-12-2010 10:58 PM

I can't seem to get this working. It installed perfectly and I made sure that it was turned on in the ACP options. But I don't get any input box for a thumbnail URL and the auto-thumbnail settings don't give me anything either.

I am using vB 4.0.6 and the default vB 4 style.

Thanks.

marianoblesa 09-15-2010 03:16 AM

Originally Posted by krustyx https://vborg.vbsupport.ru/external/2011/11/11.gif
I have a problem here.

First image in post selected.

When posting a message, the image doesnt show.

I have to go back in the thread, edit, save, then the image is showing.

Any fix for this? Thank you
Quote:

Originally Posted by krustyx (Post 2096366)

This is for VB 3.8, this does not apply to VB4.

Please Help

bioload 09-15-2010 04:37 AM

Great Mod...seems to work right out of the gate 4.0.6, once I edited one if my older posts.

Is there a way I can eliminate the break in the table

https://vborg.vbsupport.ru/external/2010/09/6.jpg

struff 09-16-2010 03:30 AM

Anyone???
Quote:

Originally Posted by struff (Post 2097329)
I can't seem to get this working. It installed perfectly and I made sure that it was turned on in the ACP options. But I don't get any input box for a thumbnail URL and the auto-thumbnail settings don't give me anything either.

I am using vB 4.0.6 and the default vB 4 style.

Thanks.

Thanks again.

krustyx 09-23-2010 03:49 PM

Quote:

Originally Posted by marianoblesa (Post 2098457)
Originally Posted by krustyx https://vborg.vbsupport.ru/external/2011/11/11.gif
I have a problem here.

First image in post selected.

When posting a message, the image doesnt show.

I have to go back in the thread, edit, save, then the image is showing.

Any fix for this? Thank you

This is for VB 3.8, this does not apply to VB4.

Please Help

What's the solution then? :)

Taurus1 09-24-2010 06:36 AM

Great mod mate. Can't be without it. I upgraded to vb4 and installed this version. But some thumbnails show and some just won't. Is there something I can do please. Because it really looks terrible right now.

Thanks!

marianoblesa 09-27-2010 01:42 AM

Database error in vBulletin 4.0.7:

Invalid SQL:

SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid , thread.thumbnailurl AS thumbnailurl
FROM thread AS thread
LEFT JOIN user AS user ON (user.userid = thread.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 1)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid)
WHERE thread.threadid IN (0,23210,31961,27757,22315,25230,23231,32522,32523 ,23115,24174,25080,21699,20116,22944,21646,20052,1 8701) GROUP BY thread.threadid
ORDER BY sticky DESC, lastpost DESC;

MySQL Error : Unknown column 'attachment.thumbnail_filesize' in 'field list'
Error Number : 1054
Request Date : Monday, September 27th 2010 @ 04:40:07 AM
Error Date : Monday, September 27th 2010 @ 04:40:08 AM
Script : http://www.universodivx.net/forumdis...as-(17-122)VSa
Referrer : http://www.universodivx.net/foro.php
IP Address : xxx
Username : marianoblesa
Classname : vB_Database
MySQL Version : 5.0.91-enterprise-gpl-log

Mike_K 09-27-2010 06:43 AM

I have had also an error after upgrading to 4.07.

So I overwrote the product again with the version 3.1 and it works perfect.

@Null Parameter: Please feel free to use the test installation furthermore. It's now on 4.07

Null Parameter 09-27-2010 06:36 PM

I suppose I should finally reply, seeing as how many people have taken a liking to this mod.

First off, I appreciate all the work people have been doing to keep this working for newer versions of vB4. It's great to see this mod continue to get attention, despite my absence. Thank you very much.

Now, on to what is up with me. This is going to sound mildly selfish, but the truth is that I have no need to continue the development of this mod. I, myself, do not own an instance of vB4, and therefore all improvements are entirely unneeded for myself and my time is almost entirely "lost". The reason that this mod was originally updated to support vB4 was because I received many generous offers for compensation to do so. As it turns out, all of those offers fell through, save one. So again, my time was almost entirely "lost".

I'm very glad that so many of you enjoy this mod, and again I appreciate all the people that have helped me and others in developing it. I'll most likely take the time to update the mod with the updates that many of you have submitted in this thread, so that others can make use of it as well and that work isn't lost in the aether. But after that, unless something changes, I probably won't be making any more updates. If anything, I may create an additional "Pro"/non-free version of the mod alongside this one with more features and updates, so that I can actually justify my time away from my family/job/websites.

CrystaStarLight 09-27-2010 08:28 PM

Null Parameter, I'd be willing to purchase a mod like this if it isn't too expensive once I need an update. Hopefully if it is purchasable the thumbnails can show up in the search. Can you give a link to the website you'd do it on if you decide to do that?

Quote:

Originally Posted by bioload (Post 2098475)
Great Mod...seems to work right out of the gate 4.0.6, once I edited one if my older posts.

Is there a way I can eliminate the break in the table

https://vborg.vbsupport.ru/external/2010/09/6.jpg

Hi, I solved this by going to the template threadbit, and finding:

Code:

<!-- threadstats -->
                <vb:if condition="!$show['notificationtype']">
                <ul class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] >

..and adding style="height:87px;" in the <ul> The height you give depends on the height of your thumbnails.

Code:

<!-- threadstats -->
                <vb:if condition="!$show['notificationtype']">
                <ul style="height:87px;" class="threadstats td alt" title="<vb:if condition="$thread['dot_count'] >


speaksell 10-11-2010 02:16 AM

Hi I have a rss feed thats posts to my Vbulletin the thumbnails do not work automatically I need to hit edit on th epost for the thumbnail to appear... Can someone please help Thank you in advance

Terrona 10-13-2010 08:46 AM

Quote:

Originally Posted by speaksell (Post 2108919)
Hi I have a rss feed thats posts to my Vbulletin the thumbnails do not work automatically I need to hit edit on th epost for the thumbnail to appear... Can someone please help Thank you in advance

I have the same problem

V4.0.7

Let's see if we get solution

sonlaol 10-14-2010 12:38 AM

Quote:

Originally Posted by Terrona (Post 2109690)
I have the same problem

V4.0.7

Let's see if we get solution

me too, how fix?

vietfreefun 10-16-2010 01:40 PM

Thumbnail URL show on new thread page but do not show in edit post, I am not able to change new thumbnail for thread in case wrong thumb

rolfw1 10-16-2010 02:32 PM

Quote:

Originally Posted by Null Parameter
If anything, I may create an additional "Pro"/non-free version of the mod alongside this one with more features and updates, so that I can actually justify my time away from my family/job/websites.

I wouldn't be averse to paying a reasonable price for a supported and updated version, as my forum relies on its photo presentation. Please keep us advised.

If you need access to vb4, you can always use mine.

210665 10-24-2010 03:29 PM

This product simply does not work correctly for me in VB 4.0.7.
Must always manually edit all the threads, there is a Adoon that runs well under vb4.0.7
----------------------------------------------------------------------------------------------------------------------

Dieses Produkt läuft einfach nicht richtig bei mir unter VB 4.0.7.
Muss immer alle Threads händisch bearbeiten, gibt es ein Adoon das auch gut läuft unter vb4.0.7

Thanks

Fusion2 10-31-2010 11:45 AM

Would be cool if this worked for BLOGS. Unlike CMS, the blog entries doesnt organize the photo thumbnail or move text to the side of the photo. So your stuck with a fullsized photo.

downloadfound 11-10-2010 02:32 AM

Quote:

Originally Posted by 210665 (Post 2113650)
This product simply does not work correctly for me in VB 4.0.7.
Must always manually edit all the threads, there is a Adoon that runs well under vb4.0.7
Thanks

I have the same problem!!!! It looks great, but it does not show up unless you go back and edit the post. :(

gurler 11-11-2010 06:45 AM

hello. very good mod. thank you.

i am using rss feed reader to post new thread for a forum on my board. but when the thread is coming via rss feed, images are ok on first message but thumbnails are not shown in forumdisplay.. at this step i must edit post for update the thumbnail.

is there any options to make auto update image thumbnails ? or rss feed plugin ?

thank you very much

Brandon Sheley 11-13-2010 03:14 PM

hello
could we have an option or attachment or first img tag?

vs one or the other :)

thx for the mod, I like it :)

mgurain 11-13-2010 03:58 PM

Quote:

Originally Posted by vietfreefun (Post 2110713)
Thumbnail URL show on new thread page but do not show in edit post, I am not able to change new thumbnail for thread in case wrong thumb

Same problem ?

downloadfound 11-15-2010 11:24 PM

Bump, I really like this mod and am willing to donate if the OP can fix it for vb4

dcuellar 11-20-2010 02:28 AM

Any chance you add the thread thumbnail above the Recent Threads forum block?

dcuellar 11-26-2010 02:00 PM

Quote:

Originally Posted by downloadfound (Post 2120118)
I have the same problem!!!! It looks great, but it does not show up unless you go back and edit the post. :(

I tried this fix and it worked.

Now the users don't have to go back and edit each post in order for the image to save.

l2-inferno 11-27-2010 05:09 PM

dont work on 4.0.7, cant see the thumbnail :( plz help

slipkot 12-02-2010 10:18 AM

I have installed it on vb 4.1.0 and at sticky threads it doesn't display the image...

abdelali 12-12-2010 02:08 PM

I intalled and nothing i cant see the thumbnails.

abdelali 12-21-2010 04:53 PM

Someone now how to put this mod in recent threads of vbadvanced cmps portal. thanks

mgurain 12-21-2010 11:23 PM

This mod is very needed, but is not working,
who could make one with single product install and is working fine ?
Or fix this mod.

Thanks,,

AlexisMedia 12-31-2010 05:27 PM

I'd like to use the "first attachment" option but it appears that vBSEO is changing my image attachment urls causing the thread thumbnail to be broken. Any ideas? I'm really needing to get this thing going as soon as possible.

Thanks!

AlexisMedia 01-01-2011 06:20 PM

Begging for help at this point...

I've switched off vBSEO attachment rewrites but it's still having issues. Here is the urls

What thread thumbnails is looking for:
http://www.mysite.com/forums/attachm...&stc=1&thumb=1

Where it needs to be looking:
http://www.mysite.com/forums/attachm...9&d=1293912681

Please help! Thanks!

AlexisMedia 01-01-2011 06:46 PM

Fixed! Had the master setting for thumbnails turned off :(

megamoose 01-06-2011 08:53 PM

Null, thanks for this mod. It is perfect.

The thumbnail generator I created in the previous version had a bug in it which would cause a great server load. This new version should run a lot quicker and more efficient. Remember if it does hang on your server decrease the STEP_AMOUNT variable.

Create a file on your server called threadthumbupdate.php with the following in the file and open it in your browser.

PHP Code:

<?php $STEP_AMOUNT 20000?>

<input type="button" id="btnNext" value="Process Next Results" onClick="window.location='?start='+(<?php echo $_GET["start"]; ?>+<?php echo $STEP_AMOUNT;?>)" disabled=true><br>
The button above should enable once this batch is complete!<br>
<br>

<?php
error_reporting
(E_ALL & ~E_NOTICE & ~8192);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('SKIP_SESSIONCREATE'1);
define('NOCOOKIES'1);
define('THIS_SCRIPT''xupdate');
define('CSRF_PROTECTION'true);

// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array();

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');

if (!
$_GET["start"]) { $_GET["start"] = 0; }


        
$threads $db->query_read_slave("
        SELECT *
        FROM " 
TABLE_PREFIX "thread
        LIMIT "
.$db->escape_string($_GET["start"]).","$db->escape_string($STEP_AMOUNT));

while (
$thread $db->fetch_array($threads)){


    
$posts $db->query_read_slave("SELECT * FROM `" TABLE_PREFIX "post` WHERE `postid` = '".$thread["firstpostid"]."'");
    
$post $db->fetch_array($posts);

preg_match('/\[img\](.*?)\[\/img\]/i',$post["pagetext"],$matches);
$query "UPDATE `" TABLE_PREFIX "thread` set `thumbnailurl` = '".$db->escape_string($matches[1])."' WHERE threadid = " $thread["threadid"];

$db->query_write($query);

}
?>

<script> document.getElementById("btnNext").disabled = false;

</script>


DavidMatus 01-09-2011 02:43 PM

Quote:

Originally Posted by megamoose (Post 2145120)
Null, thanks for this mod. It is perfect.

The thumbnail generator I created in the previous version had a bug in it which would cause a great server load. This new version should run a lot quicker and more efficient. Remember if it does hang on your server decrease the STEP_AMOUNT variable.

And now is even better Thank you so much! now it work so perfect

fxwoody 01-14-2011 02:16 AM

Well Moose! You made my day my friend ;)
Just reinstalled the new 4.1.1 for my forum and used your Script.......you're the man !!!!

Works like a charm :)
No more overload nor crash of anything.

I think you should take over this mod and reorganize it for every one.

Cheers

AlexisMedia 01-14-2011 05:24 AM

If your using the upload 1st attachment option and a user accidently uploaded the wrong image 1st... is there a way I can admin change which image is the thumbnail? Other then having the user redo the post?

Is there a way I can maybe access the users attachment and change the image for that attachment name or something?

Does that make sense?

Thanks!

AlexisMedia 01-14-2011 10:22 PM

My users were too frustrated with this so I had to uninstall. I would REALLY like it if this can be either editable by admin OR a separate specified attachment option when the user is writing their post. It can be attached and changed as the user pleases... I'll keep my eye out because I REALLY want this feature but the 1st attachment thing just doesn't work out. Img tags don't work about because not all are using image tags over attachments. And user entered URL doesn't work if the user is doing it as an attachment. So many options but not 1 solution that works for everybody and is easily changeable : (


All times are GMT. The time now is 01:45 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.01622 seconds
  • Memory Usage 1,865KB
  • 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
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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