The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
This one is a request from JJR512. It shows, in the user's publicly-accesible profile (member.php?action=getinfo), how many threads that user has started.
Hack version: 0.0.2 For version: 2.0.0 Final Files needed: memberadd.txt, getinfoadd.txt Files to edit: member.php Templates to edit: getinfo Instructions 1] Open memberadd.txt from the zip file in a text editor. 2] In member.php, find (around line 1193) Code:
eval("\$birthday = \"".gettemplate("getinfo_birthday")."\";"); } 3] Upload member.php to your web server. 4] Open getinfoadd.txt from the zip file in a text editor. 4] In the template getinfo, find Code:
<tr bgcolor="#F1F1F1"><td> <normalfont><B>Total Posts:</B></normalfont></td> <td><normalfont>$userinfo[posts] ($postsperday posts per day)</normalfont> </td></tr> 5] Save the template. 6]To test it out, go to http://path/to/your/forums/member.ph...tinfo&userid=5 Instructions are also included in the zip file (threadsstarted.txt). FEEDBACK WANTED! Likes/dislikes/modification requests all accepted. Please DO NOT conact me via AIM, ICQ, PM, or email about this hack. Post your question/problem here and I will try to help you. Show Your Support
|
Comments |
#12
|
|||
|
|||
Quote:
If you prune all threads/posts prior to 90 days ago, for example, the total posts for each user will not change because the "user" table has a "posts" field. Like tubedogg said, if you wanted a number of threads started independent of which threads still exist, you would have to do the same as posts, and add a "threads" column to the "user" table. |
#13
|
|||
|
|||
OK, I don't know much about the prune option. I never use it.
But I do know, by direct observation, that if you delete a post by a user, the user's post count goes down by one. I have seen this with my own two eyes. Last time was a few days ago...a user had double-posted. His post count was 4360. I deleted one of the two messages, and after that, the post count in the remaining thread said 4359. This is indisputable. So regardless of pruning, a user's post count does indeed go down if any of the user's posts are deleted directly, and presumably also is an entire thread is deleted, too. So, it is clear the the post count does not reflect how many times the person has ever submitted a message. |
#14
|
|||
|
|||
just forget it. I think tubedogg understood what I was talking about, and that was the point to begin really.
|
#15
|
|||
|
|||
Hey look, there's no need to get hostile about it. I admit maybe I was wrong about the pruning part, because I have no experience with it. But I did get your point, which was that this hack will only count how many current threads were started by a person. Now how many threads the person has ever started. Now my point, which is that the post count also does not display how many posts a person has posted, is a valid point, and one that says your premise may have another dimension to it that you maybe didn't consider. And I'd appreciate it if you wouldn't just dismiss me like that, just because what I said might invalidate your point.
|
#16
|
|||
|
|||
JJR I wasn't dismissing you, I was dismissing the subject, because it's of no importance, that's all.
|
#17
|
|||
|
|||
tubedogg on a hacking roll
|
#18
|
|||
|
|||
hmmmm tubedog, I may just have to try this out!
|
#19
|
|||
|
|||
Now that is a compliment, if someone with a board the size of Me2Be's wants to try my hack out.
|
#20
|
|||
|
|||
Quote:
I'll let you know when I get it online (I'm waiting for Kier's PM hack and Chris to finish our new chat room then I'll add yours too!). |
#21
|
|||
|
|||
great hack, thanks
but if you can make the thread started first letters capitalized that would be better so it's Thred Started instead of thread started |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|