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: General / Current Version (Old)
inc_footer.asp adding a counter
New Topic
Topic Locked
Printer Friendly
Author
Topic
eforum
Starting Member
Belgium
40 Posts
Posted - 08 December 2001 : 06:15:47
As you've seen i'm new to ASP.
But i'm trying to learn it
i want to add a counter to the forum. i've searched in this forum but didn't find a thing.
I know that i'll need to put counter code in the inc_footer.asp
But where?
here comes the inc_footer code:
--------------------
<table width=100% border=0 bgcolor="<% =strPageBGColor %>" cellpadding="0" cellspacing = "4">
<tr bgcolor="<% =strPageBGColor %>">
<td bgcolor="<% =strPageBGColor %>">
<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td bgcolor="<% =strForumCellColor %>" align=left valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=left><% =strForumTitle %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" align=right valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=right><% =strCopyright %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" width=10 nowrap><a href="#top"><img src="icon_go_up.gif" height=15 width=15 border="0" align="right" alt="Go To Top Of Page"></a></font></td>
</tr>
</table>
</td>
</tr>
</table>
<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td align="right"><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<%
'## START - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
Response.Write " <a href=""
http://forum.snitz.com
""><acronym title=""Powered By: " & strVersion & """>"
if strShowImagePoweredBy = "1" then
Response.Write "<img src=""logo_powered_by.gif"" border=0>"
else
Response.Write "Snitz Forums 2000"
end if
Response.Write "</acronym></a>" & vbNewline
'## END - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
%>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
</font>
</body>
<!-- timer
<center>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><% = StopTimer(1) %></font>
</center>
end timer -->
</html>
<%
my_Conn.Close
set my_Conn = nothing
%>
-------------
and this is the counter code:
----------
<!-- Start of BelStat.be Counter -->
<script type="text/javascript" language="JavaScript">
<!--
d=document;
d.write("<a href=http://www.belstat.be/viewstat.asp?UserID=e-forum target=_blank><img border=0 src=\"
http://www.belstat.be/regstat.asp?
");
d.write("UserID=e-forum&BColor=blue&refer=");
d.write(escape(top.document.referrer));
d.write("\" align=center width=16 height=16 alt=Monitored by Belgium Statistics></a>");
// -->
</script>
<!-- End of BelStat.be Counter -->
-----------------
Where should i past this code in the footer page?
I hope my english is good
Edited by - eforum on 08 December 2001 06:17:03
Roland
Advanced Member
Netherlands
9335 Posts
Posted - 08 December 2001 : 06:53:14
Try this:
<table width=100% border=0 bgcolor="<% =strPageBGColor %>" cellpadding="0" cellspacing = "4">
<tr bgcolor="<% =strPageBGColor %>">
<td bgcolor="<% =strPageBGColor %>">
<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td bgcolor="<% =strForumCellColor %>" align=left valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=left><% =strForumTitle %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" align=right valign=top nowrap><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<p align=right><% =strCopyright %></p>
</font></td>
<td bgcolor="<% =strForumCellColor %>" width=10 nowrap><a href="#top"><img src="icon_go_up.gif" height=15 width=15 border="0" align="right" alt="Go To Top Of Page"></a></font></td>
</tr>
</table>
</td>
</tr>
</table>
<table border=0 width="100%" align="center" cellpadding="4" cellspacing="0">
<tr>
<td>
<!-- Start of BelStat.be Counter -->
<script type="text/javascript" language="JavaScript">
<!--
d=document;
d.write("<a href=http://www.belstat.be/viewstat.asp?UserID=e-forum target=_blank><img border=0 src=\"
http://www.belstat.be/regstat.asp?
");
d.write("UserID=e-forum&BColor=blue&refer=");
d.write(escape(top.document.referrer));
d.write("\" align=center width=16 height=16 alt=Monitored by Belgium Statistics></a>");
// -->
</script>
<!-- End of BelStat.be Counter -->
</td>
<td align="right"><font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>">
<%
'## START - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
Response.Write " <a href=""
http://forum.snitz.com
""><acronym title=""Powered By: " & strVersion & """>"
if strShowImagePoweredBy = "1" then
Response.Write "<img src=""logo_powered_by.gif"" border=0>"
else
Response.Write "Snitz Forums 2000"
end if
Response.Write "</acronym></a>" & vbNewline
'## END - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE Snitz FORUMS 2000 LICENSE AGREEMENT
%>
</font></td>
</tr>
</table>
</td>
</tr>
</table>
</font>
</body>
<!-- timer
<center>
<font face="<% =strDefaultFontFace %>" size="<% =strFooterFontSize %>"><% = StopTimer(1) %></font>
</center>
end timer -->
</html>
<%
my_Conn.Close
set my_Conn = nothing
%>
This way your counter will show all the way at the bottom on the left side of the screen at the same height as the snitz link.
Hope this helps.
ROland
- here to help when possible -
http://www.frutzle.com
eforum
Starting Member
Belgium
40 Posts
Posted - 08 December 2001 : 10:53:48
Thanks it works!
Roland
Advanced Member
Netherlands
9335 Posts
Posted - 08 December 2001 : 13:03:59
You're welcome
Topic
New Topic
Topic Locked
Printer Friendly
Jump To:
Select Forum
Announcements
Announcements: Security Related Bug Fixes
Announcements: Community
Announcements: New Releases
A Testing Area
Testing Forums
Help Groups for Snitz Forums 2000 Users
Help: General / MVC version(v1.XX)
Help: General / Classic ASP versions(v3.4.XX)
Help: General / Previous versions
Help: Database: MS Access
Help: Database: MS SQL Server
Help: Database: MySql
Help: Mail Configuration
Help: MOD Implementation
Help: Authentication: NT
Help: General / Current Version (Old)
Frequently Asked Questions
FAQ About This Site
HOW DO I FAQs
FAQs for Using Snitz with Access
FAQs for Using Snitz with mySQL
FAQs for Using Snitz with SQLServer
FAQ for Beginners to Snitz Forums
FAQ For Developers
FAQ for Webmasters
FAQ Addition Requests
Snitz Forums 2000 MOD-Group
Mod Integration Project (BUG Reports)
MOD Completed Add-Ons
MOD Add-On Forum (W/Code)
MOD Add-On Forum (W/O Code)
Community Forums
Graphics & Style in Snitz!
Suggest forum.snitz.com Content
Show-Off Your Forums
Code Support: ASP (Non-Forum Related)
Code Support: ASP.NET (Non-Forum Related)
Community Discussions (All other subjects)
Snitz Forums 2000 DOC-Group
DOC Discussion
DOC In-Box
DOC Out-Box
Snitz Forums 2000 DEV-Group
DEV Bug Reports (Open)
DEV Discussions (General)
DEV Discussions (Oracle)
DEV Discussions (VFP)
DEV Bug Reports (Closed)
DEV Internationalization (v4-archive)
DEV Internationalization (v4)
URLs and Other Resources
Snitz Forums 2000 - Classic ASP version
SnitzBitz
Snitz MVC development site
Snitz Downloads/etc...
SourceForge
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page
Snitz Forums 2000
© 2000-2021 Snitz™ Communications
This page was generated in 0.28 seconds.