Postings - need to turn off posting count for one user [message #11985] |
Thu, 24 July 2003 16:57 |
Captain Blood
Messages: 3 Registered: July 2003 Location: Detroit, Michigan
Karma: 0
|
Junior Member |
|
|
Hello,
I'm looking to turn off the posting count for one specific person on our forum - when you post a response to a thread, there's a good amount of information that accompanies your post - name, avatar, post count.... for one person only (me) I want to make the count disappear....
Thanks for any help you may be able to offer
Captain Blood
http://www.thebigtoe.com/forum
|
|
|
|
Re: Postings - need to turn off posting count for one user [message #12025 is a reply to message #11989] |
Fri, 25 July 2003 01:06 |
Captain Blood
Messages: 3 Registered: July 2003 Location: Detroit, Michigan
Karma: 0
|
Junior Member |
|
|
Thanks for the feedback... very much a newby to this all - I understand html, but am working to pick this up... What I wish to do is to omit the "posting count" for a moderator - I'm going to assign a special ranking level to that person and hide the number of posts.
in the drawmsg.tmpl the most likely file appears to bed msg_user_posts
which reads: {MSG: posts_c} {VAR: obj->posted_msg_count}<br />
based on my limited knowledge of the programming, I understand the variable that is being applied here. Should I be modifying another aspect of the file?
I'm assuming that if I modify the template, that it will impact all of the users... Should I assign a new modified template to the specific user that I wish to omit a post count for?
[Updated on: Fri, 25 July 2003 01:11] Report message to a moderator
|
|
|
Re: Postings - need to turn off posting count for one user [message #12028 is a reply to message #12025] |
Fri, 25 July 2003 01:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Aha I see, I slightly misunderstood your request. First of all you are correct, modifying the template will affect all users. To disable showing of the post count for a particular user you actually need to edit drawmsg.php.t (php source code) and add a condition to exclude certain data for that user.
For example:
<?php if ($obj->user_id == 123) { /* do or not do something */ } else { /* rest of users */ } ?>
FUDforum Core Developer
|
|
|