![]() |
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. |
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 |
Under usergroup options in admin section you can limit the filesize and diskspace on any usergroup you have. |
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. |
anonymous has also gone. |
You should have 3 usergroup entries at a minimum In your usergroups table of Photopost what inserts are there? |
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. |
HMM so it cached admin but not the other two |
hhhMM is a very good answer :p i have 11 usergroups... These are missing: annoymous regular users admin |
Okay so the new cache is not working at all then |
Okay well you will need to use phpmyadmin and insert those groups back in Code: Content visible to verified customers only.Code: Content visible to verified customers only. |
OK... where do I find the file import usergroups? My sql bit is done. |
okay sorry edit in your forums subdirectory phpbb2.php and replace the function with the one I posted |
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. |
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. |
|
sent it by email |
| All times are GMT -5. The time now is 07:54 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0