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)
 RegisterTime in Author box
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

evol
Junior Member

China
157 Posts

Posted - 01 January 2004 :  11:50:44  Show Profile
How to carry out register time(EX:what time is one member register this forum)in Author box?
Thanks

Who am i?
I lost my dream!

Edited by - evol on 01 January 2004 13:04:57

Faizan
Average Member

United Kingdom
592 Posts

Posted - 01 January 2004 :  11:57:08  Show Profile  Visit Faizan's Homepage  Send Faizan an AOL message  Send Faizan an ICQ Message  Send Faizan a Yahoo! Message
Register in author box? Huh? I guess you need to explain a bit more.




»Snitz Graphics
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 01 January 2004 :  13:02:53  Show Profile
Sorry Faizan
i means register time in Author box!
sorry to my mistake

Who am i?
I lost my dream!
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 01 January 2004 :  14:59:48  Show Profile
Do you mean :

- the exact date & time they registered (dd/mm/yyy hh:mm.ss)

or,

- how long they have belonged (A years, B months, C days)
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 02 January 2004 :  12:26:43  Show Profile
Thanks laser
i think the register time(just you said"the exact date & time they registered (dd/mm/yyy hh:mm.ss)) will be OK in author box.
Can you help me?


Who am i?
I lost my dream!
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 02 January 2004 :  16:01:28  Show Profile
Check out my forums, the code is (roughly this). All changes to topic.asp:

Find the line that contains this text:

Reply_MemberPosts & " Posts

I can't remember exactly how much I chopped on that line but mine is this :


			Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts<br><nobr>joined " & Replace(Replace(ChkDate(Join_Date, " : " ,false), " 20", " "), " "," ") & "</nobr></small></font></p></td>" & vbNewLine & _


This also requires changes of ...

Find this line :


			Reply_Date = arrReplyData(rR_DATE, iForum)


and insert this after it :


			Join_Date = arrReplyData(rM_MDATE, iForum)


Find this line :


		rR_DATE = 23


Insert this line below :


		rM_MDATE = 24


and make sure that all your numbers are consecutive


and then add the M_DATE to this line :


	strSql = strSql & ", R.R_LAST_EDITBY, R.R_SIG, R.R_STATUS, R.R_DATE, M.M_DATE"


That fixes all the replies, to change the initial post ...

Around line 99 there is a line like this (this one is mine with M_DATE in it


strSql = "SELECT M.M_NAME, M.M_DATE, M.M_RECEIVE_EMAIL, M.M_AIM, M.M_ICQ, M.M_MSN, M.M_YAHOO, M.M_PMRECEIVE" & _


only a few lines down from there is this line .. .


	Member_Name = rsTopic("M_NAME")


Add this line under it :


	Member_JoinDate = rsTopic("M_DATE")


then WAY down in sub GetFirst is a similar line to our first change, but mine looks like this now :


	Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Posts & " Posts<br><nobr>joined " & Replace(ChkDate(Member_JoinDate, " : " ,false), " 20", " ") & "</nobr></small></font></p></td>" & vbNewLine & _
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07