• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[ACC Tools] Chatbox to your ACC maker by Backy

vakacjus

Lua & C++ Study.
Joined
Oct 23, 2008
Messages
255
Solutions
1
Reaction score
26
Backy from Tibia.net.pl make this guide.
I will just translate it.​

So... lets go !
  • Fallow this link -> : http://xat.com/web_gear/chat.php
  • Select your background (The best is unclear).
  • Next step -> Select your size of chatbox window Small, Medium, Large.
  • Generate your code here -> Update & Get Code
  • Now Coppy, and go to next step.


*In your xampp\htdocs make this -> chatbox.htm

Code:
<h3>[B][COLOR="Blue"]Put this piece of code in the middle![/COLOR][/B]</h3>
*Next step. In this same folder make chatbox.php and pu this code in the middle.
Code:
<?PHP
$content = file_get_contents("chatbox.htm");
if($content != FALSE)
	$main_content .= $content;
else
	$main_content .= 'Can not load file <b>chatbox.htm</b> or file is empty.';
?>


Now... in layout.php after:
Code:
<a href='?subtopic=latestnews'>
  <div id='submenu_latestnews' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_latestnews' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Latest News</div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>



Put it. :


Code:
<a href='?subtopic=chatbox'>
  <div id='submenu_chatbox' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_chatbox' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Chatbox</div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>


In index.php After this:

Code:
	case "latestnews":
		$topic = "Latest News";
		$subtopic = "latestnews";
		include("latestnews.php");
	break;

Add this:

Code:
	case "chatbox";
		$topic = "Chatbox";
		$subtopic = "chatbox";
		include("chatbox.php");
	break;

Have Fun!
 
Edit: Nevermind, I was being stupid.

Looks great, I'll probably end up using this!

Red
 
Lol how i can be a admin ... Because some ppls say asshole... How ican ban them?
 

Similar threads

Back
Top