![]() |
Older reputation comments anonymous, newer ones non-anonymous
I have a problem.
I have anonymous reputation activated and I want to make it non-anonymous again. The problem is that I want the older reputation comments to remain anonymous while the newer ones are non-anonymous. How can I achieve this? Sorry if it has already been created or requested I haven't been able to find it. Thanx in advance. |
Quote:
I assume it would be something like "UPDATE " . TABLE_PREFIX . "reputation SET whoadded = 0" |
Quote:
Would it be possible to create a conditional where if the date of the reputation is before X the name field is not shown? This way, I can keep track of the given reputation in my admin panel, users won't see the older comments and I don't loose any data. If there is no possibility to do that, I will use that query you're talking about so I hope you can give it to me :) Thanx for your quick reply, Colin :D |
Quote:
I've been looking through the code and the templates for the last 10 minutes though, and I don't even see where it says who has given reputation. Then again, I don't use the reputation system myself, so that could be it... Can anyone help here? |
It should be very easy to do, I don't have the code in front of me atm, but I could look later today. The date would be hard coded.
|
Quote:
|
In your file, you search for the code and for the name, you add a condition with date !
|
Quote:
|
Quote:
|
Find the following line in usercp.php ;
PHP Code:
PHP Code:
|
All times are GMT. The time now is 01:31 PM. |
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:
|