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)

New Joe 09-08-2014 04:49 AM

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

gsmlover4u 09-08-2014 05:11 AM

@ 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

ozzy47 09-08-2014 08:51 AM

Quote:

Originally Posted by New Joe (Post 2514190)
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 (Post 2514192)
@ 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.

ozzy47 09-08-2014 09:36 AM

Quote:

Originally Posted by gsmlover4u (Post 2514192)
@ 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?

gsmlover4u 09-08-2014 03:57 PM

in my forum i already add default adverstise in first post
but i want disable that advertise but unable to close that

gsmlover4u 09-08-2014 04:05 PM

i install again now its working fine on my both forum

ozzy47 09-08-2014 04:21 PM

Well that's a plus, one less thing to work on. :)

ozzy47 09-08-2014 06:51 PM

Quote:

Originally Posted by New Joe (Post 2514190)
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?

ozzy47 09-08-2014 06:57 PM

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?

RichieBoy67 09-08-2014 08:41 PM

Quote:

Originally Posted by ozzy47 (Post 2514268)
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. :D

Great as is too! Thanks Ozz!


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