PDA

View Full Version : [fixed] 2.2.0 Style Problem AGAIN!!!


JTMON
Sat 3rd Nov '01, 10:36am
Well I upgraded to 2.2.0 with seemingly no problems until yesterday when I changed my own style set to a different one, now it seems to come up as the default style set for everyone!!!

I went into my default style and the colors are correct for it but another person is even getting my "dark" style as the default!!

HELLLLP:D

JTMON
Sat 3rd Nov '01, 10:39am
The other person who is seeing this change is also an admin. And if I goto my userCP and change my style selection back to default it also fixes the other persons style choice.


Ugg, I thought we had these style problems fixed?

JTMON
Sat 3rd Nov '01, 10:42am
Ok so if I go into my Admin CP and go into MY user profile and change the style from default to my "dark" style it doesn't change MY actual style!! It leaves the style as "default" but in my UserCP lists that I am using the "dark" one!!

JTMON
Sat 3rd Nov '01, 11:38am
bump

JTMON
Sat 3rd Nov '01, 4:03pm
Should I just put this in as an official support ticket?

Alwaysmefirst
Sat 3rd Nov '01, 4:15pm
Give some time to the moderators/developers! You only posted your first message about your problem 6 hours ago :)

Olly

JTMON
Sat 3rd Nov '01, 4:21pm
Yeah it just irks me, I haven't seen a mod in here today yet and we're supposed to receive "priority" support. Plus, there was a similar issue in 2.0.3 which they fixed but now the issue is the same and just happens in a different way. What I really need to do is spend some time going over the pdf with the table relationships so I can fix it myself:D

Steve Machol
Sat 3rd Nov '01, 5:09pm
Because of travel I haven't upgraded to 2.2.0 yet (just got home last night.). Therefore I can't help you until I find out if I have the same problem on my forums.

eva2000
Sat 3rd Nov '01, 5:12pm
Originally posted by JTMON
Well I upgraded to 2.2.0 with seemingly no problems until yesterday when I changed my own style set to a different one, now it seems to come up as the default style set for everyone!!!

I went into my default style and the colors are correct for it but another person is even getting my "dark" style as the default!!

HELLLLP:D

did you change your own style selection from User CP or did you change the default in admin cp?

did you make sure all styles have user selectable enabled in admin panel?

JTMON
Sat 3rd Nov '01, 5:34pm
All members have had different user styles selected, I changed mine using UserCP and didn't discover the problem until someone else logged into their account from my computer.

Before 2.2.0 I could have a different style for me, the only problem was if I edited a user's profile in AdminCP and they had a different style selected, a known bug.

JTMON
Sun 4th Nov '01, 10:21am
Still having this problem.

I have also verified that all the styles are still set to be user selectable.

Steve Machol
Sun 4th Nov '01, 2:59pm
JTMON,

Now that I've updated to 2.2.0 this user style problem I had in 2.0.3 is gone. I really don't know why it's not working for you. Wish I could help but I don't have any ideas why this is happening to you but not me.:confused:

JTMON
Sun 4th Nov '01, 3:02pm
This is a DIFFERENT problem. This one is "When I change my style using User CP" the default style is changed. This was checked by logging in as another user and the change had been applied to them as well as me.

Steve Machol
Sun 4th Nov '01, 3:11pm
Ok, but this is not happening on my board. I still don't have a clue as to why it's happening for you and not me. Sorry!

Steve Machol
Sun 4th Nov '01, 3:16pm
Oops - I was wrong. This is, in fact, happening on my board too. Sorry about that!

I'm still clueless as to a fix though. Hopefully one of the Developers can take a look at this.

JTMON
Sun 4th Nov '01, 7:10pm
Would anyone happen to know which template or file the code for this problem might be?

JTMON
Mon 5th Nov '01, 3:23pm
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

JTMON
Tue 6th Nov '01, 5:28pm
Still not working and still no reply to my official support ticket put in 3 days ago:(

HELP!!!!:)

JTMON
Tue 6th Nov '01, 10:26pm
Steve has confirmed this is an issue. Can we get this thread moved to the bug forum please?:D

Mike Sullivan
Wed 7th Nov '01, 4:56pm
Go to ..../index.php?styleid=1 . Does that do anything? (You may need to rechange the style in your profile)

JTMON
Wed 7th Nov '01, 6:42pm
It redisplays the index with the default style which is what I have it set to because of the problem of it changing the other users styles.

Mike Sullivan
Thu 8th Nov '01, 5:04pm
Although I don't think we can fix it without major changes, I'll move this to the bug forums.

The issue comes in with what takes precedence: the bbstyleid cookie, or what your user's style is? The only way to deal with that is to set the cookie when you change your style via the user cp. So it's behaving how it's supposed to, but I'm not sure if it's ideal...

JTMON
Thu 8th Nov '01, 5:37pm
But it wasn't doing this before the upgrade to 2.2.0 so surely there must be another way right? Thanks for the move tho!!:D

JTMON
Thu 8th Nov '01, 6:20pm
Originally posted by Ed Sullivan
Although I don't think we can fix it without major changes, I'll move this to the bug forums.

The issue comes in with what takes precedence: the bbstyleid cookie, or what your user's style is? The only way to deal with that is to set the cookie when you change your style via the user cp. So it's behaving how it's supposed to, but I'm not sure if it's ideal...

Also, so it sets a cookie for me. This cookie should not be shared with another user correct? Because it seems that's what is happening.

Franky
Fri 9th Nov '01, 8:25am
Yep this is also happening for me. A fix would be nice asap please :)

Steve Machol
Fri 9th Nov '01, 1:11pm
They're working on it.

John
Tue 13th Nov '01, 8:28pm
I think that this should fix this problem.

member.php, change line 741 to:
vbsetcookie("bbstyleid","",1);

Let me know if this doesn't have the desired effect.

John

Franky
Tue 13th Nov '01, 9:04pm
Nope sorry, same.

JTMON
Tue 13th Nov '01, 10:22pm
Didn't work for me either. Maybe we need to delete the cookie?

If so how can we tell if it's the right one?

Franky
Tue 13th Nov '01, 10:29pm
I've logged out, cleared cookies, the works, but it doesn't make any difference. It definitely has something to do with who is logged in, with a non-logged in user seeing the default colours on my particular forum.

A proportion of users see the correct thing when logged in, and some see these colours. All very strange :confused:

JTMON
Tue 13th Nov '01, 10:31pm
What I am finding is that it hits me when 2 different people on my board use the same pc. Whatever style the first person chooses sets the same style for the other person. I have tested this on 2 different pc's with 2 different users now. ARRGGHH:D

JTMON
Wed 14th Nov '01, 1:14pm
Can we get the fixed tag removed?:D

Franky
Wed 14th Nov '01, 1:15pm
Yeah cos it certainly isn't fixed on my forum.

John
Wed 14th Nov '01, 2:29pm
Also change member.php line34 to:

$DB_site->query("INSERT INTO session (sessionhash,userid,host,useragent,lastactivity,st yleid) VALUES ('".addslashes($session['sessionhash'])."','0','".addslashes($session['host'])."','".addslashes($session['useragent'])."','".time()."','0')");

I think that should finally sort it.

John

JTMON
Wed 14th Nov '01, 2:53pm
BINGO! WOOT!! Great work John and friends!! Thanks a bunch. Works ok now. At first, when I tried to switch styles it dodn't actually switch them, I had to switch to the first style other than default, and then to a different one, and then finally I went back to the first style other than default and it applied.

Franky
Wed 14th Nov '01, 3:33pm
Sorry, but this does still not work for me. Users with no cookie get the default colours and logo, even though the default colours and logo do not exist in either the "default" style set or my custom one!

http://www.frankw.net/network/nthellworld/vbb/

Mike Sullivan
Wed 14th Nov '01, 4:03pm
Franky, your problem is different -- your style table is missing the default style (it seems).

Run this query to add it:

INSERT INTO style VALUES (1, 1, 1, 'Default', 1);

That assumes that you still have a template and replacement set with id = 1. If you don't (or they're not your default), you'll need to login to your control panel and edit the new default style so it's set correctly.

Franky
Wed 14th Nov '01, 7:49pm
Ah thank you kindly :)