It looks like you're new here. If you want to get involved, click one of these buttons!
My Vanilla install allows me (keyholder) to change my picture. However it doesn't allow members to do this.
Is there a permission which gives the users an option to change their picture?
Members signing up via Twitter adopt the avatar from there and can't change their picture either. There isn't an option on their profile.
Answers
Thanks 422 - but which one do I check? is it Profile > Edit?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •actually I apologise this should be set by default.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I thought so - did a forum import (BBPress) and all permissions were wiped so had to redo them.
Maybe that caused it? I'll try hunt for a fix.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Your uploads folder is chmod 777 isnt it? Must be if you can change your avatar
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •yep, no issues with the uploads folder it's 777.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Can regular users edit anything else in their profile? There should be an Edit my Account link, Preferences, etc.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Yes, all options are there except Add/Change picture.
Here's a screenshot with my profile (keyholder) and one of my test account (as regular member)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Has that MEMBER authenticated their account by clicking in email ? to Activate ??
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Also, perhaps disable ALL plugins and test until you find out the issue. I am betting its whosonline issue ( clash )
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Everyone's had to reset password to get access to the forum. That account in particular followed that route as it was transferred over.
I have the Gravatar plugin active and that profile does have one assigned. It appears when posting, but not in profile.
Another member has no gravatar on hers and she can't add an avatar either, neither can a profile I set up using Twitter to register.
I disabled Who's Online and Gravatar but the issue remained (on my test account). I'll try the others.
Funnily enough, the 'erralogin' account has a dashboard link, is it supposed to? it doesn't have a mod/admin/keyholder status.
One thread here said to delete 'userpics' folder from the uploads directory. i did, problem remained...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Does user have confirm email ticked , under users in dashboard.
Just a stab in the dark now
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I don't see 'confirm email' in the users area. The table of users says "Username Email Roles First Visit Last Visit Last IP Options"
That said I do have the option to change users' pics for them.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://yourdomain.com/forum/dashboard/user
Should be a column Roles
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Roles column just has the Member or other there. Blurred out IP and emails.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Me thinks you have a db column missing or malfunctioned during transport of users to new forum.
@x00 is probably best suited to answer this
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Magic. Hopefully he'll know a wee bit more but much thanks to you. I'll set up another vanilla forum and have a look at the database and see if I can notice any differences.
- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •If its any benefit.
We upload ZIP to our filemanager in cPanel. ( Once only Job )
Then go in via cPanel > Filemanager > Unzip the forumzip eg vanilla_2.0.1.82.zip
Then setup dB
Then via ftp, change name of unzipped Forum Folder, to whatever. Do config stuff, and voila.
I can roll off hundreds of forums an hour if I want. Makes life much easier for doing dev work
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Cheers - shouldn't take too long to set one up. I do that way too as it's far quicker to unzip on server than load folder of hundreds of files up.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •In fact sorry, edited again. Was talking mince. Looking to see what's what here.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I reckon your on the right track.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Right, I can see that when I moved the users in, all the roles were reset. i had to edit these to make them 'normal' again and grant them all permissions.
What if I take the 'standard' roles from the 'new' dB I made from the fresh install, and overwrote the ones on the site with them (the ones which were wiped)?
There's a clear difference in them in the database as shown in SS below.
Only thing holding me back is the 'fresh' install doesn't have a keyholder role? I assume that was a role from conversion where I had to name my admin account.
I could do this by SQL. Just have to brush up on it. lol - or export it and choose the options to write, if I remember right.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •My sql skills are very limited. Send x00 a message, or Todd , Tim or Lincoln.
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Will do. Used SQL to replace roles with default ones. All members now don't have a role, there was a way to fix that and had used it before - still can't find it in the forums but will. Still, if I make a user a 'member' they still can't add/change photo...
@x00 can you shed any light on this?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •You have got curl enabled ?
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Used method in this link: http://vanillaforums.org/discussion/18042
To assign all users as 'members' but still not able to add a picture.
I'll check now, i'm pretty certain it is.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •userpics is writeable ?
in db for GDN_User what is in photo column for your users ? just null ?
SHould be set at: Photo varchar(255)
422 Real Estate Australia , now open Check it out
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •yes - all of them are 'null' except mines, which has the file of my avatar
is that what i'd replace 'null' with, 'Photo varchar(255)'? or just 'varchar(255)'
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •My SQL is rustier than the Titanic's hull, would this query do the job?
UPDATE GDN_User SET Photo = REPLACE(Photo, 'NULL', 'varchar(255)')Edit - it doesn't work. i've tried putting Photo varchar(255) in to the Photo field of that profile in the database (replacing NULL) and it shows an image (well, an image which can't be displayed in Internet Explorer, with red cross) but still no option to alter.
It seems to think that's an image path, as I checked the image source.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Look at the contents of the "photo" field in the "GDN_User" table of a user that has a working foto.
Compare those contents to the field of a user that has the non-working foto
You will probably see that the contents of the non-working foto is exactly the text 'varchar(255)' and that it should be something else, for example 'onlyanexcuse.jpg'
Figure out exactly what you want to do and it will be easily fixable, but from what I can see in this thread I cannot help you yet.
By the way : varchar(255) is a fieldtype and the length of that fieldtype, it's not something you want to put in a database field ('Photo'), because that does not make sense.
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme | Give thanks to the Vanilla Developers!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •