![]() |
Inconsistent layout settings I sign in as the admin as I see the default layout. Visitors who are not signed in see the same. Members who are signed in see something else. Something off with the settings or is there a bug, or ?? |
I do not know what you mean as you are not being very descriptive. If I am admin member or guest I see my site the way I have it set up. |
2 Attachment(s) Admin & guest view.. Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
Okay I see nothing wrong there except for maybe your xenforo style might mess with the category ul li style. Your admin and guess could be viewing the default style and that member might actually be selecting to use a specific style remember we will load a user selected style if they set one otherwise the site default is used. So you have one issue. Maybe in pp-inc.php this style element change from -3 to maybe -1 or 0 all depends what looks best. Code: Content visible to verified customers only. |
That corrected the indent. Thanks. I think I can describe the style issue a bit better now and it's the other way around from what you suggested. While testing the forum I had tested a few styles. After that work was done I had selected the style which I have set as the default style. The members see that layout in the forum but it's defaulted to them and so the users layout choice is (user default style). On the forum side of things, it's fine for them. On the gallery side, they are not seeing that style but something else. I could duplicate it with my admin account by setting my style preference to (user default style). Just to note the overall condition of the gallery right now, in case it's applicable... Right now my gallery seams very similar to this guys experience. I've verified that the user ID's were not adjusted after the re-install and userfix I had you do. |
I can not speak on the authenticity of your imported data when switching an integration as that would be the xenforo import script. As I tell anybody we have a script called userfix which might help you but that requires that a username exists in your forum for the EXACT username that is in your gallery photos or comments tables. We can not guarantee you would be 100% successful when switching an integration as any realignment is only as good as the data that can be found to update it with. Say if you use userfix and the username is JohnB in your gallery and we try and grab a userid based off that username and its not found nothing is going to be updated. The style we show is as I said above. Lets disect it some here. It is a simple if else clause in xenforo.php Code: Content visible to verified customers only.So what that code says is if the user has a default style id set in there user database table meaning it is not 0 then we load that style number otherwise the default style one set in xenforo is shown. So I would suggest you see what data is in the actual tables because the style shown on the gallery for any user is going to be the style they have in there settings and if not it will be the xenforo default one. I applied an indent fix to the 8.03 build. |
They do have the EXACT same username. It's the user ID that's off between the forum and gallery. Quote:
0 - Nothing selected or (use default style set in adminCP) 1 - Default Style (The style that comes with zenForo) 2 - Green-Gray-Light (What is set as the default style in adminCP) If the users setting for xenForo DB table xf_user > style_id is 0 then it should default to the adminCP chosen default style. It doesn't. |
If the userid is off between the forum and gallery then you must make sure your gallery is properly installed to integrate with xenforo and then run userfix to update the userids. If the userids do not match that can only mean userfix has not been ran or userfix is not finding the user info. I will say this again on the style. If a user style id is 0 then the default is used. Your telling me that it 0 and that has to absolutely be incorrect based on what is shown and what your telling me. I can say this with absolute certainty the if clause is posted above shows clearly if $numstyle is 0 then the default style is used. Now maybe your user style id is empty? Maybe try adding the code in bold to the line noted in your xenforo.php file and try that. Code: Content visible to verified customers only.If your dark grey theme is styleid 2 and the member showing the light style is style 1 then that users style_id field has to be set to 1. You can send explicit site info ftp and database information and info on test user if you want me to comment further on the style thing. I have a default xenforo setup here but it only comes with the default xenforo style neither of which is what your showing here with those 2 styles. http://www.omegatron.net/photos/index.php |
Shouldn't I be asking that first bit to you? You installed it to properly integrate with zenforo. And if you did properly install it, how could you / I verify that? I can set "zenforo" as the user registration system, but shouldn't there be the option for zenforo in Integration? Tried the mods to xenforo.php. Neither worked. 1) That dark style is not either of my two styles I have in xenForo. 2) If you're logged in, and select either of my two styles, they are used properly by PP. 3) If you're not logged in, the correct default xenForo style is used by PP. 4) If you're logged in and do not have a style chosen, the default style is not used. That dark style, which is neither of my xF styles, is used by PP. I don't know what explicit information I could provide to make sense of that. |
well an actual link might help. ;) Your having me try and tell you what your issue might be based on your words which is not exactly easy as I answer based on my knowledge of the code and how it works. attachments are not the best means of getting an answer that might assist you. In most cases they may confuse the issue. Your telling me that dark style is not a style in your xenforo then why is it provided as an example? These are the inconsistencies a real actual site link helps. Like I said if you are electing to use the forum style there are only two options here. It will use the xenforo default style or a user selected style from xenforo. |
Looks like a owe someone a big fat THANK YOU! Thank you, Chuck. Chris |
All about knowing what site it is really is ;) |
| All times are GMT -5. The time now is 05:28 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0