Mulitple Ranks Mod »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - Mulitple Ranks Mod



DAT116 [ Sun 29 Jul, 2007 23:12 ]
Post subject: Mulitple Ranks Mod
I have the Multiple ranks successfully installed and it works great! BUT, I do have a few questions:

1. Is there a way to make the ranks appear horizontially instead of vertically? I would love to have the ranks appear stacked together horizontially, instead of vertically in viewtopic, memberlist and profile.

2. Is there a way to make the title of the rank go away? I do not need the titles of the ranks/icons, can I remove them?

3.Is there a simple way to add a few more ranks than what comes with the mod?

My website is www.milsimempire.com/forum

Thank you in advance,
DAT116


Mighty Gorgon [ Fri 10 Aug, 2007 16:49 ]
Post subject: Re: Mulitple Ranks Mod
DAT116 wrote: [View Post]
I have the Multiple ranks successfully installed and it works great! BUT, I do have a few questions:

1. Is there a way to make the ranks appear horizontially instead of vertically? I would love to have the ranks appear stacked together horizontially, instead of vertically in viewtopic, memberlist and profile.

2. Is there a way to make the title of the rank go away? I do not need the titles of the ranks/icons, can I remove them?

3.Is there a simple way to add a few more ranks than what comes with the mod?

My website is www.milsimempire.com/forum

Thank you in advance,
DAT116

Hi DAT116,

  1. Yes it is possible, you need to remove the <br /> from this code in each of this code:
    Code: [Hide] [Select]
    $user_rank_01 = ($user_ranks['rank_01'] == '') ? '' : ($user_ranks['rank_01'] . '<br />');
    $user_rank_01_img = ($user_ranks['rank_01_img'] == '') ? '' : ($user_ranks['rank_01_img'] . '<br />');
    $user_rank_02 = ($user_ranks['rank_02'] == '') ? '' : ($user_ranks['rank_02'] . '<br />');
    $user_rank_02_img = ($user_ranks['rank_02_img'] == '') ? '' : ($user_ranks['rank_02_img'] . '<br />');
    $user_rank_03 = ($user_ranks['rank_03'] == '') ? '' : ($user_ranks['rank_03'] . '<br />');
    $user_rank_03_img = ($user_ranks['rank_03_img'] == '') ? '' : ($user_ranks['rank_03_img'] . '<br />');
    $user_rank_04 = ($user_ranks['rank_04'] == '') ? '' : ($user_ranks['rank_04'] . '<br />');
    $user_rank_04_img = ($user_ranks['rank_04_img'] == '') ? '' : ($user_ranks['rank_04_img'] . '<br />');
    $user_rank_05 = ($user_ranks['rank_05'] == '') ? '' : ($user_ranks['rank_05'] . '<br />');
    $user_rank_05_img = ($user_ranks['rank_05_img'] == '') ? '' : ($user_ranks['rank_05_img'] . '<br />');

  2. Yes it is possible, you need to remove the rank title from each template file:
    Code: [Hide] [Select]
    {memberrow.USER_RANK_XX}

  3. Sorry, I can't understand what do you mean... would you like to increase the numbers of ranks (more than 5) or add more graphics?


KaTHoO [ Wed 02 Jan, 2008 13:29 ]
Post subject: Re: Mulitple Ranks Mod
Hi there !!

I think I have the same problem but what I want to know is which file I have to modify this line:

Code: [Hide] [Select]
{memberrow.USER_RANK_XX}


thx in advance !


Mighty Gorgon [ Wed 02 Jan, 2008 23:41 ]
Post subject: Re: Mulitple Ranks Mod
That is in memberlist_body.tpl, but you have to remove similar occurrences in viewtopic_body and profile_view_body as well.


KaTHoO [ Thu 03 Jan, 2008 12:28 ]
Post subject: Re: Mulitple Ranks Mod
Many thanks Luca !


Mighty Gorgon [ Tue 08 Jan, 2008 21:42 ]
Post subject: Re: Mulitple Ranks Mod
You are welcome.


ttreasures [ Mon 14 Jan, 2008 17:19 ]
Post subject: Re: Mulitple Ranks Mod
Mighty Gorgon wrote: [View Post]
You are welcome.


Hello i have a question, for the multiple ranks 2.0.3 version for phpbb2 how come i keep getting a parse error in the profile and memberlist area i get this kind of error:

Parse error: syntax error, unexpected '[' in /home/timeless/public_html/forum2/includes/functions_mg_ranks.php on line 44

Can you please help me, thanks




Powered by Icy Phoenix