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, different sizes for visitors to members ? under last post (https://vborg.vbsupport.ru/showthread.php?t=119620)

MadKad 09-13-2006 08:43 AM

Great thank you, So two installs on the new version and its gone well looks like i will be able to place this in the new section, thank you. :)

oldfan 09-21-2006 04:33 PM

I cannot get this too work after the first post, works with the last post no problem
http://www.metallifukinca.com

Quote:

Originally Posted by MadKad
Adding the adverts after the first post insted or as well please do the following


After first post ad's:
================================================

Template > postbit_legacy

Find:
Code:

<!-- / post #$post[postid] -->
After add:
Code:

<!-- Start Google bottom -->
$google_bottom
<!-- / End Google bottom -->

=================================================

Template > postbit

Find:
Code:

<!-- / post #$post[postid] -->
After add:
Code:

<!-- Start Google bottom -->
$google_bottom
<!-- / End Google bottom -->

=================================================

Thats it that is the codes needed for both post styles after the first post :cool:


MadKad 09-21-2006 06:06 PM

I see it with the first post, but not the last are you using the usergroup options?

If so please could you post your codes :)

Jelmertjee 10-08-2006 07:53 AM

nice work, *installed* , do you have any idea how i could show the add under the header too?

MadKad 10-08-2006 08:17 AM

Hi, yes you can add it there what you need to do is go to

style & templates > header

in the header template find

Code:

$_phpinclude_output
after add the code

Code:

<!-- Start Google bottom -->
$google_bottom
<!-- / End Google bottom -->

Hope that helps :D

MadKad 10-08-2006 09:20 AM

Please note I have just posted this mod for the new version of VB here

https://vborg.vbsupport.ru/showthread.php?t=128551

Thank you

fluentdesigns 03-17-2007 10:02 PM

Im able to get this to work for my visitors but not my members. Any ideas. It just shows the Advertisement table with nothing in it.

fluentdesigns 03-17-2007 10:04 PM

nevermind just read the usergroup issue :)

MadKad 04-20-2007 12:50 PM

np mate :)

popowich 04-22-2007 04:50 PM

I stripped out the conditions for members and visitors and simply use it as a linkbar in last post.

Great mod, thanks!

-Raymond

popowich 04-22-2007 06:39 PM

Hello,

I've unsuccessfully tried about 7 different locations for this within forumhome.

Where can I add this to forumhome so that it looks nice?

PHP Code:

<!-- Start Google bottom -->
$google_bottom
<!-- / End Google bottom --> 

Between What's going on? and logged in users seems to be the logical choice.

I can't seem to get the right placement, or it's simply not compatible with that location.

Thanks!
-Raymond

MadKad 04-22-2007 07:51 PM

well if you are getting it to change size for members and not members then have it where the add's are now, one at top and one at bottom. then smaller for the members :)

popowich 04-22-2007 08:04 PM

The size is OK. I display the same link bar for anyone. I already have a leaderboard in the footer, so this mod is great for a generic link bar. It works fine for showthead and I added it to forumdisplay too. I simply can't figure out how to add it to forumhome. Make sense?

-Raymond

MadKad 04-22-2007 10:55 PM

are I see what site is it? the one in your sig?

popowich 04-22-2007 11:10 PM

Yes, the WNYPoker.com. As you can see I have it working OK on showthread and forumdisplay. I'd like to add that same block above the currently active users in the "what's going on?" on forumhome. Is it possible insert the simple $google_bottom in forumhome and get the desired result? If not, can you provide some guidance for a second template and creating a $google_forumhome ? Thanks!

-Raymond

MadKad 04-23-2007 09:26 AM

Hi ok I just looked

in template FORUMHOME find:

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>


then above ad the code:

$google_forumhome

that should do the job spot on :D


All times are GMT. The time now is 09:45 AM.

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.01164 seconds
  • Memory Usage 1,755KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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