vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Class Driven Menu (https://vborg.vbsupport.ru/showthread.php?t=101487)

merk 11-24-2005 09:38 PM

Class Driven Menu
 
1 Attachment(s)
Ive been working on a extensable class based menu system which can be extended to basically add anything you want to it. It has support for both left and right menus.

It requires PHP5 (because I used proper classes :p), would anyone be interested?

See attachments for demos. The menu items with icons on the right link to "new thread". I am still working on getting a "new post in this forum" notification going.

If theres enough interest I might polish it up and release it as a beta for more feedback and suggestions.

Andreas 11-24-2005 09:43 PM

1 Attachment(s)
I am currently using a modified version of vBAdvanced CMPS wih a Site Navigation Module that creates a Menu (open/close via JS, degrades to static if JS is disabled).
Works very well :)

merk 11-24-2005 09:45 PM

Nice :)

I just use vBulletins collapse functions. I dont like to have collapsed menus by default, but the users can choose to collapse them if they desire. I also had a feature where you could collapse the right menu (becuase on my site it only contains information, not so much navigation) but had to remove it because it was buggy :|

Andreas 11-24-2005 09:52 PM

If I made all entries uncollapsed by default it would be looong ;)
Therefor I prefer it this way, as it is "context-sensitive", eg. shows the navigation for the section you are currently in.

merk 11-24-2005 10:01 PM

Not a bad idea, I guess by the looks of your site (I cant actually read it :() you have alot more content based pages.

My navigation is very simple at the moment, and as most sites out there, the only content I have is my forum posts. Im trying so hard to change that, though :)

Andreas 11-24-2005 10:08 PM

Yes, we've got quite a few content pages.

I wish there was a really good vBulletin based CMS available, though my modified CMPS doesn't perform too bad.

merk 11-24-2005 10:12 PM

I take it you edit the content of the pages in the admincp area you posted?

Definatly a good way of doing it. My view of content for my site revolves around threads, for all content types ive completed so far, they are all based around threads as it allows discussion on the main article.

I guess Im waiting for some kind of CMS as well :)

Andreas 11-24-2005 10:21 PM

1 Attachment(s)
Yes, editing is done through ACP.
As you can see from the screenshots, the controls are a mixture of English and German => Work in progess ;)


All times are GMT. The time now is 05:51 AM.

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.01235 seconds
  • Memory Usage 1,717KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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