vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - vBadvanced CMPS Navigation v1.11 (https://vborg.vbsupport.ru/showthread.php?t=126279)

transitbus 09-14-2006 09:28 PM

Tried it again and it works great. No more errors when logging out.

thanks for fixing things

Gaia 09-15-2006 12:38 PM

Thanks, installed ^_^

Slave 10-03-2006 09:01 AM

Just to let you know, I've added a link to this hack over at the vBa forums ..

http://www.vbadvanced.com/forum/showthread.php?t=18083

Janet Jackson 10-04-2006 09:00 PM

Excellent mod, thank you very much.

emtee 10-05-2006 06:34 AM

I use an image look like this |> instead of this bigger sign >, so where in the product do I modify so that I get the image |> instead of just > so the whole navigation link match? Thank you.

Great hack by the way, it makes the portal much more noticeable.

Jelmertjee 10-07-2006 09:07 AM

i've installed the xml file (imported as product, via the vbulletin admin control panel) but the menu doesn't show up anywhere, i can't find a way to edit it either, where should it be?

Dennis Kaczor 10-08-2006 02:00 PM

Quote:

Originally Posted by Jelmertjee
i've installed the xml file (imported as product, via the vbulletin admin control panel) but the menu doesn't show up anywhere, i can't find a way to edit it either, where should it be?

I just installed this XML file as well and I also don't see it as well. Any ideas guys? Would love to see this thing work. Where do I look to edit the settings etc.... Any help would be appreciated.

Dennis

Dave Alcock 10-08-2006 04:38 PM

Did the manual install - works great. (vB 3.6.2 and vBa 2.2.0)
Thanks.

DaMaK 10-25-2006 01:10 PM

Anyone know how i can get this working on an external dir like Photopost gallery.

https://vborg.vbsupport.ru/

It show right name but it aint linkable and i want the txt Forum changed to Gallery

Blue-Inc 11-05-2006 07:49 AM

Thank you! I pressed install! ;)

project-Buckfas 11-10-2006 01:51 PM

Works perfect on 3.6.3. Time to install: 1 Second!

Great mod thank you!

vbreal 11-13-2006 10:36 PM

thanks

mlucek 12-08-2006 08:25 PM

K.I.S.S. - Keep It Simple Stupid

Short & sweet little hack. Nice. Installed :classic:

Rahzel_hx 12-11-2006 12:12 AM

http://www.theraidalliance.com/navbarhelp.JPG

usin his picture to explain my question how would you make the link
the Raid Allianice go to some other place than your hope page. Example in my main root i have other index pages and i want it to link just to index2.php not index.php I have an index.html and then i have my cmps_index.php i would like to link back to the CMPS page not my other page

cfspinner 12-16-2006 01:31 PM

1 second install! Done...love it!

Kiint 12-16-2006 04:40 PM

Also using his picture, how would you change the word "Forum" to "Forums"? just and extra letter "S" on the end?

Forum = one
Forums = many

I have many forums, so wish the link to be "Forums".

Edit: Did it the manual way...found it in manage plugins, and found $vbphrase[forum] and changed it to Forums. seems to work OK :)

*Installed*

Crow 01-05-2007 12:50 AM

Clicks Install!:)

BSchrader 02-12-2007 10:48 PM

This is a great hack, but how do I get it to display the suffix "Home" instead of "Forum" on the navbar?

cclaerhout 02-13-2007 09:39 AM

You should change in the code
Code:

$vbphrase[forum]
with Home. It should work. Sorry, i'm missing time at the moment.

BSchrader 02-13-2007 07:26 PM

Thanks C?dric, for the quick response.

I tried what you suggested, replacing
Code:

$vbphrase[forum]
with
Code:

$vbphrase[home]
both places it appeared in the navbar template, but the forum prefix still appears on the navbar. I even tried editing the .xml file in the same way before reinstalling. Then I tried deleting the plugin and installing your code manually with the correction. Every time, your hack worked great, except for the default prefix: forum. I'm perplexed.

If you have any other suggestions, please let me know. Thanks!

Kiint 02-13-2007 09:44 PM

What he means is to replace $vbphrase[forum] with the word home

not $vbphrase[home] but just ---> home <---

BSchrader 02-14-2007 05:58 PM

I understand now. Replacing $vbphrase[forum] with the word home does make a difference. It changes the name of the current location in the navbar.

That is not at all what I want to do. The current location default in the navbar is correct; but I need the displayed text mysite.com Forum changed to mysite.com Home.

Thanks for the suggestion anyway. I'm open to any others you might have.

Kiint 02-14-2007 09:28 PM

I suppose you could do something similar to what you originally did, but create a new phrase in Phrase Manager called Home with the description as "Home", with the phrase type set as Global.

And then change the code from $vbphrase[forum] to $vbphrase[home]

edit: ignore that, if i guess correctly you wish for the link to display as mysite.com Home > Forum not mysite.com Forum > Forum

Just edit the code from:

Code:

$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . "</a></span
>

to

Code:

$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . " Home" . "</a></span>
Notice the extra " Home" text added.

And also change your site name in the vBulletin Options, Site Name / URL / Contact Details from mysite.com Forums to mysite.com

butty 02-17-2007 01:08 AM

great stuff added this to my site. works perfectly many thanks :)

BSchrader 02-18-2007 05:44 PM

Quote:

Originally Posted by Kiint (Post 1182750)
Just edit the code from:

Code:

$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . "</a></span
>

I'm sorry, but I cannot find that code. It doesn't show up when I use Search in Templates or when I look through the navbar template. Could you clarify where it is or how to find it? Thanks.

Kiint 02-18-2007 07:18 PM

sure, simple steps.

go to your admin panel,
open up Plugins and Products
Click on Plugin Manager
Scroll down to CMPS naviguation module, click on [Edit]

Find
Code:

$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . "</a></span
(There is no search option for this, you will have to manually look into the code and find it)

Change it to:



Code:

$replace[] = '<span class=\"navbar\"><a href=\"" . $GLOBALS[\'vbulletin\']->options[\'homeurl\'] . "" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . "\" accesskey=\"0\">" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . " Home" . "</a></span>
Notice the extra " Home" text added.

Now go to vBulletin Options in your admin control panel
Select Site Name / URL / Contact Details from the list
remove the word "Forums" from your Forum Name so that it appears as "mysite.com" and not "mysite.com Forums"

If this doesn't work then I'd suggest you spend some time looking at the code and figure it out as I'm no expert on this, I just tested and played with the code until I got the results you wanted, then changed it back once I knew it worked :)

BSchrader 02-18-2007 08:01 PM

Great Kiint, you nailed it! Now it works perfectly. Thanks for your help.:)

Masked Crusader 02-21-2007 02:23 PM

Works great! Clicked install.

princeedward 07-01-2007 11:22 AM

works great like a charm...to my vBv3.6.7 PL1

many thanks bro...

;)

Alfa1 07-01-2007 12:21 PM

Yup. Very nice.

Is it possible to change 'Forum' to something else? If so, where do I do that?

Alfa1 07-08-2007 06:19 PM

My image gallery (Photopost Pro) shows as 'Forum' in breadcrumb. How do I change that?

Slave 07-10-2007 12:15 PM

Quote:

Originally Posted by Alfa1 (Post 1286013)
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.

Rideharder 02-09-2008 01:38 PM

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

Can somebody help on how to correct this..

My URL www.speedaholic.net

Rideharder 02-09-2008 04:08 PM

Working

Majest 02-20-2008 02:28 AM

Awesome little hack, thanks for making it.

PoetJA-1975 02-23-2008 09:17 AM

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...

Example:

https://vborg.vbsupport.ru/external/2008/02/4.gif

https://vborg.vbsupport.ru/external/2008/02/5.gif

Anyway - Thanx for the sharing ;)

Jacquii.

DDIG 05-13-2008 07:36 AM

Works great on VBulletin 3.7.0 (gold)! Thanks again, it would have taken me weeks to figure this out. :up:

Greek76 08-03-2008 06:09 PM

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?

Warlord 08-07-2008 01:15 AM

Great hack! You just made my day. :D

*installed*

Phooey 08-10-2008 06:37 PM

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?


All times are GMT. The time now is 12:54 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.01405 seconds
  • Memory Usage 1,820KB
  • 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
  • (9)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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