vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Thread Thumbnail (https://vborg.vbsupport.ru/showthread.php?t=158396)

lasto 10-02-2007 03:28 PM

just installed on vb3.6.8

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT post.pagetext AS preview,
thread.threadid, thread.threadid AS postid, thread.title AS threadtitle, thread.iconid AS threadiconid, thread.dateline, thread.forumid,
thread.replycount, IF(thread.views=0, thread.replycount+1, thread.views) as views, thread.sticky,
thread.pollid, thread.open, thread.lastpost AS postdateline, thread.visible, thread.hiddencount, thread.deletedcount,
thread.lastpost, thread.lastposter, thread.lastpostid, thread.attach, thread.postusername, thread.forumid,

deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,

user.userid AS postuserid
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed

, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid , attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid , post.pagetext AS previewbbcode
FROM thread AS thread
LEFT JOIN user AS user ON(user.userid = thread.postuserid)

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 post AS post ON(post.postid = thread.firstpostid)

LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')) LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png'))
WHERE thread.threadid IN
(24907) GROUP BY thread.threadid GROUP BY thread.threadid;

MySQL Error : Not unique table/alias: 'attachment'
Error Number : 1066

i got that error by selecting `get new posts`

lasto 10-02-2007 03:47 PM

I fixed the above error - well sort of by going to plugin manager and disabling he 2 search boxes for it.Aint found no more errors at moment and the hack is working in the forum i selected.
Does anyone have a fix so i can have pics showing on search as well ?

Principe10 10-03-2007 03:22 PM

On my 3.6.8 show just the image "nothumb.jpg" no way to show any other image.
What's wrong? I've installed the xml plugin, modified the template, add the id number of tread and disabilited the "Thread Thumbnail - Search" because I don't like.

Any could help me please???

Thank's P.

lasto 10-03-2007 04:39 PM

im amazed search.php worked for u - gave me a sql error

are u sure the forums u have it set for have a valid attachment pic

Principe10 10-03-2007 04:54 PM

Quote:

Originally Posted by lasto (Post 1352225)
im amazed search.php worked for u - gave me a sql error

are u sure the forums u have it set for have a valid attachment pic

Now work. In my forum wasn't abilitated the Thambs

Thank's to all.
P.

rapidphim 10-04-2007 07:57 PM

Wondering if this mod works with any other free hosting image such as imageshack?

PlymWS 10-05-2007 11:35 AM

Err, no. It parses the attachments in each thread and produces uses the first attachments thumbnail as the thread thumbnail.

PlymWS 10-05-2007 11:36 AM

What's the line you've added to search.php ? I have already modified my search.php so I would need to modify the file for this hack myself.

lasto 10-05-2007 07:06 PM

any pics i upload i like to show inside the post but if i do then the thumbnail does not show unless i switch create thumbnail back on = then if i do that then pics are shown in threads/posts as small images which need to be clicked on to get full view.

Is there anyway i can have the thumbnail on forumdisplay while still viewing the full pic inside thread/posts without having to click on the image in the post.

Principe10 10-05-2007 07:30 PM

Quote:

Originally Posted by lasto (Post 1353618)
any pics i upload i like to show inside the post but if i do then the thumbnail does not show unless i switch create thumbnail back on = then if i do that then pics are shown in threads/posts as small images which need to be clicked on to get full view.

Is there anyway i can have the thumbnail on forumdisplay while still viewing the full pic inside thread/posts without having to click on the image in the post.

Try so:
in option vbulletin switch yes (pic 001 rif pic 002 in english the help of pic 1)
then attachment switch yes pic 003.

Sorry but my forum is in italian!!!

P.

lasto 10-05-2007 07:40 PM

it all set same as yours m8 but pics in posts still need to be clicked on.
Thanks for your time is appreciated.

If i turn off the show thumbnail in attachments option it just displays a link instead of the pic

Principe10 10-05-2007 07:49 PM

Quote:

Originally Posted by lasto (Post 1353645)
it all set same as yours m8 but pics in posts still need to be clicked on.
Thanks for your time is appreciated.

If i turn off the show thumbnail in attachments option it just displays a link instead of the pic

Watch here if is like U want: http://www.forumocchisullanatura.it

P.

lasto 10-05-2007 08:00 PM

that is weird cause its deffo working on your board.Yet my options in admincp are same as yours yet dont work

will pm u an account so u can take a look m8

Principe10 10-05-2007 08:04 PM

Quote:

Originally Posted by lasto (Post 1353661)
that is weird cause its deffo working on your board.Yet my options in admincp are same as yours yet dont work

will pm u an account so u can take a look m8

send here: info@massimopisettaphotography.com

P.

lasto 10-05-2007 08:09 PM

sent m8

WEBclay 10-05-2007 08:45 PM

Hi there

I did all needed changes twice but no thumb is displaying. My other administrator got the sql error too when clicking on "new posts" but not me :/

edit: never mind. Don't forget: Always do the modifications on the right style, lol

lasto 10-06-2007 10:46 AM

@Principe10

big thanks for sorting out my problem.

Principe10 10-06-2007 11:51 AM

Quote:

Originally Posted by lasto (Post 1354013)
@Principe10

big thanks for sorting out my problem.

You'r welcome!

M.

Defkalion 10-08-2007 09:10 PM

@lasto and @principe10: Can you guys please share how you accomplished this? I've been trying to do it myself, following principe10's instructions and screenshots but I haven't been able to get it to work.

Can you please assist?

Spank 10-08-2007 09:49 PM

Is it possible to take a thumbnail from the first youtube video posted in a thread?

rolfw1 10-09-2007 06:55 AM

Does anyone have this running where VBSEO is installed, works fine on my little forum, but when my colleague installed it on our bigger forum with VBSEO installed, it didn't work and I would like to install VBSEO in the near future.

Not sure whether it just didn't work, or it created errors, but will try and find out. :)

Principe10 10-09-2007 04:45 PM

Quote:

Originally Posted by Defkalion (Post 1355761)
@lasto and @principe10: Can you guys please share how you accomplished this? I've been trying to do it myself, following principe10's instructions and screenshots but I haven't been able to get it to work.

Can you please assist?


What's your problem? Could U explaine please?

M.

Principe10 10-09-2007 04:47 PM

Quote:

Originally Posted by rolfw1 (Post 1356058)
Does anyone have this running where VBSEO is installed, works fine on my little forum, but when my colleague installed it on our bigger forum with VBSEO installed, it didn't work and I would like to install VBSEO in the near future.

Not sure whether it just didn't work, or it created errors, but will try and find out. :)


Sorry for the question, but what's VBSEO?

M.

rapidphim 10-09-2007 07:28 PM

Quote:

Originally Posted by rolfw1 (Post 1345782)
Thanks, just what I needed, really looks good on this section. :)

I've only set it up for one section at the moment, do I change the XML file and re-import it to add new sections, or is there another way?


Sorry scratch that, just edit it in the plugin manager. :)

Hello, how did you intergrate the highslide JS into the attachment thumbnail?

Defkalion 10-09-2007 09:11 PM

Quote:

Originally Posted by Principe10 (Post 1356315)

What's your problem? Could U explaine please?

M.

I want to be able to have the image thumbnail as the thread prefix, but the full size image inside the topic. I understand you guys managed that.

rolfw1 10-09-2007 09:41 PM

Quote:

Originally Posted by rapidphim (Post 1356419)
Hello, how did you intergrate the highslide JS into the attachment thumbnail?

It's a mod from here

rolfw1 10-09-2007 09:43 PM

Quote:

Originally Posted by Principe10 (Post 1356316)

Sorry for the question, but what's VBSEO?

M.

vBulletin Search Engine Optimisation, a paid package which helps to lift your search engine optimisation.

delphi77 10-09-2007 11:01 PM

Thank you ! nice work. Installed :)

Trana 10-10-2007 01:07 AM

Quote:

Originally Posted by Defkalion (Post 1356480)
I want to be able to have the image thumbnail as the thread prefix, but the full size image inside the topic. I understand you guys managed that.

Yes, I have been looking to get this working as well. Can you explain what you did to fix it? I want to view the full size images within the threads but still use this mod (which requires the thumbnail function enabled in admincp).

Thanks!

Principe10 10-11-2007 11:12 AM

Quote:

Originally Posted by rolfw1 (Post 1356500)
vBulletin Search Engine Optimisation, a paid package which helps to lift your search engine optimisation.

Sorry, I dont' have it.

See U.

M.

Principe10 10-11-2007 11:20 AM

Quote:

Originally Posted by Defkalion (Post 1356480)
I want to be able to have the image thumbnail as the thread prefix, but the full size image inside the topic. I understand you guys managed that.

Have U installed the Plug-in correctly? What do U see now in your forum? Give me the addess so I can see it.

My forum is here and U can see an example: http://www.forumocchisullanatura.it/...splay.php?f=40

M.

rapidphim 10-11-2007 03:49 PM

did anyone find out a correct way to eliminate the thumbnail if the thread doens't have thumbnail in it?

Principe10 10-11-2007 04:04 PM

Quote:

Originally Posted by rapidphim (Post 1357640)
did anyone find out a correct way to eliminate the thumbnail if the thread doens't have thumbnail in it?

Yes, easy.


Here:
<if condition="$show['threadicons']">
<td class="alt2" align="center" valign="middle">
<if condition="$tt_displaythumbs">
<if condition="($thread['attachmentid']) AND ($thread['thumbsize'])">
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" />
</a>
<else />
<img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
</if>
<else />
<if condition="$show['threadicon']">
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
</if>
</if>
Put:
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />

so U have the normal icon.

M.

Majest 10-12-2007 10:58 PM

Is it at all possible this would work on 3.6.5?

Spank 10-12-2007 11:57 PM

Is it possible to take a thumbnail from the first youtube video posted in a thread?
As youtube has the thumbnails from the videos.
http://img.youtube.com/vi/videoid/default.jpg

Stefano Virgill 10-16-2007 02:48 AM

Hi guys,
instelled on 3.6.7
VBSEO installed as well.

A few issues:

1- this features:
* If there are attachments that are not images, it will skip them and go to the first image attachment.
* Optional - you can now display thumbnails on search results.
Are not working.

2- the search doesn't show any thumbnail. I mean when the search result it's a thread with thumbnail.

3- a thumbnail created from other images as [IMG] links or Youtube videos, could be very very very very great!

4- Doesn't show the No Thumbs Available picture, even if correctly uploaded in the server.

Thanks in advance.

Steve

Defkalion 10-23-2007 10:13 AM

This is working fine for me in 3.6.8. :)

Does anyone have any idea how to get the thumbnail to appear in the news module in vbadvanced as well?

Sandy-XXX 11-03-2007 01:49 AM

Working fine for me to in 3.6.8 but I have a problem.

I want to disable the download attachments for unregistered users, but they get this:



Its possible to show icons only for unregistered user?

Ok, I found the solution here and works:

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

jhcarrell 11-29-2007 03:22 PM

Where do I find the "threadbit template"??

Pathfinder 11-29-2007 08:05 PM

Works perfectly on a 3.68 testforum, I am very glad about this plugin, thank you!

Quote:

Originally Posted by jhcarrell (Post 1391740)
Where do I find the "threadbit template"??

Style & Templates, search in Templates and then just search for "threadbit" and click customize.


All times are GMT. The time now is 04:16 PM.

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.01892 seconds
  • Memory Usage 1,832KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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