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)
-   -   phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.) (https://vborg.vbsupport.ru/showthread.php?t=100229)

funinthesun 02-04-2009 10:19 PM

I've tried all the methods posted on here but can't get OpenX to work with 3.8.1 without getting a parse syntax error. Any ideas?

stardotstar 05-20-2009 10:37 AM

I have localmode calls working well (very fast page loads) but I am getting time skew despite the vb clock, server clock and all other services being correctly set. whenever I do a

<ad what="zone:1" />

The post bit timestamps are all back in time by the amount of the GMT offset... (+10) very strange. If I take the invocation out the times go back to normal. Interestingly enough the time stamp at the bottom of the board is correct. I wonder if the plugin is writing a UTC time to a local variable that then is built into the post bit...

Any one with any idea on help would be appreciated in the mean time I will continue to hack away at it - I am on 3.8.2.

Man, its sooo fast! I have to get it working!

I notice that if I use "detailed" as a time setting in the vB options I get a correct result... Must be a variable getting reset somehow... Any ideas?

stardotstar 05-20-2009 11:06 AM

OK I think I can see where this is happening but just don't know how to track it down - it is possible that this is specific to 3.8.2 and I would be very willing to write up my method for getting it to work if I can get this time issue sorted.

The Time skew occurs if and only if there is a local mode invocation called using the <ad /> code.

I can put

<ad what="zone:1" /> in the footer or header, refer to it from an ad location or whatever but so long as there is a reference to this tag the time jumps back 10 hours.

So when I look at the plugin called
Ad tag callback
I see that its hook is at the template_compile and this tells me that it is a likely cause of elements of the time being rewritten...

Interestingly the time statement at the bottom of the board is always correctly displayed and if I switch the time mode to "detailed" I get the correct time (ie 1 minute ago) for a post just made instead of a 10 hour shift into the past... BUT in the PM inbox the time shift is still evident.

This is the plugin code:

Code:

if (!function_exists('_tag_callback'))
{
        /**
        * Callback-function for process_template_tag() which "parses" arguments and returns PHP code for eval
        *
        * @param        string        Options/arguments of tag
        * @param        string        Name of function to call
        * @param        array        Associative array of argument names and default values
        *
        * @return        string
        */
        function _tag_callback($options, $functionhandle, $arglist)
        {
                $options = stripslashes($options);
                trim($options);
                trim($functionhandle);

                if (!function_exists('replace_template_variables'))
                {
                        require_once(DIR . '/includes/functions_misc.php');
                }

                $param = array();
                if (is_array($arglist))
                {
                        reset($arglist);
                        foreach ($arglist AS $key => $val)
                        {
                                if (preg_match('#'.$key.'=([\\\]["\'])(.*?)\1#', $options, $matches))
                                {
                                        $param[] = $matches[2];
                                }
                                else
                                {
                                        // default argument
                                        $param[] = $val;
                                }
                        }
                }
               
                foreach ($param AS $argument)
                {
                        if ($return == '')
                        {
                                $return = '" . ' . $functionhandle . '(';
                        }
                        else
                        {
                                $return .= ', ';
                        }
                        // Surround variables with {} - not failsafe, but should do the job in most cases
                        $argument = preg_replace('#\$([a-z0-9_>-]+)((\[\'.*?\'\])+)#i', '{$\\1\\2}', $argument);
                        // {{$foo}} --> {$foo}
                        $argument = preg_replace('#(\{+)\$(.*?)(\}+)#i', '{$\\2}', $argument);

                        // Replace legacy variable names in templates with their modern equivalents
                        $argument = replace_template_variables($argument, true);

                        $return .= '"' . $argument . '"';
                }
                $return .= ') . "';
                return $return;
        }
}

if (!function_exists('process_template_tag'))
{
        /**
        * Processes user-defined tags <tagname [argument="foo" ...]/> into myfunction() PHP code for eval
        *
        * @param        string        Title of tag
        * @param        string        Un-parsed template HTML
        * @param        string        Name of function to call
        * @param        array        Associative array of argument names and default values, order must be the same as for the function specified previously
        *
        * @return        string
        */
        function process_template_tag($tagname, $text, $functionhandle='', $arglist)
        {
                if ($functionhandle == '')
                {
                        // No function specified - remove tag
                        return preg_replace("#<{$tagname}\s?/?>|<{$tagname}\s.*?/?>#si", '', $text);
                }
                else
                {
                        return preg_replace("#<({$tagname})(\s+(.*?)/?)>#sie", "_tag_callback('\\3', \$functionhandle, \$arglist)", $text);
                }
        }
}

$template = process_template_tag('ad', $template, 'view_ad', array('what' => '', 'clientid' => 0, 'target' => '', 'source' => '', 'withtext' => 0)  );

can anyone see anything that might cause the effect on time display in postbit and elsewhere in the templates?

Does anyone think I am on the right track or is it futile troubleshooting this wonderful but rather antiquated (for 3.5) implementation now?>

stardotstar 05-22-2009 10:03 AM

Guys, I am not sure how much interest there is for this mod to be adapted to work with 3.8.2 but I for one have spent some considerable time getting it to work with only one issue - the clock is set back to UTC during the callout to the ad server when using local mode. I can't see any reason why it will not work as advertised with vB3.8.2 using javascript invocation.

It is a great mod and one that with a little patience rewards the effort to implement.

Much thanks to the developer, not just for the hack but also the inspiration and opportunity to learn so miuch more about plugin integration while trying to fix what is a bug with openx - not a problem with this great hack.

If The M.I.P is still monitoring this thread I would offer, in exchange for some tips to work around the UTC problem (I have many threads about posing possible work arounds but have not got any workable answers or come up with a solution myself yet) I will make every effort to update the plugin for 3.8.2 or at the very least write a step by step integration guide for 3.8.2 and openx2.8.

I know that this is an easy thing to work around for a programmer but the problem is finding one who can see the context quickly enough to make the fix!

Just putting it out there The M.I.P. thanks for the great work on this inspired product and thanks for reading everyone!

Will

jw00dy 05-22-2009 11:28 PM

I am interested for sure.

bertwrld 05-27-2009 05:16 PM

I get a shifted time as well, a fix would be great.

stardotstar 05-28-2009 09:31 AM

I have detailed the nature of the problem here:
https://vborg.vbsupport.ru/showthread.php?t=214263
that links to a couple of alternative attempts to glean what info i can about the nature of the tz problem and the openx bug that is allegedly responsible.

Not much in the way of progress toward a solution I am afraid as yet.

bertwrld 05-31-2009 03:35 PM

Curious as to any luck with this as of yet?

stardotstar 06-01-2009 01:58 AM

Not yet, following various leads; I'll be sure to keep you updated of progress.

bertwrld 06-02-2009 07:47 PM

Right on, thanks.

The java delivery def uses a lot of resources.

stardotstar 06-06-2009 11:04 AM

I have a fresh vB3.8.2 with no other mods but this and two themes, one implements the <ad/> tag and another doesn't. The board is natively set to UTC+10 and I have added the time zone to the time stamps when viewing the only post on the board in each style it can be seen that when the ads are on the time stamp is UTC and when off reverts to board time. Board time is correctly reported at the bottom of the main page for the user in either case.
I continue to drill down on this.

I am certain it has something to do with the local mode bug in openX but this still shouldn't throw vB - there must be some way of protecting the local variables in vB so that they are not zapped with the call out to openX by a simple plugin.

By the By, something to be aware of is that if you use the disable hooks in config.php to check your board functionality with the way that this plugin works the <ad/> tags break the templates calling for view_ad which (with hooks disabled) is an undefined function - yielding thus a fatal error.

Code:

Fatal error: Call to undefined function view_ad() in /var/www/archq/forums/global.php(614) : eval()'d code on line 1
This applies to disabling the plugin/hook system via the ACP or as below in config.php:
Code:

define('DISABLE_HOOKS', true);
this should be worked around with this mod but that is a secondary concern! Just be aware of it if using since it is sometimes necessary to disable the plugin system that way when problems are being worked on with vB.com folks.

bertwrld 06-06-2009 02:54 PM

Thanks for taking the time to try and get this working.

bertwrld 06-13-2009 03:17 PM

well, i finally decided to just install a older version of openads.

It works fine with this plugin and does the trick for me.

IF the time problems get fixed, then i might try to upgrade to the new openads

stardotstar 06-14-2009 04:12 AM

That is good news as a fall back - I have set my board to time display detailed so they get a relative take on the time stamp - but it is far from a workable solution. I have too much running on openX and am going to pursue this to the bitter end :)

Cheers,
Will

stardotstar 06-15-2009 02:27 AM

OK.... Drum roll:

The fix is almost absurdly simple.

You have to specify the openads timezone variable before making the callout.

I can only confirm this for vB3.8.3, phpAdsNew Banner Ads Integration 1.0.4, openX 2.8 and php5 so please don't go jumping into your plugins and stuffing up boards without backups and copying and pasting the original code to a text editor.

The line needed is the spec of the local server timezone for your host:
Code:

OA_setTimeZone('Australia/Sydney');
in my case.

To fix this problem with Local Mode (not xml-rpc) method calls to openX 2.8 you need edit the plugin:
view ad function
http://www.sourcepoint.com.au/outlin...d_function.png

http://www.sourcepoint.com.au/outlin...d_function.png
Select all in the plugin code box and replace with this:

Code:

if (!function_exists('view_ad'))
{
        /**
        * Calls view_raw function from phpAdsNew either locally or via xml-rpc to get HTML advertisement code, see phpAdsNew for infos.
        *
        * @param        string        Zone name (zone:x) or keywords (keyword1|keyword2|...)
        * @param        integer        Client-ID
        * @param        string        Target
        * @param        string        Source
        * @param        integer        Withtext
        *
        * @return        string
        */
        function view_ad($what, $clientid = 0, $target = '', $source = '', $withtext = 0)
        {
                global $vbulletin;
                static $panpath;
               
                if (!$panpath)
                {
                        trim($vbulletin->options['panpath']);
                        $panpath = @parse_url($vbulletin->options['panpath']);
                }
               
                // Calculate an identifier for the requested ad - this could be used to cache banners retrieved via xmlrpc in future versions
                $adid = sprintf('%u', crc32($what . $clientid . $target . $source . $withtext));
               
                if ($vbulletion->options['addtemplatename'] or $vbulletin->config['Misc']['debug'])
                {
                        // Be verbose
                        $adcomment = 'id="' . $adid . '" what="' . htmlspecialchars($what) . '" clientid="' . htmlspecialchars($clientid)
                                        . '" target="' . htmlspecialchars($target) . '" source="' . htmlspecialchars($source)
                                        . '" withtext="' . htmlspecialchars($withtext) . '"';
                }
                else
                {
                        $adcomment = $adid;
                }
               
                if ($vbulletin->options['panpath'] == '')
                {
                        // Path to phpAdsNew is empty - disable ads
                        return "<!-- ad {$adcomment} / -->";
                }
                elseif (strtolower($panpath['scheme']) == 'http')
                {
                        // get banner from phpAdsNew via xml-rpc
                        /*
                        //        ATTN:
                        //        In phpAdsNew 2.0.6 (and maybe earlier versions) is a tiny bug which prevents xml-rpc from working cleanly.
                        //       
                        //        Patch:
                        //        --- phpAdsNew/misc/samples/xmlrpc/php/lib-xmlrpc.inc.php.orig        Tue Aug 16 10:51:26 2005
                        //        +++ phpAdsNew/misc/samples/xmlrpc/php/lib-xmlrpc.inc.php        Thu Oct 27 17:12:26 2005
                        //        @@ -76,6 +76,7 @@
                        //                        global $xmlrpcStruct;
                        //       
                        //                        global $xmlrpcTypes;
                        //        +                global $xmlrpc_valid_parents;
                        //                        global $xmlEntities;
                        //                        global $xmlrpcerr;
                        //                        global $xmlrpcstr;
                        //                       
                        //        See https://sourceforge.net/tracker/?func=detail&atid=111386&aid=1339623&group_id=11386 for details.
                        */
       
                        global $xmlrpcbanner, $phpAds_remoteInfo;
                        require_once(DIR . '/includes/lib-xmlrpc-class.inc.php');  // see misc/samples/xmlrpc/php/ directory of your phpAdsNew installation
       
                        if (!$xmlrpcbanner)
                        {
                                $xmlrpcbanner = new phpAds_XmlRpc($panpath['host'], $panpath['path'], (intval($panpath['port']) > 0 ? $panpath['port'] : 80));
                        }
       
                        $ad = $xmlrpcbanner->view_raw($what, $clientid, $target, $source, $withtext);
       
                        return "<!-- BEGIN ad {$adcomment} -->{$ad['html']}<!-- END ad {$adid} -->";
                }
                else
                {
                        // get banner via direct invocation of phpAdsNew
                        // this is basically taken from the invocationcode generated by phpAdsNew - it does its own checks to prevent multiple inclusion
       
                        global $phpAds_context;
                       
                        if (@require($vbulletin->options['panpath'] . (strstr($vbulletin->options['panpath'] , '/phpadsnew.inc.php') ? '' : '/phpadsnew.inc.php' )))
                        {
                                if (!isset($phpAds_context))
                                {
                                        $phpAds_context = array();
                                }
       
                                $ad = view_raw($what, $clientid, $target, $source, $withtext, $phpAds_context);
                               
                                if ($vbulletin->options['panbandupes'])
                                {
                                        // Remember bannerid to prevent showing banner multiple times on same page
                                        $phpAds_context[] = array('!=' => 'bannerid:'.$ad['bannerid']);
                                }
OA_setTimeZone('TIME/ZONE');       
                                return "<!-- BEGIN ad {$adcomment} -->{$ad['html']}<!-- END ad {$adid} -->";
                        }
                }
        }
}

You MUST then go into the line:
Code:

OA_setTimeZone('TIME/ZONE');
and replace it with the local zone for your server...


OR


if you just want to insert the line yourself find:

Code:

$phpAds_context[] = array('!=' => 'bannerid:'.$ad['bannerid']);
                                }

and place
Code:

OA_setTimeZone('TIME/ZONE');
before the next line:
Code:

return "<!-- BEGIN ad {$adcomment} -->{$ad['html']}<!-- END ad {$adid} -->";
                        }

and that's it...

or at least that has fixed the issue for me.

Now I must say that I am not sure of what effect this might have on the openX server if it is not in the timezone that the main boards are - this could conceivable cause problems associated with skew of the statistics or other database date and time records within openX.

If I notice anything like this I will report here.

Cheers,
Will

speedway 06-23-2009 07:17 AM

Fantastic Will, will try this now, have had to stay on 2.4.3 due to the ad tag bug.

Cheers
Bruce

Dennis B 06-23-2009 04:41 PM

Quote:

Originally Posted by stardotstar (Post 1814002)
I have localmode calls working well (very fast page loads)

Are you using LWillmann's solution or something else? I have quite a few ads running with javascript and it's eating up my servers' resources...

stardotstar 06-24-2009 03:37 AM

It's this Add-on with a modification (one only) to the plugin that delivers the ad.

Dennis B 06-24-2009 12:49 PM

Thanks for the answer. Is the modification related to the ability to use local calls or not? I really wanted to get rid of the javascript...

stardotstar 06-26-2009 07:48 AM

This mod invokes the ads via local mode or xml-rpc calls by defining a template tag <ad />.

The javascript invocation method is not implemented using the <ad /> tag to callout phpAdsNew [openX].

If I understand you correctly, you are using javascript invocation calls generated by the zone defined in phpAdsNew [openX]?

This method is slow and very inefficient compared to local mode therefore I tried this mod in order to improve performance but immediately ran into the problem of it no longer being supported for vB3.8.x or openX (as such).

Having a server with vB3.8.3 and openX 2.8 on the same localhost I thought I'd give this mod a go and see if it works. It does, but with the caveat that as soon as you invoke an ad using the <ad /> tag all timestamps on the board are reverted to UTC (whatever the server config or userCP setting) but the board time remains correct and displays correctly (timezone and all) at the bottom of the pages.

The reason for this is that when making local mode calls to openX 2.8 the timezone is not correctly handled - as reported in this bug.

Several workarounds are suggested and I found that ultimately defining the openX timezone prior to making the callout (with the localhost local timezone - nothing to do with a user's preference setting offset) fixed the problemo.

So that, in a nutshell, is it.

I have not experimented with xml-rpc but since this mod provides it as an alternative call I suspect it works as expected.

You can therefore do away with javascript invocation by implementing this mod with the single plugin modification I posted above.
HTH
Cheers,
\\'

I suppose that this mod could be relaunched as OpenX Banner Ads Integration and stated as compatible with vB 3.8 and OpenX2.8 - much more testing would have to be done though and the local system timezone would have to be implemented as opposed to hardwiring it in the plugin.

dholt 07-01-2009 04:32 PM

vb 3.8.3
openx 2.8 -

1. I did what stardotstar said Above

2. I set up website and campaign and uploaded banner and

Linked them together

3. Set up zone = zone name Header

Added this too the header Template were I wanted the banner <ad what="Header" />

when I hit save I get a blank page and it won't save the code.

Then I tried to use the java tag invocation code and it saved but nothing displayed.

I need just a little more help getting this to work. Thanks

dholt 07-01-2009 08:49 PM

Ok fixed as it works good now

chang to the full path in Plugins & Products-Plugin Manager-Product : phpAdsNew Integration-init_startup and edit

find phpadsnew.inc.php

and ad the full path

Code:

'http://www.mysite.org/openx/phpadsnew.inc.php'
the foolbar thingy didn't work so I added the java tag invocation code

which you can find under inventory/zones/ invocation code

drop down menu selct java

and it showed up fine I am so jumping with joy right now woot woot. :D

Now I'm off to forumhome template hopefully I'm on a roll

dholt 07-01-2009 09:29 PM

I have a new problem on forumhome as the banner dispalys under the navbar on the left.

what I need is it to display on the left be side the forums.

what can I do too re size the forums to give me a left column on forum home so it displays left of the forums.

Dennis B 07-02-2009 12:47 AM

star,

Thanks a million for this, should work perfectly. The only question I have left is if the modification you suggested will take the actual zone file in the server and read it or just implement a standard. I'm asking this because of daylight savings time adjustments that tend to move around quite a bit from year to year.

Thanks again,

stardotstar 07-05-2009 08:32 AM

Dennis - you need to specify the actual TZ in this work around. Like - Australia/Sydney - so daylight saving would only be invoked if openX is able to auto detect daylight saving time - I know many systems do but not sure of openX. So no, it does not read the server zone file - but that should be easy enough to do by using the php TZ variable.

dholt - I would look into the template/style forums - I'm not much more than a hack at layout and css stuff... I use USC (Ultimate Side Columns) for my side banners, otherwise you can adjust the widths in the template controls in ACP.

baerwurz 10-07-2009 12:34 PM

I use vbadvanced on every threadpage on the right sidebar. I will setup a module in the right sidebar which shows a large Rectangle Ad.

I have about 17.000 Threads in the most of them i want to show the same banner. But in around 100 Threads i want to show 100 different Banners.

Say for the Nokia E71 Thread, i want to show a Nokia E71 banner which links into the right place on our shop.
In the Iphone 3 GS Thread i want to show a banner with Iphone 3 Gs which links in the Iphone Section in our shop etc...

Is this possible with this mod?

LWillmann 10-07-2009 06:35 PM

Quote:

Originally Posted by baerwurz (Post 1896084)
I use vbadvanced on every threadpage on the right sidebar. I will setup a module in the right sidebar which shows a large Rectangle Ad.

I have about 17.000 Threads in the most of them i want to show the same banner. But in around 100 Threads i want to show 100 different Banners.

Say for the Nokia E71 Thread, i want to show a Nokia E71 banner which links into the right place on our shop.
In the Iphone 3 GS Thread i want to show a banner with Iphone 3 Gs which links in the Iphone Section in our shop etc...

Is this possible with this mod?

People had issues with the newer versions of vB and this version of the mod. I got it to work, and detailed how I did it in earlier posts. However, the later versions of OpenX have gotten slower and slower and really bogged my server down, so I have gone away from their package completely.

Thinking back, if you new the banner ID that you wanted to refer to, or created a group showing a bunch of iPhone banners, then you could call banners for that group when in the iPhone section of your site directly. The same goes for the Nokia. But you'd have to do it by either referring to that particular banner, or that group and randomly selecting a banner from the group. But what you're asking can be done.

stardotstar 10-28-2009 01:11 AM

I have done some simple placement of the banner invocation in the templates using the places where the existing ad hooks are for vB itself - and inserted some simple conditionals that delivery a particular zone if a forum is a particular ID...

I should mention that if you can use the localmode invocation and the openX is on the localhost it is much much faster than if you do a javascript call, but LWillmann is right there is a considerable load to sustain if your site is delivering massive page refreshes.

I keep an eye on this thread becasue I am trying to get the flash banners to work since I completely rely on this hack to deliver my commercial content on my site and in the absence of a better alternative that I can readily transition to I am needing it to be as good as possible.

Anne Lise 12-29-2009 11:03 AM

Can this please be changed to be compatibel with the 4.0-version?

stardotstar 12-31-2009 12:18 AM

I am sure it can be - but who would do that I am not sure. I am not on 4 and have not yet even begun to get my head around ensuring that my mods and hacks will transition. :ugh:

BTW I have the flash components working by building in a script call that defines the flashplayer - this is documented in one of my other threads here - and is a solution contributed by another member here who found it on OpenX forums.

Happy New Year all.
W

stardotstar 12-31-2009 12:20 AM

Quote:

Originally Posted by baerwurz (Post 1896084)
I use vbadvanced on every threadpage on the right sidebar. I will setup a module in the right sidebar which shows a large Rectangle Ad.

I have about 17.000 Threads in the most of them i want to show the same banner. But in around 100 Threads i want to show 100 different Banners.

Say for the Nokia E71 Thread, i want to show a Nokia E71 banner which links into the right place on our shop.
In the Iphone 3 GS Thread i want to show a banner with Iphone 3 Gs which links in the Iphone Section in our shop etc...

Is this possible with this mod?

I don't know how you would do this but in essence it is simple - use some script that determines which browser interface the user is using (or get them to put their interface/phone type in a custom userfield) and then do a test in the template and use it to call a specific "Zone" from OpenX as per the handset they are using... I do the same thing for setting particular ads to particular forums based on group or custom user profile fields.

stardotstar 01-07-2010 12:44 AM

The flash display issue that was identified from an OpenX thread by TenPercenter is this

Quote:

1. Open your headerinclude template.
2. Add this line to the top. (correct it for your site's openx path)
<script type='text/javascript' src='/ads/www/delivery/fl.js'></script>
This has solved flash banner delivery for me.

bertwrld 02-19-2010 10:08 AM

Anyone have this working with vb4 yet by any chance.

I will pay for this to be converted or a completely new mod written, if someone with the proven experience would be able to get openx and the options working with vb4.

thanks

TheMic 08-06-2010 12:53 PM

an update for VB4?!? pleeeeeaseeeeee help!

bada_bing 08-06-2010 04:33 PM

Quote:

Originally Posted by TheMic (Post 2080042)
an update for VB4?!? pleeeeeaseeeeee help!

YES PLEASE

bertwrld 08-13-2010 07:18 AM

Still willing to pay for this mod to be ported over to work with vb4, or a new mod created.

bada_bing 09-10-2010 02:41 PM

Any updates to 4.0 version ?

Dennis B 09-10-2010 06:25 PM

I've been using OpenX with vB4 without any problems, calling the ads directly with javascript.

bada_bing 09-13-2010 03:53 PM

Quote:

Originally Posted by Dennis B (Post 2096351)
I've been using OpenX with vB4 without any problems, calling the ads directly with javascript.

Can you provide more details

Dennis B 09-14-2010 02:32 PM

Sure. :)

Please remember that calling several ads using this method might load your server significantly.

All you have to do is go into your OpenX control panel, choose 'Direct Selection' from the left menu, next select javascript invocation from the options and adjust the script according to your needs.

All my banners have unique identifiers so it's pretty easy to target them with a simple '?what=' condition in the script.

The final script version is copied to where ever you want the banner to show, usually placing it inside one of the ad templates is a good idea. :)


All times are GMT. The time now is 02:33 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.02143 seconds
  • Memory Usage 1,919KB
  • 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
  • (10)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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