Quote:
Originally Posted by hornstar1337
Thanks, this was released here a while ago I believe, but yours looks very good. thanks for sharing.
|
The only two mods I could find that were somewhat similar, turn out to be nothing like this.
1. [name]Michelle[/name]'s
Move forumjump to the navbar with javascript Is just what the title says. It's a couple of template edits and a few lines of Javascript to move the existing (ugly) forumjump drop-down menu up to the navbar. It only displays on pages that already had the forumjump drop-down on them. My mod uses vB's DHTML popup menus and also displays on all pages.
2. [name]Floris[/name] did a bit better with
navbar forumjump dropdown. But it has quite a few problems.
- Template edits
- Not phrased
- No product/XML file for easy installation
- Directly queries the database instead of using vB's cached forum info (waste of resources)
- Does not respect forum permissions and displays links to forums that you're not allowed to see
- Not supported
- Only shows child forums one level deep
So in conclusion, from the way I see it, this hasn't been released here before.

Or was there some other mod that I couldn't find by searching?
EDIT: I just found another forum jump mod by [name]P1erce[/name], which is better than Floris' version. It's actually quite similar to this mod, but it's not as easy to install, and it doesn't have all the admin formatting options etc.
Quote:
Originally Posted by JTS2005
my skin unfortunately doesn't use that navigation bar as it was converted to image buttons. what code can i use to link to an image?
thx
|
Do you have it installed and working, but you want to change the text "Forum Jump" to an image? If that's the case, just edit the plugin (or in the product's XML file, then re-upload) and find this:
Code:
'.$vbphrase['forum_jump'].'
and replace with an image tag, like:
Code:
<img src="image.gif" alt="" />
Quote:
Originally Posted by yotsume
BOO!!! NOT COMPATIBLE WITH OLDER VERSIONS OF VB!!!
SHAME SHAME!
Can We make it work with 3.6.4??? 
|
Hmmmm. 3.6.4 doesn't have template hooks or the global_setup_complete hook that this relies on. But, if you're willing to make some changes, it should work.
This is not guaranteed or tested, it's just off the top of my head. Try it on a test forum installation first!
Instructions updated to work with version 1.0.3
1. Make some edits to the XML file
----------------------------------
:::: Find:
Code:
<dependency dependencytype="vbulletin" minversion="3.6.8" maxversion="" />
:::: Change to:
Code:
<dependency dependencytype="vbulletin" minversion="3.6.4" maxversion="3.6.4" />
----------------------------------
:::: Find:
Code:
<hookname>global_setup_complete</hookname>
<phpcode><![CDATA[if ($vbulletin->options['navbar_forumjump_enable'] && $show['popups'] && (($vbulletin->options['navbar_forumjump_showusersonly'] && $vbulletin->userinfo['userid']) || !$vbulletin->options['navbar_forumjump_showusersonly']))
:::: Change to:
Code:
<hookname>parse_templates</hookname>
<phpcode><![CDATA[if (!isset ($template_hook))
{
$template_hook = array();
$template_hook['navbar_buttons_left'] = $template_hook['navbar_buttons_right'] = '';
}
if ($vbulletin->options['navbar_forumjump_enable'] && $show['popups'] && (($vbulletin->options['navbar_forumjump_showusersonly'] && $vbulletin->userinfo['userid']) || !$vbulletin->options['navbar_forumjump_showusersonly']))
----------------------------------
2. Make some edits to your navbar template
----------------------------------
:::: Find:
Code:
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
:::: Add this after it:
Code:
$template_hook[navbar_buttons_left]
----------------------------------
:::: Find:
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
:::: Add this before it:
Code:
$template_hook[navbar_buttons_right]
----------------------------------
Upload and install the modified XML file, and hope it works.