vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to post ads after first post (https://vborg.vbsupport.ru/showthread.php?t=275396)

Breakthecycle2 12-12-2011 10:47 PM

How to post ads after first post
 
1 Attachment(s)
I did a search, but the problem I am having is the grey box the ad is in, overlaps everything. How do I do the attached. (please note that I am not using Adsense, rather I'm using lijit advertising. Works the same way).

kh99 12-13-2011 12:03 AM

I see the image of what you want to do, but I don't understand what's happening now. Can you provide a link or something?

Breakthecycle2 12-13-2011 01:36 AM

1 Attachment(s)
I fixed the overlapping problem, but i'd like it to look like the other image.

Breakthecycle2 12-14-2011 01:48 PM

1 Attachment(s)
Or like this.

kh99 12-14-2011 02:04 PM

Oh, I think I see now - you want it to look like a post. You could just render the postbit_legacy template and create a fake $post array for it. Or maybe it's easier to copy the postbit_legacy template to an ad template and make the necessary changes.

Breakthecycle2 12-14-2011 02:48 PM

That's what I was thinking, but I don't know how to do that. LOL

kh99 12-14-2011 02:54 PM

Well, you can put a template in the text box where you configure ads, right? So you could copy the postbit_legacy template and replace {vb:raw post.message} with the existing ad code. Then you need to do a lot of editing because there'll be a lot of other vb:raw's in there that need to just be changed to some string or html. It'll probably be a bit of a pain, but I don't know how else to do it other than to start from scratch and write html that looks like the other posts.

Breakthecycle2 12-14-2011 03:12 PM

Thanks for that, but I think I need some more help with this.


All times are GMT. The time now is 10:37 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.00955 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete