vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - [OzzModz] Advertisement Inside First/Last Post (https://vborg.vbsupport.ru/showthread.php?t=314166)

ozzy47 09-08-2014 09:04 PM

So you mean it would look like a reply to the thread, kinda like you replied to the thread with the ad?

RichieBoy67 09-08-2014 09:20 PM

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.

ozzy47 09-08-2014 09:24 PM

Ok so the ad is in the post body, but what is in the user info column, like username avatar etc?

RichieBoy67 09-08-2014 09:48 PM

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..

ozzy47 09-08-2014 09:51 PM

I replied to the PM. :)

ozzy47 09-09-2014 12:36 AM

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.

https://vborg.vbsupport.ru/external/2014/09/21.png

RichieBoy67 09-09-2014 01:08 AM

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.

ozzy47 09-09-2014 01:14 AM

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.

RichieBoy67 09-09-2014 01:23 AM

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.

New Joe 09-09-2014 03:18 AM

Quote:

Originally Posted by ozzy47 (Post 2514266)
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


All times are GMT. The time now is 02:51 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.02510 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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