Yeah I have and I see just exactly what you originally posted that is which means you have taken out the code I gave you. I made a mistake in the code posted above, this
should be this
Code updated....again.
Genders MOD rank title problem!
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
-
- New member
- Posts: 29
- Joined: 01 Jun 2012, 23:11
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
RE: Genders MOD rank title problem!
Ah yes, that's because I had replaced the file with the original since it didn't work with the edits BUT...
...it seems to be working now (after correcting the text like above)! I'll just look around a bit more to make sure nothing's affected.
Thank you. I'll keep my promise. Provide me a paypal e-mail of yours? (or would you prefer me to become a donor here - idk how much is the subscription for that?)
...it seems to be working now (after correcting the text like above)! I'll just look around a bit more to make sure nothing's affected.
Thank you. I'll keep my promise. Provide me a paypal e-mail of yours? (or would you prefer me to become a donor here - idk how much is the subscription for that?)
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
RE: Genders MOD rank title problem!
There is a link in my sig you can use or you can use the donate link in the header. Choice is yours and the minimum amount to be a donor is $10.00 IIRC.
-
- New member
- Posts: 29
- Joined: 01 Jun 2012, 23:11
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
RE: Genders MOD rank title problem!
Cool. I'll load my visa tomorrow or on Friday and I'll go with the second I think. Thank you again.
-
- New member
- Posts: 29
- Joined: 01 Jun 2012, 23:11
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
RE: Genders MOD rank title problem!
I'm sorry to bug you again about this but I've just noticed that for normal users the problem persists
Look: http://ilsa.netau.net/viewtopic.php?f=2&t=13&start=20
Mouseover on the admin rank and the title is finally normal.
Mouseover on the normal user's rank (those stars) and it is still triple. Weird huh?
Look: http://ilsa.netau.net/viewtopic.php?f=2&t=13&start=20
Mouseover on the admin rank and the title is finally normal.
Mouseover on the normal user's rank (those stars) and it is still triple. Weird huh?
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
RE: Genders MOD rank title problem!
No it's not weird, look at the else statement after the code given.
-
- New member
- Posts: 29
- Joined: 01 Jun 2012, 23:11
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
RE: Genders MOD rank title problem!
Erm...so I understand I should include functions_genders.php in there like before and modify rank title and img like before and I'll try it although I'd prefer to avoid an uncertain experiment...Thanks.
-
- New member
- Posts: 29
- Joined: 01 Jun 2012, 23:11
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
RE: Genders MOD rank title problem!
Lol...well as much as I like your approach and the wisdom within the chinese proverb, this couldn't have been a worse period for me to learn for a number of reasons (love, upcoming exams of next week, etc. trivial stuff of life). I'd just like to remove this little one (the site project in general I mean) from my list of things to do (I've already added quite a lot to my knowledge on phpBB, php and jquery).
Anyway, I did one quick pathetic try yesterday:
1. I moved the include for functions_genders.php outside the "if", thus enabling it for the "else if" block too.
2. I put "$rank_title" for the image's alt and title and
3. I replaced the rank title like this: $rank_title = get_user_gender_rank($rank_title, $user->data['user_gender']);
Nothing interesting happened
Any help?
Anyway, I did one quick pathetic try yesterday:
1. I moved the include for functions_genders.php outside the "if", thus enabling it for the "else if" block too.
2. I put "$rank_title" for the image's alt and title and
3. I replaced the rank title like this: $rank_title = get_user_gender_rank($rank_title, $user->data['user_gender']);
Nothing interesting happened
Any help?
-
- New member
- Posts: 29
- Joined: 01 Jun 2012, 23:11
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Genders MOD rank title problem!
That works nicely, thanks! However, it's not fully fixed yet.
If you visit any usergroup via the legend's links (of the whois online), there's still the group rank image next to the "Group name" and "Group description" at the "Usergroup information" which doesn't produce a correct title :/
If you visit any usergroup via the legend's links (of the whois online), there's still the group rank image next to the "Group name" and "Group description" at the "Usergroup information" which doesn't produce a correct title :/
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Genders MOD rank title problem!
I don't believe anything changed in 3.0.9 that affected group ranks. I think it was there all along.
-
- New member
- Posts: 29
- Joined: 01 Jun 2012, 23:11
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Genders MOD rank title problem!
I've spotted another page which needs editing. The groups_page.php of this mod of yours [url=https://www.phpbb.com/customise/db/mod/groups_page_mod/]Groups Page Mod[/url].
So um...what could the edits be there?
So um...what could the edits be there?
Return to “Modders MOD support”
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 53 guests