In file .../tibiacom/layout.php :Okay Gesior i have next problem... When i add some new suptopic its look really good but when i click on this subtopic i open my site but on the right side in menu there is no arrow and all menu.... check it our
Remember to put same name in this 3 places!<a href='index.php?subtopic=newname'>
<div id='submenu_newname' 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_newname' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
<div class='SubmenuitemLabel'>Server Rules</div>
<div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
</div>
</a>
In file .../index.php
After:
Add:case "buypoints";
$subtopic = "buypoints";
$topic = "Buy Points";
include("buypoints.php");
break;
@premium days for new accounts:case "newname";
$subtopic = "newname";
$topic = "New Nice Name";
include("newname.php");
break;
In file .../createaccount.php :
After:
Add:$reg_account->save();
It should work, but I'm not sure about TFS 0.3 version.$reg_account->setCustomField('premdays', 10);
$reg_account->setCustomField('lastday', time());
Last edited: