Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[OzzModz] Advertisement Inside First/Last Post Details »»
[OzzModz] Advertisement Inside First/Last Post
Version: 1.1.0, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 09-06-2014 Last Update: 09-10-2014 Installs: 31
Uses Plugins Auto-Templates
Translations  
No support by the author.

Another mod brought to you by,


This is a small mod that will allow admins to show ads in the first post of a thread (post # 1) and the last post of the thread, right above the signature area.

It is a simple installation, import the product XML, ozzmodz_post_ads

The settings for the mod can be found under, [OzzModz] Advertisement Inside First/Last Post

Complete Feature List
  • Option to disable the mod completely.
  • Setting to enter you ad code.
  • Option to choose either the first post only, last post only or both first and last post.
  • Option to center the the ads.
  • Option to select which usergroups do not see the ads.
  • Option to set which forums the ads don't show in

Frequently Asked Questions.

Q. Why do I need such a thing, you ask?

A. This has been asked for a few times, and was usually a template edit, so I decided to turn it into a product.

Q. Does it only have to be advertising?

A. No, you can put just about anything you want in there.

Q. How is this different from the vBulletin Advertising system?

A. Well if you choose to show the ad in the first post position in vBulletin, the ad will show up on all pages of the thread in the first post. With this way, it will only show up in the very first post of the thread. Also there is no ad location in vBulletin above the signature area for the last post in the thread, but with this system their is.


-------------------------------------------------------------------------------------------

If you like this mod please hit the button to the right ---->

Please remember to click the, button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

* History (Changelog) *
-------------------------
v1.0.0 (September 7, 2014)
- Initial public release.

v1.1.0 (September 11, 2014)
- Ads will now show if the user does not have a signature.

-------------------------------------------------------------------------------------------

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
davidg, RichieBoy67, Zaja-7

Comments
  #52  
Old 10-05-2014, 04:33 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it, and thanks for marking as installed.

I did not add any other place as to try and avoid two many adverts on a page, so users don't break the adsense TOS.
Reply With Quote
  #53  
Old 10-12-2014, 01:04 PM
Firyou Firyou is offline
 
Join Date: Oct 2013
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I feel like Im saying this everyday, but I love this mod ozzy lol. Thanks again for your work, the mod works fine so far. Marked as installed

One question, is there a way to designate the advertisements? So for example I want to show an ad in the first post with certain dimensions, but have a different ad size for the last post? If that makes sense. tyia
Reply With Quote
Благодарность от:
ozzy47
  #54  
Old 10-12-2014, 01:12 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it, and thanks for marking as installed.

No, there is no way to have different advert sizes at this time.
Reply With Quote
  #55  
Old 12-05-2014, 06:11 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice little "doodad" Ozzy ... let's see how my forum's revenue does now ....
Reply With Quote
  #56  
Old 12-05-2014, 09:24 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully it will increase.
Reply With Quote
  #57  
Old 01-05-2015, 12:48 PM
Zaja-7 Zaja-7 is offline
 
Join Date: Nov 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, but I can't get ads to show up on all pages of the thread in the first post.
It show ads on first post on first thread page, on last thread post and all last posts on all pages of the thread.

Edit: Ok, I found quick fix, it works if I change this:

if ($post['postcount'] == '1') //First post page one
//if ($post['isfirstshown']) //First post everypage

to this:

//if ($post['postcount'] == '1') //First post page one
if ($post['isfirstshown']) //First post everypage
Reply With Quote
  #58  
Old 01-14-2015, 09:46 PM
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Location: Woodland Hills, Ca
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alan_SP View Post
This looks great. :up:
I agree!
Reply With Quote
Благодарность от:
ozzy47
  #59  
Old 01-14-2015, 10:53 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it, and thanks for marking as installed.
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 02:17 PM.


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.11311 seconds
  • Memory Usage 2,297KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (5)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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