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
 eventsV2sr1international bugs
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

LC
New Member

Brazil
70 Posts

Posted - 26 May 2002 :  19:12:44  Show Profile
A)In mod_setup.asp line 1:
 <!--#include file="../config.asp"-->
<!--#include file="../inc_functions.asp"-->

Change to:
<!--#include file="config.asp"-->
<!--#include file="inc_functions.asp"-->
or mod_setup won't run.

B)Delete events icon ineffective.

C)According to README.TXT:
" If you want to display the events calendar on your forum default page,
add this to default.asp, to line 121.

<!--#include file="events_inc.asp"-->"

README.TXT goes on:
"Here's what mine's look like:

<table border="0" width="100%" cellspacing="1" cellpadding="4">
<!--#include file="events_inc.asp"-->
<tr>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b> </td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Forum</font></b></td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Topics</font></b></td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Posts</font></b></td>
<td align="center" bgcolor="<% =strHeadCellColor %>" nowrap valign="top"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">Last Post</font></b></td>"

Line 121 in my default.asp is this:
ShowLastHere = (cint(chkUser(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword"))) > 0)
if strShowStatistics <> "1" then
Response.Write " <table width=""100%"" border=""0"">" & Line 121 ->vbNewline & _
" <tr>" & vbNewline & _
" <td>" & vbNewline
if ShowLasthere then
Response.Write " <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>You Last Visited - " & ChkDate(Session(strCookieURL & "last_here_date")) & " " & ChkTime(Session(strCookieURL & "last_here_date")) & "</font>" & vbNewline
else
Response.Write "  " & vbNewline
end if



The closest to his example in my default.asp is:
Lines 139 to 154

	"    <table border=0 width=""100%"" cellspacing=1 cellpadding=4>" & vbNewline & _	                                                        
" <tr>" & vbNewline & _
" <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"
if Cat_ID <> "" then
Response.Write " <a href=""default.asp""><img src=""icon_folder.gif"" height=15 width=15 border=0 hspace=0 alt=""Show All Categories""></a>"
else
Response.Write "  "
end if
Response.Write " </b></font></td>" & vbNewline & _
" <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Forum</font></b></td>" & vbNewline & _
" <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Topics</font></b></td>" & vbNewline & _
" <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Posts</font></b></td>" & vbNewline & _
" <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Last Post</font></b></td>" & vbNewline
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
Response.Write " <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Moderator(s)</font></b></td>" & vbNewline
end if


LC


RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 26 May 2002 :  19:28:28  Show Profile
Bugs in MODS do not go in the DEV Bug Reports (Open) forum. That forum is only for bugs with the base code.
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 May 2002 :  19:41:30  Show Profile
LC, that code is based on a previous version of the forum, in the meantime the code changed and the line numbers also changed with these. They will change again in v3.4, in v4b04, in v4f and so on. Thus, giving/relying on line numbers is not a secure one. If would be best to understand what has to be done and adopt the changes to your version.

A MOD developer creates the code, makes it work with the help of feedback and leaves it as is. It is the community (you and me and anybody else) who will use and adopt the code as the base program emerges.

I think it must be re-scanned when v4f is out to use the international info in there.


Think Pink
==> Start Internationalization Here
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 26 May 2002 :  19:50:07  Show Profile
Try to change your code "around" line 139 like this:

 <table border=0 width=""100%"" cellspacing=1 cellpadding=4>" & vbNewline
%>
<!--#include file="events_inc.asp"-->
<%
Response.Write " <tr>" & vbNewline & _

" <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"



Think Pink
==> Start Internationalization Here
Go to Top of Page

LC
New Member

Brazil
70 Posts

Posted - 26 May 2002 :  20:10:15  Show Profile
quote:

Try to change your code "around" line 139 like this:

 <table border=0 width=""100%"" cellspacing=1 cellpadding=4>" & vbNewline
%>
<!--#include file="events_inc.asp"-->
<%
Response.Write " <tr>" & vbNewline & _

" <td align=center bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"






Didn't work...
Thanks anyway

LC

Go to Top of Page

unifox
Starting Member

46 Posts

Posted - 29 May 2002 :  10:47:13  Show Profile
to put it as a link .. you need to add it to the inc_top.asp......you might insert the code in that file to make it work....just a thought.



N i am sure of it......i will post back when i know exactly where!!!

(i'm an idiot to asp, but not stupid......Just try)

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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07