Members Since ..... script - Postet den (2244 Views)
Starting Member
Presario
Innlegg: 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.

<
   
 Sidestørrelse 
Postet den
Forum Moderator
AnonJr
Innlegg: 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. <
Postet den
Junior Member
dabugster
Innlegg: 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. <
Postet den
Forum Moderator
AnonJr
Innlegg: 5768
5768
Postet den
Junior Member
dabugster
Innlegg: 168
168
Thanks for the work you put in AnonJr! smile
I will put this in my code tonight or tomorrow. <
Postet den
Starting Member
Presario
Innlegg: 46
46
Superb!! Many thanks... I have just followed your instructions and it works a treat.. bigsmilebigsmile <
Postet den
Forum Moderator
AnonJr
Innlegg: 5768
5768
Cool. Glad to be able to add something back. cool <
Postet den
Junior Member
dabugster
Innlegg: 168
168
Works like a dream Bro!
Thanks a lot! <
Postet den
Senior Member
tribaliztic
Innlegg: 1532
1532
Cool! I just HAD to do this on my forum also =) Thanks alot! <
/Tribaliztic
- www.gotlandrace.se -
Postet den
Starting Member
mysteryguy
Innlegg: 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/
Postet den
Forum Moderator
AnonJr
Innlegg: 5768
5768
double check your code. It sounds like something wasn't closed right.<
Du må legge inn en melding