To change the redirect url open the member.php and find at line 969:
redirect("index.php", $lang->redirect_loggedout);
and just replace index.php to your url, for example:
redirect("http://mywebsite.com", $lang->redirect_loggedout);
Can you do this in microsft word?
No, just open with notepad, find "lang->redirect_loggedout" and you will find this line
Hey,
Edit: Seems to be working now but as above I when I want to log out it takes me to the forum index and not the forum index. If i change it in the member.php wont it change all re-directs to go to my main site an not the forum. (if you get me?)
Site:
http://www.oneboro.co.uk
Thanks!
Thank you all of you that helped!!
This works great!
Will this still work with MyBB 1.4??
Just curious
Hmm, well it works for me, but I do get two notices saying
Notice: Trying to get property of non-object in /path/to/mybb/inc/class_datacache.php on line 60. I had a quick look at the class_datacache file, and it's trying to get a property of $mybb, here:
function read($name, $hard=false)
{
global $db, $mybb;
if($mybb->config['cache_store'] == "files")
{
if(!isset($this->cache[$name]) || $hard)
{
@include(MYBB_ROOT."inc/cache/".$name.".php");
$this->cache[$name] = $$name;
}
}
else
//etc...
So I'm not sure what's causing that, it doesn't give an error when I access $mybb->user from my own script. Perhaps it's an option I've set incorrectly?
Has anybody gotten this to work in MyBB 1.4?
Works perfectly for me in 1.4 as is actually. What error are you getting?