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

MadKad 10-31-2006 04:45 AM

please can you show me the website?

also you template on the google adds :)

Milez 11-07-2006 07:24 AM

Can anyone modify this to display the ads after a post randomly. There is a 3.5 hack that did this very well.

MadKad 01-01-2007 09:44 PM

if you can show me the 3.5 hack that did that then I might be able to get a little better idea on how they did it, but I would think there is alot of work to be done to get this to do it :)

TheFrienzNet 01-13-2007 06:12 PM

You sure it doesn't violates the Google ToS?

If not, then I think i'll use it.

Thanks.

MadKad 01-13-2007 08:02 PM

Quote:

Originally Posted by TheFrienzNet (Post 1158240)
You sure it doesn't violates the Google ToS?

If not, then I think i'll use it.

Thanks.

No it doesnt :), ifact it cant, if you have it set to show big ad's to visitors then small or none to members there is no way it can :)

fxs158 01-15-2007 01:56 AM

Quote:

Originally Posted by MadKad (Post 1092301)
Screen shots here

https://vborg.vbsupport.ru/attachmen...1&d=1151253034

and here

https://vborg.vbsupport.ru/attachmen...2&d=1151253034

Adding the adverts after the first post insted or as well please do the following


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

Template > postbit_legacy

Find: the very bottom of code in template

After add:
Code:

<!-- Start Google bottom -->
<if condition="!$GLOBALS['FIRSTPOSTID']">
<br />
$google_bottom
</if>
<!-- / End Google bottom -->

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

Template > postbit

Find: the very bottom of code in template

After add:
Code:

<!-- Start Google bottom -->
<if condition="!$GLOBALS['FIRSTPOSTID']">
<br />
$google_bottom
</if>
<!-- / End Google bottom -->

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

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


Tried doing this but it has yet to show after firs post, did anything change on 3.6.4 that affects this?

MadKad 01-15-2007 05:20 PM

please could you post the code for your postbit_legacy and postbit templates, so I can see what these look like :)

nocturnix 01-15-2007 09:14 PM

I cant even import...

Maybe im not doing this right...

VB 3.6.4...

I go to styles and templates in admin cp...
Click download/upload style...

Import style xml file (browse to your xml file on my computer)
select merge INTO the style I want.
select ignore style version.

Click import and I get...

"invalid file specified"

ZzZ_ZzZ 01-16-2007 10:52 PM

thaks :)

o0Hubba0o 01-21-2007 03:44 AM

Quote:

Originally Posted by nocturnix (Post 1160169)
I cant even import...

Maybe im not doing this right...

VB 3.6.4...

I go to styles and templates in admin cp...
Click download/upload style...

Import style xml file (browse to your xml file on my computer)
select merge INTO the style I want.
select ignore style version.

Click import and I get...

"invalid file specified"

This isn't a style, it's a product. ;)


All times are GMT. The time now is 03:52 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.01150 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
  • (2)bbcode_code_printable
  • (3)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
  • (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