vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Adsense below the last thread (https://vborg.vbsupport.ru/showthread.php?t=102466)

Moparx 12-12-2005 11:01 PM

Quote:

Originally Posted by StarBuG
Suggestion
Would it be possible to also show this banner as last thread in a search result?

I think that would also be a nice place for a banner :D

Honestly, I am not sure if you would be allowed to add adsense to the search results (Its not allowed on the actual search page.. but one would think its allowed on the results).
Let me know if you find out because I have the code ready to post for you if it's allowed.

djmini 12-13-2005 01:22 AM

I can't get it to work at all.

Moparx 12-13-2005 01:47 AM

Quote:

Originally Posted by djmini
I can't get it to work at all.

did you follow the instructions exactly and set the proper usergroups you wanted?

djmini 12-13-2005 02:41 AM

apologies
<--newbie

is_member_of _Usergroup or (USERGROUP, 1,2)?

+<if+condition="is_member_of($bbuserinfo,+1,2)">

Moparx 12-13-2005 03:16 AM

Quote:

Originally Posted by djmini
apologies
<--newbie

is_member_of _Usergroup or (USERGROUP, 1,2)?

+<if+condition="is_member_of($bbuserinfo,+1,2)">

just like this:
PHP Code:

<if condition="is_member_of($bbuserinfo, x,y)"

x & y are the numerical ids that correspond with your user groups.

croportal 12-20-2005 10:13 PM

i have gone to remove this and i got this error

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected '\"', expecting ']' in /home/hrportal/public_html/forum/includes/adminfunctions_template.php(3519) : eval()'d code on line 475

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.

Moparx 12-21-2005 12:11 AM

that means you left part of a conditional in the code. go through the template & make sure that <if condition="is_member_of($bbuserinfo, x,y)"> and </if> were properly removed.

Ryan McBain 01-06-2006 04:02 PM

How would I make it so the google ads show up after so many threads?

bashy 01-09-2006 09:06 PM

Hi

How would i do this so that when the size of the window gets made bigger or smaller the imagig changes size to match please, as this is making the forum too wide????

Regards

Bashy

Moparx 01-10-2006 11:27 PM

Quote:

Originally Posted by bashy
Hi

How would i do this so that when the size of the window gets made bigger or smaller the imagig changes size to match please, as this is making the forum too wide????

Regards

Bashy

if the ad unit you are currently using is too big, i suggest using a smaller one such as the 234x60 half banner


All times are GMT. The time now is 02:08 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.01054 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (4)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
  • (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