1
xahvtec
deleted WEBMASTER help!
  • 2004/12/4 18:57

  • xahvtec

  • Just popping in

  • Posts: 30

  • Since: 2004/12/2


hey. my buddy deleted the webmasters while doing some tests. i need to know how can i manually add a new webmaster.

thanks in advance,

xahv

2
irmtfan
Re: deleted WEBMASTER help!
  • 2004/12/4 19:06

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


dont worry at all just
if webmaster have no post in forum just create a new id and add that to webmasters

if your webmaster have a post in forum follow this:
1- find the post and find post_id
2- go to phpmyadmin and xoops_bb_posts then find uid of that post_id
3- create a new id and go to phpmyadmin and in the xoops_users table change uid with the deleted one
go to edit user and sync
also look at this:
http://xoops-tips.com/modules/news/article.php?storyid=64

3
xahvtec
Re: deleted WEBMASTER help!
  • 2004/12/4 19:10

  • xahvtec

  • Just popping in

  • Posts: 30

  • Since: 2004/12/2


thanks for your input but there are no assigned webmasters so i cant add anyone to any group since there is no admin panel.

how would u add one through mySQL?

4
irmtfan
Re: deleted WEBMASTER help!
  • 2004/12/4 19:36

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


ok you have no webmaster but its not possible to delete all webmasters ??? how yout freind could delete all webmasters?
any way you can create a new user via phpmyadmin in xoops_users table but if you can find the uid of deleted users ( webmasters ) you can recover them.
then go to the xoops_groups_users_link table and find uid and then edit that row and change group_id from "2" to "1"

Login

Who's Online

233 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits