vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Show Thread Enhancements - Adsense as second post. 2 Sizes - Big for guests, small for members - Legacy Version (https://vborg.vbsupport.ru/showthread.php?t=139093)

se_p800 06-04-2008 03:58 PM

this works fine for 3.7.1 btw!

F0xy 06-19-2008 08:21 PM

how do you get this to be set up for all guests and all members
https://vborg.vbsupport.ru/attachmen...9&d=1171197550

StarBuG 06-20-2008 12:08 PM

Change

Code:

<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID'] AND (!$show[member])">
to

Code:

<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID']">
:)

F0xy 06-20-2008 01:38 PM

good man, thanks

sunnylikbeckham 09-06-2008 06:17 PM

hey cool man
in bigger banner for guests
can you tell me how can i fill the place on its right
bcz what ever code i put next come in next line
thanks

StarBuG 01-14-2009 08:34 PM

use a table and put both codes each in a td ;)

Riccardo83 02-02-2009 09:56 AM

Yeah it's great. I mean the code works... Hope he still does updates for the 3.8.0 although this version has adsense support itself.... didnt test it yet tho....

hieuhpp 02-05-2009 12:28 PM

when i use:
Code:

<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID'] AND (!$show[member])" AND !in_array($forum[forumid], array(16,17,18,19)>
have error :
Code:

The following error occurred when attempting to evaluate this template:

    The conditional on line 284 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.


This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


rtyagis 10-29-2009 11:02 AM

Thanks ... Installed. But the Adsense is not showing for guests and members both any specific reason. I use Vbullitin integrated Adsense.

otectom 08-27-2011 06:23 PM

I am having trouble installing this mod. In my templates I cannot find

Code:

<if condition="$post['userid'] AND $show['member']">
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if>
    </table>
</div>

anywhere. I have looked in multiple templates and have tried using the search templates tool, but with no luck. Does this mod work in vb4? What template (specifically) are you editing?


All times are GMT. The time now is 03:10 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.01160 seconds
  • Memory Usage 1,730KB
  • 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
  • (5)bbcode_code_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
  • (10)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