Changing the author name in the database

Adapt

Learning Habbo Retro Developer
Jan 1, 2016
37
6
Hello Devbest users.
Many people would be having problems with creating news articles in their database - for example using Navicat. Once you post the article, it says the author is 1 well, this thread is on how to fix this to make it your name!
Okay so what you want to do is in your database go to cms_news
And then you want to click
Then file > Design Table
Go down to where it says 'author' and it will say int or something like that. Change that to varchar and then the length to 225
Once you have done that, it has changed and you can go back to cms_news and change the author to your name and then it will work.

Thanks for reading, and tell me if this has helped you :)
 

LeChris

https://habbo.codes/
Sep 30, 2013
2,786
1,395
It's your user id, because that's not changing meanwhile a username does. It makes more since to adjust your query to SELECT username FROM users WHERE id = 1
Then to change the thing all together..but sigh
 

Users who are viewing this thread

Top