[Beta] FaceBook Style NavBar (FBSNB) v1.0.3

Started by Marcus Forsberg, June 15, 2009, 12:17:53 AM

Previous topic - Next topic

Sabre™

Make the <body> tag look like this
<body>';

My text is bigger than yours! lol ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


LyCaNuSpRo

Quote from: Sabre™ on July 15, 2009, 12:17:33 AM
Make the <body> tag look like this
<body>';

My text is bigger than yours! lol ;)

Hi, thanks for answering Saber ™ I did what I said and now I've another error jumps unfortunately: (here I leave you the picture of bug





Sabre™

Attach your index.template.php and will fix any errors :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


LyCaNuSpRo

Quote from: Sabre™ on July 15, 2009, 01:48:34 AM
Attach your index.template.php and will fix any errors :)

Thank you for your attention here the
index.template.php full code as it has asked me, the hope that you find the error


<?php
// Version: 1.1.5; index

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context, $settings, $options, $txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1.5';

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = false;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = false;
$settings['use_image_buttons'] = true;
/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;

}

// The main sub template above the content.
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $language, $modSettings;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
, $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
<meta http-equiv="Content-Type" content="text/html; charset='
, $context['character_set'], '" />
<meta name="description" content="'
, $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
<meta name="robots" content="noindex" />'
, '
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
, $settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
, $settings['theme_url'], '";
var smf_images_url = "'
, $settings['images_url'], '";
var smf_scripturl = "'
, $scripturl, '";
var smf_iso_case_folding = '
, $context['server']['iso_case_folding'] ? 'true' : 'false', ';
var smf_charset = "'
, $context['character_set'], '";
// ]]></script>
<title>'
, $context['page_title'], '</title>';

// The ?finll part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
, $settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="'
, $settings['default_theme_url'], '/print.css?fin11" media="print" />

<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="'
, $settings['theme_url'], '/ie6lte.css?fin11" />
<![endif]-->'
;

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
, $settings['default_theme_url'], '/fonts-compat.css" />';

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
, $scripturl, '?action=help" target="_blank" />
<link rel="search" href="'
. $scripturl . '?action=search" />
<link rel="contents" href="'
, $scripturl, '" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
, $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
, $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
, $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="'
. $scripturl . '?board=' . $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
{
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
$options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
}

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '

<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = '
, empty($options['collapse_header']) ? 'false' : 'true', ';

function shrinkHeader(mode)
{'
;

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
, $context['session_id'], '");';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>'
;

// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' : 'true', ';

function shrinkHeaderIC(mode)
{'
;

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
, $context['session_id'], '");';

echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>
</head>
<body>
<div id="wrapper">
<div id="header-l">
<div id="header-r">
<div id="header">
        <div id="logo">'
;
if (empty($settings['header_logo'])){
echo '<a href="'.$scripturl.'" title="" class="logo-txt">', $context['forum_name'], '</a>';
}
else {
echo '<a href="'.$scripturl.'" title="" class="logo">&nbsp;</a>';
}
echo'
</div>
</div>
</div>
</div>
<div id="mainnav-l">
<div id="mainnav-r">
<div id="mainnav">
'
,template_menu(),'
</div>
</div>
</div>'
;

echo'
<div id="userbar-l">
<div id="userbar-r">
  <div id="userbar">
    <div id="topbar">'
;
    // The information that will be shown to the member when he/she is logged on
       if($context['user']['is_logged'])
       {
echo '
<div id="loggedin">
<b>'
, $txt[248], '</b> ', $context['user']['name'];
       
// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo ',<br />', $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a>', $txt['newmessages4'], ' ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'], '.';

echo '
</div>
<div id="loggedin2">
<a href="'
, $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br />
<a href="'
, $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a>
</div>'
;
       }

       // The login box which will only be shown to the guests
       else
       {
echo '
<script language="JavaScript" type="text/javascript" src="'
, $settings['default_theme_url'], '/sha1.js"></script>
<form action="'
, $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" ', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>          
<input name="user" type="text" onfocus="if(this.value==\''
, $txt[35], '\')value=\'\';" onblur="if(this.value==\'\')value=\'', $txt[35], '\';" value="', $txt[35], '" />
<input name="passwrd" type="password" onfocus="if(this.value==\''
, $txt[36], '\')value=\'\';" onblur="if(this.value==\'\')value=\'', $txt[36], '\';" value="', $txt[36], '" />
<input name="sa" class="submit" src="'
, $settings['images_url'], '/custom/go_icon.png" type="image" value="', $txt[34], '" />
<input type="hidden" name="cookielength" value="-1" />
</form>'
;
       }
 echo'
    </div>
    <div id="searcharea">
      <form action="'
, $scripturl, '?action=search2" method="post">
<input name="search" type="text" onfocus="if(this.value==\''
, $txt[182], '\')value=\'\';" onblur="if(this.value==\'\')value=\'', $txt[182], '\';" value="', $txt[182], '" />
<input name="sa" class="submit" src="'
, $settings['images_url'], '/custom/go_icon.png" type="image" value="', $txt[182], '"/>';

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="'
, $context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd['
, $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '
</form>
    </div>
  </div>
</div>
</div>'
;

}

function
template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo'
<div id="footer-l">
<div id="footer-r">
<div id="footer">
'
,theme_copyright(),' | Theme kelo-lt by <a href="http://padexx.de">padexx</a>
</div>
</div>
</div>'
;

echo'
<div id="footer2">'
;
// Show the load time?
if ($context['show_load_time'])
{
echo '
<p class="smalltext">'
, $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</p>';
}

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;'
, $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
</div>

</div>

</body>
</html>'
;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context, $settings, $txt, $options;

echo '
<div class="pathway-l">
<div class="pathway-r">
<div class="pathway">'
;
// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
// Show the link, including a URL if it should have one.
echo $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '">' . $tree['name'] . '</a>' : $tree['name'] , '&nbsp;&raquo;&nbsp;';
else
echo $tree['name'];

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

}

echo '</div></div></div><span style="display: none">kelo-lt Theme designed by <a href="http://padexx.de/" target="_blank" title="SMF Themes &amp; webdesign solutions">padexx</a></span>';
}

// 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.
global $modSettings;
$current_action = $modSettings['sp_portal_mode'] == 3 && empty($context['standalone']) ? 'forum' : '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', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers', 'spadmin')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ((isset($_GET['board']) || isset($_GET['topic']) || in_array($context['current_action'], array('unread', 'unreadreplies'))) && in_array($modSettings['sp_portal_mode'], array(1, 3)))
$current_action = 'forum';
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';
}

// Start of the tab section.
echo '
<ul>'
;

// Show the default [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'home' ? 'current' : '' , '"><a href="', $scripturl, '">' , $txt[103] , '</a></li>';

// Show the [forum] button.
echo ($current_action=='forum' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'forum' ? 'current' : '' , '"><a href="', $scripturl, '?action=forum">' , $txt['sp-forum'], '</a></li>';

// Show the [help] button.
echo ($current_action=='help' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'help' ? 'current' : '' , '"><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action=='search' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'search' ? 'current' : '' , '"><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action=='admin' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'admin' ? 'current' : '' , '"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action=='profile' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'profile' ? 'current' : '' , '"><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action=='pm' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'pm' ? 'current' : '' , '"><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>';


// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action=='calendar' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'calendar' ? 'current' : '' , '"><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'mlist' ? 'current' : '' , '"><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';


// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action=='login' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'login' ? 'current' : '' , '"><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action=='register' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'register' ? 'current' : '' , '"><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action=='logout' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="'
, $current_action == 'logout' ? 'current' : '' , '"><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>';

echo '</ul>';

// The end of tab section.
}

// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
{
global $settings, $buttons, $context, $txt, $scripturl;

foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>';

$button_strip[$key] = $buttons[$key];
}

if (empty($button_strip))
return '<td>&nbsp;</td>';

echo '
<td class="buttons">'
, implode('</td><td class="buttons">', $button_strip) , '</td>';
}

function
showcase()
{
global $settings, $buttons, $context, $txt, $scripturl;
// personal info etc.
echo '
  <div class="userinfo">'
;

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '<h3>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</h3>';

echo '
<div id="useropts">
<ul>'
;
// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo '<li>', $txt[152], ' <a href="', $scripturl, '?action=pm">', $context['user']['messages'], ' ', $context['user']['messages'] != 1 ? $txt[153] : $txt[471], '</a> ', $context['user']['unread_messages'], ' ', $context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1'];
echo '.</li>';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '<li><b>', $txt[616], '</b></li>';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '<li>', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';

echo '
<li><a href="'
, $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="'
, $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>
</ul>
</div>'
;
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
'
, $txt['welcome_guest'], '
<script language="JavaScript" type="text/javascript" src="'
, $settings['default_theme_url'], '/sha1.js"></script>
<form action="'
, $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<input type="text" name="user"  size="10" />
<input type="password" name="passwrd"  size="10" />
<select name="cookielength">
<option value="60">'
, $txt['smf53'], '</option>
<option value="1440">'
, $txt['smf47'], '</option>
<option value="10080">'
, $txt['smf48'], '</option>
<option value="43200">'
, $txt['smf49'], '</option>
<option value="-1" selected="selected">'
, $txt['smf50'], '</option>
</select>
<input type="submit" value="'
, $txt[34], '" />
<input type="hidden" name="hash_passwrd" value="" />
</form>'
, $txt['smf52'], '<br /><br />';
}

 echo
' </div>';

echo '
        <div class="searchfield">
<form action="'
, $scripturl, '?action=search2" method="post" style="margin: 4px 0;">
<input type="text" name="search" value="" size="30" style="margin-bottom: 4px;"  />&nbsp;
<input type="submit" name="submit" value="'
, $txt[182], '" style="margin-bottom: 4px;"  /><br />
<b><a href="'
, $scripturl, '?action=search;advanced">', $txt['smf298'], '</a></b>
<input type="hidden" name="advanced" value="0" />'
;

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="'
, $context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd['
, $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '
</form><br />
<b>'
, $context['common_stats']['total_posts'], '</b> ', $txt[95], ' ', $txt['smf88'], ' <b>', $context['common_stats']['total_topics'], '</b> ', $txt[64], '- ', $txt[525], ' <span style="white-space: nowrap;"><b>', $context['common_stats']['total_members'], '</b> ', $txt[19], '</span> -
'
, $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
</div>
<div class="clr"></div>
 '
;
}

?>



Sabre™

Buddy I see nothing wrong with your template.

But if you were asking me to install the code for you, then try the attached file.
If it does not display how you like, then take a screen shot of how it looks after installing this template, and tell me how you'd like it to look.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


LyCaNuSpRo

Quote from: Sabre™ on July 15, 2009, 02:47:35 AM
Buddy I see nothing wrong with your template.

But if you were asking me to install the code for you, then try the attached file.
If it does not display how you like, then take a screen shot of how it looks after installing this template, and tell me how you'd like it to look.

I changed my perfect man for the new index that you sent me to inform you that the error does not come out more, but I fail to see the bar is not for sale anywhere bar, you think will happen .. Else has already come out the update to 1.1.10 to smf you hear



Sabre™

Is the mod installed?
Have you selected the options at  Features and Options >> FaceBook Style NavBar (FBSNB)?

Can you add a link to your forum so I can see what is happening?

Thank You :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


JeremyB.

Nice Mod,

Spanish Translation:
$ txt [ 'fbsnb'] = 'Estilo FaceBook NavBar (FBSNB)';
$ txt [ 'fbsnb_settings_description'] = 'Estilo FaceBook NavBar
$ txt [ 'fbsnb_who'] = '¿Quién Ver \' s en línea ";
$ txt [ 'fbsnb_profile'] = 'Ver su perfil';
$ txt [ 'fbsnb_unread'] = 'Ver Mensajes no leídos ";
$ txt [ 'fbsnb_unreadreplies'] =' Ver respuestas a sus puestos »;
$ txt [ 'fbsnb_pm'] = 'ver sus mensajes ";
$ txt [ 'fbsnb_pmNew'] = 'Nuevo mensaje';
$ txt [ 'fbsnb_calendar'] = 'Ver el Calendario';
$ txt [ 'fbsnb_search'] = 'Buscar en el foro';
$ txt [ 'fbsnb_help'] = 'Ayuda: ¿Cómo I. ..?';
$ txt [ 'fbsnb_stats'] =' Ver Foro Estadísticas ";
$ txt [ 'fbsnb_ownStats'] =' Tu Foro Ver Estadísticas ";
$ txt [ 'fbsnb_ownPosts'] =' Ver Tus Anuncios ";

$ txt [ 'fbsnb_who_enable'] = 'Activar' ¿Quién Ver \ 's en línea \'';
$ txt [ 'fbsnb_profile_enable'] = 'Activar' Ver su perfil \'';
$ txt [ 'fbsnb_unread_enable'] = 'Activar' no leído Ver Puestos \'';
$ txt [ 'fbsnb_unreadreplies_enable'] = 'Activar' Ver respuestas a sus Puestos \'';
$ txt [ 'fbsnb_pm_enable'] = 'Activar' ver sus mensajes \'';
$ txt [ 'fbsnb_pmNew_enable'] = 'Activar' Nuevo mensaje \'';
$ txt [ 'fbsnb_calendar_enable'] = 'Activar' Ver el Calendario \'';
$ txt [ 'fbsnb_search_enable'] = 'Activar' Buscar en el foro \'';
$ txt [ 'fbsnb_help_enable'] = 'Activar' Help: How do I. ..? \'';
$ txt [ 'fbsnb_stats_enable'] = 'Activar' Ver Foro Estadísticas \'';
$ txt [ 'fbsnb_ownStats_enable'] = 'Activar' Ver Tu Foro Estadísticas \'';
$ txt [ 'fbsnb_ownPosts_enable'] = 'Activar' Ver Tus Anuncios \'';


Portuguese Translation:
$ txt [ 'fbsnb'] = 'Estilo Facebook Navbar (FBSNB)';
$ txt [ 'fbsnb_settings_description'] = 'Estilo Facebook Navbar
$ txt [ 'fbsnb_who'] = 'Ver Quem \' s On-line ';
$ txt [ 'fbsnb_profile'] = 'ver o seu perfil';
$ txt [ 'fbsnb_unread'] = 'Ver como não lidos Lugares';
$ txt [ 'fbsnb_unreadreplies'] =' Ver respostas a seus postos ";
$ txt [ 'fbsnb_pm'] = 'Ver Suas Mensagens';
$ txt [ 'fbsnb_pmNew'] = 'Nova Mensagem';
$ txt [ 'fbsnb_calendar'] = 'Ver o Calendário';
$ txt [ 'fbsnb_search'] = 'Pesquisar O Fórum ";
$ txt [ 'fbsnb_help'] = 'Ajuda: Como faço para ..?';
$ txt [ 'fbsnb_stats'] =' Ver Fórum Stats';
$ txt [ 'fbsnb_ownStats'] =' Ver o seu fórum Stats';
$ txt [ 'fbsnb_ownPosts'] =' Ver Seus Lugares';

$ txt [ 'fbsnb_who_enable'] = 'Permitir \' Ver Quem \ 's Online \'';
$ txt [ 'fbsnb_profile_enable'] = 'Permitir \' ver o seu perfil \'';
$ txt [ 'fbsnb_unread_enable'] = 'Permitir \' Ver como não lidos Lugares \'';
$ txt [ 'fbsnb_unreadreplies_enable'] = 'Permitir \' Ver respostas para suas postagens \'';
$ txt [ 'fbsnb_pm_enable'] = 'Permitir \' exibir suas mensagens \'';
$ txt [ 'fbsnb_pmNew_enable'] = 'Permitir \' Nova Mensagem \'';
$ txt [ 'fbsnb_calendar_enable'] = 'Permitir \' ver o calendário \'';
$ txt [ 'fbsnb_search_enable'] = 'Permitir \' Search O Fórum \'';
$ txt [ 'fbsnb_help_enable'] = 'Permitir \' Help: How Do I. ..? \'';
$ txt [ 'fbsnb_stats_enable'] = 'Permitir \' Ver Fórum Stats \'';
$ txt [ 'fbsnb_ownStats_enable'] = 'Permitir \ "Ver Seu Fórum Stats \'';
$ txt [ 'fbsnb_ownPosts_enable'] = 'Permitir \' Ver Suas postagens \'';


Polish Translation:
$ txt [ 'fbsnb'] = 'Styl Navbar Facebook (FBSNB) ";
$ txt [ 'fbsnb_settings_description'] = 'Styl Navbar Facebook
$ txt [ 'fbsnb_who'] = 'Wyświetl Kto \' s on-line ";
$ txt [ 'fbsnb_profile'] = 'Wyświetl Twój profil ";
$ txt [ 'fbsnb_unread'] = 'Pokaż Nieprzeczytane posty ";
$ txt [ 'fbsnb_unreadreplies'] =' Wyświetl odpowiedzi na Twoje posty ";
$ txt [ 'fbsnb_pm'] = 'Wyświetl Wiadomości ";
$ txt [ 'fbsnb_pmNew'] = 'Nowa wiadomość';
$ txt [ 'fbsnb_calendar'] = 'Wyświetl Kalendarz';
$ txt [ 'fbsnb_search'] = 'Szukaj Forum ";
$ txt [ 'fbsnb_help'] = "Pomoc: Jak ..?'; I.
$ txt [ 'fbsnb_stats'] =' Pokaż Statystyki Forum ";
$ txt [ 'fbsnb_ownStats'] =' Wyświetl Twoja Statystyki Forum ";
$ txt [ 'fbsnb_ownPosts'] =' Pokaż Twoje posty ";

$ txt [ 'fbsnb_who_enable'] = "Włącz \ 'Zobacz Kto \' s online \'';
$ txt [ 'fbsnb_profile_enable'] = 'Włącz \ "Wyświetl Twój profil \'';
$ txt [ 'fbsnb_unread_enable'] = "Włącz \ 'Pokaż Nieprzeczytane posty \'';
$ txt [ 'fbsnb_unreadreplies_enable'] = "Włącz \ 'Zobacz odpowiedzi na Twoje posty \'';
$ txt [ 'fbsnb_pm_enable'] = "Włącz \ 'Wyświetl Wiadomości \'';
$ txt [ 'fbsnb_pmNew_enable'] = "Włącz \ 'Nowa wiadomość \'';
$ txt [ 'fbsnb_calendar_enable'] = "Włącz \ 'Wyświetl Kalendarz \'';
$ txt [ 'fbsnb_search_enable'] = 'Włącz \ "Szukaj Forum \'';
$ txt [ 'fbsnb_help_enable'] = "Włącz \ 'Pomoc: How do I. ..? \'';
$ txt [ 'fbsnb_stats_enable'] = "Włącz \ 'Zobacz Forum Statystyki \'';
$ txt [ 'fbsnb_ownStats_enable'] = "Włącz \ 'Pokaż Twoje Forum Statystyki \'';
$ txt [ 'fbsnb_ownPosts_enable'] = "Włącz \ 'Pokaż Twoje posty\'';


-JB

"The most overlooked advantage to owning a computer is that if they foul up, there's no law against whacking them around a little."

JeremyB.

Russian Translation:
$ Txt [ 'fbsnb'] = 'Facebook Стиль Navbar (FBSNB)';
$ Txt [ 'fbsnb_settings_description'] = 'Facebook Стиль Navbar
$ Txt [ 'fbsnb_who'] = 'Список Кто \' S онлайн ';
$ Txt [ 'fbsnb_profile'] = 'Просмотр профиля';
$ Txt [ 'fbsnb_unread'] = 'Посмотреть Непрочитанные сообщения';
$ Txt [ 'fbsnb_unreadreplies'] =' Посмотри ответы на Ваши сообщения ';
$ Txt [ 'fbsnb_pm'] = 'Список сообщений';
$ Txt [ 'fbsnb_pmNew'] = 'Новое сообщение';
$ Txt [ 'fbsnb_calendar'] = 'Посмотреть расписание';
$ Txt [ 'fbsnb_search'] = 'Поиск Форум';
$ Txt [ 'fbsnb_help'] = 'Помощь: Как I. ..?';
$ Txt [ 'fbsnb_stats'] =' Просмотр форума Статистика ';
$ Txt [ 'fbsnb_ownStats'] =' Посмотреть Ваш форум статистика ';
$ Txt [ 'fbsnb_ownPosts'] =' Просмотр сообщений ';

$ Txt [ 'fbsnb_who_enable'] = 'Включить \ "Просмотр Кто \' S онлайн \'';
$ Txt [ 'fbsnb_profile_enable'] = 'Включить \ "Просмотр профиля \'';
$ Txt [ 'fbsnb_unread_enable'] = 'Включить \ "Просмотр Непрочитанные Сообщения \'';
$ Txt [ 'fbsnb_unreadreplies_enable'] = 'Разрешить \' Посмотри ответы на Ваши сообщения \'';
$ Txt [ 'fbsnb_pm_enable'] = 'Включить \ "Просмотр сообщений \'';
$ Txt [ 'fbsnb_pmNew_enable'] = 'Разрешить \' Новые сообщения \'';
$ Txt [ 'fbsnb_calendar_enable'] = 'Включить \ "Вид Календарь \'';
$ Txt [ 'fbsnb_search_enable'] = 'Включить \ "Поиск Форум \'';
$ Txt [ 'fbsnb_help_enable'] = 'Включить \ "Справка: Как I. ..? \'';
$ Txt [ 'fbsnb_stats_enable'] = 'Включить \ "Просмотр форума Статистика \'';
$ Txt [ 'fbsnb_ownStats_enable'] = 'Разрешить \' Просмотр форума Статистика \'';
$ Txt [ 'fbsnb_ownPosts_enable'] = 'Разрешить \' Просмотр сообщений \'';


-JB
"The most overlooked advantage to owning a computer is that if they foul up, there's no law against whacking them around a little."

LyCaNuSpRo

#69
Quote from: Sabre™ on July 15, 2009, 03:39:55 AM
Is the mod installed?
Have you selected the options at  Features and Options >> FaceBook Style NavBar (FBSNB)?

Can you add a link to your forum so I can see what is happening?

Thank You :)

jajaja crazy that I was overlooked trigger bar ... Finally I'm already activated and you can see ... but now comes back around here is the link to my site to check it yourself

MI SITIO




JeremyB. The translation into Spanish has translated some things wrong but just because I was already doing



Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


LyCaNuSpRo

Quote from: Sabre™ on July 15, 2009, 04:04:18 AM
It is working ok now LyCaNuSpRo?

Good work "IF" but either "NO" jajaja now leaves behind the boards of the forum to do so that appears above and not substantive and focused because the aligners to the right .. Thanks for your help




Sabre™

In your css file, try changing the width to 100%, and to help with the background overlapping the bar, add a 'z index'

So Change:
#fbstylenav
{
width: 95.3%;
position: fixed;
bottom: 0px;
background: url(images/catbg.jpg) repeat-x #FFFFFF;
}


To

#fbstylenav
{
width: 100%;
position: fixed;
bottom: 0px;
background: url(images/catbg.jpg) repeat-x #FFFFFF;
z-index: 100;
}
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


LyCaNuSpRo

Quote from: Sabre™ on July 15, 2009, 04:31:14 AM
In your css file, try changing the width to 100%, and to help with the background overlapping the bar, add a 'z index'

So Change:
#fbstylenav
{
width: 95.3%;
position: fixed;
bottom: 0px;
background: url(images/catbg.jpg) repeat-x #FFFFFF;
}


To

#fbstylenav
{
width: 100%;
position: fixed;
bottom: 0px;
background: url(images/catbg.jpg) repeat-x #FFFFFF;
z-index: 100;
}


Ready now and if everything is running perfect grace many successful .. sorry so bothered whether it could now go to sleep .. goodnight .. I spend anything on here then ->  ;)



Sabre™

lol Ok mate.
Let me know if it worked tomorrow.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


llyon

Hi Sabre,

Working nicely on my site.

Just two requests for future releases:

1) Member activate/de-activate
2) Move to vertical (either left or right) as an option.

Great mod though.

cheers,

Lance

Sabre™

Hi llyon,
When JBlaze(mod creator) updates this mod, I have no doubt it will be something to remember.
Keep your eyes open for it, your ideas may be implemented ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Xavi-Nena

Look forward to this mod being further developed in the future...I will keep checking back here for word.

TurtleKicker

I realize that this mod isn't currently being supported/developed, but I had high-hopes since it installed without error (SMF 1.1.10). Unfortunately, I had the problem (same as others mentioned originally on the first page) where all the icons appeared vertically at the top-left of the page, instead of a static bar on the bottom. And I'm using the default theme. Had to disable it. :( Oh well.

Not sure from reading all of this thread what the fix might be.

Sabre™

Were the edits for your style.css added?
Could you attach your index.template.php?
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: