try another color scheme:


Go Back   TECH6.0 > Web Design/Development and SEO > Internet Forum Softwares > vBulletin


Ads in Post new thread

This is a discussion on Ads in Post new thread within the vBulletin section, part of the Internet Forum Softwares category; I have seen on some vBulletin forums that when you click on the Post new thread or Reply, that some ...

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 16-08-2008, 12:47 AM
No Avatar

Techie
 
Join Date: Jul 2008
Posts: 37
justin is on a distinguished road
Default Ads in Post new thread

I have seen on some vBulletin forums that when you click on the Post new thread or Reply, that some forums have adverts unter the text editor near the submit or preview post buttons. Any ideas on where and what .php file I would have to add the code to, to be able to do this?

Thanks in advance.

Justin
__________________
www.pcproforums.comComputer Support & Discussion
Reply With Quote
  #2  
Old 16-08-2008, 03:44 AM
David's Avatar

Techie
 
Name: David
Join Date: Aug 2008
Location: United States
Posts: 54
David is on a distinguished road
Default

you never have to edit .php files to modify templates for vBulletin.

You need to add the code in the predefined Ad location templates from the vBulletin adminCP -> Styles & Templates -> Style Manager

You modify the showthread templates.
__________________
Hey everyone! I'm David McHenry and I run a Nintendo Wii Forums
Reply With Quote
  #3  
Old 16-08-2008, 09:14 AM
webwizzy's Avatar

Administrator
 
Name: Vinayak
Join Date: Feb 2008
Location: India
Phone: Samsung Wave
Posts: 1,116
webwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nicewebwizzy is just really nice
Send a message via Yahoo to webwizzy
Default

I don't think there is any predefined Ad Location template to put ad in the location that justin wants.

If I'm getting you right, you want to display ads under the Submit New Thread and Preview Post buttons when making a New Thread/Post, correct ??

If yes, then go to New Posting Templates->newthread

Find this:-

HTML Code:
<if condition="$show['additional_options']"> 
Add above:-

HTML Code:
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr ><td align="center" class="alt1">

<!-- Your Ad Code here -->

</td></tr><table> 
This way you can show an ad in a fine tabular look right above Additional Options. Do the same for newreply template.
__________________
Always TAG and SHARE your threads
Submit your site to TECH6 Directory
TECH6 on Facebook - Like Us

Would you like to Link To Us | Support TECH6 by going Premium
Know more about me at Vinayaks.com | Follow TECH6 at Twitter


Reply With Quote
  #4  
Old 16-08-2008, 06:42 PM
No Avatar

Techie
 
Join Date: Jul 2008
Posts: 37
justin is on a distinguished road
Default

Thanks webwizzy exactly what I was looking for.
__________________
www.pcproforums.comComputer Support & Discussion
Reply With Quote
Reply

Bookmarks

Tags
ads, new thread


Thread Tools
Display Modes




All times are GMT +5.5. The time now is 08:04 PM.

Contact Us - Tech6.com - Link to Us - Advertise - Submit Site - Privacy Statement - TOS - Top