MyBB Community Forums

Full Version: vB -MnS Theme For MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
mymoon Wrote:
vB MnS Theme For MyBBoard


Upload the folder "mns" in your images folder.
Import the "MnS Theme - MyMooN DesigN.xml" file over your admin control panel.

MnS Theme by CaylakTurk.com Team
MyMooN DesigN - [email protected]
www.CaylakTurk.com



Regard's

sorry, but where is the Download file?
I'm sorry.ı will changed buttons for lift.

again to add
add this download file..changed buttons fileWink
this buttons ugly but,for the present used
GoldenEye Wrote:sorry, but where is the Download file?

where I can download this theme?
Read post #1

There is an attachment there for you to download it.
I really like this theme and I was going to use it on my forums. Sorry if what I'm going to say sounds dumb, I'm new to mybb. But whenever a user selects this theme it puts a php error up on the top instead of the select the user cp, etc. thingy. The error it gives is...
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sgtamods/public_html/bluero/forum/global.php(266) : eval()'d code on line 75
php has never ever been my strong point so I really have no idea what this means.
inc/functions.php
Find:
//
// Outputs the contents of a page rendering variables
//
Add Under:
//
function iif($expression, $returntrue, $returnfalse = '')
{
return ($expression ? $returntrue : $returnfalse);
}
//

inc/class_templates.php
Find:
$template = str_replace("\\'", "'", addslashes($template));
Add Under:
$template=str_replace("<if condition=","\".iif(",$template);
$template=str_replace("<then>",",\"",$template);
$template=str_replace("<else />","\",\"",$template);
$template=str_replace("</if>","\").\"",$template);


Edit the files accordingly for the skin to work.
Thanks a lot, that fixed everything.

Hmmm...the links at the top are now in turkish, how do you make them be in english?

Edit: Nevermind, I fixed it.
Thanh you very much, very good
Pages: 1 2