vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Thread Thumbnail (https://vborg.vbsupport.ru/showthread.php?t=98651)

jasonmerchant 10-17-2005 10:00 PM

Thread Thumbnail
 
The new version is available here.




This plugin was based on Thumbnail of Attachments on forum display by Dechevious(I hope its alright with you)

It is mostly the same converted to the new 3.5 hook. I also fixed the "If the attachment is not an image, a thumbnail will not be shown" problem.

Note: This plugin works in v3.68

Installation:

In your AdminCP, go to Plugin System, Download/Upload Plugins and import the xml document.

Be sure to change the forum ids in the $thumbsforums array to the forum ids you want to enable thumbnails in.

Next you will need to modify your threadbit template:

Find:
Code:

<if condition="$show['threadicons']">
        <td class="alt2">
                <if condition="$show['threadicon']">
                        <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                <else />
                        &nbsp;
                </if>
        </td>
</if>

Replace With:
Code:

<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>
        </td>
</if>

You will also need to upload an image to display if there are no image attachments here: $stylevar[imgdir_misc]/nothumb.jpg(ex: http://www.mysite.com/forums/images/misc/nothumb.jpg). I've made a simple one you can use or you can make your own. By default thumbnails are confined in a 100x100 px area, I found that it looks good to make the "no image" image about 100x83 px.

__________________________________________________ ___

Add-ons

UserCP option to turn the thumbnails on/off on a per user basis

Go into your admincp and click User Profile Fields->Add New User Profile Field.

Select "single selection radio buttons", click continue.

For title put "Thread Thumbnails", for description put "This will allow you to turn the thumbnails of threads on and off."

For options, enter "On" and "Off".

Skip down to Display Page and choose "Options: Thread Viewing".

In your threadbit template(assuming you already applied the template changes above):

Find:
Code:

<if condition="$tt_displaythumbs">
Replace with:
Code:

<if condition="($tt_displaythumbs) AND ($bbuserinfo['field5'] <> 'Off' OR $show['guest'])">
You need to replace field5 with the field name of the profile field you created earlier.

MGM 10-18-2005 02:46 AM

Oh wow, this could come in real handy. Thanks a lot!

MGM out

Floris 10-18-2005 02:47 AM

XHTML <img tags> are to be closed with <img /> and border=0 should be border="0"

tnx for sharing! :)

Floris 10-18-2005 02:50 AM

All threads listed show up with the nothumb image, none of them with attachment shows the thumbnail in the threadlist.

jasonmerchant 10-18-2005 03:10 AM

:o , sorry somehow mixed up the xml file, i reuploaded it... I forgot the alt="" too :o, everything looks right now...

Xplorer4x4 10-18-2005 03:14 AM

Is there a way that a user can choose to disable it as well? Say for dial up users?

jasonmerchant 10-18-2005 03:26 AM

Sorry to do this again but I just found a better way to check if the attachment is a image, please reinstall both the xml and template changes.

jasonmerchant 10-18-2005 03:29 AM

Quote:

Originally Posted by Xplorer4x4
Is there a way that a user can choose to disable it as well? Say for dial up users?

yes that shouldn't be too hard, I'll look into tomorrow as I'm about to go to sleep.

trancetopia 10-18-2005 10:06 AM

Interesting and useful mod but i've found a couple of problems.

I had the modify the template change to this:

HTML Code:

<if condition="$show['threadicons']">
        <td class="alt2" align="center" valign="middle">
        <if condition="$show['threadicon']">
                        <if condition="$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 />
                                        <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                        </if>
        </if>
</td>
</if>

Notice i've moved where the <td class="alt2" align="center" valign="middle"> to after the first condition instead of the second. Having the cell opened after the second condition badly messed up the table structure of the threadbit. I changed the close tag </td> to align with this change also. This happened for me anyway.

The second problem is that when this is activated for a forum, no threads show at all. Not sure why but suspect the query, not had chance to look any further as i'm in work.

Snake 10-18-2005 12:10 PM

Thanks.

jasonmerchant 10-18-2005 08:17 PM

Quote:

Originally Posted by trancetopia
Interesting and useful mod but i've found a couple of problems.

I had the modify the template change to this:

HTML Code:

<if condition="$show['threadicons']">
        <td class="alt2" align="center" valign="middle">
        <if condition="$show['threadicon']">
                        <if condition="$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 />
                                        <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                        </if>
        </if>
</td>
</if>

Notice i've moved where the <td class="alt2" align="center" valign="middle"> to after the first condition instead of the second. Having the cell opened after the second condition badly messed up the table structure of the threadbit. I changed the close tag </td> to align with this change also. This happened for me anyway.

The second problem is that when this is activated for a forum, no threads show at all. Not sure why but suspect the query, not had chance to look any further as i'm in work.

Yes thats right, I hadn't really tested it on the default style last night. I've updated the themplate changes and moved the
Code:

<if condition="$show['threadicon']">
inside the else statement to prevent threads without a thread icon from not showing the thumbnail. Is that what you were referring to by "no threads show at all"? or is the entire thread info missing?

trancetopia 10-18-2005 10:23 PM

All the threads are missing from the forum completely. The forum I tested this on had 18 threads in it and one with an attachment just to test things but after I specified the forum id in the plugin, this forum didn't show any of the 18 threads.

jasonmerchant 10-18-2005 11:28 PM

hmm, I just installed it on a fresh default style and it worked. Have you tried it on the default style? I'm guessing this is a template problem, try reinstalling the template or post it here and I'll check it out.

bpn 10-19-2005 12:59 AM

Quote:

Originally Posted by Floris
All threads listed show up with the nothumb image, none of them with attachment shows the thumbnail in the threadlist.

I have the same problem, and I just downloaded and installed your hack, so
I guess I have the latest update.

bpn 10-19-2005 02:06 AM

Quote:

Originally Posted by bpn
I have the same problem, and I just downloaded and installed your hack, so
I guess I have the latest update.

I just found out that if I edit a thread and set it to show 'no icon', I do not get the "no thumb" pic. Now there's just an empty cell.

nokturno 10-19-2005 03:00 AM

thx!!!

bpn 10-19-2005 03:01 AM

For what it's worth I think the problem is that it dont is getting the attachmentid.
I did an output on this before the IF statements and got nothing on $thread['attachmentid'] but I did get the threadID on this $thread[threadid] placed on the same spot outside the IF statements

jasonmerchant 10-19-2005 03:06 AM

Quote:

Originally Posted by bpn
I just found out that if I edit a thread and set it to show 'no icon', I do not get the "no thumb" pic. Now there's just an empty cell.

that is odd, have you tried making the template changes on a fresh default style? I'm almost certain it is a template error, where your template code is signifigantly different(my forum's style requires a slightly different code) or installation error. Please get back to me on your results.

bpn 10-19-2005 03:09 AM

Quote:

Originally Posted by jasonmerchant
that is odd, have you tried making the template changes on a fresh default style? I'm almost certain it is a template error, where your template code is signifigantly different(my forum's style requires a slightly different code) or installation error. Please get back to me on your results.

I tried it on the default style and the one I'm currently using.
The deafult style is almost untouched, but I will try to install a fresh version now to see if it helps :)

jasonmerchant 10-19-2005 03:10 AM

Quote:

Originally Posted by bpn
For what it's worth I think the problem is that it dont is getting the attachmentid.
I did an output on this before the IF statements and got nothing on $thread['attachmentid'] but I did get the threadID on this $thread[threadid] placed on the same spot outside the IF statements

sorry, missed the second page... it looks as if you don't have the latest plugin code.

jasonmerchant 10-19-2005 03:13 AM

Have you installed any other hacks?

bpn 10-19-2005 03:18 AM

This is the one I got

PHP Code:

 <?xml version="1.0" encoding="ISO-8859-1"?> 
<plugins>
<plugin active="1" product="vbulletin">
<title>Thread Thumbnail</title>
<hookname>forumdisplay_query</hookname>
<phpcode><![CDATA[$thumbsforums = array(2, 3);
$displaythumbs = false;
if (in_array($forumid, $thumbsforums)) {
$displaythumbs = true;
$hook_query_fields = ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid ";
$hook_query_joins = "LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON(attachment.postid = thread.firstpostid) ";
$hook_query_where .= "GROUP BY thread.threadid ";
}]]></phpcode>
</plugin>
</plugins>


Yes, I have a few hacks like: VB category Icons, Welcome PM, V3 arcade, Sort by Newest Thread, Allow thumbnail view per usergroup (tried to disable this), & Thread starter column

jasonmerchant 10-19-2005 04:18 AM

You have the right plugin code and now I'm thinking because of the number of hacks you have installed, there may be some conflict. I tried to locate some of them and saw that VB category Icons is only for rc1 and rc2, what version are you running(in this case I don't think that will effect it but I'll check it out anyway)? I'll try and look through some of them tomorrow and see if I can find the conflict as I have 4 hours left to sleep...

bpn 10-19-2005 04:24 AM

I just tried to disable that hack aswell without luck & I am running 3.5.0
Ok, thanks for checking it out, I sure hope you can find out what's wrong :)

GrendelKhan{TSU 10-19-2005 05:25 AM

question:

can this be applied/controlled for specific forums only? (so I can exclude or include this function depending on the forums)

jasonmerchant 10-19-2005 10:47 AM

Quote:

Originally Posted by GrendelKhan{TSU
question:

can this be applied/controlled for specific forums only? (so I can exclude or include this function depending on the forums)

yes..."Be sure to change the forum ids in the $thumbsforums array to the forum ids you want to enable thumbnails in."

jasonmerchant 10-19-2005 07:40 PM

bpn:
I think I may have solved your problem, my previous code was replacing any changes to the query hook variable. This may have been what was conflicting with your other hacks. Try it out and let me know how it goes

trancetopia 10-19-2005 07:54 PM

Quote:

Originally Posted by jasonmerchant
hmm, I just installed it on a fresh default style and it worked. Have you tried it on the default style? I'm guessing this is a template problem, try reinstalling the template or post it here and I'll check it out.

I've tried it on the default style and still getting the same problem - threads do not display. The moment I specify some forum id's in the array, those forums threads are then all hidden.

Here is the template as requested:

HTML Code:

<tr>
        <td class="alt1" id="td_status_$thread[realthreadid]">
                $thread[openclose_editable]
                <img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_status_$thread[realthreadid]" alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
        </td>
        <if condition="$show['threadicons']">
        <td class="alt2" align="center" valign="middle">
        <if condition="$show['threadicon']">
                        <if condition="$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="/images/nothumb.gif" alt="" border="0" />
                                        </if>
                        <else />
                                        <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                        </if>
        </if>
</td>
</if>        <td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">

                $thread[title_editable]
                <div>
                        <span style="float:$stylevar[right]">
                                <if condition="$show['moderated']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/moderated_small.gif" alt="<phrase 1="$thread[hiddencount]">$vbphrase[x_moderated_posts]</phrase>" /> </if>
                                <if condition="$show['paperclip']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /> </if>
                                <if condition="$show['subscribed']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" alt="$vbphrase[you_are_subscribed_to_this_thread]" /> </if>
                                <if condition="$show['sticky']"> <img class="inlineimg" src="$stylevar[imgdir_misc]/sticky.gif" alt="$vbphrase[sticky_thread]" /> </if>
                        </span>
                        <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
                        $thread[movedprefix]
                        $thread[typeprefix]
                        $thread[moderatedprefix]
                        <if condition="$show['gotonewpost']">
                                <strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>
                        <else />
                                <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>
                        </if>
                        <if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">( <img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav] <if condition="$show[pagenavmore]">... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&amp;page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if> )</span></if>
                </div>
       
                <div class="smallfont">
                        <if condition="$show['threadratings'] AND $show['threadrating']"><span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" /></span></if>
                        <if condition="$show['guestuser']">
                                $thread[postusername]
                        <else />
                                <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
                        </if>
                </div>
               
                <if condition="$show['unsubscribe']">
                        <div class="smallfont">
                                <a href="newreply.php?$session[sessionurl]do=newreply&amp;t=$thread[threadid]">$vbphrase[reply]</a> |
                                <a href="subscription.php?$session[sessionurl]do=removesubscription&amp;return=ucp&amp;t=$thread[threadid]">$vbphrase[unsubscribe]</a>
                        </div>
                </if>
               
        </td>
       
        <if condition="$show['threadmoved']">
        <td class="alt2" align="center">-</td>
        <else />
        <td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
                <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
                        $thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
                        <phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>  <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
                </div>
        </td>
        </if>
       
        <if condition="$show['notificationtype']">
                <td class="alt1"><div class="smallfont">
                        <label for="sub$subscribethread[$threadid]">$thread[notification]</label>
                </div></td>
                <td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
        <else />
                <td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
                <td class="alt2" align="center">$thread[views]</td>
                       
                <if condition="$show['forumlink']">
                        <td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
                </if>
        </if>
       
        <if condition="$show['inlinemod']">
                <td class="alt1">
                        <input type="checkbox" name="tlist[$thread[realthreadid]]" id="tlist_$thread[realthreadid]" value="$thread[checkbox_value]" <if condition="$show['disabled']">disabled="disabled"</if> />
                </td>
        </if>
</tr>

and here is the code:

Code:

$thumbsforums = array(210);
$displaythumbs = false;
if (in_array($forumid, $thumbsforums)) {
        $displaythumbs = true;
        $hook_query_fields = ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid ";
        $hook_query_joins = "LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON(attachment.postid = thread.firstpostid) ";
        $hook_query_where .= "GROUP BY thread.threadid ";
}

Thanks

jasonmerchant 10-19-2005 08:09 PM

trancetopia:
It looks as though you are running into the same problem as bpn, and I would guess you have installed other plugins for the forumdisplay_query hook? I believe this is solved with the last update 30 minutes ago. Redownload the xml and check if it is solved

trancetopia 10-19-2005 08:31 PM

I've downloaded the file again, uninstalled the hook code and re-installed with the version I just downloaded and I'm still getting the same problem :(

There is only one plugin occupying the forumdisplay_query hook and that is your "Thread Thumbnail" plugin.

Anything else you want me to try?

jasonmerchant 10-19-2005 11:58 PM

hmm... well I'm not really sure what is wrong, can you test this:

Code:

$thumbsforums = array(210);
$displaythumbs = false;
if (in_array($forumid, $thumbsforums)) {
        $displaythumbs = true;
        $hook_query_fields = "";
        $hook_query_joins = "";
        $hook_query_where = "";
}

If this test is successfull it should display "no thumbnail" images on all threads.

If it still failed then run this test:

Code:

$thumbsforums = array(210);
$displaythumbs = false;
if (in_array($forumid, $thumbsforums)) {
        $hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid ";
        $hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON(attachment.postid = thread.firstpostid) ";
        $hook_query_where .= "GROUP BY thread.threadid ";
}

If this test is successfull it will display your threads normally without thumbnails.

Let me know what your results were.

jasonmerchant 10-20-2005 02:48 AM

Quote:

Originally Posted by Xplorer4x4
Is there a way that a user can choose to disable it as well? Say for dial up users?

I've updated the first post with the changes needed to do this under Add-ons. :)

trancetopia 10-20-2005 11:57 AM

Hi Jason, i've given those two scripts a try and here are the results:

The 1st script made little difference in the fact that it did not display any threads just like my initial problem.

The 2nd script did exactly as you said, it displayed all the threads without any thumbnail images.

Thanks for your help trying to work this out, it's really appreciated.

jasonmerchant 10-20-2005 08:04 PM

:D , then the answer is simple, one of your other hacks is using the variable $displaythumbs. This can be easily solved be changing the name to something more unique such as $tt_displaythumbs (tt for thread thumbnail). I've just updated the template and xml with "tt_" added to my variables.

trancetopia 10-20-2005 09:42 PM

Hey it's working now, kind of. Sorry to give you more bad news but only one of the thumbnails is now showing.

You can view the forum here:

http://www.littlewales.com/forumdisplay.php?f=210

jasonmerchant 10-20-2005 09:50 PM

you have an old template, that was fixed a while back when I moved the <if condition="$show['threadicon']"> inside the else statement

Code:

<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>
        </td>
</if>


Xplorer4x4 10-21-2005 03:23 AM

@Jason can you please provide the intructions in the zip file.

trancetopia 10-21-2005 07:04 AM

Quote:

Originally Posted by jasonmerchant
you have an old template, that was fixed a while back when I moved the <if condition="$show['threadicon']"> inside the else statement

Doh, it's working great now :). Thank you for your time with getting this to work for me. For the type of content on my forum, this will probably be one of the most visually useful plugins ever.

Cheers

jasonmerchant 10-22-2005 05:03 AM

Quote:

Originally Posted by Xplorer4x4
@Jason can you please provide the intructions in the zip file.

Done. :)

rookiyong 10-27-2005 08:59 AM

Hi, nice hack here. :)

Is there any options of displaying the Avatar of the thread started instead of using attachments?


All times are GMT. The time now is 04:48 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.03108 seconds
  • Memory Usage 1,924KB
  • 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
  • (9)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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