vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Important Links In Navbar v3.00 (https://vborg.vbsupport.ru/showthread.php?t=259636)

Last_Zero 03-08-2011 07:04 PM

Quote:

Originally Posted by Boofo (Post 2171056)
Don't worry about it as I have the one we talked about ready for you now.

Thanks I Cant Wait To See

Boofo 03-08-2011 07:34 PM

Go ahead and release it here. ;)

Last_Zero 03-08-2011 08:28 PM

Quote:

Originally Posted by Boofo (Post 2171070)
Go ahead and release it here. ;)

Sure It Will Be Boofo Edition :D

Boofo 03-08-2011 08:37 PM

No need for that. Just make it your edited edition.

Last_Zero 03-08-2011 08:54 PM

Quote:

Originally Posted by Boofo (Post 2171090)
No need for that. Just make it your edited edition.

No Its Ok The Important Thing Is We Help People Not Important Who Write His Name But You Deserve This Coz You Edited The Full Code And I Appreciate That Coz I Got Some Tips And Hints From Your Code That Helped Me So Much really

OldSchoolDSL 03-08-2011 10:35 PM

Installed and 1/2 working ( I think )

It shows up on my community, which is good. But I can not find the AdminCP settings for this.

Using: Important_Links_Boofo_Edition.xml

I disabled v1
Un-installed v1
Imported the new one

Boofo 03-09-2011 12:06 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2171127)
Installed and 1/2 working ( I think )

It shows up on my community, which is good. But I can not find the AdminCP settings for this.

Using: Important_Links_Boofo_Edition.xml

I disabled v1
Un-installed v1
Imported the new one

There are no settings for the Boofo Edition. If you want the settings, I recommend using the other version.

OldSchoolDSL 03-09-2011 01:11 AM

Quote:

Originally Posted by Boofo (Post 2171167)
There are no settings for the Boofo Edition. If you want the settings, I recommend using the other version.

Ah. Well then that explains things. :o

Installed and FULLY working. :p

Was kind of hoping one of you would add a link to the default subscription page. Something vBulletin is lacking is advertising the paid subscription system.

Boofo 03-09-2011 01:53 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2171189)
Ah. Well then that explains things. :o

Installed and FULLY working. :p

Was kind of hoping one of you would add a link to the default subscription page. Something vBulletin is lacking is advertising the paid subscription system.

I don't believe in adding a lot of settings to turn things on/off in a mod like this. Every member should have access to all of those links to make things easier for them to find.

As for the subscriptions link, that would be easy to add to the end of the template. Just get the link of what is should be, throw it between to li tags, and add it to the template.

OldSchoolDSL 03-09-2011 02:37 AM

Well all I need to do now is figure out how to disable Quick Links from the menu and I'll be good

Boofo 03-09-2011 02:55 AM

Look in the navbar template.

bitbender 03-09-2011 11:09 AM

Btw - I found that I wanted to alter the position of where the Important links is inserted into the navbar - "easy peasy" with the hook location change to navbar_end versus navbar_after_calendar in the plugin :)

Thx to Boofo for telling me to wake up and post in the correct thread)

Last_Zero 03-09-2011 12:22 PM

Quote:

Originally Posted by bitbender (Post 2171326)
Btw - I found that I wanted to alter the position of where the Important links is inserted into the navbar - "easy peasy" with the hook location change to navbar_end versus navbar_after_calendar in the plugin :)

Thx to Boofo for telling me to wake up and post in the correct thread)

Yeah The 2nd Version Was In Navbar_end

Boofo Edited It To Show In Navbar_After_Calender

:)

Mark4865 03-09-2011 12:38 PM

okay re-installed version 2 again and all working 100% thanks for this great simple mod

bitbender 03-09-2011 01:00 PM

Quote:

Originally Posted by Last_Zero (Post 2171350)
Yeah The 2nd Version Was In Navbar_end

Boofo Edited It To Show In Navbar_After_Calender

:)

Well, from my chair the "after" calendar location is actually a logical place for it.. Just that my membership is used to seeing it right justified at the end from a similar mod I provide them on the VB 3.7 board(Custom links in Navbar). I have other links after Calendar and so ... :)

And they have promised to have me tarred and feathered and possibly even keelhauled if I don't keep the same functionality in the VB 4 flavor. ;) Thank goodness that my bluegrass community isn't as picky. :up:

Cheers

Gemma 03-09-2011 01:56 PM

Nice idea. Thank you :)

OldSchoolDSL 03-09-2011 02:27 PM

Quote:

Originally Posted by Boofo (Post 2171212)
Look in the navbar template.

I Google`d and did a search, but could only find the code for vBulletin 3. I'm using vBulletin 4 and while I think I found something similar, I'm not sure what to remove.

Any help would be very grateful

Boofo 03-09-2011 02:59 PM

The way I do it if I don't know for sure where something is:

I look for the phrase first (Quick Links).
Then I do a search in the phrases for Quick Links and find what the phrase name is.
Then I do a search in the templates for that phrase name and voila! ;)

Then just wrap it in a conditional for what you want.

OldSchoolDSL 03-09-2011 03:12 PM

Quote:

Originally Posted by Boofo (Post 2171424)
The way I do it if I don't know for sure where something is:

I look for the phrase first (Quick Links).
Then I do a search in the phrases for Quick Links and find what the phrase name is.
Then I do a search in the templates for that phrase name and voila! ;)

Then just wrap it in a conditional for what you want.

I think this is the code I need to remove, to remove that menu.

Code:

<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
edit: Confirmed. All seems to be working. Although I'm sure there is more code for that menu, but I could not figure it all out.

Boofo 03-09-2011 04:25 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2171432)
I think this is the code I need to remove, to remove that menu.

Code:

<a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
edit: Confirmed. All seems to be working. Although I'm sure there is more code for that menu, but I could not figure it all out.

Okay, here is what you need to do:

In the navbar template
Replace this:

Code:

                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
                                                <ul class="popupbody popuphover">
                                                        <vb:if condition="$show['member']">
                                                                <li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
                                                                <li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$vboptions['forumleaders']">
                                                        <li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
                <vb:if condition="$vb_suite_installed">
                        {vb:rawphrase view_site_leaders}
                <vb:else />
                        {vb:rawphrase view_forum_leaders}
                </vb:if>
        </a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos1}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos2}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos3}
                                                        <vb:if condition="$show['wollink']">
                                                                <li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos4}
                                                </ul>
                                        </li>


with this:

Code:

                                        <vb:comment>
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl" accesskey="3">{vb:rawphrase quick_links}</a>
                                                <ul class="popupbody popuphover">
                                                        <vb:if condition="$show['member']">
                                                                <li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
                                                                <li><a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$vboptions['forumleaders']">
                                                        <li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
                <vb:if condition="$vb_suite_installed">
                        {vb:rawphrase view_site_leaders}
                <vb:else />
                        {vb:rawphrase view_forum_leaders}
                </vb:if>
        </a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos1}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos2}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos3}
                                                        <vb:if condition="$show['wollink']">
                                                                <li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos4}
                                                </ul>
                                        </li>
                                        </vb:comment>


Notice what I highlighted in red. Wrapping it in comment tags will comment it all out but yet leave it there in case you ever want it in the future.

OldSchoolDSL 03-09-2011 04:48 PM

@ Boofo

Thank you for your help and pointing out what I need to remove.

You comment out what you do not need and I like personally like to remove what I do not need (its a personal choice) . But that little bit of information may come in useful, as not everything can be removed.

Boofo 03-09-2011 05:12 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2171482)
@ Boofo

Thank you for your help and pointing out what I need to remove.

You comment out what you do not need and I like personally like to remove what I do not need (its a personal choice) . But that little bit of information may come in useful, as not everything can be removed.

Especially the next time you upgrade and vb tells you to revert the template because it can't find what is suppose to be there.

OldSchoolDSL 03-09-2011 07:17 PM

Quote:

Originally Posted by Boofo (Post 2171491)
Especially the next time you upgrade and vb tells you to revert the template because it can't find what is suppose to be there.

I admit, my way of doing things may not be for everyone. But I also keep a very detail log of every change I make. A copy of the original code and all edits.

I have done some reverts and then re-applied my custom edits (in the past).

bitbender 03-09-2011 08:19 PM

Boofo - Where did you pick up all this about VB4 - I need to go there for week!

OldSchoolDSL 03-09-2011 08:34 PM

I found out how to remove / hide the link which reads "Private Massages" in the Navbar. Its not really needed with this mod.

In Navbar look for:

Code:

<vb:if condition="$show['pmmainlink']">
                                                <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
                                        </vb:if>

You can wrap it with

Code:

<vb:comment>  </vb:comment>
And the end result will look like

Code:

<vb:comment><vb:if condition="$show['pmmainlink']">
                                                <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
                                        </vb:if></vb:comment>

( Alternatively, you could remove it rather then wrap it )

Boofo 03-09-2011 08:49 PM

Quote:

Originally Posted by bitbender (Post 2171577)
Boofo - Where did you pick up all this about VB4 - I need to go there for week!

Just messing with things and learning from the best of the best here on the org. I still have a long way to go to catch up to most of the coders here.

Quote:

Originally Posted by OldSchoolDSL (Post 2171589)
I found out how to remove / hide the link which reads "Private Massages" in the Navbar. Its not really needed with this mod.

In Navbar look for:

Code:

<vb:if condition="$show['pmmainlink']">
                                                <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
                                        </vb:if>

You can wrap it with

Code:

<vb:comment>  </vb:comment>
And the end result will look like

Code:

<vb:comment><vb:if condition="$show['pmmainlink']">
                                                <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
                                        </vb:if></vb:comment>

( Alternatively, you could remove it rather then wrap it )

Yes, you can do that, but the link doesn't show up in the What's new or the Blogs page, anyway.

Mikevet1984 03-10-2011 01:09 AM

Could coders (Boofo & Last Zero) please merge this user note modification https://vborg.vbsupport.ru/showthread.php?t=247552 inside your mod or at least make a refferal link to this mod in the list?

I think a little user notes space is available for everyone and is really an important link.

Boofo 03-10-2011 01:23 AM

This is Last Zero's thread. I will leave it to him.

Last_Zero 03-10-2011 07:04 AM

Quote:

Originally Posted by Mikevet1984 (Post 2171692)
Could coders (Boofo & Last Zero) please merge this user note modification https://vborg.vbsupport.ru/showthread.php?t=247552 inside your mod or at least make a refferal link to this mod in the list?

I think a little user notes space is available for everyone and is really an important link.

Let Me See Mate What Can I Do And Ofc Any Help I Will Ask Boofo

He Is A Good Man And Love To Help

Boofo 03-10-2011 11:10 AM

You can't add links for every mod someone might have installed as it would be never-ending and too long of a list.

Mikevet1984 03-10-2011 01:12 PM

Quote:

Originally Posted by Boofo (Post 2171809)
You can't add links for every mod someone might have installed as it would be never-ending and too long of a list.

Βοoofo you are absolutely right! My intention was to make a request so as to motivate you make your modification better and better. That is the reason I make suggestions to every mod's coder here in good faith to help him make his product better. Not to become boring. It's up to you, your mood, your free time rtc if you will complete the suggestions of any member here. Anyway, thank you for everything you have offered till now in here. You have helped a lot. Last zero same thing for you. Take care. Bye! :)

Boofo 03-10-2011 01:31 PM

Mike, I wasn't complaining, sir. I was just stating that if we added links for what users might have installed, the list would be endless and not viewable as it would be too long. I would suggest making another menu mod for links like that.

Mikevet1984 03-10-2011 05:57 PM

A good idea to avoid people's requests all the time would be to give admins the possibillity to add their favorite shortcuts to the list. You may design the same list plus some free space (i.e. 5 shortcuts) that any admin could manually add though cp providing link and title for every shorcuts wishes to add. Does this sound good to you, coders?It's only a suggestion...nothing more.

Boofo 03-10-2011 07:37 PM

As I would never use something like this, since I can add my own links, I would not be interested in developing it as a free mod, sorry.

Mikevet1984 03-11-2011 01:01 PM

Ok, Boofo! I see.... Thank you for everyhing so far!

"Michael"

Boofo 03-11-2011 01:12 PM

Quote:

Originally Posted by Mikevet1984 (Post 2172245)
Ok, Boofo! I see.... Thank you for everyhing so far!

"Michael"

Sit tight. I am working on a additional links one now.

Last_Zero 03-14-2011 05:52 PM

Quote:

Originally Posted by Boofo (Post 2172247)
Sit tight. I am working on a additional links one now.

https://vborg.vbsupport.ru/showthread.php?t=260260

:D

Alan_SP 04-23-2011 07:27 PM

For CMS, add this:

HTML Code:

<li><a href="list.php?{vb:raw session.sessionurl}author/{vb:raw bbuserinfo.userid}">My CMS entries</a></li>
If it needs to be phrased, create phrase (or manually edit mod). Great idea Zero and Boofo. :up:

Mark4865 06-13-2011 09:42 AM

Anyone running this in 4.1.4

Mark4865 12-30-2012 10:25 AM

Seems to have disappeared when I upgraded to version 4.2 anyone got this working on 4.2


All times are GMT. The time now is 08:22 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.01620 seconds
  • Memory Usage 1,867KB
  • 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
  • (10)bbcode_code_printable
  • (1)bbcode_html_printable
  • (19)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