Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 New line under the first post for advert
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

neo-one
Starting Member

3 Posts

Posted - 16 July 2007 :  05:27:46  Show Profile  Reply with Quote
Hello everybody!
Who is able to insert a new line under the first post?
We can insert advertisement as google adsense or banners on this line.

This is an example on a not snitz forum http://forum.html.it/forum/showthread.php?s=&threadid=1143091

Thanks a lot for your helping

<

Edited by - neo-one on 16 July 2007 05:29:33

AnonJr
Moderator

United States
5768 Posts

Posted - 16 July 2007 :  06:20:19  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Have a search, the code for it is floating around here somewhere. Just for reference, the function GetFirst() in topic.asp is what displays the first post in a topic.<
Go to Top of Page

neo-one
Starting Member

3 Posts

Posted - 16 July 2007 :  15:33:22  Show Profile  Reply with Quote
Thanks a lot, AnonJr
I found the code

I write the code for other users

We have to search the function GetFirst() in topic.asp

and then we have to include

intI = intI + 1
if intI = 2 then
intI = 0
end if
'My Ad
Response.Write ("<tr><td class=""profile"" align=""center"" bgcolor=""FFFFFF"" colspan=""" & sGetColspan(6,7) & """>MY BANNER</td></tr>")


Related topic are:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=61793
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=61980 (specific for adesense)

Bye! <
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07