|
Condition and vbnavbar for 1.4.11
|
|
02-05-2009, 04:08 AM
(This post was last modified: 02-05-2009 04:09 AM by JonP.)
Post: #31
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
flick how do i change the backround color of the rectangle where my logo is
http://admincentralforums.com http://graphiczcentral.net |
|||
|
02-05-2009, 04:18 AM
Post: #32
|
|||
|
|||
RE: Condition and vbnavbar for 1.4.4
(02-05-2009 04:08 AM)indigored Wrote: flick how do i change the backround color of the rectangle where my logo isIf you show me a screenshot, I might be able to help you. The CMS is currently being moved to http://elite-area.com/!
|
|||
|
02-05-2009, 05:42 AM
(This post was last modified: 02-05-2009 05:42 AM by JonP.)
Post: #33
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
http://admincentralforums.com http://graphiczcentral.net |
|||
|
02-05-2009, 09:41 AM
Post: #34
|
|||
|
|||
RE: Condition and vbnavbar for 1.4.4
(02-05-2009 01:33 AM)flick Wrote: @Luke Beale: Thanks for your feedback. With regards to the drop down, there seems to be a small problem directly copying-pasting sometimes from the code provided on the Forums to the template editor, which results in random blank spaces that affect the dropdown menu. Thanks ![]() As you can be below it removes the header and menus when added those str_replace to that fille. Also it shows the user login area when a member is logged in... how do I stop it from doing that? |
|||
|
02-07-2009, 12:42 AM
(This post was last modified: 02-08-2009 04:17 AM by flick.)
Post: #35
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
@Luke Beale: I guess I should have checked the code again (with the latest version) to make sure it was up to date with MyBB 1.4.x
My bad there as it was already available as a download (see below) and I forgot .Try this instead: (will update the instructions on the other post too) Quote:Find p/s:Having just remembered that class_templates.php is already available as a download (from the first post) is it possible to find out if this file was downloaded and used to overwrite the default file on your forum? (02-05-2009 05:42 AM)indigored Wrote: ya, heres a screenshot: @TomL: Thanks for the help ![]() @indigored: This is one thing I should probably point out from the inherited header. The template section that you want to look at is Header Templates/header and the specific code part is: Code: <div class="logo" style="background:#fff url('$theme[imgdir]/logobg.gif');">It is (hopefully) quite self explanatory, and this is essentially the beginning of the the div (or box) where your logo sits. The default white colour of the header is set by Code: background: #fffFor instance, a black background would have the value Code: background: #000Current motto: Cross referencing threads by providing links is a good idea! Back-on Online - Back-on Fansite http://www.backon-online.com/ WordPress Snippets http://www.wpsnippets.com/ |
|||
|
02-07-2009, 02:52 AM
Post: #36
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
alright i got it, thanks man
http://admincentralforums.com http://graphiczcentral.net |
|||
|
02-08-2009, 02:50 AM
Post: #37
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
how do I show a table for guests only ?
I mean how do I use condition "if" "else" condition here ? |
|||
|
02-08-2009, 02:53 AM
Post: #38
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
You'd need to do an if condition and check $mybb->user['uid'] == 0, but inside an if thing. Something like this, but replacing if( with however it's done.
PHP Code: if($mybb->user['uid'] == 0)The CMS is currently being moved to http://elite-area.com/!
|
|||
|
02-08-2009, 03:26 AM
Post: #39
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
Appreciate the info buddy
|
|||
|
02-08-2009, 10:51 PM
Post: #40
|
|||
|
|||
|
RE: Condition and vbnavbar for 1.4.4
It still doesn't seem to want to work
![]() Tried replacing the file and making the code changes. |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help







My bad there as it was already available as a download (see below) and I forgot
.