MyBB Community Forums

Full Version: Adding friends?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I add friends in MyBB?
You mean buddies?

UCP > Buddy/Ignore List > Type user name into Add Buddy box > Click Add Buddies

Personally I don't think this feature is all that useful though....
I, for some reason, don't see the buddy option in there.
It's on the left side of your User CP near the bottom in the Miscellaneous section.
No, I mean that when I click it, all that appears is the ignore function.
Is this happening here or on your own forum? If here, then it's definitely there Toungue If on your own forum can you provide a link and a test account. I did take a good look through the ACP and couldn't find any options to disable the buddy system.
Okay, PMmed you.
Ok, very strange I can confirm that it is not there so I can think of three reasons.

Firstly there may be a setting to disable it that I have missed so anyone else reading this thread please pipe up if you know.

Secondly a plugin may be doing it, I have no idea which one.

Thirdly, check that your User Control Panel Templates > usercp_editlists template looks something like this, you can revert the template if you want:

<html>
<head>
	<title>{$mybb->settings['bbname']} - {$lang->edit_lists}</title>
	{$headerinclude}
	<script type="text/javascript" src="jscripts/usercp.js"></script>
	<script type="text/javascript">
		lang.remove_buddy = '{$lang->confirm_remove_buddy}';
		lang.remove_ignored = '{$lang->confirm_remove_ignored}';
		lang.adding_buddy = '{$lang->adding_buddy}';
		lang.adding_ignored = '{$lang->adding_ignored}';
	</script>
</head>
<body>
	{$header}
	<table width="100%" border="0" align="center">
	<tr>
		{$usercpnav}
		<td valign="top">

		<form action="usercp.php" method="post" id="buddy" onsubmit="return UserCP.addBuddy('buddy');">
			<input type="hidden" name="action" value="do_editlists" />
			<input type="hidden" name="manage" value="buddy" />
			<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<tr>
					<td class="thead" align="center"><strong>{$lang->edit_buddy_list}</strong></td>
				</tr>
				<tr>
					<td class="trow1">
						<fieldset>
							<legend><strong>{$lang->add_buddies}</strong></legend>
							<span class="smalltext">{$lang->add_buddies_desc}</span><br />
							<div style="width: 120px; float: left; text-align: right;"><strong>{$lang->username_or_usernames}</strong></div>
							<div style="margin-left: 130px;"><input type="text" name="add_username" id="buddy_add_username" style="width: 60%;" class="textbox" /> <input type="submit" value="{$lang->add_to_buddies}" id="buddy_submit" class="button" /></div>
							<script type="text/javascript" src="jscripts/autocomplete.js?ver=1400"></script>
							<script type="text/javascript">
							<!--
								if(use_xmlhttprequest == "1")
								{
									new autoComplete("buddy_add_username", "xmlhttp.php?action=get_users", {valueSpan: "username", delimChar: ","});
								}
							// -->
							</script>
						</fieldset>
						<fieldset id="buddy_container">
							<legend><strong>{$lang->current_buddies}</strong></legend>
							<ul id="buddy_list" style="list-style: none;">
								{$buddy_list}
							</ul>
						</fieldset>
					</td>
				</tr>
			</table>
		</form>
		<br />
		<form action="usercp.php" method="post" id="ignored" onsubmit="return UserCP.addBuddy('ignored');">
			<input type="hidden" name="action" value="do_editlists" />
			<input type="hidden" name="manage" value="ignored" />
			<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<tr>
					<td class="thead" align="center"><strong>{$lang->edit_ignore_list}</strong></td>
				</tr>
				<tr>
					<td class="trow1">
						<fieldset>
							<legend><strong>{$lang->add_ignored_users}</strong></legend>
							<span class="smalltext">{$lang->add_ignored_users_desc}</span><br />
							<div style="width: 120px; float: left; text-align: right;"><strong>{$lang->username_or_usernames}</strong></div>
							<div style="margin-left: 130px;"><input type="text" name="add_username" id="ignored_add_username" style="width: 60%;" class="textbox" /> <input type="submit" value="{$lang->ignore_users}" id="ignored_submit" class="button" /></div>
							<script type="text/javascript">
							<!--
								if(use_xmlhttprequest == "1")
								{
									new autoComplete("ignored_add_username", "xmlhttp.php?action=get_users", {valueSpan: "username", delimChar: ","});
								}
							// -->
							</script>
						</fieldset>
						<fieldset id="ignored_container">
							<legend><strong>{$lang->current_ignored_users}</strong></legend>
							<ul id="ignore_list" style="list-style: none;">
								{$ignore_list}
							</ul>
						</fieldset>
					</td>
				</tr>
			</table>
		</form>
		</td>
	</tr>
	</table>
	{$footer}
</body>
</html>
ah.. those one.
thanks Tim Smile