[MyBB]A few problems - Maestro - 12-23-2010
Hi, I have 3 problems with MyBB, post as a user and administrator. I'd be glad for any help to resolving these issues
1. Adding links to the top bar
This is the code for my current links:
Code: <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><span>{$lang->toplinks_help}</span></a></li>
If I try the below code, all I get is an empty space where the link should be:
Code: <li><a href="http://erepublik.com"><span>{$lang->toplinks_help}</span></a></li>
2. Seeing the edit toolbar when creating a thread
Whenever I try to create a thread, instead of the usual editing tool bars with button-BBcode I get this:
I've had this problem for about 2 months now, if I CTRL+F5 then I get the normal tool bars, but it's generally a pain in the ass. This only happens to MyBB forums though.
3. Can't find a MyBB Plugin
I'm looking for a MyBB plugin (or code) that will fade in/out different messages in the header. An example can be founder here.
4.
Thank You for any help
RE: [MyBB]A few problems - Peter L - 12-23-2010
For number three, that is just an html command. There are header plugins, but you'll need to code it yourself.
Code: <ul class="reset" id="smfFadeScroller">
<li>We need blockers. <a href=http://www.erepublik.com/en/article/-fec-a-day-in-the-life-of-the-fec-commissioner-8-38-update-1613282/1/20>>>CLICK HERE<<</a></font></li>
<li>New to the forums? Check in at the eUS Welcome Center. <a href="http://"http://eusaforums.com/forum/index.php/board,2.0.html"" class="bbc_link new_win" target="_blank">>>CLICK HERE<<</a></li>
<li>Read the December 23, 2010 White House Press Release! <a href="http://"http://www.erepublik.com/en/article/white-house-press-release-dec-23st-1613820/1/20"" class="bbc_link new_win" target="_blank">>>CLICK HERE<<</a></li>
<li>DoD Orders for 12/23/2010: <a href="http://"http://www.erepublik.com/en/article/dod-orders-december-23-day-1129-updated-07-00-cyprus-and-mexico1-1611929/1/20"" class="bbc_link new_win" target="_blank">>>CLICK HERE<<</a></li>
</ul>
</div>
<script type="text/javascript" src="http://eusaforums.com/forum/Themes/default/scripts/fader.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[
// Create a news fader object.
var oNewsFader = new smf_NewsFader({
sSelf: 'oNewsFader',
sFaderControlId: 'smfFadeScroller',
sItemTemplate: '<strong>%1$s<' + '/strong>',
iFadeDelay: 5000
});
// Create the news fader toggle.
var smfNewsFadeToggle = new smc_Toggle({
bToggleEnabled: true,
bCurrentlyCollapsed: false,
aSwappableContainers: [
'smfFadeScroller'
],
aSwapImages: [
{
sId: 'newsupshrink',
srcExpanded: smf_images_url + '/collapse.gif',
altExpanded: 'Shrink or expand the header.',
srcCollapsed: smf_images_url + '/expand.gif',
altCollapsed: 'Shrink or expand the header.'
}
],
oThemeOptions: {
bUseThemeSettings: false,
sOptionName: 'collapse_news_fader',
sSessionVar: 'ba1399618',
sSessionId: 'e2645cec2d2d2004e7a8fcad4d703117'
},
oCookieOptions: {
bUseCookie: true,
sCookieName: 'newsupshrink'
}
});
// ]]></script>
That is the script they use.
RE: [MyBB]A few problems - Maestro - 12-24-2010
(12-23-2010, 03:11 PM)Laugh Wrote: For number three, that is just an html command. There are header plugins, but you'll need to code it yourself.
Code: <ul class="reset" id="smfFadeScroller">
<li>We need blockers. <a href=http://www.erepublik.com/en/article/-fec-a-day-in-the-life-of-the-fec-commissioner-8-38-update-1613282/1/20>>>CLICK HERE<<</a></font></li>
<li>New to the forums? Check in at the eUS Welcome Center. <a href="http://"http://eusaforums.com/forum/index.php/board,2.0.html"" class="bbc_link new_win" target="_blank">>>CLICK HERE<<</a></li>
<li>Read the December 23, 2010 White House Press Release! <a href="http://"http://www.erepublik.com/en/article/white-house-press-release-dec-23st-1613820/1/20"" class="bbc_link new_win" target="_blank">>>CLICK HERE<<</a></li>
<li>DoD Orders for 12/23/2010: <a href="http://"http://www.erepublik.com/en/article/dod-orders-december-23-day-1129-updated-07-00-cyprus-and-mexico1-1611929/1/20"" class="bbc_link new_win" target="_blank">>>CLICK HERE<<</a></li>
</ul>
</div>
<script type="text/javascript" src="http://eusaforums.com/forum/Themes/default/scripts/fader.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[
// Create a news fader object.
var oNewsFader = new smf_NewsFader({
sSelf: 'oNewsFader',
sFaderControlId: 'smfFadeScroller',
sItemTemplate: '<strong>%1$s<' + '/strong>',
iFadeDelay: 5000
});
// Create the news fader toggle.
var smfNewsFadeToggle = new smc_Toggle({
bToggleEnabled: true,
bCurrentlyCollapsed: false,
aSwappableContainers: [
'smfFadeScroller'
],
aSwapImages: [
{
sId: 'newsupshrink',
srcExpanded: smf_images_url + '/collapse.gif',
altExpanded: 'Shrink or expand the header.',
srcCollapsed: smf_images_url + '/expand.gif',
altCollapsed: 'Shrink or expand the header.'
}
],
oThemeOptions: {
bUseThemeSettings: false,
sOptionName: 'collapse_news_fader',
sSessionVar: 'ba1399618',
sSessionId: 'e2645cec2d2d2004e7a8fcad4d703117'
},
oCookieOptions: {
bUseCookie: true,
sCookieName: 'newsupshrink'
}
});
// ]]></script>
That is the script they use.
That doesn't work :/
RE: [MyBB]A few problems - Maestro - 12-26-2010
Any help?
RE: [MyBB]A few problems - Maestro - 04-02-2011
Sorry for reviving an old topic, but I desperately need help on 1.
RE: [MyBB]A few problems - Maestro - 04-03-2011
Can anybody assist me?
RE: [MyBB]A few problems - Peter L - 04-03-2011
Link me to your forum, I'll try.
RE: [MyBB]A few problems - Solidus - 04-03-2011
You don't need the {$lang->toplinks_help}, that defines the title for help.
Use this,
Code: <a href="http://mysite.com"> TITLE </a>
You probably don't need <li> tags either.
#2 Check all the javascript files are present, and revert newthread and newreply templates.
#3 That's SMF. Just place 2 links in your topbar,
RE: [MyBB]A few problems - rampage2gene - 04-03-2011
Just before i ask any other question are you familiar with the php code, if not go to http://w3schools.com.
RE: [MyBB]A few problems - Maestro - 04-03-2011
Thanks for the help guys, I've semi-fixed the problem now :thumbs up:
But, I've encountered another one for guests.
After making the below changes to the Quacktacular theme's "header_welcomeblock_guest":
Code: <div class="upper_panel">
<span class="float_right"><a href="http://kashmirforums.co.cc"><img src="http://kashmirforums.co.cc/board/images/home.png"/> Home</a><a href="http://aalaw-kashmircalls.org"><img src="http://kashmirforums.co.cc/board/images/aalaw.png" alt="" title=""/> Aalaw</a><a href="http://frontlinekashmir.com"><img src="http://kashmirforums.co.cc/board/images/fk.png" alt="" title=""/> Frontline Kashmir</a></span>
<!--
lang.username = "{$lang->login_username}";
lang.password = "{$lang->login_password}";
lang.login = "{$lang->login}";
lang.lost_password = " <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\" class=\"login\">{$lang->lost_password}<\/a>";
lang.register_url = " <a href=\"{$mybb->settings['bburl']}/member.php?action=register\" class=\"register\">{$lang->welcome_register}<\/a>";
lang.remember_me = "{$lang->remember_me}";
// -->
</script>
<div id="ql_condense"><span id="quick_login">{$lang->welcome_guest} <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;" class="login">{$lang->welcome_login}</a><a href="{$mybb->settings['bburl']}/member.php?action=register" class="register">{$lang->welcome_register}</a></span></div>
</div>
<div class="middle_panel mp_round" onclick="location.href='{$mybb->settings['bburl']}';">
<h1 class="ts_round" id="thetitle"><a href="{$mybb->settings['bburl']}">{$mybb->settings['bbname']}</a></h1>
</div>
If I click the AJAX "Login" button, I get the following instead of "Login" and "Remember Me":
This is going to be a pain in the backside for newer users, and it makes the forum look bad. I want to release this forum to the public soon, and this makes the deadline seem even harder to reach.
Thanks for the previous help, I'd appreciate it if I could be supported further
|