Quote:
This only allows one photo upload per member although I have this set to allow 100 per user in the admin cp....any ideas on what is wrong?
|
You must have mistaken the option in the Admin Control Panel, as there is nothing that allows members to upload more photos in this hack. The only options available via Admin CP are those shown in the following screenshot:
https://vborg.vbsupport.ru/attachmen...&postid=360348
Quote:
Hi, this looks like an excellent hack but could someone tell me if this hack could be restricted so only certain usergroups could use it? Thank you
|
I don't have time to do really any more coding on this hack, but achieving this is very easy. Just use:
PHP Code:
if($bbuserinfo[usergroup] == X){
show_nopermission();
}
Or something similar and place this in the code chunk area in member.php where the main code goes. Just change the X variable to whatever usergroup value you want to restrict.
Quote:
I got this error when uploading a pic
Fatal error: Call to undefined function: imagecreatefromjpeg() in D:\WebPublic\allhiphop\community\gdresize.php on line 5
|
Once again, GD2.0 is
required for this hack to work, and must be enabled with JPG and PNG support.