Version: 1.11, by cclaerhout
Developer Last Online: Feb 2013
Category: Add-On Releases -
Version: 3.6.7
Rating:
Released: 09-10-2006
Last Update: 09-12-2006
Installs: 165
Uses Plugins Template Edits
No support by the author.
vBadvanced CMPS Navigation v1.11
What does this hack do ?
This module allows a better integration of the navbar in vBadvanced CMPS portal. It changes the root of your forums to CMPS index page instead of your forumhome.
Case number 1 : you're on your portal page The navbar will display the short welcome message with the name your website.
Case number 2 : you're on forumhome The navbar will display the name of your site with the "forum" suffix.
You didn't catch a word of what i said. So just look at pictures
Install
To install this module, you have the choice between the automatic or the manual install. The second is to use when you have heavily made changes in your navbar template.
Automatic Install
Just import the xml product file. That's all.
Manual install
Edit the navbar template as follow.
My image gallery (Photopost Pro) shows as 'Forum' in breadcrumb. How do I change that?
As I understand it .. take a look at the following line in both replacements ..
Code:
<if condition="defined('VB_AREA') AND in_array(THIS_SCRIPT, array('ajax','announcement','attachment','calendar','cron','editpost','faq','external','forumdisplay','image','index','infraction','inlinemod','login','joinrequests','member','memberlist','misc','moderation','moderator','newattachment','newreply','newthread','online','payment_gateway','payments','poll','postings','printthread','private','profile','register','report','reputation','search','sendmessage','showgroups','showpost','showthread','subscription','threadrate','usercp','usernote'))">
See all the stuff in the array? they are the only pages that should show up having the "Forum" link .. anything else is ignored, so I'm not sure why Photopost Pro has it.
As an example, I didn't want the calender as part of the forums, so I took it out of both replacements and I no longer have "Forums" in the breadcrumb for my calender.
I need some help.. I was playing around with the code and removed it and copied it to Notepad.. when I paste it back and then hit save I came up with this error.
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/speed/public_html/includes/adminfunctions_template.php(3596) : eval()'d code on line 24
Nice = Thanx
Question though ---> How can I get the "Forum" breadcrumb to show for forum pages not covered in the following text?
'ajax','announcement','attachment','calendar','cro n','editpost','faq','external','forumdisplay','ima ge','index','infraction','inlinemod','login','join requests','member','memberlist','misc','moderation ','moderator','newattachment','newreply','newthrea d','online','payment_gateway','payments','poll','p ostings','printthread','private','profile','regist er','report','reputation','search','sendmessage',' showgroups','showpost','showthread','subscription' ,'threadrate','usercp','usernote'
For instance I have Horoscopes, JPiC Newsletter, JPiC Moderating Team pages and many more...
Works great for 3.7.2 except when Im in the arcade it only shows Index/aracade it does not show the forum inbetween. Also is their a way to get a forum link on vba for instance mysite /forum?
I'm trying to get this to work, but I have a small issue. My forums and CMPS index are in the same directory with vBaCMPS located at index.php and the forums located at forums.php. I can't change the link to the forums in the general url settings because it breaks other things on the forums, but this mod links the "Forum" to the index.php not forums.php.
How do I fix this? I'm sure there's something I have to edit in the product, but I can't figure out what. Suggestions?