Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 12-12-2011, 10:47 PM
Breakthecycle2's Avatar
Breakthecycle2 Breakthecycle2 is offline
 
Join Date: Sep 2011
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to post ads after first post

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).
Attached Images
File Type: jpg Untitled.jpg (88.7 KB, 0 views)
Reply With Quote
  #2  
Old 12-13-2011, 12:03 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 12-13-2011, 01:36 AM
Breakthecycle2's Avatar
Breakthecycle2 Breakthecycle2 is offline
 
Join Date: Sep 2011
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed the overlapping problem, but i'd like it to look like the other image.
Attached Images
File Type: jpg Untitled.jpg (79.7 KB, 0 views)
Reply With Quote
  #4  
Old 12-14-2011, 01:48 PM
Breakthecycle2's Avatar
Breakthecycle2 Breakthecycle2 is offline
 
Join Date: Sep 2011
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or like this.
Attached Images
File Type: jpg Untitled.jpg (89.3 KB, 0 views)
Reply With Quote
  #5  
Old 12-14-2011, 02:04 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 12-14-2011, 02:48 PM
Breakthecycle2's Avatar
Breakthecycle2 Breakthecycle2 is offline
 
Join Date: Sep 2011
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's what I was thinking, but I don't know how to do that. LOL
Reply With Quote
  #7  
Old 12-14-2011, 02:54 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 12-14-2011, 03:12 PM
Breakthecycle2's Avatar
Breakthecycle2 Breakthecycle2 is offline
 
Join Date: Sep 2011
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools
Display Modes

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:18 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.04295 seconds
  • Memory Usage 2,237KB
  • Queries Executed 12 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (3)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete