vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - CES vbWiki Pro Navbits Extension (https://vborg.vbsupport.ru/showthread.php?t=135488)

thincom2000 01-03-2007 10:00 PM

CES vbWiki Pro Navbits Extension
 
CES vbWiki Pro Navbits Extension
Version: 1.0.0
Requires vbWiki Pro 0.9.7 RC1 or later


*** This extension is no longer supported. My other hack CES Custom Navbits on Any Pages now includes these features without using the convoluted code this does. ***

vbWiki Pro is a commercial product available at http://www.NuHit.com. vbWiki Pro integrates MediaWiki 1.6.8+ and vBulletin 3.6.x. NuHit also offers a free version of vbWiki with only User/Login Integration.

Now back to this hack...

What It Does:
Allows an editor to specify a breadcrumb path for the vBulletin navbar that's more specific than simply: Wiki > Article

Since Articles can be contained in multiple categories on the same level, an automated system did not seem to be the best route. This system also enables a breadcrumb to link to other pages on your site other than a Wiki Category or another Article.

Products to Install: 1
Plugins Included: 1
Files to Upload: 3
Template Edits: 0
Files to Edit: 2
Queries Added: 0
Hooks Added: 1

Features in Version 1.0.0:
- Use <nav>...</nav> wikispeak to add navbits between Wiki and Article
- Use <> to add even more custom bits
- Supports relative and absolute links
- Breadcrumb can use any custom text
- Supports HTML in Breadcrumb-text
- Wiki level uses $wgSitename (it will say the wiki's title, rather than 'Wiki')
- Navbits immediately updated
Well, you can't really have too many features in a navbits extension. :knockedout:

Syntax
:
Code:

<nav>
URL1 BREADCRUMB-TEXT1<>
URL2 BREADCRUMB-TEXT2<>
URL3 BREADCRUMB-TEXT3
</nav>

Limitations:
- No spaces in URLs (use _ or %20).
- No wiki mark-up inside <nav> tags.

Changelog for version 1.1.0 (upcoming):
- No longer supports vbWiki 1.0.1 or lower
- Removed folder /navbits/ upload & file caching
- Removed vbNavbits.php MW extension
- Removed vbWikiPro_Navbits.php
- Removed hooks_navbits_vbwiki.php
- Eliminated 2 file edits
- Coming soon!

Ideas for Future Versions:
Discuss.

Other Releases I'm Working On:
- Custom Navbits for vB Custom Pages
- Auto Wiki-links in Posts for vbWiki Pro

Screenshots:
- before & after

Murty 01-04-2007 10:03 AM

Picture please. :)

MaestroX 01-04-2007 11:33 AM

Thanks for this, i've just purchased vBWiki Pro to intergrate what I already have. Thanks for releasing this, once my order gets processed i'll download your mod and check it out. :D

thincom2000 01-04-2007 02:10 PM

Screenshots added.

As stated above, I now recommend waiting for version 1.1.0. Unless you were a beta-tester for vbWiki Pro -- then you should install now because the next update won't support any unpaid versions before vbWiki Pro 1.0.2.

Also, this is basically a Lite Version of my "Custom Navbits in All Pages" mod, which allows modifications to navbits on ANY vBulletin page - also being released later today. If you don't mind the 1 extra query, you can accomplish the same effect as this by using the conditionals feature.


All times are GMT. The time now is 11:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00993 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete