PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 20th, 2012, 12:38 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Location: WA
Posts: 134
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 ??
South Fork is offline   Reply With Quote
Old March 20th, 2012, 07:34 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 20th, 2012, 04:21 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Location: WA
Posts: 134
Admin & guest view..
Code:
Content visible to verified customers only.
Regular signed in member..
Code:
Content visible to verified customers only.
Attached Images
File Type: jpg gallery1.jpg (42.5 KB, 26 views)
File Type: jpg gallery2.jpg (45.4 KB, 25 views)
South Fork is offline   Reply With Quote
Old March 20th, 2012, 04:41 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 20th, 2012, 05:21 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Location: WA
Posts: 134
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.
South Fork is offline   Reply With Quote
Old March 20th, 2012, 05:39 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
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.
$numstyle is the style_id field in the xenforo user table. $default style is the option in your xenforo option table for the defaultStyleid option_id field.

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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; March 20th, 2012 at 06:23 PM.
Chuck S is online now   Reply With Quote
Old March 20th, 2012, 06:22 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Location: WA
Posts: 134
They do have the EXACT same username. It's the user ID that's off between the forum and gallery.

Quote:
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.
Style value in the users settings:
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.
South Fork is offline   Reply With Quote
Old March 20th, 2012, 06:33 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
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.
You would have to provide explicit information for me to comment further. Remember your telling me a logged in user is using a specific number style this means the user has to have that style set to this. We are not going to be pulling that number out of a hat.

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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; March 20th, 2012 at 06:41 PM.
Chuck S is online now   Reply With Quote
Old March 20th, 2012, 07:48 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Location: WA
Posts: 134
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.
South Fork is offline   Reply With Quote
Old March 20th, 2012, 10:13 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 21st, 2012, 12:05 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Location: WA
Posts: 134
Looks like a owe someone a big fat THANK YOU!

Thank you, Chuck.

Chris
South Fork is offline   Reply With Quote
Old March 21st, 2012, 07:02 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
All about knowing what site it is really is
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cookie settings 7.01 jdougher Photopost Pro How Do I...? 1 January 30th, 2010 06:09 PM
Sorting now inconsistent after upgrade dpnow Photopost Pro How Do I...? 7 March 20th, 2009 07:44 AM
Inconsistent thumbnails? dpnow Photopost Pro Bug Reports 2 January 24th, 2007 08:35 PM
pp settings JenW Photopost Pro Installation & Upgrades 1 August 13th, 2006 09:58 AM
Gallery Layout instead of forum layout? tyranny Before You Buy 2 October 20th, 2005 04:27 PM


All times are GMT -5. The time now is 07:43 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0