![]() |
Is there a hack that shows the last 10 posts and threads started by a user? I've run multiple searches but come up empty.
|
I did this one:
http://vbulletin.com/forum/showthrea...hlight=profile Working Demo: http://sitepointforums.com/member.ph...fo&userid=5584 |
Wayne that page is doing a full table scan on thread table so you might want to add an index on postuserid
SELECT COUNT(*) AS started FROM thread WHERE postuserid=5584 Also this query is a bit painful but it is because you have 3360 posts (I assume) and will generally be more tolerable for most other users. Code:
Query: SELECT thread.title,thread.threadid,thread.forumid,postid,post.dateline,pagetext FROM post,thread WHERE thread.threadid=post.threadid AND post.userid=5584 ORDER BY post.dateline DESC |
Thanks. That was for the Threads Started Listing. I should add it to the user table like posts.
|
will that work for version 2.0?
Why not release that... it rock's! |
I followed the thread and added in the coding into the member.php, but I get database errors each time I try to pull up someone's profile. :(
|
bump^^^^^^^^^^^^^
|
yea, i cant get it to work too :(
|
In Member.php find:
PHP Code:
PHP Code:
|
Cool deal Wayne!
Woohoo!! :p It works, except for...... http://www.automotiveforums.com/vbul...info&userid=61 It actually shows any and all images, smilies, and vB code, plus the "..more" thing doesn't work :( How do I fix this? Thanks. |
All times are GMT. The time now is 11:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|