Multi-Race Rank Themes

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
csp4.0
Registered User
Posts: 56
Joined: Tue Feb 26, 2008 5:32 am
Location: Holy Terra

Re: MultRace Rank Themes

Post by csp4.0 »

IBBoard wrote:It works fine with 3.0.1 (at least the only parts of the phpBB patch that failed to apply cleanly on my forum were unrelated to the Multi-Race Rank Themes).

What account are you testing it with? If you are just using the Multi-Race Rank Themes mod and aren't using the Special and Normal Rank Images mod (currently at 0.1b2) then Admins or other people with special ranks won't show a combo box for race selection in their UCP - there's no point, as it wouldn't change their rank anyway.
No, I'm using a special modtesting account which does not have it's own special rank...

Even my normal members can confirm that there is no special "Rank Themes" dropdown box anywhere in the UCP... And I'm just using the Multi-Race Rank Themes mod...
User avatar
IBBoard
Registered User
Posts: 543
Joined: Wed May 25, 2005 9:02 pm
Location: Worcestershire, UK

Re: MultRace Rank Themes

Post by IBBoard »

Hmmmm, strange. The only causes I can think of at the moment are that the user's "user_rank" (which defines if they have a special rank) isn't set to 0, but that should break the ranking system completely, or your template isn't correct/refreshed.

After you made the changes to the template did you go to the ACP and refresh the template or delete the "tplt_*.php" files from the 'cache' directory? If not then the template won't have been refreshed (phpBB doesn't seem to do a "if template file is newer than cached version" check) and that will be why it isn't working.

If you have refreshed the template then can you check the source of the generated page and see if it has an '<input type="hidden" ... />' tag in it. If it has that tag then something is wrong because it's supposed to only occur for people with special ranks. If there isn't anything in the page source that mentions the ranks then it's definitely a templating issue.
csp4.0
Registered User
Posts: 56
Joined: Tue Feb 26, 2008 5:32 am
Location: Holy Terra

Re: MultRace Rank Themes

Post by csp4.0 »

Ok, so I've refreshed cache, AND template files, AND imageset files (just incase), AND theme files but still no luck, so I'll think i'll go check out that <input type="hidden" thing, but I just wonder if me storing my template files in database instead of filesystem would be a problem...

[EDIT] Ok, now I am seeing the dropdown box, but it is empty... What could be the problem?
User avatar
IBBoard
Registered User
Posts: 543
Joined: Wed May 25, 2005 9:02 pm
Location: Worcestershire, UK

Re: MultRace Rank Themes

Post by IBBoard »

Database storage for templates is a bit strange. It's not something I've seen how to do before.

As for the empty list, in what way is it empty? If there is a single option with no text then it sounds like you have a blank language for "default theme" (or something strange is happening with some kind of database caching if you have that as well). If it is just showing the default theme and nothing else then the most likely cause is that you either haven't added any rank themes or the ones you have added haven't been made public.
csp4.0
Registered User
Posts: 56
Joined: Tue Feb 26, 2008 5:32 am
Location: Holy Terra

Re: MultRace Rank Themes

Post by csp4.0 »

I've reverted to normal storage in filesystem, and it still doesn't work...

I have three different rank themes (IG, SM, and SG)

All are set on "public rank theme" but it still doesn't show anything... Well, I might try and re-installing the mod again on filesystem this time...
User avatar
IBBoard
Registered User
Posts: 543
Joined: Wed May 25, 2005 9:02 pm
Location: Worcestershire, UK

Re: MultRace Rank Themes

Post by IBBoard »

At the very least, even if it doesn't pick up any other public schemes, it should still add 'default' to the list. If it isn't even doing that then it implies either a) the template isn't correct or b) the variable that is used in the .php file to set the value in the template has been incorrectly set and is empty.

If it happens again after a re-install then can you please post the relevant UCP template file so I can have a look at it.
tbanister
Registered User
Posts: 2
Joined: Tue Jun 10, 2003 10:39 pm

Re: MultRace Rank Themes

Post by tbanister »

This is exactly the mod I have been waiting on for quite some time now! Before, I had a similar mod on my 2.0.x site and the users simply loved it. They have been asking when the new version was coming - so thanks you so much for putting this all together.

I downloaded this mod and attempted to install it on my testing forum but so far - no luck. I'll double check each of the edits tonight when I get home but for now - when I try to go into a post - I simply get a blank screen. Same thing goes for when Itry to go into the Admin panel. So its obvious that I've screwed things up somewhere.

My test board is a clean install of 3.0.1 with only edits to the custom style. No edits/mods to the main section of the php pages. My main board is also a 3.0.1 site and it only has 3x small mods so incorporating this into it won't be hard once I get the test environment working.

So my question is - does anyone have have this mod installed and working on a clean copy of 3.0.1? If so, is there any way you would be willing to email me a copy of the pages that were edited? I'm willing to pay for your time. I want to get this feature working as soon as possible and I'd rather pay someone than to mess around hunting for something that I brainlessly did.
csp4.0
Registered User
Posts: 56
Joined: Tue Feb 26, 2008 5:32 am
Location: Holy Terra

Re: MultRace Rank Themes

Post by csp4.0 »

IBBoard wrote:At the very least, even if it doesn't pick up any other public schemes, it should still add 'default' to the list. If it isn't even doing that then it implies either a) the template isn't correct or b) the variable that is used in the .php file to set the value in the template has been incorrectly set and is empty.

If it happens again after a re-install then can you please post the relevant UCP template file so I can have a look at it.
Ok, re-installing now...

But before I re-install, do I need to manually add a "UCP Custom Profile Fields"? It doesn't say in the instructions, but better an answer than nothing...
User avatar
IBBoard
Registered User
Posts: 543
Joined: Wed May 25, 2005 9:02 pm
Location: Worcestershire, UK

Re: MultRace Rank Themes

Post by IBBoard »

No, it doesn't use the custom fields, partly because there's a lot of additional checking and variation that could go on. You should just need to add the PHP code that constructs the list or creates a hidden <input> tag and then add the code to your template.
csp4.0
Registered User
Posts: 56
Joined: Tue Feb 26, 2008 5:32 am
Location: Holy Terra

Re: MultRace Rank Themes

Post by csp4.0 »

Op, re-installed and it works perfectly, not sure what the problem is though, could be human error, or because template files were stored in database... Oh, well! Works! and it works without error with your other mod too!
User avatar
IBBoard
Registered User
Posts: 543
Joined: Wed May 25, 2005 9:02 pm
Location: Worcestershire, UK

Re: MultRace Rank Themes

Post by IBBoard »

Glad you got it working :) Hopefully it wasn't the database templates that caused the issue as that would be imply there is something that's a bit file template specific. TBH I'd expect pre-compiled template files to be more efficient than databases and more queries anyway.
Beanman1
Registered User
Posts: 18
Joined: Sun Jan 07, 2007 8:58 am

Re: MultRace Rank Themes

Post by Beanman1 »

Does this mod do the same thing as this 2.0x Mod?

http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a

If so, this is just what I'm looking for.
User avatar
IBBoard
Registered User
Posts: 543
Joined: Wed May 25, 2005 9:02 pm
Location: Worcestershire, UK

Re: MultRace Rank Themes

Post by IBBoard »

No. That's a "multiple special ranks" mod, this is a "multiple rank themes" mod. It is a 3.x version of digiTsai's Ranking Themes and Custom Title mod (minus the custom title bit)
Beanman1
Registered User
Posts: 18
Joined: Sun Jan 07, 2007 8:58 am

Re: MultRace Rank Themes

Post by Beanman1 »

So what I'm using lets you choose 3 seperate special ranks where your mod lets people choose a predefined set of 3 ranks?
User avatar
IBBoard
Registered User
Posts: 543
Joined: Wed May 25, 2005 9:02 pm
Location: Worcestershire, UK

Re: MultRace Rank Themes

Post by IBBoard »

The mod you're using (from what I read) lets you set any number of special rank images that will be specifically assigned to a given person. My mod lets you create any number of rank "themes" (which are different sets of normal rank images) that users can choose between. You can check here to see what I mean about themes.

Return to “[3.0.x] MOD Database Releases”