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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 26th, 2005, 03:57 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
Registered user

We used to have registered users in the "usergroup" area.

How do I limit my registered users to the amount that they can post.
Having nearly 3000 members will take a lot of work adding them to a usergroup.

Any suggestions please.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 09:02 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
Hi..

Wouldn't this be simply a case of editing your 'registered' usergroup for 'Daily Upload Limit (# of files)' and adjusting that accordingly? (Alloted Diskspace etc etc)

-T
b6gm6n is offline   Reply With Quote
Old May 26th, 2005, 09:04 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Under usergroup options in admin section you can limit the filesize and diskspace on any usergroup you have.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2005, 09:50 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
That i know.
previously the software automaticaly had "regular users". set up in phpbb2 version of gallery. That is no longer there in this new version so I have no control over it. Do you understand what Iam trying to say now??? I hope I have explained it ok.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 09:51 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
anonymous has also gone.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 10:47 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
You should have 3 usergroup entries at a minimum

In your usergroups table of Photopost what inserts are there?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2005, 10:54 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
I have quite a lot of usergroups in my forum and it has pulled them all over ecept anoymous and reged users over. Looking at the tables in phpmyadmin... they are not in there either.

the problem only happened when I refreshed usergroup.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 10:56 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
HMM so it cached admin but not the other two
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2005, 10:57 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
hhhMM is a very good answer

i have 11 usergroups...

These are missing:
annoymous
regular users
admin

Last edited by garybrun; May 26th, 2005 at 11:10 AM.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 11:03 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Okay so the new cache is not working at all then
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2005, 11:15 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Okay well you will need to use phpmyadmin and insert those groups back in

Code:
Content visible to verified customers only.
Now use this import_user_groups function and see if it works

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 offline   Reply With Quote
Old May 26th, 2005, 11:27 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
OK... where do I find the file import usergroups?

My sql bit is done.

Last edited by garybrun; May 26th, 2005 at 11:30 AM.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 11:39 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
okay sorry edit in your forums subdirectory phpbb2.php and replace the function with the one I posted
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2005, 11:52 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
OK... parse error in 514.


$query = "DELETE FROM {$Globals['pp_db_prefix']}usergroups";
$resulta = ppmysql_query($query, $link);

foreach ($currentGroups as $currentGroup) {
$gid = $currentGroup['groupid'];
$name = addslashes($currentGroup['groupname']);
$cpaccess = $currentGroup['cpaccess'];
$uploads = $currentGroup['uploads'];
$comments = $currentGroup['comments'];
$diskspace = $currentGroup['diskspace'];
$uploadsize = $currentGroup['uploadsize'];
$uploadlimit = $currentGroup['uplimit'];
$editpho = $currentGroup['editpho'];
$editposts = $currentGroup['editposts'];
$modaccess = $currentGroup['modaccess'];
$useralbums = $currentGroup['useralbums'];
$reqmod = $currentGroup['reqmod'];
$canassign = $currentGroup['canassign'];

$query = "INSERT INTO {$Globals['pp_db_prefix']}usergroups (groupid,groupname,modaccess,cpaccess,uploads,uplimit,comments,diskspace,uploadsize,editpho,editposts,useralbums,reqmod,canassign) VALUES('$gid','$name','$modaccess','$cpaccess','$uploads','$comments','$diskspace','$uploadsize','$uplimit','$editpho','$editposts','$useralbums','$reqmod','$canassign')";
$setug = ppmysql_query($query,$link);
}
}
ppmysql_free_result( $readug );

} this is 514???

deleted it and it still doesnt work anyway

Would be a lot easier with the full php file.

Last edited by garybrun; May 26th, 2005 at 11:57 AM.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 01:07 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
If you give me an email I can send you the file. I would assume you have not copied and pasted the full function I posted above.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 26th, 2005, 01:10 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Norway
Posts: 118
gary.brun@minelabowners.com

i just copied the function you gave above over the previous function.
garybrun is offline   Reply With Quote
Old May 26th, 2005, 01:13 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
sent it by email
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
after upgrade to PhotoPost 4.86 - registered user cannot upload photos VIPHOSTZONE Photopost Pro Installation & Upgrades 2 February 18th, 2005 02:33 PM
Registered user uploading as Unregistered? izan Classifieds Bug Reports 6 February 2nd, 2005 12:58 PM
how do i allow my registered users to... imported_420 How Do I? - vBulletin 3.0.X 3 January 13th, 2005 12:17 PM
Can Registered Members Do This zenithpub Before You Buy 1 December 6th, 2004 03:51 PM


All times are GMT -5. The time now is 12:34 AM.

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