Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Advertisement Inside First Post In A Thread Details »
Advertisement Inside First Post In A Thread
Mod Version: 1.00, by indiancinema (Member) indiancinema is offline
Developer Last Online: Jan 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.1 Rating: (1 vote - 5.00 average) Installs: 17
Released: 03 Feb 2010 Last Update: Never Downloads: 0
Not Supported Template Edits  

Many People were asking for this Mod, This will add advertisement inside your first post

728 x 90 or 468 x 60 advertisement

Open Postbit or Postbit_legacy Template, which ever you are using

Look for this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above it add this code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	mod.jpg
Views:	1848
Size:	46.4 KB
ID:	111569  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 03 Feb 2010, 03:19
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
This is already a built-in option in 4.x.
Reply With Quote
  #3  
Old 03 Feb 2010, 04:53
Alecsmith's Avatar
Alecsmith Alecsmith is offline
 
Join Date: Sep 2009
Real name: Nick
Tagged for my next forum
__________________

Reply With Quote
  #4  
Old 03 Feb 2010, 08:44
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Real name: Martyn
Originally Posted by djbaxter View Post
This is already a built-in option in 4.x.
Where?
Reply With Quote
  #5  
Old 03 Feb 2010, 08:48
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Real name: Martyn
This is useful, thanks.

How would I modify the conditional to make this appear only in certain formid's?
Reply With Quote
  #6  
Old 03 Feb 2010, 14:10
civil78's Avatar
civil78 civil78 is offline
 
Join Date: Nov 2005
Originally Posted by trilOByte View Post
Where?
ADMINCP --> Advertising --> Add New Ad

and from dropdown Page select Thread

Originally Posted by trilOByte View Post
This is useful, thanks.

How would I modify the conditional to make this appear only in certain formid's?
From VB4 Adv system you can set a lot of rules where and when something appears.

Last edited by civil78; 03 Feb 2010 at 16:11.
Reply With Quote
  #7  
Old 03 Feb 2010, 16:19
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by djbaxter View Post
This is already a built-in option in 4.x.
Originally Posted by trilOByte View Post
Where?
Originally Posted by civil78 View Post
ADMINCP --> Advertising --> Add New Ad

and from dropdown Page select Thread
That or using the Ad templates introduced in version 3.8.
Reply With Quote
  #8  
Old 03 Feb 2010, 20:17
indiancinema indiancinema is offline
 
Join Date: Mar 2006
Originally Posted by djbaxter View Post
That or using the Ad templates introduced in version 3.8.
I dont see anything where we can add the advertisement inside the first post, All You can add is after the first post.
__________________
http://www.indiancinemafans.com
Reply With Quote
  #9  
Old 04 Feb 2010, 01:56
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by indiancinema View Post
I dont see anything where we can add the advertisement inside the first post, All You can add is after the first post.
  1. Admin CP | Advertising | Manage Ads => Thread
    • Choice of inside first post or second post or both.


  2. Admin CP | Styles & Templates | Edit Templates =>
    • ad_showthread_firstpost_start
    • ad_thread_first_post_content
    • ad_showthread_firstpost_sig

Last edited by djbaxter; 07 Feb 2010 at 16:39.
Reply With Quote
  #10  
Old 06 Feb 2010, 08:13
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Originally Posted by djbaxter View Post
  1. Admin CP | Advertising | Manage Ads => Thread
    • Choice of inside first post or second post or both.


  2. Admin CP | Styles & Templates | Edit Templates =>
    • test ad_showthread_firstpost_start
    • test ad_thread_first_post_content
    • test ad_showthread_firstpost_sig
but when I ad any code using vB inbuilt option, e.g. Adbrite code it gives me an error at the top of the page:

Parse error: syntax error, unexpected '[' in /home/public_html/--/forum/includes/class_core.php(4029) : eval()'d code on line 9
Reply With Quote
  #11  
Old 07 Feb 2010, 00:00
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
you are getting message becuase vb4 already has an ad program integrated
you cant parse the same function more than once

your add function does
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #12  
Old 07 Feb 2010, 00:29
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by simonhind View Post
you are getting message becuase vb4 already has an ad program integrated
you cant parse the same function more than once

your add function does
No that's not it.

But you could try adding <vb:literal>... </vb:literal> tags around the code.
Reply With Quote
  #13  
Old 07 Feb 2010, 02:23
KevinGupta KevinGupta is offline
 
Join Date: Dec 2006
Works great with the tags
thanks
Reply With Quote
  #14  
Old 07 Feb 2010, 02:33
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Glad to hear that.
Reply With Quote
  #15  
Old 08 Feb 2010, 23:57
ndut ndut is offline
 
Join Date: Sep 2007
Originally Posted by civil78 View Post
ADMINCP --> Advertising --> Add New Ad

and from dropdown Page select Thread



From VB4 Adv system you can set a lot of rules where and when something appears.
when i click advertising, why there is DATABASE ERROR??
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:21.

Layout Options | Width: Wide Color: