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 after first post (https://vborg.vbsupport.ru/showthread.php?t=96249)

banshee 10-25-2005 05:35 PM

I used the code a the very top of every page. Worked for me.

Xplorer4x4 10-25-2005 09:45 PM

Quote:

Originally Posted by banshee
I used the code a the very top of every page. Worked for me.

It will work....if your using Internet Explorer or something mostly IE compatibly such as Avant Browser or AOL Explorer browser.

If you or any members of your forum use FireFox it causes the browser to hang after using the quick reply.

Xplorer4x4 10-25-2005 09:53 PM

Quote:

Originally Posted by Slapyo
i've been going through this thread but can't seem to find code that works. :/ i see a bunch of different versions posted up.

i'm just looking to place 1 ad after the first post.

https://vborg.vbsupport.ru/showpost....9&postcount=78
There are several diffrent versions but mine is the only proper fix to prevent any hangs in FireFox.

My fix will actually show the ads under the first post of EVERY page and not just the first page.

Slapyo 10-25-2005 10:41 PM

Quote:

Originally Posted by Xplorer4x4
https://vborg.vbsupport.ru/showpost....9&postcount=78
There are several diffrent versions but mine is the only proper fix to prevent any hangs in FireFox.

My fix will actually show the ads under the first post of EVERY page and not just the first page.

Sweet thanks .... I'd say most use IE but a few here and there use FF.

So just take the code from the top of the page and then replace the IF statement with the one in your post?

Xplorer4x4 10-25-2005 11:01 PM

^Your right IE still leads the market but....

Quote:

As of the end of September, Mozilla's Firefox web browser is getting closer to the 10% margin. As reported on October 1st, 2005, Firefox is now used by 9.2% of internet users across the globe, while Microsoft's Internet Explorer is still leading with an astonishing 78%.
Credit: Wired.com
We have to keep in mind that while MOST use IE FireFox is quickly catching on and we have to take FireFox users into consideration. If you haven;t tried FireFox yet I highly suggest doing so. It is by far the better safer broswer. Plus you have to love the tab system. It can be found at http://www.mozilla.org/products/firefox/

Or I recomend avant, which takes most of the FireFox featuers but is built around IE for the most part making it more compatible then FireFox.
www.avant.com

If you don;t like them, you can always uninstall and go back to IE. ;)

Quote:

So just take the code from the top of the page and then replace the IF statement with the one in your post?
Yep, just replace the <if> statment and your good to go.

Slapyo 10-25-2005 11:33 PM

Yup yup ... I use both browsers.

Kihon Kata 10-26-2005 03:19 AM

What code amy? This one?
Quote:

Originally Posted by amykhar
Marco, my code fixes the quick reply problem.


Slapyo 10-26-2005 03:48 AM

hrm, i have a width of 760 and i use the 728x90 width and it sticks out the sides. :/ gonna have to work on it. ended up using a smaller sized ad.

DanLai 10-26-2005 03:56 AM

I have a problem, when i click on the #1 link on top-right corner, the single post interface shows up.

and the adsense looks ugly:

http://talkmusic.org/showpost.php?p=3310&postcount=1

How to fix it??

Xplorer4x4 10-26-2005 08:10 AM

Quote:

Originally Posted by TonysDesigns
What code amy? This one?

Does that version support postbit legacy style?

Tony you can use this code if you would like to display the ads between the second to last and last posts on a page.
PHP Code:

<if condition="$post[postcount] % $vboptions[maxposts] == $vboptions[maxposts] - 1"

Quote:

Originally Posted by DanLai
I have a problem, when i click on the #1 link on top-right corner, the single post interface shows up.

and the adsense looks ugly:http://talkmusic.org/showpost.php?p=3310&postcount=1
How to fix it??

Sorry DanLai I cfan;t help, but I wouldn't really worry about it.


All times are GMT. The time now is 08:06 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.01548 seconds
  • Memory Usage 1,750KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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