PDA

View Full Version : Dynamic Forum Navigation Module (basic)


phlogiston
11-17-2004, 04:20 AM
This module provides a very basic dynamic forum menu.




Each CMPS page can display either a list of subforums or a list of thread topics.
A maximum number of menu links can be set for each page
The parent forum id can be set for each CMPS page.
First and last menu options can be set in static templates.
New templates under the vBadvanced CMPS section include adv_portal_navmenu_high and adv_portal_navmenu_low which contain the links above and below the dynamic portion, both of these can be emptied or set to whatever suits your site best.


*** IMPORTANT ***
The install script included here runs queries, simple though they are to just add extra settings, templates & phrases, I strongly advise you to BACKUP your database before installing (unless you really, really trust me. fools...)






I'm not good at posting these things as I never know what extra info folk might want/need, so just ask!

memobug
11-17-2004, 05:41 AM
This looks interesting.

When you say this:
"5. Update Individual Pages if Needed." What does that mean? Does it mean that the orum pages still need to be integrated something along the lines of this?

http://www.vbadvanced.com/membersarea.php?do=viewmanual&productid=4&pageid=6

Regards,

Matt

Our Sponsors
 

phlogiston
11-17-2004, 06:31 AM
hah! :) yes, That should read "Update individual CMPS Pages if needed to show the module with the settings you want".

& this simply provides a module for the vba CMPS pages, if you want it to show on the forum pages then you will still have to integrate the CMPS as explained in the link you posted.

Brewskie
11-17-2004, 03:02 PM
I've installed it according to the instructions but the module seems to pull every board and thread in the forums. It is also not displaying the name of the block at the top. (Should be "Navigation" but it is blank)

The site is here: http://www.pcgnetworks.com/index.php

How can I tell the module to only pull the names of each category and add some custom links?

Thanks!

Our Sponsors
 

phlogiston
11-17-2004, 11:47 PM
The block name I used should be stored as $vbphrase[site_navigation], you can check through the Language & Phrase manager if it's there and then check the adv_portal_navmenu template for it as well :S

As for showing all the forums I didn't figure out how to get it to do that for me... :|
- the Navigation Options at the bottom of the CMPS page settings should limit where the module gets the threads or forums to display (eg on your forum setting the Navigation Menu Parent Forum ID to 37 should limit the subforums displayed to those on your forumhome between News & Contests, if it doesn't then I've misunderstood the function I pasted from vBulletin and apologise profusely.

Setting the Navigation Menu Maximum Links will limit the number of threads displayed if that option is checked.

Neutral Singh
12-21-2004, 04:24 AM
when i run the install script it returns a blank screen...there is no intall button... :(

Can i make the additions manually ? and how ?

Thanks

Spydey
01-10-2005, 01:01 AM
asingh - I don't know if you figured it out yet or not...
But I had the same issue with IE.. I ran the script using Firefox, and it worked fine...

Mikaelweb
01-13-2005, 05:19 AM
instaler filer do not work

Raven_FCF
01-31-2005, 10:20 AM
the Nav menu list is spaced out between some links. how did you do that?

btw, installed great 1st time :)

+buG
01-31-2005, 06:22 PM
Your installer doesn't work

nexia
01-31-2005, 06:24 PM
Your installer doesn't work
you will have to explain your problem, because some guys already have installed it without a bug...

+buG
01-31-2005, 06:33 PM
For those of you who can't get the installer to work I've attached a fixed copy. I've removed the css function which was causing IE to struggle viewing the page. Maybe phlogiston will look into fixing the cpheader function for IE users. I like the module btw gj.

phlogiston
02-01-2005, 11:58 AM
brilliant - cheers for that +buG, I've not had anywhere near the time to keep an eye on this site recently so thanks for fixing that!

organik81
04-08-2005, 12:06 PM
Fatal error: Call to undefined function: getrowcolor() in /home/cennetfo/public_html/forum/modules/navigation.php on line 94

what can I do? Thanx...

Edited : After did the settings from admincp, it fixed... :)

Flow Fusion
04-08-2005, 04:08 PM
thanks now how can I add other links like journal, shop etc.?

nvnix
04-11-2005, 06:59 PM
I am getting the Following error, Anyone know what I am doing wrong?

Fatal error: Call to undefined function: getrowcolor() in /path/to/public_html/forums/modules/navigation.php on line 94

phlogiston
04-12-2005, 03:23 PM
ack!

I'd forgotten all about this being up here - ermm, it most likely won't work at all with vBa CMPS v1.0.1 due to function renaming and the like - I'd have to get time to have a look at it and not certain at all when that would be - sorry folks :(

Neutral Singh
04-23-2005, 05:37 AM
Fatal error: Call to undefined function: getrowcolor() in /path/to/public_html/forums/modules/navigation.php on line 94

Please its not working in 1.0.1 :(

dsboyce8624
05-06-2005, 02:06 PM
Anybody out there who can fix this? I might be willing to make it worth your while. A little anyway.

runes911
07-15-2005, 01:56 PM
Well this worked for me:

In the navagation.php file

find:
$getbgrow = getrowcolor();

comment it out like so:

//$getbgrow = getrowcolor();

I am using CMPS 2.x