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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Board Statistics : Adsense
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kolucoms6
Average Member

845 Posts

Posted - 10 May 2007 :  11:51:56  Show Profile
I want to include Google Ad in between Category and Board Statistics .

Where should I include the Code ?

<moved from="Help: General / Current Version (v3.4.xx)" by="Shaggy" />

Edited by - Shaggy on 11 May 2007 07:43:23

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 10 May 2007 :  14:44:26  Show Profile  Visit MaD2ko0l's Homepage
around line 561 you should see this code
if strShowStatistics = "1" then
	WriteStatistics
end if


above this you will need to add the adsense code along with the correct html table code

hope that helps

© 1999-2010 MaD2ko0l
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 10 May 2007 :  16:41:59  Show Profile
Check this :

http://www.ulcindia.com/forum/

Seems like I messed a bit..

I lost the space which was there above "Statistics" with heading Board Statistics


Code from Default.asp:
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
Response.Write " <td bgcolor=""" & strForumCellColor & """ align=""left"" valign=""top""><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strFooterFontSize & """><span class=""spnMessageText"">" & listForumModerators(ForumID) & "</span></font></td>" & vbNewline
end if
Response.Write " <td bgcolor=""" & strForumCellColor & """ align=""center"" valign=""top"" nowrap>"
if ModerateAllowed = "Y" or (lcase(strNoCookies) = "1") then
call ForumAdminOptions
else
call ForumMemberOptions
end if
Response.Write "</td>" & vbNewline
Response.Write " </tr>" & vbNewline
end if ' ##### Added as part of Minimize Category Mod #####
else
blnHiddenForums = true
end if ' ChkDisplayForum()
end if
next '## Next Forum
end if
next '## Next Category
end if

if strShowStatistics = "1" then
WriteStatistics
end if

'##### Recently Seen Members #####
Call DisplayRecentlySeen(10,"simple")
'#################################
Response.Write " </table>" & vbNewline & _
" </td>" & vbNewline & _
" </tr>" & vbNewline & _
" <tr>" & vbNewline & _
" <td>" & vbNewline & _
" <table width=""100%"">" & vbNewline & _
" <tr>" & vbNewline & _
" <td><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>" & vbNewline & _
" " & getCurrentIcon(strIconFolderNew,"New Posts","align=""absmiddle""") & " Contains new posts since last visit.<br />" & vbNewline & _
" " & getCurrentIcon(strIconFolder,"Old Posts","align=""absmiddle""") & " No new posts since the last visit.<br /></font></td>" & vbNewline & _
" </tr>" & vbNewline & _
" </table>" & vbNewline & _
" </td>" & vbNewline & _
" </tr>" & vbNewline & _
" </table>" & vbNewline
WriteFooter

Edited by - kolucoms6 on 11 May 2007 09:40:34
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 11 May 2007 :  13:21:24  Show Profile  Visit MaD2ko0l's Homepage
so..what did u change in default.asp to "lose" the space?

© 1999-2010 MaD2ko0l
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 11 May 2007 :  13:56:44  Show Profile
:-(

Cant make out... Thats why posted the Code...
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 11 May 2007 :  17:16:28  Show Profile  Visit MaD2ko0l's Homepage
so...what mods have u installed that modifed default.asp

have u messed up some code of that page?? try replacing your default.asp with the standard version

© 1999-2010 MaD2ko0l
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 11 May 2007 :  17:51:30  Show Profile
I was just trying to place Google Ads script.

But when I found that its NOT displaying properly, I delete the script.

But after that ...

I lost the space which was there above "Statistics" with heading Board Statistics
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07