vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBa CMPS: Dynamic Navigation menu - all your Custom CMPS Pages (https://vborg.vbsupport.ru/showthread.php?t=67953)

Silverdawn222 08-03-2004 05:15 PM

Hi,

Can't seem to visit that thread, even when I register... But thanks. :)

House_of_Crazed 08-03-2004 06:38 PM

Yea, same here.

I suspect that Boofo will verify people as being members here since he is also a Moderator here and I'm sure he has the capability of seeing if they are verified & etc...

HoC

NuclioN 08-04-2004 01:13 AM

Natch how to get the result of links in the centerblock as in your example?

Natch 08-04-2004 09:15 AM

I'm not sure I understand the question - there's nothing in my hack that is not in standard CMPS - it's just Custom Pages - I am just parsing the adv_pages table for userperms and pages and outputting an array of links...

NuclioN 08-04-2004 11:44 AM

Then i hope you specify the use of this function a bit better because when i add urls in the template they all open in blanc pages, not in the center block. Maybe i'm missing something. :)

Natch 08-04-2004 11:56 AM

You don't add URL's in the template ... that's the whole point!

1. Do you have the CMPS installed?
2. Do you have any custom pages installed?

You can install this, leave the DEFAULT templates, and you will have a navigation menu with all your custom CMPS pages added.

If you want to add new links to this (NOT SUPPORTED - this is not the point of this hack), you will need to ensure they have target="_parent" in the <a href definition or you will open links in new pages (as per the default vB behaviour...

NuclioN 08-04-2004 12:14 PM

DMPS? You mean CMPS.... :D It looks i have to look more often on the vbadvanced homepage

Natch 08-04-2004 01:53 PM

Do you have a serious question?

NuclioN 08-04-2004 01:59 PM

Yes i have. Now this is installed i can't see how to create new links to it that open content in centerblocks as on your example site.

Natch 08-04-2004 02:58 PM

I suggest you read the manual for CMPS - in your CMPS admin cp you have the facility to "Create Page" - this will call on a new template, or simply a construction based on the modules you have already installed ...

Well if you create a template and add that intothe page definition up the top there,m then that tempalte's contents will go intothe place of the "Custom PAge Content" module in the center at the top of your custom page ...

Make sense ?

Now I had heaps of content from my old vBindex install - I just used those templates for my custom pages - I have customised this hack to not list all the custom pages - I have about 50 extra pages that are linked behind the "Tutorials" vB dropdown menu - this menu is populated automagically using a different script I dev'ed up. So my version of this has an extra bit that adds AND !strstr("tut-",$pagename) to the determination of the items for the menu so that these aren't displayed in the NAvigation menu - but that's just for me - you can see far more Custom Page content by looking at the Tutorials menu...

I hoppe that makes things a bit clearer.


All times are GMT. The time now is 04:32 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.01030 seconds
  • Memory Usage 1,725KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete