Sub Menu
Links Menu
Online Users

In total there are 308 users online :: 3 registered, 0 hidden and 305 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Extended Rank System IM 141

This forum contains member submitted mods and hacks for IntegraMOD/IM Portal versions

*please read the "Read Me" post*

Moderator: Integra Moderator

Extended Rank System IM 141

PostAuthor: Teelk » Wed Feb 14, 2007 4:31 pm

MOD Title: Extended Rank System

MOD Author: mosymuis

IM Porter: Teelk

MOD De.scription: This mod allows you to set up different rank sets, which you can use to attach different post count ranks to individual users, users who use a certain template or users who are either male or female. You can choose to allow your members to choose their own rank set, with the option to hide certain rank sets from them. You can also apply special ranks to banned users, users who celebrate their birthday, users with an admin or moderator status or people who are in one of the usergroups.

MOD Version: 1.0.2

NOTE:Turning off public ranksets will not remove the "Ranks Set" option on the registration page, but users will not be able to change their rank set. It is essential that the field stay in the registration page to allow the MOD to function correctly, do NOT remove it.

Be careful with some of the file edits. A few file edits replace large amounts of code, please take your time to make sure that you are replacing everything correctly.
Attachments
extended_ranks_system_im141.zip
(20.45 KiB) Downloaded 553 times
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Extended Rank System IM 141

PostAuthor: Teelk » Thu Feb 15, 2007 1:08 pm

Hmmm... no downloads... and this one was requested by more then one user... usually everyone's jumping on new mods lol.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: tekguru » Fri Feb 16, 2007 6:23 am

Well I'm thinking of the forthcoming major patch that is comign out and wantg to reduce work so I'm holding off applying Mods <img>
Last edited by tekguru on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 10:29 pm
Cash on hand: 0.00

Re: Extended Rank System IM 141

PostAuthor: Teelk » Sat Feb 17, 2007 6:41 pm

There will be a manual update for the patch, and premodded files as well. The patch isn't huge, right now it edits about 21 files and estimated install time is about 30 minutes. But, if you want to hold off then premodded will definitely be faster.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: krillmeed » Thu Mar 01, 2007 9:32 am

DidnÂÂÂ ´t know it was here, but downloaded it and am installing it <img> Thanks Teelk
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

Re: Extended Rank System IM 141

PostAuthor: krillmeed » Fri Mar 02, 2007 5:52 am

Something is not right. In Admin/Userlist this is what i now get:
Fatal error: Call to undefined function: init_ranks() in /hsphere/local/home/krillmee/krillmeed.com/forum/admin/admin_userlist.php on line 856
And in the Rank block only the special ranks block is showing not the normal block one for members. <img>
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

PostAuthor: krillmeed » Fri Mar 02, 2007 8:33 am

Another major one, i have 2 test accounts in 2 different names, when i changed to one set of ranks in one profile it changed all the rest and visa versa
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

PostAuthor: krillmeed » Fri Mar 02, 2007 9:46 am

Maybe i should explain the last one better, say i am using the Starfleet ranks in my profile, everyone except with special ranks will be shown as starfleet rank, even if they have Romulan or Klingon ranks set in there profile, same things happens when i change to one of the other ones. It does not matter if i have them on hidden on not. By the way CT tracker pops up everywere on this, i have solved all those i think. Still i think that it is not supposed to work just like this is it?
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

Re: Extended Rank System IM 141

PostAuthor: Pogue Moran » Sat Mar 03, 2007 12:06 pm

I tried it out teelk. I just have one problem. It conflicts with the edits I made for the shop mod 3 with effects. Is there a way we can integrate this so it doesn't override my effects from Shop mod? I did the following:

I have it so the effects mod shows up in the profiles and in the viewtopic the only real problem now is the rank title isn't working. Effects mod for Shop mod 3 allows a user to create a custom title with coloring and what not this mod takes out the standard $rank = commands and replaces it with $ranks, etc.

Here is what the standard rank title function in def_userfuncs_std.php looks like:

Code: Select all
//-----------------------------------//// user_rank_title output function////-----------------------------------function pcp_output_rank_title($field_name, $view_userdata, $map_name=''){     global $board_config, $phpbb_root_path, $phpEx, $lang, $images, $userdata;     global $values_list, $tables_linked, $classes_fields, $user_maps, $user_fields;       if ( $view_userdata['user_id'] != ANONYMOUS )     {         $rank = get_user_rank($view_userdata);         //----------------------------------------------------------------------// Shop 3 Compatibility for Profile Control Panel - Begin Code Alteration//         $rank = pcp_shop_build_title($view_userdata, $rank);//// Shop 3 Compatibility for Profile Control Panel - End Code Alteration//----------------------------------------------------------------------           $txt = $rank['rank_title'];         $img = $rank['rank_image'];           // result         $res = pcp_output_format($field_name, $txt, $img, $map_name);     }     return $res;}


How would I go about integrating that small line for the shop mod?

I currently have the shopmod doing the coloring in the topics and profile while the advanced color mod shows colors for the threads and other various functions on my site.
Last edited by Pogue Moran on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Pogue Moran
Members
Members
 
Posts: 74
Likes: 0 post
Liked in: 0 post
Joined: Sat Jun 24, 2006 4:48 pm
Cash on hand: 0.00

PostAuthor: krillmeed » Sat Mar 03, 2007 2:49 pm

Do you mean for you it is working including the ranks for normal users showing in the rank block and everyone can have there own rank on your board? And of course does your Admin user list work?
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

PostAuthor: krillmeed » Sat Mar 03, 2007 2:52 pm

i would be interested if someone else can say if these things work so i know it is something i have done wrong and can have another go at it :D
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

PostAuthor: Teelk » Sat Mar 03, 2007 8:09 pm

"krillmeed";p="22512" wrote:Maybe i should explain the last one better, say i am using the Starfleet ranks in my profile, everyone except with special ranks will be shown as starfleet rank, even if they have Romulan or Klingon ranks set in there profile, same things happens when i change to one of the other ones. It does not matter if i have them on hidden on not. By the way CT tracker pops up everywere on this, i have solved all those i think. Still i think that it is not supposed to work just like this is it?
That is how it should work. If you have two ranksets, say starfleet and klingon, and you choose klingon then all non-special ranks should now be klingon for you. If someone else chooses starfleet then all non-special ranks will be starfleet for them. For a while there I thought it was supposed to work the other way as well, but reflecting on the functionality of the MOD I discovered it should be as it is now.

For instance, if you create a rankset and attach it to a theme, then attaching the rankset to the theme would become useless. There would be no reason to attach ranksets to themes because anyone using a certain theme would only see what people have chosen for their own rankset and not the theme defined one. I hope that makes sense.

"krillmeed";p="22506" wrote:Something is not right. In Admin/Userlist this is what i now get:
Fatal error: Call to undefined function: init_ranks() in /hsphere/local/home/krillmee/krillmeed.com/forum/admin/admin_userlist.php on line 856
And in the Rank block only the special ranks block is showing not the normal block one for members. <img>
I'll look into this problem.

Pogue Moran, there should be three instances of the following code in profilcp/def/def_userfuncs_std.php...
Code: Select all
                    $rank_title = ( isset($ranks[$view_userdata['user_gender']]) && ($ranks[$view_userdata['user_gender']] != '') ) ? $ranks[$view_userdata['user_gender']] : $ranks[0];


Place the following after all three instances and test it, it should work.
Code: Select all
$rank_title = pcp_shop_build_title($view_userdata, $rank_title);


I haven't installed shopmod 3 yet though, so that's untested.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: Extended Rank System IM 141

PostAuthor: Pogue Moran » Sat Mar 03, 2007 8:22 pm

hmmm unfortunately that didn't fix it teelk. I tried fiddling around with it a bit before but it didn't help. Maybe a modification of the rank_title part? or the ranks area? Also when you get a chance can you give me an opinion on the referral mod plus file I linked to.
Last edited by Pogue Moran on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Pogue Moran
Members
Members
 
Posts: 74
Likes: 0 post
Liked in: 0 post
Joined: Sat Jun 24, 2006 4:48 pm
Cash on hand: 0.00

PostAuthor: krillmeed » Sun Mar 04, 2007 3:17 am

Oh well cannot have everything lol Just to make sure i installed it for the 3rd more slowly this time just to make sure i am not making more work for you for nothing and i am still getting the same 2 errors <img>
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

PostAuthor: krillmeed » Sun Mar 11, 2007 1:18 am

Anything new on this problem?
Last edited by krillmeed on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

krillmeed
Sr Integra Member
Sr Integra Member
 
Posts: 301
Likes: 0 post
Liked in: 0 post
Joined: Sat May 27, 2006 12:34 am
Cash on hand: 0.00

Next

Return to Mods/Hacks

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron