vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Adsense Banners in Your Archive (https://vborg.vbsupport.ru/showthread.php?t=125879)

amykhar 09-04-2006 10:00 PM

Adsense Banners in Your Archive
 
I've updated this script to remove the quote problem many users were having. It is tested on vbulletin 3.6 and can be seen at http://eaforums.com/forums/archive/index.php/

Essentially, this product allows you to have adsense (or other) banners in your forum archives.

To install:
Import the product. Edit the plugin code to substitute your adsense code.

To upgrade:
Uninstall the old product. Import and edit the new product to use your code.

Note: There is no need to upgrade if you are not having problems or you don't need to put in new banner code. This just makes the initial edit easer.

bonjurkes 09-05-2006 07:12 PM

first post :)

thanx amykhar

RonMan112 09-05-2006 10:00 PM

jepp, thx, works fine :laugh:

Hornstar 09-06-2006 12:00 AM

Thanks Amy, your always releasing good stuff.

just a quick question coz im not using google ads so i cant compare the code to that, do i just keep
Code:

$output.='
<div align="center" style="padding:4px; overflow: hidden;\">

at the top

then code in the middle

then
Code:

</td>
</tr>
</table>

';

at the bottom.

and pretty much the same for the other one?


it seems to be working fine, just wanted to make sure I have not left any important code out that may make it not function correctly on some browsers.

Thanks.

amykhar 09-06-2006 01:02 PM

Yep. as long as you get the $output.=' and the ending '; you are fine.

Phooey 09-06-2006 01:21 PM

Neat.

/installed

Ricsca 09-07-2006 05:05 PM

Thanks :)

revolver 09-08-2006 05:47 AM

Nice work as always Amy. Well done :)

dturnbull 09-08-2006 06:31 AM

Nice and easy :)

unitedpunjab 09-08-2006 07:41 PM

The one for 3.5 was working fine on my 3.6 forums,i updated and its not working now.
will you please post the older file.


All times are GMT. The time now is 08:55 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.01075 seconds
  • Memory Usage 1,725KB
  • 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
  • (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