![]() |
Tried it again and it works great. No more errors when logging out.
thanks for fixing things |
Thanks, installed ^_^
|
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 |
Excellent mod, thank you very much.
|
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. |
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?
|
Quote:
Dennis |
Did the manual install - works great. (vB 3.6.2 and vBa 2.2.0)
Thanks. |
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 |
Thank you! I pressed install! ;)
|
Works perfect on 3.6.3. Time to install: 1 Second!
Great mod thank you! |
thanks
|
K.I.S.S. - Keep It Simple Stupid
Short & sweet little hack. Nice. Installed :classic: |
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 |
1 second install! Done...love it!
|
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* |
Clicks Install!:)
|
This is a great hack, but how do I get it to display the suffix "Home" instead of "Forum" on the navbar?
|
You should change in the code
Code:
$vbphrase[forum] |
Thanks C?dric, for the quick response.
I tried what you suggested, replacing Code:
$vbphrase[forum] Code:
$vbphrase[home] If you have any other suggestions, please let me know. Thanks! |
What he means is to replace $vbphrase[forum] with the word home
not $vbphrase[home] but just ---> home <--- |
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. |
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> And also change your site name in the vBulletin Options, Site Name / URL / Contact Details from mysite.com Forums to mysite.com |
great stuff added this to my site. works perfectly many thanks :)
|
Quote:
|
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 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> 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 :) |
Great Kiint, you nailed it! Now it works perfectly. Thanks for your help.:)
|
Works great! Clicked install.
|
works great like a charm...to my vBv3.6.7 PL1
many thanks bro... ;) |
Yup. Very nice.
Is it possible to change 'Forum' to something else? If so, where do I do that? |
My image gallery (Photopost Pro) shows as 'Forum' in breadcrumb. How do I change that?
|
Quote:
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'))"> 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 Can somebody help on how to correct this.. My URL www.speedaholic.net |
Working
|
Awesome little hack, thanks for making it.
|
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. |
Works great on VBulletin 3.7.0 (gold)! Thanks again, it would have taken me weeks to figure this out. :up:
|
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?
|
Great hack! You just made my day. :D
*installed* |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|