News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

OutlineOmega (multi for 115,116,117 & TP)

Started by Antechinus, September 09, 2008, 03:00:13 PM

Previous topic - Next topic

genieuk

Great, thanks for checking. Just got worried it may have taken a longtime to load, that why i thought ask you as you not in UK where server is located.

I did actually first type in all of them in the list all the submenu ones but decided not to and just go for the main submenu_bg.png

I will leave it as it is.

Kindest Regards, Always
Mathew

genieuk

Hi,

I went over and sorted my friends computer and i formatted her computer. Every browser now shows the drop menus fine but IE6 does not.

Are you aware that IE6 is not compatible with the outline omega theme? basically for some reason drop menus does not show in IE6, IE6 is also not compatible with PNG lol

considering it is a Microsoft browser I thought IE6 would have been compatible.

Mathew

Antechinus

Of course I'm aware of that. I clearly stated that in the OP of this thread and in the resources page that is linked from the theme's footer. Here's a quote from resources.html:

QuoteImportant information.

Please note that if you are concerned about members using Internet Explorer 6 it is suggested that you leave all critical functions in the standard toolbar and only use the drop menus for accessories.
Due to the css-based nature of these menus they will not display in obsolete browsers. However they will happily bypass script blockers and in a decent browser will be fully functional with javascript disabled.

Also note that due to the use of png transparencies the AzureSilk, Mircalla and Skyline options will not be suitable for IE6. If anyone wishes to use AzureSlk, Mircalla or Skyline it is their responsibility to ensure their browser is up to date.

Support for IE6 is provided by the other eight options. Like many modern themes this theme does not support IE5. I hope you enjoy using this theme as much as I do, and thanks again to everyone who provided resources.

I am not the slightest bit interested in anyone who is too stubborn to upgrade from IE6 when there are better alternatives available, even from Microsoft, and they're all free. There is simply no reasonable excuse for it. IE6 always causes problems for anyone involved in site design and/or administration. It's a piece of crap. Don't encourage idiots to use it because they'll only complain at you and make more damned work for you. Give them links to decent browsers.

Antechinus

#103
Just to clarify: it is only png transparencies that IE6 cannot deal with. Opaque png images are no problem.

PNG is not a Microsoft format and Microsoft are wankers in any case. Are you aware that all other browsers apart from any version of IE will show translucency in solid css colours by the simple use of the W3-approved code format     opacity: 0.9;   ?

You can use any number from 0 to 1.0 and it'll work, except with IE. For IE you need to use Microsoft's idiotically complicated "filter" code, which requires different versions for each version of IE and which will break XHTML validation on your theme. That's how stupid and arrogant Microsoft is. Don't ever encourage anyone to use any version of IE. It totally sux.

Here endeth the lesson. :D

ETA: Here is what I have linked from my front page. I don't give them any room for excuses.

QuoteSoftware requirements for this forum

This forum provides limited support for obsolete browsers.
This forum will be functional with Internet Explorer 5, at the cost of considerable distortion to the layout.
Internet Explorer 6 will not distort the layout but will not provide access to some features introduced for our members.
For full functionality we recommend people upgrade to Internet Explorer 7 if they have not already done this.
Upgrading is easy and free.

Internet Explorer 7 download link:   http://www.microsoft.com/windows/downloads/ie/getitnow.mspx


We recommend that people do help themselves to one of the alternative browsers such as Firefox or Opera.
These are free and are very easy to install and to use. They provide much better performance than Internet Explorer.
If you would like advice or assistance upgrading your browser the staff will be happy to help you.

Firefox 3 download link:                     http://en-us.www.mozilla.com/en-US/

Opera 9.5 download link:                  http://www.opera.com/download/       

genieuk

#104
I agree, Microsoft are certainly fools. I am not really bothered as many people are either now using IE7 which is fine or other better browser.

I installed Firefox on her computer and she loves it. Once i told her about all the gadgets and gizmos, themes etc she can install and how much more secure and faster it is she was like a child with a new toy  ;D

It is annoying like you said for web designers as i can understand there frustration. Oh well who cares? because I don't, life goes on and so should Microsoft.

Is this theme compatible with Tiny Portal? I was checking there website as allot of people go on about it and i must say i am really thinking of ditching simple portal as tiny portal seems much better, dont meen to be or sound horrible but personal preference for my site.

Mathew

Antechinus

There are versions of the theme available for both TP 0.983 and TPv1.05. Download links are in the OP.
Simple Portal is (or rather originally was) designed as the simplest alternative for people who were more comfortable with that. TP is vastly more capable but also has more things to keep track of. I use 0.983 and have had it for eleven months now. I find it very good and not at all hard to run.

ETA: Oh, and the thread title above every post does mention TP. Just sayin'.

genieuk

#106
Hi,

I just installed the 'OutlineOmega_115.zip' theme on my SMF 1.1.6 test website, i then installed latest version of Tiny Portal and it works 100% with Tiny Portal.

So i do not have to download the tiny portal compatible outline omega theme  :D

Mathew

Antechinus

Yes if you use TPv1.0 it will work with a 1.1.6 version of the theme, except that you will need to manually add the forum button. That's the only difference. 

genieuk

Quote from: antechinus on November 04, 2008, 04:55:20 PM
Yes if you use TPv1.0 it will work with a 1.1.6 version of the theme, except that you will need to manually add the forum button. That's the only difference.

Great! Got to install this baby tonight, i do notice tiny portal is a few seconds longer on loading but it solves many problems i want to rectify.  :D

I hope there website tinyportal.net will be backup soon as they been doing server change all day and it still down

Thank you,
Mathew

toobeus4u

Hi Guys,

I've got a small problem after installing the theme.
Theme looks great, but I'am keep getting this error:

8: Undefined variable: modSettings

This error comes with:

~forum/Themes/default/Login.template.php (main_above sub template - eval?)
~forum/Themes/default/Errors.template.php (main_above sub template - eval?)
~forum/Themes/default/Register.template.php (main_above sub template - eval?)



And all of the errors refers to line 667.
I believe it refers to line 667 of the index.template.php of the Outline theme.
And on that line is:

<input type="text" name="cookielength" id="cookielength2" size="12" style="margin: 0 0 0 10px;" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>



I added $modsettings to this line (473)

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt, $modsettings;

// Work out where we currently are.


But no luck.

Could someone please advice how I can clean up this error?

Thanks.



Antechinus

You have either the wrong theme or the wrong template. Line 667 from Omega's index.template is this:

</a>

viulian

Hello, great theme! After using the initial Outline - I think my users started to interact the forum a lot!
Now, this OutlineOmega is suuper sweet with the menus.

I have a question: are the templates (.psd or .xcf or etc) for the logos available for download ?
I'd like to have a separate logo (just text to be changed) for each of the available color schemes, because they are best there can be - I can't ever come up with suitable backgrounds matching the existing ones - I'm graphically clueless :)

Thanks!

Antechinus

I haven't made a pack pf psd's yet but I'll knock one up, since I have the psd's themselves. I'll post it up tonight.

For anyone who wants to use just the background and put custom graphics over it the best way is to grab the header-bg images and scale them for width. As standard they're only one or two px wide but any graphics program can stretch them out to your logo width. 


@ toobeus4u: the theme doesn't generate that error in standard form. What have you done to it?

toobeus4u

Quote from: antechinus on November 08, 2008, 02:01:52 PM


@ toobeus4u: the theme doesn't generate that error in standard form. What have you done to it?

Hi,

line 667 of the index.template of Outline is

<input type="text" name="cookielength" id="cookielength2" size="12" style="margin: 0 0 0 10px;" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>



What did I do, if added the Simple Portal Classic code to the theme.
http://custom.simplemachines.org/mods/index.php?mod=1104

That is the only mod so far.


Antechinus

Ask the Simple Portal guys then. It's their mod. Like I said, Line 667 of Outline Omega's index.template.php does not contain the code you posted. I don't know anything about Simple Portal.

toobeus4u

Quote from: antechinus on November 10, 2008, 04:52:26 AM
Ask the Simple Portal guys then. It's their mod. Like I said, Line 667 of Outline Omega's index.template.php does not contain the code you posted. I don't know anything about Simple Portal.

ok, thanks for the answer.

I'll install your theme again first.

Thanks


genieuk

Hi,

How can i make the quote back to default please?

I don't want to sound rude or criticising but i prefer the default quote border etc like this:

QuoteHello I am a Quote  ;D

The theme uses a thin red line border and the background of a quote is not much difference to colour background of a normal post/reply.
Thank you,
Mathew

Antechinus

It's in the css files.

/* A quote, perhaps from another post. */

.quote {
color: #3A3A3A;
border-top: 1px solid #A90329;
border-left: 1px solid #A90329;
border-bottom: 1px solid #A90329;
}


I didn't set a background so they just show whatever the post background is. If you want an even border you don't need to set it for every side, You can just use this:

/* A quote, perhaps from another post. */

.quote {
color: #3A3A3A;
         background: #whateveryoulike;
border: 1px solid #A90329;
}

genieuk


RAV TUX

I am trying to get rid of the three text links below the user name on the top banner.

Utilizing the mod: "unread" and "replies" tabs for main menu

I am reposting my post from the mod thread here, perhaps there is a quick and simple solve for this:

Quote from: RAV TUX on November 10, 2008, 04:04:18 AM
trying to get this to work in SMF 1.1.7 using OutlineOmega_115 "KindaBlue"

Outline Omega uses drop down menus so things look a little different:

I believe this is the relevant code:

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'radioadmin', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   // Are we using right-to-left orientation?
   if ($context['right_to_left'])
   {
      $first = 'last';
      $last = 'first';
   }
   else
   {
      $first = 'first';
      $last = 'last';
   }

   // Show the start of the tab section.
    echo '
                           
          <div class="tabs-left"></div>
          <div class="tabs">
              <ul>         
           
                    <li>
                   <a' , $current_action=='home' ? ' class="current"' : '' , ' href="', $scripturl, '">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[103] , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                      <ul>';
             if ($context['allow_search'])
                echo'
                         <li><a href="index.php?action=search">' , $txt[182] , '</a></li>';
             if ($context['allow_calendar'])
                 echo'
                         <li><a href="index.php?action=calendar">' , $txt['viewcal'] , '</a></li>';
             if ($context['allow_memberlist'])
                echo'         
                         <li><a href="index.php?action=mlist">' , $txt['viewlist'] , '</a></li>
                         <li><a href="index.php?action=mlist;sa=search">' , $txt['searchlist'] , '</a></li>';           
                 echo'           
                         <li><a href="index.php?action=recent">' , $txt['viewrecent'] , '</a></li>                       
                         </ul>
                         <div class="btm-bg"></div>
                          </div>
                        </li>';
             //Show the Help button
                 echo'
                   <li>
                   <a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[119] , '</span>
                      <span class="menu-right"></span>
                   </a>
                      <div class="sub">
                         <ul>
                            <li><a href="index.php?action=help;page=registering">' , $txt[97] , '</a></li>
                             <li><a href="index.php?action=help;page=loginout">' , $txt['login'] , '</a></li>
                             <li><a href="index.php?action=help;page=profile">' , $txt['yourpro'] , '</a></li>
                            <li><a href="index.php?action=help;page=post">' , $txt['posthow'] , '</a></li>
                            <li><a href="index.php?action=help;page=pm">' , $txt[159] , '</a></li>
                            <li><a href="index.php?action=help;page=searching">' , $txt['searchhow'] , '</a></li>
                         </ul>
                         <div class="btm-bg"></div>
                      </div>
                   </li>';             
               
             // Is the user allowed to administrate at all? ([admin])
             if ($context['allow_admin'])
                 echo'               
                   <li>
                   <a' , $current_action=='admin' ? ' class="current"' : '' , ' href="', $scripturl, '?action=admin">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[2] , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                         <ul>
                             <li><a href="index.php?action=ban">' , $txt['banlist'] , '</a></li>
                            <li><a href="index.php?action=packages">' , $txt['packages'] , '</a></li>
                            <li><a href="index.php?action=regcenter">' , $txt['regist'] , '</a></li>
                            <li><a href="index.php?action=viewErrorLog;desc">' , $txt['errorlog'] , '</a></li>
                            <li><a href="index.php?action=maintain">' , $txt['maintain'] , '</a></li>                       
                             <li><a href="index.php?action=news">' , $txt['newsand'] , '</a></li>                                                 
                         </ul>
                         <div class="btm-bg"></div>
                      </div>
                </li>';               
           
             // Go to PM center... [pm]
             if ($context['user']['is_logged'] && $context['allow_pm'])
                echo'
                <li>
                   <a' , $current_action=='pm' ? ' class="current"' : '' , ' href="', $scripturl, '?action=pm">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt['messages'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                         <ul>                           
                            <li><a href="index.php?action=pm;f=outbox">' , $txt['outbox'] , '</a></li>
                             <li><a href="index.php?action=pm;sa=send">' , $txt['sendmess'] , '</a></li>
                             <li><a href="index.php?action=pm;sa=search">' , $txt['searchmess'] , '</a></li>
                             <li><a href="index.php?action=profile;sa=pmprefs">' , $txt['pm_options'] , '</a></li>
                          </ul>
                         <div class="btm-bg"></div>
                      </div>
                </li>';

             // Edit Profile... [profile]
                if ($context['allow_edit_profile'])
                echo'
                   <li>
                   <a' , $current_action=='profile' ? ' class="current"' : '' , ' href="', $scripturl, '?action=profile">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[79] , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                         <ul>                                                         
                               <li><a href="index.php?action=profile;sa=forumProfile">' , $txt['forpro'] , '</a></li>
                               <li><a href="index.php?action=profile;sa=theme">' , $txt['layout'] , '</a></li>
                                 <li><a href="index.php?action=profile;sa=account">' , $txt['account'] , '</a></li>
                          </ul>
                         <div class="btm-bg"></div>
                      </div>
                </li>';

                 // How about the [search] button?
             if ($context['allow_search'])
                echo '
                   <li>
                   <a' , $current_action=='search' ? ' class="current"' : '' , ' href="', $scripturl, '?action=search">
                       <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[182] , '</span>
                      <span class="menu-right"></span>
                   </a>
                   </li>';               
                       
             // If the user is a guest, show the [login] button.
             if ($context['user']['is_guest'])
                echo'   
                   <li>
                   <a ' , $current_action=='login' ? ' class="current"' : '' , 'href="', $scripturl, '?action=login">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[34] , '</span>
                      <span class="menu-right"></span>
                   </a>
                           <div class="sub">
                         <ul>                                                         
                               <li>
                                   <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
                                      <table border="0" cellpadding="2" cellspacing="0" width="100%"><tr>
                                     <td valign="middle">
                                    <label for="user2"><b>', $txt[35], ':</b>
                                    <input type="text" name="user" id="user2" size="12" /></label>
                                     </td></tr>
                                     <tr><td valign="middle">
                                    <label for="passwrd2"><b>', $txt[36], ':</b>
                                    <input type="password" name="passwrd" id="passwrd2" size="12" /></label>
                                     </td></tr>
                                     <tr><td valign="middle">
                                    <label for="cookielength2"><b>', $txt['minutes'], ':</b>
                                    <input type="text" name="cookielength" id="cookielength2" size="12" style="margin: 0 0 0 10px;" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>
                                     </td></tr>
                                     <tr><td valign="middle">
                                    <input type="submit" style="width: 155px;" value="', $txt[34], '" />
                                     </td></tr></table>
                                       </form>
                               </li>
                         </ul>
                         <div class="btm-bg"></div>
                      </div>
                   </li>';
               
             // If the user is a guest, also show  the[register] button.
             if ($context['user']['is_guest'])
                echo'
                   <li class="last">
                   <a ' , $current_action=='register' ? ' class="current"' : '' , 'href="', $scripturl, '?action=register">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[97] , '</span>
                      <span class="menu-right"></span>
                   </a>
                   </li>';
               
             // Otherwise, they might want to [logout]...
             if ($context['user']['is_logged'])
                echo'
                   <li class="last">
                   <a ' , $current_action=='logout' ? ' class="current"' : '' , 'href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[108] , '</span>
                      <span class="menu-right"></span>
                   </a>
                   </li>';
          echo'         
             </ul>
          </div>
                <div class="tabs-right"></div>';

}


This is the edited code:

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
   global $context, $settings, $options, $scripturl, $txt;

   // Work out where we currently are.
   $current_action = 'home';
   if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'radioadmin', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
      $current_action = 'admin';
   if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
      $current_action = $context['current_action'];
   if ($context['current_action'] == 'unreadreplies')
      $current_action = 'unreadreplies';
  if ($context['current_action'] == 'unread')
      $current_action = 'unread';
   if ($context['current_action'] == 'search2')
      $current_action = 'search';
   if ($context['current_action'] == 'theme')
      $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

   // Are we using right-to-left orientation?
   if ($context['right_to_left'])
   {
      $first = 'last';
      $last = 'first';
   }
   else
   {
      $first = 'first';
      $last = 'last';
   }

   // Show the start of the tab section.
    echo '
                           
          <div class="tabs-left"></div>
          <div class="tabs">
              <ul>         
           
                    <li>
                   <a' , $current_action=='home' ? ' class="current"' : '' , ' href="', $scripturl, '">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[103] , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                      <ul>';
             if ($context['allow_search'])
                echo'
                         <li><a href="index.php?action=search">' , $txt[182] , '</a></li>';
             if ($context['allow_calendar'])
                 echo'
                         <li><a href="index.php?action=calendar">' , $txt['viewcal'] , '</a></li>';
             if ($context['allow_memberlist'])
                echo'         
                         <li><a href="index.php?action=mlist">' , $txt['viewlist'] , '</a></li>
                         <li><a href="index.php?action=mlist;sa=search">' , $txt['searchlist'] , '</a></li>';           
                 echo'           
                         <li><a href="index.php?action=recent">' , $txt['viewrecent'] , '</a></li>';

                echo'
                        <li><a href="index.php?action=unreadreplies">' , $txt['unreadreplies'] , '</a></li>

                 echo'
                        <li><a href="index.php?action=unread">' , $txt['unread'] , '</a></li>                                               
                         </ul>
                         <div class="btm-bg"></div>
                          </div>
                        </li>';
             //Show the Help button
                 echo'
                   <li>
                   <a' , $current_action=='help' ? ' class="current"' : '' , ' href="', $scripturl, '?action=help">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[119] , '</span>
                      <span class="menu-right"></span>
                   </a>
                      <div class="sub">
                         <ul>
                            <li><a href="index.php?action=help;page=registering">' , $txt[97] , '</a></li>
                             <li><a href="index.php?action=help;page=loginout">' , $txt['login'] , '</a></li>
                             <li><a href="index.php?action=help;page=profile">' , $txt['yourpro'] , '</a></li>
                            <li><a href="index.php?action=help;page=post">' , $txt['posthow'] , '</a></li>
                            <li><a href="index.php?action=help;page=pm">' , $txt[159] , '</a></li>
                            <li><a href="index.php?action=help;page=searching">' , $txt['searchhow'] , '</a></li>
                         </ul>
                         <div class="btm-bg"></div>
                      </div>
                   </li>';             
               
             // Is the user allowed to administrate at all? ([admin])
             if ($context['allow_admin'])
                 echo'               
                   <li>
                   <a' , $current_action=='admin' ? ' class="current"' : '' , ' href="', $scripturl, '?action=admin">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[2] , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                         <ul>
                             <li><a href="index.php?action=ban">' , $txt['banlist'] , '</a></li>
                            <li><a href="index.php?action=packages">' , $txt['packages'] , '</a></li>
                            <li><a href="index.php?action=regcenter">' , $txt['regist'] , '</a></li>
                            <li><a href="index.php?action=viewErrorLog;desc">' , $txt['errorlog'] , '</a></li>
                            <li><a href="index.php?action=maintain">' , $txt['maintain'] , '</a></li>                       
                             <li><a href="index.php?action=news">' , $txt['newsand'] , '</a></li>                                                 
                         </ul>
                         <div class="btm-bg"></div>
                      </div>
                </li>';               
           
             // Go to PM center... [pm]
             if ($context['user']['is_logged'] && $context['allow_pm'])
                echo'
                <li>
                   <a' , $current_action=='pm' ? ' class="current"' : '' , ' href="', $scripturl, '?action=pm">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt['messages'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                         <ul>                           
                            <li><a href="index.php?action=pm;f=outbox">' , $txt['outbox'] , '</a></li>
                             <li><a href="index.php?action=pm;sa=send">' , $txt['sendmess'] , '</a></li>
                             <li><a href="index.php?action=pm;sa=search">' , $txt['searchmess'] , '</a></li>
                             <li><a href="index.php?action=profile;sa=pmprefs">' , $txt['pm_options'] , '</a></li>
                          </ul>
                         <div class="btm-bg"></div>
                      </div>
                </li>';

             // Edit Profile... [profile]
                if ($context['allow_edit_profile'])
                echo'
                   <li>
                   <a' , $current_action=='profile' ? ' class="current"' : '' , ' href="', $scripturl, '?action=profile">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[79] , '</span>
                      <span class="menu-right"></span>
                   </a>
                         <div class="sub">
                         <ul>                                                         
                               <li><a href="index.php?action=profile;sa=forumProfile">' , $txt['forpro'] , '</a></li>
                               <li><a href="index.php?action=profile;sa=theme">' , $txt['layout'] , '</a></li>
                                 <li><a href="index.php?action=profile;sa=account">' , $txt['account'] , '</a></li>
                          </ul>
                         <div class="btm-bg"></div>
                      </div>
                </li>';

                 // How about the [search] button?
             if ($context['allow_search'])
                echo '
                   <li>
                   <a' , $current_action=='search' ? ' class="current"' : '' , ' href="', $scripturl, '?action=search">
                       <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[182] , '</span>
                      <span class="menu-right"></span>
                   </a>
                   </li>';               
                       
             // If the user is a guest, show the [login] button.
             if ($context['user']['is_guest'])
                echo'   
                   <li>
                   <a ' , $current_action=='login' ? ' class="current"' : '' , 'href="', $scripturl, '?action=login">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[34] , '</span>
                      <span class="menu-right"></span>
                   </a>
                           <div class="sub">
                         <ul>                                                         
                               <li>
                                   <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
                                      <table border="0" cellpadding="2" cellspacing="0" width="100%"><tr>
                                     <td valign="middle">
                                    <label for="user2"><b>', $txt[35], ':</b>
                                    <input type="text" name="user" id="user2" size="12" /></label>
                                     </td></tr>
                                     <tr><td valign="middle">
                                    <label for="passwrd2"><b>', $txt[36], ':</b>
                                    <input type="password" name="passwrd" id="passwrd2" size="12" /></label>
                                     </td></tr>
                                     <tr><td valign="middle">
                                    <label for="cookielength2"><b>', $txt['minutes'], ':</b>
                                    <input type="text" name="cookielength" id="cookielength2" size="12" style="margin: 0 0 0 10px;" maxlength="4" value="', $modSettings['cookieTime'], '" /></label>
                                     </td></tr>
                                     <tr><td valign="middle">
                                    <input type="submit" style="width: 155px;" value="', $txt[34], '" />
                                     </td></tr></table>
                                       </form>
                               </li>
                         </ul>
                         <div class="btm-bg"></div>
                      </div>
                   </li>';
               
             // If the user is a guest, also show  the[register] button.
             if ($context['user']['is_guest'])
                echo'
                   <li class="last">
                   <a ' , $current_action=='register' ? ' class="current"' : '' , 'href="', $scripturl, '?action=register">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[97] , '</span>
                      <span class="menu-right"></span>
                   </a>
                   </li>';
               
             // Otherwise, they might want to [logout]...
             if ($context['user']['is_logged'])
                echo'
                   <li class="last">
                   <a ' , $current_action=='logout' ? ' class="current"' : '' , 'href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">
                      <span class="menu-left"></span>
                      <span class="menu-mid">' , $txt[108] , '</span>
                      <span class="menu-right"></span>
                   </a>
                   </li>';
          echo'         
             </ul>
          </div>
                <div class="tabs-right"></div>';

}


Unfortunately this doesn't work and most likely due to my user error, I honestly am not sure how this should be edited.

Could someone help me out with this?

I would like to:

1. add the new selections to the dropdown menu as opposed to adding new buttons
2. remove the text below the user name

Thanks in advance,

RAV TUX



http://www.simplemachines.org/community/index.php?topic=272622.20

response:

Quote from: Jade on November 10, 2008, 08:39:07 AM
Quote from: Kreator on November 10, 2008, 03:07:23 AM
Unfortunately I get a parsing error with your mod !! what have you changed?

What version? 2.0 or 1.1?

RAV TUX: Where do you want my buttons? As main items or "subs" (and subs of what)?
http://www.simplemachines.org/community/index.php?topic=272622.20

2nd post:

Quote from: RAV TUX on November 10, 2008, 05:05:17 PM
Quote from: Jade on November 10, 2008, 08:39:07 AM
Quote from: Kreator on November 10, 2008, 03:07:23 AM
Unfortunately I get a parsing error with your mod !! what have you changed?

What version? 2.0 or 1.1?

RAV TUX: Where do you want my buttons? As main items or "subs" (and subs of what)?

The theme version is: OutlineOmega_115 (1.1)

SMF version: Powered by SMF 1.1.7

mod version: Unread and Replies Tabs in Main Menu 2.0

Subs of main menu: "Home"...first and second position.

search is currently in position one this can be replaced/removed since it is already a main menu item.

Home>

1. Unread Post
2. New Replies to Post
3. View Recent Post
4. View Memberlist
5. Search Memberlist

Also if you could create a sub for message notification (ie. you have 3 messages, 0 are new.)

This would be a great first position sub under the main messages.

Then all the text links under the: Hello username could be removed.

Thanks in advance I appreciate the help.

RAV TUX
http://www.simplemachines.org/community/index.php?topic=272622.20

Reposting the above two quotes here in hopes that the theme mod may know a quick fix for this.

Reference two forums that we use the OutlineOmega Theme in:

http://www.xubuntuforums.org/ [nofollow]

http://www.cafelinux.org/forum/ [nofollow]

On both of these in some smaller monitors the top banner link to the main forum, squeezes off the 3 user links under the username at the top of the page. That is a bug in the theme at best, I think?...but I would like to remove all three text links and add them to the drop down menus as stated in the quoutes above.

Any help is greatly appreciated in advance.

RAV TUX




Advertisement: