vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - elmati - Ads inside postbit (https://vborg.vbsupport.ru/showthread.php?t=178166)

elmati 05-04-2008 10:00 PM

elmati - Ads inside postbit
 
Hi all, this is my first hack and i want share here.

This product will give you the option to add advertising on postbit template without template edits. just upload the xml set your ad code and done!
This hack is for any ads service, not only for google adsense :)

> install
Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-ads_in_postbit.xml' from your computer then press 'Import'

> Mod Info
Plugins : 2
Phrases : 10
Templates : 1
Settings : 4

> Ads inside postbit Settings
Go to your admin cp, then:
vBulletin Options -> elmati - ADS inside postbit

> Versions:
v1.0 - 05 May 2008
-First release

v1.0.1 - 07 May 2008
- Usergroup permisions. (exclude usergroups)
- Added feature: Exclude forums.
- Added feature: Show ads every certain number of messages
- Minor bugs fixed

v1.0.2 - 07 May 2008
- Quick fix to quote overlap issue in IE.

> Next Update:
- Random Ads... (cooming soon)


> Bugs:
- There is a bug when using the quickreply and the new post created has advertising. That issue shows a blank page... I am still looking for a solution.
- Just tested in Firefox 2.x - 3 and IE 7.


For Support and questions just pm me

feedback, suggestions, issues, etc are welcome :)

Important: I will only give support to those who installed the plugin

If you use this hack please click install.

hcmagix 05-05-2008 07:17 AM

nice :D

for further versions, I need an option for show ads in last post or every 10 post on a site.

gwerzal 05-05-2008 10:38 AM

I have just installed it but the ad is not showing.

You can see where the ad is meant to be with the text wrapped around it but the ad doesn't show.

Edit - Got it working now. dont no what was playing up but its all looking good now.

Cheers dude

elmati 05-05-2008 01:25 PM

Quote:

Originally Posted by hcmagix (Post 1508998)
nice :D

for further versions, I need an option for show ads in last post or every 10 post on a site.

Ok, i will do it!

Quote:

Originally Posted by gwerzal (Post 1509119)
I have just installed it but the ad is not showing.

You can see where the ad is meant to be with the text wrapped around it but the ad doesn't show.

Edit - Got it working now. dont no what was playing up but its all looking good now.

Cheers dude

If you create a new google adsense takes almost 10 minutes to show up.


Thanks all.

hnjco 05-05-2008 03:48 PM

installed and working great

Thanks for this

gwerzal 05-05-2008 05:44 PM

Quote:

Originally Posted by elmati (Post 1509264)
Ok, i will do it!



If you create a new google adsense takes almost 10 minutes to show up.


Thanks all.

Could have mentioned that before lol

anyways lookin good and i like the way you can turn the ads off for members

Icy 05-06-2008 05:06 AM

Nice hack :D. Installed! As hcmagix said an option for show ads after X posts would be nice :)

elmati 05-06-2008 05:18 AM

Right now Google adsense just let you put 3 ads with same code per page.
I'll make this option for you :)

Next update:
Exclude forums
Show ads after X posts.

Cooming soon! :)

elmati 05-07-2008 05:54 PM

Version 1.0.1 is out!

v1.0.1 - 07 May 2008
- Added feature: Exclude forums.
- Added feature: Show ads every certain number of messages
- Minor bugs fixed

Please upgrade to new version :)

Best Regards!

duplu 05-07-2008 07:30 PM

Thanks for this working well on my site. The only problem I have is that the ads sometime overwrite a post that has been quoted.

There's an example on this page of my site http://www.fruit-emu.com/forums/site...tml#post117021


All times are GMT. The time now is 12:35 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.01339 seconds
  • Memory Usage 1,738KB
  • 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
  • (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