Yellow-card mod?!

Makes it posble for admin to specify witch type of users may mass PM any usergroup
Also PM users can be a list of usernames, so PM can be sendt to any number of users

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Yellow-card mod?!

Postby cmisker on Mon 11. Nov, 2002 20:58

Huh?

I do the db_update.php in the mass-user PM and I get this:

Code: Select all
This list is a result of the SQL queries needed for this Mod


Yellow Card Mod
[Added/Updated] line: 1 , ALTER TABLE fcforum_forums ADD auth_ban TINYINT (2)not null DEFAULT "3"
[Added/Updated] line: 2 , ALTER TABLE fcforum_auth_access ADD auth_ban TINYINT (1) not null DEFAULT "0"
[Added/Updated] line: 3 , INSERT INTO fcforum_config (config_name, config_value) VALUES ("max_user_bancard", "10")
[Added/Updated] line: 4 , ALTER TABLE fcforum_forums ADD auth_greencard TINYINT (2)not null DEFAULT "5"
[Added/Updated] line: 5 , ALTER TABLE fcforum_forums ADD auth_bluecard TINYINT (2)not null DEFAULT "1"
[Added/Updated] line: 6 , ALTER TABLE fcforum_auth_access ADD auth_greencard TINYINT (1)not null DEFAULT "0"
[Added/Updated] line: 7 , ALTER TABLE fcforum_auth_access ADD auth_bluecard TINYINT (1) not null DEFAULT "0"
[Added/Updated] line: 8 , INSERT INTO fcforum_config (config_name, config_value) VALUES ("bluecard_limit", "3")
[Added/Updated] line: 9 , INSERT INTO fcforum_config (config_name, config_value) VALUES ("bluecard_limit_2", "1")
[Added/Updated] line: 10 , ALTER TABLE fcforum_posts ADD post_bluecard TINYINT (1)


Oops?! How do I remove them again? (Which columns do I need to remove?) You might want to update your zip file too.
cmisker
Poster
Poster
 
Posts: 125
Joined: Mon 11. Nov, 2002 20:15

Postby Niels on Mon 11. Nov, 2002 23:56

:oops:

...

that was bad...

here are the SQL's to the DB_update.php file, witch wil reverse the added SQL's - I asume you are not using the yellow card mod

Code: Select all
$sql=array(
'ALTER TABLE '.FORUMS_TABLE.' DROP auth_ban ',
'ALTER TABLE '.AUTH_ACCESS_TABLE.' DROP auth_ban' ,
'DELETE FROM '.CONFIG_TABLE.' WHERE config_name="max_user_bancard"',
'ALTER TABLE '.FORUMS_TABLE.' DROP auth_greencard' ,
'ALTER TABLE '.FORUMS_TABLE.' DROP auth_bluecard',
'ALTER TABLE '.AUTH_ACCESS_TABLE.' DROP auth_greencard',
'ALTER TABLE '.AUTH_ACCESS_TABLE.' DROP auth_bluecard',
'DELETE FROM '.CONFIG_TABLE.' WHERE config_name="bluecard_limit"',
'DELETE FROM '.CONFIG_TABLE.' WHERE config_name="bluecard_limit_2"',
'ALTER TABLE '.POSTS_TABLE.' DROP post_bluecard');


thanks for reporting this
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Tue 12. Nov, 2002 00:01

I have now updated the zip, with the rigth db_update.php...
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby cmisker on Tue 12. Nov, 2002 09:05

Niels wrote:I have now updated the zip, with the rigth db_update.php...
Thanks. :)

I was just messing with a new forum, so don't worry about it. :) I even downloaded the zip file about... 4 times, to make sure I didn't download the wrong file... :P :)

Very nice mods, btw! :)
cmisker
Poster
Poster
 
Posts: 125
Joined: Mon 11. Nov, 2002 20:15


Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron