How could it ++++ up the admincp and new user registering? It never touched register.php and other than usergroup.php and user.php (which those edits work marvelous), it doesn't touch the admincp either.
But if you still want to uninstall, look at upload/admincp/shoutbox_install/new_file.txt and do the edits in reverse, then:[sql]
DELETE FROM phrasetype WHERE phrasetypeid='716';
DELETE FROM phrase WHERE varname LIKE '%shoutbox%';
DELETE FROM setting WHERE varname LIKE 'shoutbox%';
DELETE FROM settinggroup WHERE grouptitle='shoutbox';
ALTER TABLE language DROP phrasegroup_shoutbox;
ALTER TABLE usergroup DROP shoutboxpermissions, DROP shouthierarchy;
ALTER TABLE user DROP shouts, DROP shoutbanned;
DROP TABLE shoutbox_posts;[/sql]
Still, as I said, this hack couldn't have ++++ed up things like that. Even if not installed properly, it couldn't screw up new registrations. And it is not a beta hack. It has been tested and tested a lot by now and probably could be released as a final already.
well.. maybe not.. but i mos deffenetly will try to uninstall it ..
i let you know if anything gets any better after uninstall
kthnxoh yea.. one thing more.. i got this error on mail if i posted somehing to shoutbox..
Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'shoutbox_shoutbit_at', 'at', '716')
mysql error: Duplicate entry 'shoutbox_shoutbit_at-0-716' for key 2
mysql error number: 1062
.. i'm finished with uninstall.. and some minor things got better.. but yea.. sorry i quess it wasnt your hack that screwd up my admincp new user registrations.. sorry about that one
I jave uploaded it to a totally fresh vb3 test board.
I keep getting the error Parse error: parse error in /home/geezzaa/public_html/ukctest/includes/init.php on line 821
Possibly something simple, i dont know much about board hacking so please go easy on the answer.
Thanks
I modified the templates some as you can see here on http://www.extremechatforums.com/forum/shoutbox.php If you guys are interested in these changes please let me know and i will post the modified templates. If thats okay with link.
well.. maybe not.. but i mos deffenetly will try to uninstall it ..
i let you know if anything gets any better after uninstall
kthnxoh yea.. one thing more.. i got this error on mail if i posted somehing to shoutbox..
Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'shoutbox_shoutbit_at', 'at', '716')
mysql error: Duplicate entry 'shoutbox_shoutbit_at-0-716' for key 2
mysql error number: 1062
.. i'm finished with uninstall.. and some minor things got better.. but yea.. sorry i quess it wasnt your hack that screwd up my admincp new user registrations.. sorry about that one
That seems like you had an error when you installed it, it was trying to add a phrase that already existed. (Upgrading to RC2 error.). It wouldn't occur when people shout.
Any ideas as to why, or how I could force it to redirect to the proper page?
There are 2 lines of code to pay attention to in shoutbox.php:
PHP Code:
header("Location: $_SERVER[HTTP_REFERER]");
exit;
Now, you can change $_SERVER[HTTP_REFERER] to a relative URL to redirect them to a certain page, or change both lines to this to redirect to the shoutbox:
I jave uploaded it to a totally fresh vb3 test board.
I keep getting the error Parse error: parse error in /home/geezzaa/public_html/ukctest/includes/init.php on line 821
Possibly something simple, i dont know much about board hacking so please go easy on the answer.
Thanks
Post from lines 816-826 of init.php here so I can see what is wrong.
I modified the templates some as you can see here on http://www.extremechatforums.com/forum/shoutbox.php If you guys are interested in these changes please let me know and i will post the modified templates. If thats okay with link.
There are 2 lines of code to pay attention to in shoutbox.php:
PHP Code:
header("Location: $_SERVER[HTTP_REFERER]");
exit;
Now, you can change $_SERVER[HTTP_REFERER] to a relative URL to redirect them to a certain page, or change both lines to this to redirect to the shoutbox: