PDA

View Full Version : Profile Style MixUp with default & user choice.


K!nG
06-07-2011, 03:37 AM
Hi Everyone.

I am here with this problem tried to look for it in the forums but couldn't figure it out or find out....... On my forum i have a default style such as "Default" and when users even choose different style such as "Custom" everything is just fine but when they go on their profile page outter parts shows their choosed style and inner parts shows default style... I'm also attaching a picture to make it more clear.. As u will be able to see where it says "2" that part should be in blue color as well but its black :(
Any help is appreciated.
Thanks


http://img560.imageshack.us/img560/8277/profileissue.jpg (http://imageshack.us/photo/my-images/560/profileissue.jpg/)

Lynne
06-07-2011, 03:57 AM
If you allow profile customization, and you then set the profile yourself, that is what they will see.

K!nG
06-07-2011, 04:40 AM
Even after disabling profile customization for registered users i still see the same issue.

Lynne
06-07-2011, 04:44 PM
Yes, I know. I was simply saying that if you use profile customization, you need to fix it the way I said to do so. It looks like you have already clicked on your profile customization button and changed it and clicked on Save as Site Default.

K!nG
06-08-2011, 02:00 AM
Thanks lynne for pointing me to right direction eventhough i have to do it one by one for all members :( i guess but thanks :)

Lynne
06-08-2011, 02:54 PM
What do you mean do it one-by-one? Did you, or did you not, go to your own profile, click Customize, change things around and then Save as Site Default?

K!nG
06-08-2011, 09:41 PM
Well i went into my profile change things around and after doing that i was able to see things that weren't clear before but the above problem is still the same... whenever a use select a different style and when they go to their profile they still see the black theme instead of the selected one.

Lynne
06-08-2011, 09:48 PM
If you went in as an admin and did profile customization and set it as the Site Default, then you WILL see that profile on all profile pages no matter what the style chooser says. Just as when someone edits their profile and sets it a certain way, it doesn't matter what style is selected, you will see their customized profile.

K!nG
06-08-2011, 10:41 PM
I did that as admin and saved it as site default now still the problem exists is whenever user change to different style they able to use it but when they go to their profile that still shows them black profile.
If you want i can give u a test user name & password and u can take a look & see wat i am trying to explain :(

Lynne
06-08-2011, 11:14 PM
Yes, I know - that is how it works if you did it via profile customization. If a profile is saved, and you saved one as site default, then it shows like that no matter what style is selected. Unfortunately, the only way to remove your site default is through the database. What is your experience there?

K!nG
06-08-2011, 11:37 PM
Hmmm my experience .. not too good but if u guide me i will be able to do it and all i wanna is that whatever style is choosed by users their profile page should go according to that as well. This is becoming headche for me :P lol I heard 4.1.4 is out is there any fix in that one ???

Lynne
06-09-2011, 02:51 AM
You want to look at the customprofile table. There should be a row where userid = -1. Do you see that row? Delete it and then the profiles will show as normal. However, there is a bug that makes the stylevars not work and that is supposed to be fixed in 4.1.4

As always, before doing anything to your database, make a backup!

K!nG
06-09-2011, 03:45 AM
Hi Lynne.

Thanks for guiding me and i did find that row. I was going to delete that but then i thought to ask you this question ,,,, Since there is a bug that makes stylevars not to work and u mentioned it will be fixed in 4.1.4 , so my question is should i wait for next few days and upgrade to 4.1.4 or go with delete option ?except the fact that its up to me what i wants to do but i am still asking you since u r well aware of it then i am?? Sorry for bugging ya 2 much :)

Lynne
06-09-2011, 01:59 PM
I don't really know. I have done a test upgrade of my test site to the new 4.1.4 yet and so I'm not sure exactly how the profile page has changed. I am fairly certain that you will want to remove that row from the database no matter which version you use.

K!nG
06-10-2011, 04:13 AM
Hi lynne,
I just upgraded to 4.1.4 and i still have the same issue .... so i think i do have to delete that line from database and i guess before doing that i will fix everything on my 4.1.4 and then will delete it over the weekend after doing my backup. If there is anything else u can suggest me i will appreciate that.. Thanks for your help :)

--------------- Added 1307747179 at 1307747179 ---------------

You want to look at the customprofile table. There should be a row where userid = -1. Do you see that row? Delete it and then the profiles will show as normal. However, there is a bug that makes the stylevars not work and that is supposed to be fixed in 4.1.4

As always, before doing anything to your database, make a backup!


Quick question on this one ... i did upgrade n still da same issue now if i do delete that row and something else goes wrong i can add it back on or revert it or something like that or no ????

K!nG
06-11-2011, 11:18 PM
HEy Lynne,

Just wanted to say THANKS for your help in this matter. You always helped me out in hard time :) ** THANKS A LOT **

Lynne
06-12-2011, 03:21 AM
Thank you, you are very welcome. :)