Members Since ..... script - نوشته شده در (2246 Views)
Starting Member
Presario
مطلب: 46
46
I am trying to add a `members since : .... ` script to the topics page so users can see when a `poster` joined my forum.
I need this to be under the location and number of posts descriptions. Is there a mod somewhere I can download? I have tried using the search facility but am unable to find anything.
Many thanks in advance.

<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
Without the code in front of me, I seem to remember a database field along the lines of "M_DATE" that stored the date a person became a member (I think).
If that is the field, you will probably want to add it to the SQL statement that you use to pull up the rest of the information on the author of the post.
Sorry for being vauge - if no one gets you more specifics by the time I get home, I'll find all the line numbers when I get home tonight. <
نوشته شده در
Junior Member
dabugster
مطلب: 168
168
Isn't that script at the top right of the Pop_profile.asp page? Here is the code from mine:
Code:
Response.Write	"                <td valign=""top"" align=""right"" bgcolor=""" & strHeadCellColor & """>
<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>
Member Since: " & ChkDate(rs("M_DATE"),"",false) & " 
</font></td>" & vbNewLine & _

Note: I put line breaks on the code so it wouldn't stretch out the page. Originally it is all one line of code. <
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
نوشته شده در
Junior Member
dabugster
مطلب: 168
168
Thanks for the work you put in AnonJr! smile
I will put this in my code tonight or tomorrow. <
نوشته شده در
Starting Member
Presario
مطلب: 46
46
Superb!! Many thanks... I have just followed your instructions and it works a treat.. bigsmilebigsmile <
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
Cool. Glad to be able to add something back. cool <
نوشته شده در
Junior Member
dabugster
مطلب: 168
168
Works like a dream Bro!
Thanks a lot! <
نوشته شده در
Senior Member
tribaliztic
مطلب: 1532
1532
Cool! I just HAD to do this on my forum also =) Thanks alot! <
/Tribaliztic
- www.gotlandrace.se -
نوشته شده در
Starting Member
mysteryguy
مطلب: 20
20
It worked but there were some problems. In some threads the members avatar appeared as a red x and the join date had the beginning of some sort of website.<
JAVA JOE'S EVERYTHING GAMINGhttp://www28.websamba.com/javajoes/
نوشته شده در
Forum Moderator
AnonJr
مطلب: 5768
5768
double check your code. It sounds like something wasn't closed right.<
شما باید یک متن وارد کنید