Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   enbeling class (http://www.bvlist.com/showthread.php?t=11891)

torchwood 20th December 2018 15:29

enbeling class
 
hi wonderd if anyne knows on v3 how to enable class features like avatar uploading

Napon 20th December 2018 15:36

1 Attachment(s)
Make folder call it bucket then CHMOD it too 0777 it must be before root files
better still download this one and CHMOD it too 0777


CHMOD it too 0777 bucket
CHMOD it too 0777 avatar

torchwood 20th December 2018 15:43

i have the file already but avatar problem still

Napon 20th December 2018 16:02

ok


usercp upload it there

torchwood 20th December 2018 16:06

1 Attachment(s)
as asked

Napon 20th December 2018 16:08

If you need a host for your image, try our Bitbucket.



ok go to usercp where u see Bitbucket then upload it there this will work

torchwood 20th December 2018 16:15

what i mean is when i go to put avatar in i get this message




Sorry - Avatar changing disabled to your current user class

Napon 20th December 2018 16:17

ok go to setting in tools look for it and set yes...or may be the bucket folder is in the wrong place to upload it

torchwood 20th December 2018 16:24

class cnfig doesnt open a page so there isnt a option to config userclass

Napon 20th December 2018 16:30

In MYPHPADMIN you will have this



`avatar` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`av_w` smallint(3) unsigned NOT NULL DEFAULT '0',
`av_h` smallint(3) unsigned NOT NULL DEFAULT '0',
`avatars` enum('yes','no') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'yes',
`offavatar` enum('yes','no') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'no',


Now have you adder a class user to the code like owner or something if you have you need too flush the memcach too and set your self up with yes to everything too

Also have you installed the ACP Via the SSH too
By using this in the SHELL To flush memcach
Assume memcached is listening at port 11211 of localhost
Use the following simple command to flush all data:
echo "flush_all" | nc 127.0.0.1 11211
In fact, you can also issue other commands as well, e.g.
echo "stats" | nc 127.0.0.1 11211

Also in the config you have
$INSTALLER09['bucket_allowed'] = 0;
$INSTALLER09['bucket_dir'] = ROOT_DIR.'/bitbucket'; // must be writable for httpd user

ACP

http://www.tecmint.com/install-apc-a...centos-fedora/


yum install php-pear php-devel httpd-devel pcre-devel gcc make
pecl install apc
echo "extension=apc.so" > /etc/php.d/apc.ini
service httpd restart
OR
/etc/init.d/httpd restart


// Show all information, defaults to INFO_ALL
phpinfo();

?>

yum install php-pear php-devel httpd-devel pcre-devel gcc make
pecl install apc
echo "extension=apc.so" > /etc/php.d/apc.ini
Memcach INSTALL

rpm -Uvh http://dl.fedoraproject.org/pub/epel...5-4.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/enterp...-release-5.rpm

yum install memcached
configure

nano -w /etc/sysconfig/memcached
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="512"
OPTIONS=""


set to start on boot and start

# Set Memcached to start automatically on boot
chkconfig memcached on
# Start Memcached
/etc/init.d/memcached start


now Memcache Module and PHP
yum install php php-pecl-memcache
yum install php php-pecl-memcached


restart httpd

/etc/init.d/httpd restart


All times are GMT +2. The time now is 07:04.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.