Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #22  
Old 09-08-2014, 09:04 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you mean it would look like a reply to the thread, kinda like you replied to the thread with the ad?
Reply With Quote
  #23  
Old 09-08-2014, 09:20 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

Yep, exactly.
Then the person using the mod sets up the ad to blend it and make it match. Great way to get good results. I use this method often.
Reply With Quote
  #24  
Old 09-08-2014, 09:24 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok so the ad is in the post body, but what is in the user info column, like username avatar etc?
Reply With Quote
  #25  
Old 09-08-2014, 09:48 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

I have a custom template on my site but the default would work as standard. it just has to blend in a bit. it does not have to look exact though it would on most themes using the default.

I sent you a link but I will put up a screenshot to show what I mean..
Reply With Quote
  #26  
Old 09-08-2014, 09:51 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I replied to the PM.
Reply With Quote
  #27  
Old 09-09-2014, 12:36 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Richie I have been playing around a bit as you suggested. The screenshot shows what I have come up with so far.

This is not a actual user, it is all coded in the template. It would of course have options to control it all, as well as be phrased.

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

Yeah, that is exactly what I am talking about. No need for it to be a user. it just has to look like one. That looks excellent.
Reply With Quote
  #29  
Old 09-09-2014, 01:14 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I need to work on the postbit template, then go through the process of phrasing and adding options.

TBH though, I am not sure if this should be a part of this mod, or a different mod. If it was to be added to this one, I would need to change the title.
Reply With Quote
  #30  
Old 09-09-2014, 01:23 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool!

I agree. It may be a better idea to just make another mod out of it or maybe an add on to this one separately.
Reply With Quote
  #31  
Old 09-09-2014, 03:18 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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?
As long as it will show the ad in the first and second post like it does when a member has a signature I'm happy with that.


For the thing yourself and the other member is talking about, at the moment I am using this mod which works fine:
https://vborg.vbsupport.ru/showthread.php?t=239981
Reply With Quote
Reply

Thread Tools

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 06:29 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.04456 seconds
  • Memory Usage 2,317KB
  • Queries Executed 27 (?)
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
  • (4)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_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