Okay it works very nice i tried a php code and works it the Theme ZINK but
i get an error at global.php that i can't solve and i tried him it other theme(facebook) and it does not show the error.
check it out...
Code:
Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /home/hitcj/public_html/forum/global.php(497) : eval()'d code(32) : eval()'d code on line 2
|
Thank'[s.
Probably an issue with one or more of the following templates:
global_pm_alert, headerinclude, gobutton, htmldoctype, header
Try reverting them (save a backup beforehand) to see if any of them are causing the problem.
(08-01-2011 09:48 AM)ZiNgA BuRgA Wrote: [ -> ]Probably an issue with one or more of the following templates:
global_pm_alert, headerinclude, gobutton, htmldoctype, header
Try reverting them (save a backup beforehand) to see if any of them are causing the problem.
Thanks the issue has at headerinclude .
Thank you so much for the help.
Add one more heartfelt "thank you". I needed to add some PHP somewhere (for a link exchange) and this saved me from having to learn how the core handles templates. (I'll figure it out eventually, but I wanted to get a few things actually done.)
And I'm sure that reading your code is going to help me learn how MyBB works. (Until 2.0 - then we all start from zero, I guess.)
Thanks again.
Hey there, was just wanting to make sure this is accomplishable before I download this mod.
Basically I'm looking to create the effect like the following two sites:
site one and
site two
Do you see how their first categories and forums look different to later ones? IE: On site two the first category has horizontally stacked forums whilst the second category stacks three side by side and includes images? Essentially that's what I'm trying to achieve.
I think I'd use some sort of conditional in the templates and use forum IDS:
For example:
<if category=1> Template here </else> Other template here </if>
I hope I've explained myself! Do I make any sense?
(11-23-2011 04:36 PM)ZiNgA BuRgA Wrote: [ -> ]Try it and post back.
Well I don't know what to try, that's why I was asking. Does anybody know how I'd go about it?
(11-23-2011 06:35 PM)Sama34 Wrote: [ -> ]Maybe you are lookinf for something like this Earl Grey http://community.mybb.com/thread-102695.html
Nope, definitely not. But thanks for the suggestion.
You can try to check by using
$forum['fid']. Something like this:
Code:
<if $forum['fid'] == x then>
Codes for forum id = x here
<else>
Codes for other forum ids here
</if>
|
If it's a complex modification, personally, I prefer using XThreads for that.
Okay I will give that a go thank you!
I've downloaded it and tried to unzip the package but it isn't working! Is there a different file format or a recommended unzipper (for mac).