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)
 Displaying user's latest topics
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

puzo
Junior Member

Israel
417 Posts

Posted - 19 March 2008 :  17:26:34  Show Profile  Visit puzo's Homepage  Reply with Quote
Hi,
I'd like to add a piece of code to inc_header.asp so my users can see their latest posts, for example:
Your latests posts are:
Post 1
Post 2
etc.. (say up to 6 posts)

Can anyone help?<


Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 19 March 2008 :  17:42:30  Show Profile  Visit Jezmeister's Homepage  Reply with Quote
isn't there already something similar to this in pop_profile.asp? not entirely sure if it does everything you want but the code is around line 169 in pop_profile, maybe you could use that?<
Go to Top of Page

puzo
Junior Member

Israel
417 Posts

Posted - 20 March 2008 :  10:12:28  Show Profile  Visit puzo's Homepage  Reply with Quote
Hi,
I did try using that code but it shows "No topics found" if i put it on inc_header.asp
Any ideas?<


Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 20 March 2008 :  10:42:58  Show Profile  Visit Jezmeister's Homepage  Reply with Quote
i said similar lol there's bound to be some issues just ripping it straight off... i'll try and have a look later but I'll hazard a guess that the problem is in selecting the correct member_ID? you'd need to select it as strMemberID rather than the querystring that pop_profile uses<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 20 March 2008 :  15:43:56  Show Profile  Reply with Quote
make sure you getting a value for '" & strStartDate & "' and it should work. ppMember_ID should be MemberID. I assume you have that or you would be getting an error.

Heres strStartDate from pop_profile, goes back 30 days.
strStartDate = DateToStr(dateadd("d", -30, strForumTimeAdjust))
<

    _-/Cripto9t\-_
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07