2015-07-01, 06:47 PM
i am trying to edit these two things
PHP Code:
i repalced this code
to this
then i ran this query
also uploaded to files avatar_male.png and avatar_female.png
but now i cant see any image to my profile, i want to add male female profile pic to everywhere like UCP , profile etc.
now second problem,
i want an affiliate system for referall registeration by which if user registered by any referall then he will earn some amount of money.. if there is any plugin for that then please tel me
bump...... please reply.....
- male/female avatar
- Affiliates
PHP Code:
i repalced this code
"avatar" => $db->escape_string($user['avatar']),
"avatartype" => $db->escape_string($user['avatartype']),
to this
"avatar" => 'images/avatar_'.strtolower($user['profile_fields']['fid3']).'.png',
"avatardimensions" => '100|100',
"avatartype" => 'gallery',
then i ran this query
UPDATE `mybb_users` SET `avatar` = './images/avatar.png' WHERE `avatar` = ''
also uploaded to files avatar_male.png and avatar_female.png
but now i cant see any image to my profile, i want to add male female profile pic to everywhere like UCP , profile etc.
now second problem,
i want an affiliate system for referall registeration by which if user registered by any referall then he will earn some amount of money.. if there is any plugin for that then please tel me
bump...... please reply.....