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
  #12  
Old 09-08-2014, 04:49 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ozzy, what I have noticed is if a member doesn't use a Signature then the ad doesn't show on the first and last post.
Where as if the member does use a Signature then it shows as normal like the mod should do

Anyway to make this work so it always shows even if they don't use a Signature?
I only just saw this as many members use a Sig but I just caught it with a few who don't
Reply With Quote
  #13  
Old 09-08-2014, 05:11 AM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ ozzy47 one problem after install this mod cant inactive vb default advertise
when i disable your mod then i can active and inactive default advertise mod
plz check where is problem
Reply With Quote
  #14  
Old 09-08-2014, 08:51 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
Ozzy, what I have noticed is if a member doesn't use a Signature then the ad doesn't show on the first and last post.
Where as if the member does use a Signature then it shows as normal like the mod should do

Anyway to make this work so it always shows even if they don't use a Signature?
I only just saw this as many members use a Sig but I just caught it with a few who don't
Quote:
Originally Posted by gsmlover4u View Post
@ ozzy47 one problem after install this mod cant inactive vb default advertise
when i disable your mod then i can active and inactive default advertise mod
plz check where is problem
I'll look into both of these hopefully sometime today.
Reply With Quote
  #15  
Old 09-08-2014, 09:36 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gsmlover4u View Post
@ ozzy47 one problem after install this mod cant inactive vb default advertise
when i disable your mod then i can active and inactive default advertise mod
plz check where is problem
Where are you trying to add the vB default advertising?
Reply With Quote
  #16  
Old 09-08-2014, 03:57 PM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in my forum i already add default adverstise in first post
but i want disable that advertise but unable to close that
Reply With Quote
  #17  
Old 09-08-2014, 04:05 PM
gsmlover4u's Avatar
gsmlover4u gsmlover4u is offline
 
Join Date: Jan 2007
Posts: 348
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i install again now its working fine on my both forum
Reply With Quote
Благодарность от:
ozzy47
  #18  
Old 09-08-2014, 04:21 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that's a plus, one less thing to work on.
Reply With Quote
  #19  
Old 09-08-2014, 06:51 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
Ozzy, what I have noticed is if a member doesn't use a Signature then the ad doesn't show on the first and last post.
Where as if the member does use a Signature then it shows as normal like the mod should do

Anyway to make this work so it always shows even if they don't use a Signature?
I only just saw this as many members use a Sig but I just caught it with a few who don't
Ok I think I found a down and dirty way to do this.

I set the signature to show as true, even if the user does not have a signature added. So when you look at the advert, it has the border on the top, and the bottom, just as it would if the user did have a signature.

Now what I can do, is add a option to have default text in place of the users signature, if they don't have one.

That sound cool?
Reply With Quote
  #20  
Old 09-08-2014, 06:57 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another thing I was thinking of adding, is if you are showing the advert in the first and last post, add a option, to only show it in the last post if X replies have been made.

This is due to the fact, if a thread has only one reply, the add is showing in the only two posts there. So you can set it to 3 posts, or to 10 etc.

How's that sound?
Reply With Quote
  #21  
Old 09-08-2014, 08:41 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Another thing I was thinking of adding, is if you are showing the advert in the first and last post, add a option, to only show it in the last post if X replies have been made.

This is due to the fact, if a thread has only one reply, the add is showing in the only two posts there. So you can set it to 3 posts, or to 10 etc.

How's that sound?
That sounds great bro!

This is much easier than having to write long conditionals with arrays. I can't wait to use this!

I have some other ideas as well but not sure how much work you want to do on this.

## A template that looks like the default postbit/postbit_legacy optionn that would show the ad under instead of inside would be great. It would be a great option to even have the ad display under without the template but the template would be good.

Great as is too! Thanks Ozz!
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:34 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.06160 seconds
  • Memory Usage 2,327KB
  • 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
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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
  • 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