Author Not Correct
-
Hello,
Here: https://saanamsmind.com when I (admin) make a post it says “Author: Saanj” when it’s really me and not Saanj. I’m logged in as admin but it still says Saanj’s name as the author when I post. Can someone tell me why that’s happening?Thanks a bunch!
-
Check your user settings in Admin->Users, probably your nickname is set to Saanj or something.
748540I have exactly the same problem.
My username doesn’t appear when writing a new post/article in the dropdown. I had to “downgrade” the other two admins to have my username appear on who has written the post. My Nickname isn’t set to any other name though, I checked after finding your post, hotkee.Other option is to edit the database myself to have it show the correct author.
I don’t know if it’s caused by any plugins I’m using, but I disabled ALL and I still have the problem.. even switched back to English thinking the german language file might have to do something with it, but nada.
Any ideas would be greatly appreciated, because it’s a bit weird to write a post and someone else’ name appears *grin*
thanks!
NicoleI would not recommend downgrading.
What exactly does appear under the Settings->Users
and what appears in the post when it is published?
What exactly is the conflict?
748540Thanks for answering, hotkey :)!
What exactly does appear under the Settings->Users
When I click on settings, I have no options for users…. but when I click on users directly (Settings | Plugins | Users) I see a list of my 3 administrators, no other users yet as the site isn’t open yet for our other friends. I’m the admin with user ID 1.
and what appears in the post when it is published?
The Post I wrote and it says
Gepostet am July 14th, 2008 von Aresaran <- Note: my username is Nicole on my blog ??What exactly is the conflict?
I write a new site/article. There is an option called “Post Author” as dropdown menu where I can choose the authors. But only 2 authors appear in the dropdown menu, Aresaran and my other friend’s name. My username is not listed in the dropdown menu. When I publish the page/post, it’s not written by me but by Aresaran, because the name is selected. When I edit it, I can’t choose my own name as well.
I can only change the “written by: Aresaran” by removing the rights from my 2 friends, then no dropdown appears, or I go and open the database and change the post_author directly in the wp_posts table to post_author id 1.It’s like the admin is invisible or something…
*edited to add: checked with different browsers, all the same as well. PHP and MySQL from my host meet the requirements as well.*
thanks again,
NicoleOk well you said you had downgraded so I assume you have not got 2.5.1
Check your Users screen again, edit your own details, there must be something in your options which reads “von Aresaran” – probably ur nickname.
748540Sorry for the confusing, didn’t downgrad at all, this is a wp 2.5.1. What I meant was I had been downgrading the other 2 users from admin to normal user ;).
Wordpress is up to date as all plugins are too. “von” is german and stands for “by”. Aresaran is the other admin.I have made 2 screenshots, maybe this is better *g*
https://anor-en-templa.de/wpusers.gif – where you can see the only 3 existing users
https://anor-en-templa.de/myprof.gif – my userprofile
https://anor-en-templa.de/probwp.gif – where you can see the dropdown menu, admin/Nicole isn’t listed there. Which means I can’t tell WP that I want to have my name as Author, it’s always either Aresaran by default or Irimaelen. I can only change it to Nicole by editing the database.
Btw, I have just been informed by Irimaelen, to her it doesn’t happen, nor Aresaran. When she is making a new article her name is set correctly right away. So it’s only happening to me, the admin.
Thanks for helping though :),
Nicole748540I don’t know if it’s me, but I can’t see my own last posting. In case it got it eaten up I’ll post again, if it turns up twice, I’m sorry.
Hotkee,
I’m truly sorry for confusing you, I had to “downgrade” the 2 admins to normal users to be able to post under my username. WP is up to date, it’s a 2.5.1 install and all plugins are up to date as well.I have made 3 screenshots, this surely explains it a bit better ??
Here is my user profile – no matter if I change the name or Nickname, it doesn’t solve my problem
these are the users the only 3 and all are admins
this is the problem – my username doesn’t show up here at all
I just heard from my other friends that they don’t have these problems. When logging in and attempting to write an article/page, their username is choosen correctly, so it’s only happening to me.
Thanks for helping :),
NicoleMy WordPress installation has the same problem. I had been using the admin account for posting. I set up a ‘flickr’ account to test posting via Flickr.com, and this worked fine, but when logged in as ‘admin’ I was not able to change the author of the items posted from Flickr. The admin account did not appear in the “post author” pulldown menu.
Tonight I renamed the admin user (via SQL, directly in the database), and this made the problem worse. As described above, now every post I create is attributed to the Flickr user.
There is *no* overlap in name or nickname here.
The problem appears to be in the wp_usermeta table. At least in my case, user_id 1 (the former admin user) has no row for meta-key=’wp_user_level’.
The code that draws the Post Author pull-down calls a function
get_editable_user_ids()
, which runs this query:
SELECT user_id FROM wp_usermeta WHERE meta_key = 'wp_user_level' AND meta_value != '0'
My user ID does not appear in the results set, because it has no wp_user_level row.
Probably the only fix is for me to create a new admin user and migrate all my posts to it, and simply abandon the current admin user. What a pain.
Theoretically I could add a row for user_id 1 to give it a wp_user_level in this table, but I don’t know what appropriate values for the rest of the columns are.
Well, I must be getting tired. The query is actually simple, so I’ve just tried it:
insert into wp_usermeta values (null, 1, 'wp_user_level', 10);
This creates the missing ‘wp_user_level’ row for the admin user (user_id 1).
This definitely fixes the immediate problem of the admin user not appearing the Post Author drop-down. Whether it has long-term consequences is another question.
Confirmed here.
recordinghacks’ fix seems to solve the problem for me.I had exactly the same problem after I added a new user. There must be something about the admin user that doesn’t create that row. The sql insert worked perfectly. (It must have something to do with the Admin being able to choose anyone at that author line. While authors will only see themsleves.
Anyway, thanks for the spot on comments.
Yep, I had the EXACT same problem on my WP 2.6 blog. As soon as I used recordinghack’s fix – all is well now and “admin” appears in the dropdown names for “page authors”.
This is definitely a WordPress bug and should be reported!
Did the fix quoted above and it worked for me too.
I had the exact same problem and this fixed it for me as well.
Thanks.
PS. Has anyone posted this bug?Where do we make this edit? Or where do I find wp_usermeta?
- The topic ‘Author Not Correct’ is closed to new replies.