Quote:
Originally posted by chrisz
thnx and is there any way to make peoples stats update automaticly?
So they dont have to click update stats all the time??
|
It is possible. You have to put the update stats code from member.php into newreply.php and newthread.php.
Quote:
Originally posted by chrisz
I have a problem with my itemshop:
Its regarding spells,
Have a look at the attack and heal options they are switched around.
http://ffsaiyans.xeko.net/forum/item...s=6&itemtype=0
Can you tell me how to fix it?
I cant find it anywhere in the templates to swap them back.
|
Those columns are dynamic. They will only show up if the category needs them. To make it simpler for people who were upgrading, I chose to put the code for the columns inside the .php file, instead of in the template. I store the html for the columns inside a variable, and then the variable in the itemshop_tabletop template gets replaced with the appropriate code.
If you want to switch them around, then it will require some changes to itemshop.php. There are two parts that you need to change.
In itemshop.php, find:
PHP Code:
$levelcolumn = '<td bgcolor="{ categorybackcolor}" width="5%" align="center"><normalfont color="{ categoryfontcolor}"><b>MA Cost</b></normalfont></td><td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" width="5%" align="center"><normalfont color="{ categoryfontcolor}"><b>Heal</b></normalfont></td><td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" width="5%" align="center"><normalfont color="{ categoryfontcolor}"><b>Attack</b></normalfont></td>'.$levelcolumn;
(I added extra spaces in front of categorybackcolor and categoryfontcolor so that vb.org wouldn't replaces them.)
And switch the columns around to however you want them. Remember what and how you switched them.
Then, in itemshop.php, find:
PHP Code:
$levelcolumnmid = '<td bgcolor="#1C5780" width="5%" align="center"><normalfont>'.$extrainfo[2].'</normalfont></td><td bgcolor="#1C5780" width="5%" align="center"><normalfont>'.iif($extrainfo[0], "Yes", "No").'</normalfont></td><td bgcolor="#1C5780" width="5%" align="center"><normalfont>'.iif($extrainfo[1], "Yes", "No").'</normalfont></td>'.$levelcolumnmid;
And switch the variables around in the same way that you switch the other code.
Quote:
Originally posted by Vivi Ornitier
omg this hack has soooo much more stuff than when i first saw it. Holy crap this is soo gangsta. GREAT JOB BITSYS!
|
Thanks!