Profile toggle not working anymore
+2
Take Notes
ifelthope1126
6 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Profile toggle not working anymore
First topic message reminder :
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Safari
Who the problem concerns : All members
When the problem appeared : Today.
Forum link : http://sunset.forumtwilight.com and http://testforum.lithuanianforum.net/
Today me and my forum members have noticed, that profile toggle isn't working on our forums anymore. It's working, but not how it used to before. This is my previous topic, where you can see, what tutorial and what codes I've used. No new codes were added or edited and no templates were modified since when I've installed these codes. These codes made some of the profile fields to be hidden and seen only by pressing the button, and some of the fields to remain always visible. Now all the fields are invisible and we can see them only when we press the button. I've tested it on all possible devices (laptop, iPhone, iPad) and browsers (Google Chrome, Mozilla Firefox, Safari). It just doesn't work for no one, no matter on which device or browser they log in to forum.
Let me know, if you need more explanations on my problem or screenshots
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Safari
Who the problem concerns : All members
When the problem appeared : Today.
Forum link : http://sunset.forumtwilight.com and http://testforum.lithuanianforum.net/
Description of problem
Hello!Today me and my forum members have noticed, that profile toggle isn't working on our forums anymore. It's working, but not how it used to before. This is my previous topic, where you can see, what tutorial and what codes I've used. No new codes were added or edited and no templates were modified since when I've installed these codes. These codes made some of the profile fields to be hidden and seen only by pressing the button, and some of the fields to remain always visible. Now all the fields are invisible and we can see them only when we press the button. I've tested it on all possible devices (laptop, iPhone, iPad) and browsers (Google Chrome, Mozilla Firefox, Safari). It just doesn't work for no one, no matter on which device or browser they log in to forum.
Let me know, if you need more explanations on my problem or screenshots

Last edited by ifelthope1126 on May 12th 2016, 11:48 am; edited 1 time in total
Re: Profile toggle not working anymore
Hopefully I can look into this more soon, I'm still a little confused on what the issue exactly is and I have not that juch time to spare.
Take Notes- Helper
-
Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: Profile toggle not working anymore
Yeah, it would be very nice if you looked into my problem. When you'll have time, of course. Until then I'll just keep bumping this topic, so maybe others would help too. I'm afraid I don't have screenshots of how it used to be like before the code stopped working. When you'll need more information, I'll try my best to explain what's the problem, but since english is not my first language, it could be hard

Re: Profile toggle not working anymore
Hi,
It appears that the regular expression in the filter function needs to be tweaked. Give the following script a try.
OR replace
in your scripts with
It appears that the regular expression in the filter function needs to be tweaked. Give the following script a try.
- Code:
$(function() {
var fields = ['Vardas', 'Amžius', 'Miestas', 'Raštingumas', 'Antras ir t.t. veikėjas', 'Veidukas', 'Credit', 'Priflūdinta', 'Įkandimai', 'Su mumis nuo'];
$('.post .user-info').each(function() {
for (var i = 0; i < fields.length; i++) {
$(this).find('.profile-field .label').filter(function() {
return $(this).text().replace(/ : $/, '') == fields[i];
}).parent().insertBefore($(this).parent().find('.toggle-trig'));
}
})
});
OR replace
|
|
Re: Profile toggle not working anymore
Topic solved and archived


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 2 of 2 • 1, 2

» Forum Widgets Toggle not working.
» How to get Category Toggle working on PHPBB3?
» Hovering Over Usernames not working anymore
» Profile toggle
» search isn't working like it used to anymore...
» How to get Category Toggle working on PHPBB3?
» Hovering Over Usernames not working anymore
» Profile toggle
» search isn't working like it used to anymore...
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum