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/Code)
 Joined Date In Posts
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Ryan
Average Member

USA
858 Posts

Posted - 15 January 2004 :  19:01:12  Show Profile  Visit Ryan's Homepage
This MOD adds a member's joined date to posts. I did some poking around in the search for a MOD like this but couldn't find any so I made this one for (and by) myself. I am sharing it with you all just in case you want it.
Picture of what it adds to your forum:


(Of course, the arrow is only to direct your attention to the joined date and will not actually appear on your forum)

All you need to change is your topic.asp file.

Step 1.

Find this:

", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY" & _

Change this to:

", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M_DATE" & _

Step 2.

Find this:

Member_Country = rsTopic("M_COUNTRY")

Below that add:

Member_Date = rsTopic("M_DATE")

Step 3.

Find this:

strSql = strSql & ", M.M_TITLE, M.MEMBER_ID, M.M_HOMEPAGE, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY"

Change it to this:

strSql = strSql & ", M.M_TITLE, M.MEMBER_ID, M.M_HOMEPAGE, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_DATE"

Step 4.

Find this:

rM_COUNTRY = 11

Below that add:

rM_DATE = 12

NOTE: You will need to make sure that the numbers that appear after the = sign on that list are in a consecutive increasing order. For example 11, 12, 13, 14, etc... Your number that needs to go at the end may very depending on what MODs you have added.

Step 5.

Find this:

Reply_MemberCountry = arrReplyData(rM_COUNTRY, iForum)

Below that add:

Reply_MemberDate = arrReplyData(rM_DATE, iForum)

Step 6.

Find this:

Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts</small></font></p></td>" & vbNewLine & _

Change this to:

Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberPosts & " Posts</small></font><br />" & vbNewLine

Below that line add:

Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><br><small>Joined on: " & ChkDate(Reply_MemberDate, " " ,false) & "</small></font></p></td>" & vbNewLine & _

Step 7.

Find this:

Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Posts & " Posts</small></font></p></td>" & vbNewLine & _

Change this to:

Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Member_Posts & " Posts</small></font><br />" & vbNewLine

Below that add:

Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><br><small>Joined on: " & ChkDate(Member_Date, " " ,false) & "</small></font></p></td>" & vbNewLine & _

Please note: On step 6 and 7 you add 2 lines of code total. In that code you will see the command false change that to true if you would like not only the date but the actual time that the member joined.

Save and upload to your forum directory.

I hope you enjoy this MOD as much as I enjoyed making it! Let me know what you think about it.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help

Edited by - Ryan on 15 January 2004 19:02:16

laser
Advanced Member

Australia
3859 Posts

Posted - 16 January 2004 :  03:06:48  Show Profile
I thought I published this some time ago, but obviously not. Personally in Steps 6 & 7 I would be closing the font and small tags just to open them again in the next line.
Go to Top of Page

master of puppets
Junior Member

Canada
117 Posts

Posted - 16 January 2004 :  13:17:19  Show Profile  Visit master of puppets's Homepage  Send master of puppets an AOL message  Send master of puppets an ICQ Message  Send master of puppets a Yahoo! Message
Thanks, I wondered if that was possible awhile back, asked at onewaymule's site but no avail.

Thanks man.

"It's not how far you go, it's how go you far"
- Guy in Ski School
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 16 January 2004 :  13:51:56  Show Profile  Visit Ryan's Homepage
I searched for this MOD but I couldnt find anything like it. It is possible, of course, that someone did release something like this.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 16 January 2004 :  15:02:12  Show Profile
no probs Ryan, it's all good
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 17 January 2004 :  08:08:39  Show Profile  Visit richfed's Homepage
Question: In steps 6 & 7, where in the code would the bold tags be inserted to have the date show up bold?
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 17 January 2004 :  08:55:29  Show Profile
richfed,

- where you see <small> add a <b> after

- where you see </small> add a </b> before.
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 17 January 2004 :  09:14:56  Show Profile  Visit richfed's Homepage
... but I don't want the "Joined on" to be bold - only the called date.
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 January 2004 :  09:51:22  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
step 6
Instead of
Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><br><small>Joined on: " & ChkDate(Reply_MemberDate, " " ,false) & "</small></font></p></td>" & vbNewLine & _

It should be

Response.Write " <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><br><small>Joined on: " & ChkDate(Member_Date, " " ,false) & "</small></font></p></td>" & vbNewLine & _


I did it your way and got just some funky text like h/t/tp and ar/sr/ar and so on, changed it to that and it worked Thanks for the mod, something I have been looking for a while now :)
WWS

coaster crazy
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 17 January 2004 :  15:53:47  Show Profile
quote:
Originally posted by richfed

... but I don't want the "Joined on" to be bold - only the called date.

So move the bold tags a bit
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 17 January 2004 :  16:49:33  Show Profile  Visit richfed's Homepage
Oh ... well ... I don't know why, but I was thinking something needed to be done with the asterisks.

Yes, that worked!

If it weren't so obvious, I'd say I was DUMB!

Thanks, laser ...

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 17 January 2004 :  17:20:26  Show Profile  Visit Ryan's Homepage
hmm thats interesting weeweeslap. The pic you see in the first post has the Reply_MemberDate command. Thanks for the change though. I will test it on my site.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 January 2004 :  18:33:03  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
ok, no prob, dunno if it has anything to do with the db type ( ms sql server) or just the code. All good though, I got it working for me. Thanks again

coaster crazy
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 17 January 2004 :  20:47:35  Show Profile  Visit richfed's Homepage
I also use MS-SQL. The code worked fine for me as is.
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 19 January 2004 :  11:14:51  Show Profile  Visit Ryan's Homepage
I copied the line that showed the Joined Date for all replies. Here it is:
			Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><br><small>Joined on: " & Reply_MemberDate & "</small></font><br>" & vbNewLine
I guess I will just leave it as is and if it doesnt work for some people then they can try yours.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Reeco
Starting Member

12 Posts

Posted - 06 February 2004 :  01:31:08  Show Profile  Visit Reeco's Homepage
Great little mod... easy to put in... thanks Ryan

http://www.chatterslounge.com Where friends can be friends!
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07