Dceraso
10-22-2001, 04:48 PM
If you could help, it would be so very much appreciated.
What happened was, I tried to install the hack where you can change your name via the User CP. It says:
Fields To add to control pannel
---------------------------------
The first thing you got to do is run these two sql queries which will create variables for use, either via phpMyAdmin
INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) VALUES ('', '6', 'Posts to change username', 'postuserchange', '50', 'Number of posts required for the user to change their own username within the user control panel. If you wish anyone to be able to change username set to 0.', '', '18')
INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) VALUES ('', '6', 'Days between user change', 'dayuserchange', '7', 'Number of days between each time a user is allowed to change their nickname. If you wish the user to be able to change username at any time set to 0.', '', '19')
OR
go to www.yourdomain.com/forums/admin/setting.php?action=add
Setting Category: User and registration options
Title: Posts to change username
Variable Name: postuserchange
Value: 50
Description: Number of posts required for the user to change their own username within the user control panel. If you wish anyone to be able to change username set to 0.
Code to generate option: LEAVE THIS BLANK
Display Order: 18
Setting Category: User and registration options
Title: Days between user change
Variable Name: dayuserchange
Value: 7
Description: Number of days between each time a user is allowed to change their nickname. If you wish the user to be able to change username at any time set to 0.
Code to generate option: LEAVE THIS BLANK
Display Order: 18
I didn't do the first one, cause i didnt know what to do w/ it, But i did do the second one, and now i can go to my board. but i dont see no post or i dont even see no threads until i click the link.
and when i try to access my Admin center. It gives me the following errors.
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/ashleigh/public_html/forum/admin/global.php(79) : eval()'d code on line 170
Warning: Cannot add header information - headers already sent by (output started at /home/ashleigh/public_html/forum/admin/global.php(79) : eval()'d code:170) in /home/ashleigh/public_html/forum/admin/functions.php on line 1459
What should i do?
Help is very appreciatied.
What happened was, I tried to install the hack where you can change your name via the User CP. It says:
Fields To add to control pannel
---------------------------------
The first thing you got to do is run these two sql queries which will create variables for use, either via phpMyAdmin
INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) VALUES ('', '6', 'Posts to change username', 'postuserchange', '50', 'Number of posts required for the user to change their own username within the user control panel. If you wish anyone to be able to change username set to 0.', '', '18')
INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) VALUES ('', '6', 'Days between user change', 'dayuserchange', '7', 'Number of days between each time a user is allowed to change their nickname. If you wish the user to be able to change username at any time set to 0.', '', '19')
OR
go to www.yourdomain.com/forums/admin/setting.php?action=add
Setting Category: User and registration options
Title: Posts to change username
Variable Name: postuserchange
Value: 50
Description: Number of posts required for the user to change their own username within the user control panel. If you wish anyone to be able to change username set to 0.
Code to generate option: LEAVE THIS BLANK
Display Order: 18
Setting Category: User and registration options
Title: Days between user change
Variable Name: dayuserchange
Value: 7
Description: Number of days between each time a user is allowed to change their nickname. If you wish the user to be able to change username at any time set to 0.
Code to generate option: LEAVE THIS BLANK
Display Order: 18
I didn't do the first one, cause i didnt know what to do w/ it, But i did do the second one, and now i can go to my board. but i dont see no post or i dont even see no threads until i click the link.
and when i try to access my Admin center. It gives me the following errors.
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in /home/ashleigh/public_html/forum/admin/global.php(79) : eval()'d code on line 170
Warning: Cannot add header information - headers already sent by (output started at /home/ashleigh/public_html/forum/admin/global.php(79) : eval()'d code:170) in /home/ashleigh/public_html/forum/admin/functions.php on line 1459
What should i do?
Help is very appreciatied.