![]() |
Very nice , thanks :up:
|
Quote:
It only show's if a username has been altered so will not show on all profiles |
good idea for a block ... i was to write my own this week-end, so you make me a gift here.. lol
though, i will suggest that instead of multiple queries you simply use one that read the whole table for that user, and cache the results sorted by fieldname AND dateline, so you just have to use the fieldname you want... you could even add the same elements listed when you read the editlog in the admincp... i'm going to do that myself, because most of my staff prefer to read these infos in the profile because they can't read the editlog... |
Quote:
Quote:
Quote:
|
Makes life much easier, thank you very much.
|
Thanks. Nice hack.
Some comments: Instead of $userid=intval($_GET[u]); You should use: $userid = $this->profile->userinfo['userid']; ======== Instead of mysql_fetch_array( you should use $db->fetch_array( ======== Instead of $vbulletin->db-> you should use $this->registry->db-> anything $vbulletin-> could be accomplished with $this->registry and you eliminate the use of a global variable and instead use the encapsulated class reference ======== The template is not cached. That is an additional query in all profiles. Add a pluging for 'cache_templates' with this code: Code:
if (THIS_SCRIPT == 'member') |
Is this hack even still being supported?
|
I'm sorry I've currently got too many problems so I can't work on this for a while. I'll try to add Kentauros suggestions as soon as possible (thanks for the tips).
|
Just an update on the progress once in a while is all that is needed. ;)
|
This does not work or appear just recently. It wont' show up on my froums anymore.
I am running vb 3.7.1 here and added all my usergroups to view namechanges/bans :O edit: Nevermind it is working now. It just didn't show all the previous information from my db before I imported it. Is there any way to restore the ban/name change info from a pervious db of vB w/ the same users? |
All times are GMT. The time now is 09:44 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:
|