User Rank Module
Posted by Chris Eaton
May 05, 2006 09:23AM |
Admin Registered: 18 years ago Posts: 8,532 |
Please use forward slashes there. Using backslashes in filenames is generally a bad idea, since the backslash is used as an escape character starter. PHP and webbrowsers all understand the forward slashes.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: User Rank Module May 05, 2006 04:16PM |
Registered: 17 years ago Posts: 14 |
September 05, 2006 09:30PM |
Admin Registered: 22 years ago Posts: 4,495 |
I have created release 1.3 of this module. I was using it on a very large board that had over 20,000 users. The drop downs were just not working for me. So, I got rid of the drop downs for the existing custom user entries and put in delete check boxes. For boards with more than 1000 users, the new custom entry is just a text box. for less than 1000, its still a drop down. Usernames are checked on submit. I attached a screen shot of the admin panel.

Edited 1 time(s). Last edit at 09/05/2006 09:31PM by brianlmoon.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Edited 1 time(s). Last edit at 09/05/2006 09:31PM by brianlmoon.
Re: User Rank Module September 06, 2006 02:42AM |
Registered: 16 years ago Posts: 35 |
Re: Version 1.3 October 27, 2006 12:48AM |
Registered: 16 years ago Posts: 99 |
Hi Brian,
Is there a way to translate the Ranks?
Ex. "Captain", "Kapitaine", "Capitaine" etc..
If so, what variable will you suggest?
Also, I tried to ad the "mod_userrank" variable into the list.php & list_thread.php. How sould i modify the following line so it works?
{IF MESSAGE->mod_userrank}
{MESSAGE->mod_userrank}
{/IF}
Thanks,
Yves
Is there a way to translate the Ranks?
Ex. "Captain", "Kapitaine", "Capitaine" etc..
If so, what variable will you suggest?
Also, I tried to ad the "mod_userrank" variable into the list.php & list_thread.php. How sould i modify the following line so it works?
{IF MESSAGE->mod_userrank}
{MESSAGE->mod_userrank}
{/IF}
Thanks,
Yves
October 27, 2006 07:00PM |
Admin Registered: 22 years ago Posts: 4,495 |
This module does not support translating the ranks. It would need to be altered.
To get the info in the list page, you will need to add the list hook to the info.txt file for the module.
To get the info in the list page, you will need to add the list hook to the info.txt file for the module.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Version 1.3 October 27, 2006 07:59PM |
Registered: 16 years ago Posts: 99 |
October 29, 2006 09:29AM |
Admin Registered: 22 years ago Posts: 4,495 |
Its in info.txt.
hook: read|mod_userrankadd
hook: list|mod_userrank
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Version 1.3 October 29, 2006 10:31AM |
Registered: 16 years ago Posts: 99 |
Re: Version 1.3 October 29, 2006 10:59AM |
Registered: 16 years ago Posts: 99 |
Well I'm might be a lost cause.
I did what you propose and add "hook: list|mod_userrank"
Then I tried to ad various variable in the list.php and list_threads.php but nothing works. I tried these:
{MESSAGES->mod_userrank}
{MESSAGE->mod_userrank}
{PROFILE->mod_userrank}
{mod_userrank}
I also invented other but to no avail. Any idea?
Thanks,
yves
I did what you propose and add "hook: list|mod_userrank"
Then I tried to ad various variable in the list.php and list_threads.php but nothing works. I tried these:
{MESSAGES->mod_userrank}
{MESSAGE->mod_userrank}
{PROFILE->mod_userrank}
{mod_userrank}
I also invented other but to no avail. Any idea?
Thanks,
yves
Sorry, only registered users may post in this forum.