 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
June 18th, 2008, 02:58 AM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2006 Location: Los Angeles, CA
Posts: 5
| UBB Threads 7.3 integration problem
I'm running PP Pro V5.62 at the moment and have had it successuflly running (integrated) with UBB Threads V7.2.2 for many many months. Just recently upgraded UBB Threads to V7.3. In that upgrade, an additional User Group called 'Global Moderator' (group id #2) was added to the list. Performed the resync of PP usergroups with the Threads database and that seems to have worked. Both databases show the same User Group ID numbers and corresponding group names.
Now for the problem. Since this upgrade (and added group ID), unregistered 'guests' have the same permissions as 'Users' regardless of the settings of the guests permission settings. Changing the permission settings for 'Users' (group id #4) correctly apply to registered users. However, those settings also apply to 'Guests' (group id #5). Permission settings for group #5 are disregarded. Unfortunately this means that unregistered users can upload images which I do not want. I've had to temporarilly remove user photo upload capability until this is sorted out.
I have a feeling this has something to do with the fact that all of the group ID numbers below 2 shifted down by one as the new group was added. Is there some hard coding in PP that forces the unregistered 'guests' to look at group ID #4?
I'd like to upgrade to 6.1, but need to be assured that this problem has either been corrected in that version.. or we can figure out what's going on.
URL available upon request. HELP! My users are not happy that they can't use the album.
Thanks in advance.
PaulC
|
| |
June 18th, 2008, 08:54 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Yes your Guests and Users groups have swifted in UBBTreads.
What you need to do since we cache the groups already present so you dont lose your settings is you view your forum usergroups and view each one and their numeric ID
Now go to Photopost Usergrroup Editor and in there Make sure the Names are all as they should be. We list groups in order from 1 down. So I beleive now Guests is group 5 now and maybe Users 4.
|
| |
June 18th, 2008, 08:55 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
| |
| |
June 22nd, 2008, 01:41 PM
|
#4 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2006 Location: Los Angeles, CA
Posts: 5
|
Chuck, thanks for the response. I did perform the resync of the PP usergroups with the forum user groups. I have confirmed that the Usergroup order and numbers in the PP database now matches that of the Threads forum. Users are in the 4th position, Guests are in the 5th position. But guests still get permissions of the 4th position.
You mentioned a cache. Is there a way to clear that? Would re-installation help? At this point loosing my settings (assuming it doesn't loose the user/photo relationship) is ok by me. Right now I have a useless photoalbum since my users can't use it.
I can contact you privately to give you admin access if it would help.
|
| |
June 24th, 2008, 11:03 AM
|
#6 (permalink)
| | Junior Member Verified Customer
Join Date: Dec 2006 Location: Los Angeles, CA
Posts: 5
|
Woohoo! That was it Chuck. Sorry, I didn't read the entire thread you linked, so that one post didn't make sense to me. And I didn't find the exact code in that linked post. Instead I found Code: Content visible to verified customers only.
insead of the vbgroups array. But the comment text above that in the code indicated I was in the right spot. Changed the 4 to a 5 and now all is right witht he world!
Thanks Chuck! Moving on to an upgrade now.
Paul
|
| |
June 24th, 2008, 11:18 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Looks to me like your using an old file as the code should be what I am posting
|
| |
November 23rd, 2008, 08:49 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Bern, Switzerland
Posts: 93
|
Hello,
I have a problem under UBB Threads. From version UBB Threads 7.3 no separated permissions are more possible for user and guests! It were changed from UBB Threads 7.3 the Forum Permissions...
Now one can change in PP only the permissions for guests so the also registered user are concerned by it!
I have also tried old versions PP, with the same result. |
| |
November 23rd, 2008, 09:03 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Bern, Switzerland
Posts: 93
|
UBBT v7.2
-- --------------------------------------------------------
--
-- Table structure for table `test_GROUPS`
--
CREATE TABLE `test_GROUPS` (
`GROUP_NAME` varchar(250) default NULL,
`GROUP_ID` int(4) NOT NULL auto_increment,
`GROUP_IS_DISABLED` int(1) unsigned default '0',
`GROUP_CUSTOM_TITLE` tinyint(1) unsigned default '0',
PRIMARY KEY (`GROUP_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Dumping data for table `test_GROUPS`
--
INSERT INTO `test_GROUPS` VALUES('Administrators', 1, 0, 1);
INSERT INTO `test_GROUPS` VALUES('Moderators', 2, 0, 1);
INSERT INTO `test_GROUPS` VALUES('Users', 3, 0, 0);
INSERT INTO `test_GROUPS` VALUES('Guests', 4, 0, 0);
-- --------------------------------------------------------
--
-- Table structure for table `test_USER_GROUPS`
--
CREATE TABLE `test_USER_GROUPS` (
`USER_ID` int(9) unsigned NOT NULL default '0',
`GROUP_ID` int(9) unsigned NOT NULL default '0',
PRIMARY KEY (`USER_ID`,`GROUP_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `test_USER_GROUPS`
--
INSERT INTO `test_USER_GROUPS` VALUES(1, 4);
INSERT INTO `test_USER_GROUPS` VALUES(2, 1);
INSERT INTO `test_USER_GROUPS` VALUES(2, 3);
-- --------------------------------------------------------
UBBT v7.4.1
-- --------------------------------------------------------
--
-- Table structure for table `test_GROUPS`
--
CREATE TABLE `test_GROUPS` (
`GROUP_NAME` varchar(250) default NULL,
`GROUP_ID` int(4) NOT NULL auto_increment,
`GROUP_IS_DISABLED` int(1) unsigned default '0',
`GROUP_POST_COUNT_JOIN` int(11) default NULL,
PRIMARY KEY (`GROUP_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Dumping data for table `test_GROUPS`
--
INSERT INTO `test_GROUPS` VALUES('Administrators', 1, 0, NULL);
INSERT INTO `test_GROUPS` VALUES('Moderators', 3, 0, NULL);
INSERT INTO `test_GROUPS` VALUES('Users', 4, 0, NULL);
INSERT INTO `test_GROUPS` VALUES('Guests', 5, 0, NULL);
INSERT INTO `test_GROUPS` VALUES('GlobalModerators', 2, 0, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `test_USER_GROUPS`
--
CREATE TABLE `test_USER_GROUPS` (
`USER_ID` int(9) unsigned NOT NULL default '0',
`GROUP_ID` int(9) unsigned NOT NULL default '0',
PRIMARY KEY (`USER_ID`,`GROUP_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `test_USER_GROUPS`
--
INSERT INTO `test_USER_GROUPS` VALUES(1, 5);
INSERT INTO `test_USER_GROUPS` VALUES(2, 1);
INSERT INTO `test_USER_GROUPS` VALUES(2, 4);
INSERT INTO `test_USER_GROUPS` VALUES(3, 4);
|
| |
November 23rd, 2008, 11:08 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
The only change for ubbthreads 7.3 that needs to be done for your threads7.php file is this Code: Content visible to verified customers only.
needs to be this Code: Content visible to verified customers only.
|
| |
November 23rd, 2008, 11:09 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
You of course can rename your number 4 group to say Guests in photopost edit usergroups and the number 5 group listed should say Guests. We cache the information so you manually in edit usergroups need to type the new names.
|
| |
November 23rd, 2008, 12:04 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2005 Location: Bern, Switzerland
Posts: 93
|
Now the permissions are a perfect again!
Thanks |
| |
November 23rd, 2008, 04:11 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
Not a problem glad to help out.
|
| |
February 1st, 2009, 06:52 AM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2007 Location: UK
Posts: 11
|
Fix also works for 7.4 |
| |
February 1st, 2009, 12:10 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
yes they redid there groups doing a resync and renaming them and then making the change is valid.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:21 PM. | |