Firefox PHP

User Rank Module

Posted by Chris Eaton 
Re: User Rank Module
May 05, 2006 03:23PM
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
Re: User Rank Module
May 05, 2006 10:16PM
Thanx. It's works now.
Version 1.3
September 06, 2006 03:30AM
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.



Brian - Cowboy Ninja Coder - Personal Blog - Twitter



Edited 1 time(s). Last edit at 09/06/2006 03:31AM by brianlmoon.


Attachments:
open | download - userrank-1.3.tar.bz2 (2.8 KB)
Re: User Rank Module
September 06, 2006 08:42AM
can you please put the file as tar.gz or zip? My browser simply won't take tar.bz2 (treats it as some kind of text file and save link as does not work)

thanks so much.

Net.
Re: Version 1.3
October 27, 2006 06:48AM
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
Re: Version 1.3
October 28, 2006 01:00AM
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.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Version 1.3
October 28, 2006 01:59AM
Hi Brian,

Thanks again. Since I'm very new to this, could youtell me the line I have to add for the listing to work...?

Thanks,

Yves
Re: Version 1.3
October 29, 2006 03:29PM
Its in info.txt.
hook:  read|mod_userrank
add
hook:  list|mod_userrank

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Version 1.3
October 29, 2006 04:31PM
Thanks you. I will try that!

Yves
Re: Version 1.3
October 29, 2006 04:59PM
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
Sorry, only registered users may post in this forum.

Click here to login