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 > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 5th, 2005, 12:50 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2003
Posts: 16
Usergroup refresh bug with RP and PhpBB

Quote:
I have Photopost 5.02 and ReviewPost 2.9 Running against PhpBB 2.0.11 user registration system and forum.

When I added a group in PhpBB and went to Photopost to refresh, the Admin and Anonymous usergroup was erased and only the new usergroup remained. In the process it locked me out of the admin function totally.

I had to restore the usergroup table to get it back to normal.

Almost the same happens with Reviewpost. But it flashed something about table or something missing (it was too quick to read).

Is there a fix for this?

Thanks
Petr

Quote:
Originally Posted by omegatron
I see the issue me taking a baseball bat to Michael LOL

In phpbb2.php find this in the import usergroups function

//$query = array();
//$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('1','Anonymous','','','','','','',0,0,0,0,0,0)";
//$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('2','Admin',1,1,1,'','','',1,1,1,1,0,1)";
//$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('3','Regular Users','',1,1,'','','',1,1,0,1,0,0)";

//for ( $x=0; $x < count($query); $x++) {
// $iquery = $query[$x];
// $setup = mysql_query($iquery, $link);
// if ( !$setup ) print "<b>Error: ".mysql_error()."</b><br />";
//}

uncomment all the lines like so

$query = array();
$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('1','Anonymous','','','','','','',0,0,0,0,0,0)";
$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('2','Admin',1,1,1,'','','',1,1,1,1,0,1)";
$query[] = "INSERT INTO {$Globals['pp_db_prefix']}usergroups VALUES ('3','Regular Users','',1,1,'','','',1,1,0,1,0,0)";

for ( $x=0; $x < count($query); $x++) {
$iquery = $query[$x];
$setup = mysql_query($iquery, $link);
if ( !$setup ) print "<b>Error: ".mysql_error()."</b><br />";
}


Thanks, that fixed the bug for Photopost. Although it has the annoying resetting of existing usergroup settings. Also mentioned here:
http://www.photopost.com/members/for...d.php?t=113289


But I still have a problem with Review post. Can you please look into that for me?

THanks
Petr
petr55 is offline   Reply With Quote
Old April 6th, 2005, 08:17 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
ReviewPost doesn't work the same as PhotoPost with regard to usergroup settings; RP uses the "old" code of deleting usergroups and resetting them to the default requiring you to re-enter the values you had in place.

In an update we'll look to add in the saving of data during importing.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
5.2 Bug: Random images on main page do not change on refresh(NOT A BUG) South Fork Photopost Pro Bug Reports 3 October 4th, 2005 09:52 PM
5.13 Usergroup refresh - loss of info(FIXED) mjm Photopost Pro Bug Reports 5 August 8th, 2005 07:34 PM


All times are GMT -5. The time now is 08:54 PM.

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