Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
elmati - Ads inside postbit Details »»
elmati - Ads inside postbit
Version: 1.0.2, by elmati elmati is offline
Developer Last Online: Apr 2009 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.0 Rating:
Released: 05-04-2008 Last Update: 05-07-2008 Installs: 108
Uses Plugins Template Edits Auto-Templates
Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 05-14-2008, 12:49 PM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dancue View Post
Ok, elmati. I got a request for you.

I want to be able to use two different ad codes depending on what style I'm using. If I use a fixed style (or a style specified in AdminCP) it would result in one code, and a fluid style would result in another.

One possible set up would be like this:

Ad Code 1:
Ad Code 2:
Select A Style for AdCode 1: (Click and hold Cntrl to select multiple)
Select A Style for AdCode 2: (Click and hold Cntrl to select multiple)

What do you think?
Yeah, That could be a nice add on.
Added to the todo list

Quote:
Originally Posted by wtrk View Post
turn it on and off per forum would be awesome.
Added to the todo list for the next release!

Quote:
Originally Posted by dancue View Post
Also, does this use any iframes or float elements?
Just use a div to contain the ads, but some ads uses a iframes.
And that's iframes are causing troubles when you use the quick reply and your post will have advertising. I'm trying to fix that.


Thanks all for your comments and sugestions
Reply With Quote
  #33  
Old 05-14-2008, 12:58 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I asked about the iframes and float elements because someone mentioned that one of these is against google policy.

Does your mod violate any terms by google?
Reply With Quote
  #34  
Old 05-14-2008, 01:08 PM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, this mod respect the terms of google and every advertisement networks like linkshare.com.

your code will be something like this:
<!-- message -->
<div>
<div style="float:right">ADS CODE</div>
<div>Post message</div>
</div>
<!-- /message -->

That way is used in a lot of portals and websites without problems.

Best regards!
Reply With Quote
  #35  
Old 05-14-2008, 01:14 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for clearing that up!

Can't wait for your next update! When do you think you'll have that one out?
Reply With Quote
  #36  
Old 05-14-2008, 01:33 PM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got a full time work so i'll work on this weekend

thanks for your interest.
Best regards!
Reply With Quote
  #37  
Old 05-14-2008, 01:36 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok. Thank you.
Reply With Quote
  #38  
Old 05-16-2008, 01:05 PM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These would be very useful options:

1. Location: last post.

2. Disable ad in first post if thread is sticky.

3. "All usergroups" setting. Allot of mods use 0 to equal all groups.

Very nice mod, installed.
Reply With Quote
  #39  
Old 05-16-2008, 02:12 PM
quarum quarum is offline
 
Join Date: Apr 2008
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This seems to scruntch up the text in the posts - it pushes the text all to the left. Any idea what I missed that might cause this?
Reply With Quote
  #40  
Old 05-16-2008, 02:31 PM
intensecool intensecool is offline
 
Join Date: Feb 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sir,

Exclude forums is not working for me...As i have put the forum id's which i do not want the ads to appear in postbit but it appears to be on the whole forum

Can you fix this
Reply With Quote
  #41  
Old 05-20-2008, 02:09 AM
elmati elmati is offline
 
Join Date: Mar 2007
Location: Argentina
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

I'm fixin all the issues to the next release...
Please be patient cuz i dont have full time to work with this

Thanks for all the C&C!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:36 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04625 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete