MyBB Community Forums

Full Version: Change the urls in the chatbox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you change the urls in the chat box, because when you click on there user name it says http://domain1.net/forum/member.php?acti...file&uid=1 and i want it to take it to there profile.
IIRC you can change it in ./chatbox/config.php Smile
What is IIRC?
If I remember correctly you can change it in ./chatbox/config.php Smile
What would the name be? or which one?
<?php
# CHANGUONDYU 10/2009 #

date_default_timezone_set('Asia/Ho_Chi_Minh'); // change your location for true time
#read this page to set true timezone http://www.php.net/manual/en/timezones.php

############ SETTINGS ########
/*
false = NO
true = YES
*/ 

// Security
$config['check_domain_reffer'] = false; // Check reffer url
$config['check_chatbox_key'] = false; // check ChatboxKey

$config['forumlink'] = 'http://modzworld.x10.mx/'; //Forum url
$config['chatboxkey'] = 'your_chatbox_key'; // ChatboxKey

$config['password_tools'] = '123456'; // Password for tools.php
$config['managegroup'] = "3,4,10,14,"; // Managed Group 3=Smod, 4=Admin

// POST
$config['checkflood'] = false; // Check Flood, spam
$config['strip_slash'] = true; // Strip Slash ?
$config['max_message_len'] = 300; // Max message character
$config['remove_badword'] = false; // Check bad word ?

// Message
$config['autorefresh'] = 2; // Auto refresh time (in second)
$config['maxmessage'] = 30; // Number of message show on chatbox
$config['archive_messageperpage'] = 50; // Number of message per page on Archive popup
$config['removelink'] = false; // Remove link
$config['linkmask'] = true; // Mask link [link]

$config['use_me'] = true; // Use /me command ?
$command['me'] = '/me';

// Time Setting
$config['showtime'] = false; // Show/Hide Time
$config['timeformat'] = "h:i A"; // Time format
$config['dateformat'] = "d-m"; // date format


############ PHRASE ###############
$phrase['prune'] = "";
$phrase['archive'] = "Archive";
$phrase['today'] = "Today";
$phrase['yesterday'] = "Yesterday";
$phrase['linkmask'] = "[Link]";
$phrase['linkremoved'] = "<i>[Link was removed]</i>";
$phrase['bannotice'] = '<b>You are banned on the chat box for not following the <a href="http://modzworld.x10.mx/showthread.php?tid=2" target="_blank"<span style="color: blue;">chat box rules</span>.</b>'; 
$phrase['notice'] = "<b>Notice</b>:";

$phrase['banned'] = "banned user whose ID is";
$phrase['unbanned'] = "unbanned user whose ID is";
$phrase['banned_name'] = "banned";
$phrase['unbanned_name'] = "unbanned";

$phrase['load'] = "<i>Loading...</i> ";
$phrase['accessdenied'] = "<b>Access Denied (Invaild ChatboxKey or URL)</b>";
$phrase['pruneusernotice'] = "pruned all messages by";
$phrase['nomessagefound'] = 'No messages of this user';
$phrase['checkflood'] = '<b>Flood ?</b>';
$phrase['reason'] = 'Reason';

######## Command ####
$command['prune'] = '/prune';
$command['ban'] = '/ban';
$command['notice'] = '/notice';
$command['unban'] = '/unban';

######## File name ########
$fcbfile['message'] = 'fcb_message.txt';
$fcbfile['notice'] = 'fcb_notice.txt';
$fcbfile['smilie'] = 'fcb_smilies.txt';
$fcbfile['badword'] = 'fcb_badword.txt';

// datastore file
$fcbfile['ds_smilie'] = 'ds_smilies.txt';
$fcbfile['ds_banned'] = 'ds_banned.txt';
$fcbfile['ds_lastshout'] = 'ds_lastshout.txt';
$fcbfile['ds_notice'] = 'ds_notice.txt';

############# NOT SETTINGS - Don't change ##########################
$config['cbforumlink'] = explode(',' , $config['forumlink']);
$config['cbforumlink'] = $config['cbforumlink'][0];
?>