Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
Reply
  #1  
Old 20th December 2018, 15:29
torchwood torchwood is offline
Member
 
Join Date: Sep 2018
Posts: 11
Default enbeling class
hi wonderd if anyne knows on v3 how to enable class features like avatar uploading
Reply With Quote
  #2  
Old 20th December 2018, 15:36
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
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
Attached Files
File Type: rar bucket.rar (2.0 KB, 3 views)
Reply With Quote
  #3  
Old 20th December 2018, 15:43
torchwood torchwood is offline
Member
 
Join Date: Sep 2018
Posts: 11
Default
i have the file already but avatar problem still
Reply With Quote
  #4  
Old 20th December 2018, 16:02
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
ok


usercp upload it there
Reply With Quote
  #5  
Old 20th December 2018, 16:06
torchwood torchwood is offline
Member
 
Join Date: Sep 2018
Posts: 11
Default
as asked
Attached Files
File Type: php usercp.php (29.9 KB, 2 views)
Reply With Quote
  #6  
Old 20th December 2018, 16:08
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
If you need a host for your image, try our <a href='{$INSTALLER09['baseurl']}/bitbucket.php'>Bitbucket</a>.</font>



ok go to usercp where u see Bitbucket then upload it there this will work
Reply With Quote
  #7  
Old 20th December 2018, 16:15
torchwood torchwood is offline
Member
 
Join Date: Sep 2018
Posts: 11
Default
what i mean is when i go to put avatar in i get this message




Sorry - Avatar changing disabled to your current user class
Reply With Quote
  #8  
Old 20th December 2018, 16:17
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
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
Reply With Quote
  #9  
Old 20th December 2018, 16:24
torchwood torchwood is offline
Member
 
Join Date: Sep 2018
Posts: 11
Default
class cnfig doesnt open a page so there isnt a option to config userclass
Reply With Quote
  #10  
Old 20th December 2018, 16:30
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
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

<?php

// 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

Last edited by Napon; 20th December 2018 at 16:50.
Reply With Quote
The Following User Says Thank You to Napon For This Useful Post:
papad (20th December 2018)
Reply

Tags
class , enbeling

Thread Tools

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 On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 20:23. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.