MyBB Community Forums

Full Version: banning...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is there a way to show a cerstin user a picture when thay are banned? like when the sign in it shows them a picture?

like saying "banned"

also how can i add my own link in the post area onmy forum?
that has a link to open a window and shows forum pictures that people can post?
Open inc/languages/english/messages.lang.php.

Line 133:$l['error_banned'] = "I'm sorry, but you are banned. You may not post, read threads, or access the forums. Please contact your forum administrator should you have any questions.";

You should be able to change that to include an image tag (not sure if the lang is htmlspecialchar'ed). You might want to look at the Template section of the Admin CP and edit footer/header parts. More info will help Smile

Not sure what you want for the second bit.
decswxaqz Wrote:Open inc/languages/english/messages.lang.php.

Line 133:$l['error_banned'] = "I'm sorry, but you are banned. You may not post, read threads, or access the forums. Please contact your forum administrator should you have any questions.";

You should be able to change that to include an image tag (not sure if the lang is htmlspecialchar'ed). You might want to look at the Template section of the Admin CP and edit footer/header parts. More info will help Smile

Not sure what you want for the second bit.

for the second part, i wanna know how to put a link under the smilies box,that allows my users to post forum pictures, like the ones that say go away noob, or stfu. stuff like that.
hmmm. That's more advanced. I've had a quick look and it would take me a while to make a mod for. But it's not something that would have a lot of appeal for most people.
What you could do is just add new smilies that are the noob/stuf pictures and limit the number of smilies displayed.
Go to Admin CP->Board Settings->Edit->Clickable Smilies
Edit number of smilies to just the small smilie pictures. Add your own pictures.
Then when people click the get more link below the smilies it will display the rest of them.
For the second thing, open

Admin CP > Templates > Modify/Delete > *template set expand* > smilieinsert_getmore

Then at the bottom add
<tr>
<td class="trow2" align="center"><span class="smalltext"><strong>[<a href="javascript:popupWin('misc.php?action=images&amp;popup=true','imginsert',300,300);">Insert An Image</a>]</strong></td>
</tr>
Then open misc.php, find
elseif($action == "imcenter")
and before add
elseif($action == "images")
{
	if($popup)
	{?>
	
	
	
	<?
	}
}

Now, whatever images you want to show, put in between ?> and <? with the myBB to use under it or something, eg:
Quote:<img src="./images/postimg/wave.gif">
[img ]images/postimg/wave.gif[/img ]

If you want them clickable to insert, that will be a bit tricker