1
onasre
edit mass Users
  • 2007/9/3 4:58

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


How can i edit the opition on the user profile to recive message from the Admin to Yes for all the users in Once instaed do that to each on of them one by one
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.

2
nachenko
Re: edit mass Users
  • 2007/9/3 7:08

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


You can't do it via XOOPS inteface. You should enter the database and change all them in a single query. If you don't know how to edit the database directly, you should meet PHPmyadmin, a free database administration tool.

When you modify anything in PHPmyadmin, it doesn't only do it, but it shows in screen the SQL query, the one that you should need to use if you wanted to do the same change by writing a program (that is, you learn the SQL syntax while you use PHPmyadmin.

You can try to change one user's email, just for test purposes, then put the SQL query here (skip the database name), we'll show you how to write the proper query to make the change you want.

3
zyspec
Re: edit mass Users
  • 2007/9/3 14:30

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


For XOOPS 2.0.xx series the command using phpmyadmin is:
Quote:
UPDATE `xxxx_users` SET user_mailok = 1


Where 'xxxx' should be replaced with your database table prefix.

4
onasre
Re: edit mass Users
  • 2007/9/4 4:11

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Quote:

zyspec wrote:
For XOOPS 2.0.xx series the command using phpmyadmin is:
Quote:
UPDATE `xxxx_users` SET user_mailok = 1


Where 'xxxx' should be replaced with your database table prefix.



Many thanks to you Man that little Code did it . thank you very much
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.

5
gordman
Re: edit mass Users
  • 2007/9/7 11:27

  • gordman

  • Just popping in

  • Posts: 11

  • Since: 2007/9/7 1


This is actually a good question. I'll just try this to see if it works...

Login

Who's Online

213 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

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

Latest GitHub Commits