vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How To Change: What's New? --> to --> "Store" (https://vborg.vbsupport.ru/showthread.php?t=236601)

xRUSTYx 02-22-2010 05:41 PM

How To Change: What's New? --> to --> "Store"
 
Hey Guys,

First ... What are these called?
https://vborg.vbsupport.ru/external/2010/02/13.png

Second ... Can I Delete the CMS Home Tab? Really Have no need for it at this time.

Third ... I would like to Change the "What's New?" tab and make it say "Store" with a link to my business site.

Possible?

Thanks!

utahraves 02-22-2010 06:03 PM

1) They're called TABS.
2) I disabled the product CMS to get rid of "home" --
3) You cannot remove "What's new" from what I've seen without template edits but if you install this: https://vborg.vbsupport.ru/showthread.php?t=228507 you can add multiple tabs

borbole 02-22-2010 06:04 PM

Go to the language and phrases and search for getnew_tab, click edit and then enter Store at the text box and save the changes.

To replace the link with your custom link, go to the navbar edit and replace the following code:

HTML Code:

{vb:raw template_hook.navtab_middle}
                <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'">
                        <vb:if condition="$show['member']">
                        <li  class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a>
                                <ul class="floatcontainer">
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_SocialGroupMessage">{vb:rawphrase new_group_messages_nav}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Event">{vb:rawphrase new_events_nav}</a></li>
                                        {vb:raw template_hook.navbar_getnew_menu}
                                        <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a></li>
                                </ul>
                        </li>
                        <vb:else />
                        <li  class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a>
                                <ul class="floatcontainer">
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_SocialGroupMessage">{vb:rawphrase daily_group_message}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Event">{vb:rawphrase daily_events}</a></li>
                                        {vb:raw template_hook.navbar_getdaily_menu}
                                        <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a></li>
                                </ul>
                        </li>
                        </vb:if>
                <vb:elseif condition="$show['member']" />
                        <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
                <vb:else />
                        <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
                </vb:if>
                {vb:raw template_hook.navtab_end}

And replace it with:

HTML Code:

<li class="floatcontainer"><a class="navtab" href="url to your store page">{vb:rawphrase getnew_tab}</a></li>
This will show the store button to members and guests alike. If you want to show it to members only, then use this code instead:

HTML Code:

<vb:if condition="$show['member']">
<li class="floatcontainer"><a class="navtab" href="url to your store page">{vb:rawphrase getnew_tab}</a></li>
</vb:if>


xRUSTYx 02-22-2010 06:05 PM

Excellent! Thanks UTAH.

Where in the ACP do you go to disable CMS?

utahraves 02-22-2010 06:07 PM

Quote:

Originally Posted by xRUSTYx (Post 1988975)
Excellent! Thanks UTAH.

Where in the ACP do you go to disable CMS?

AdminCP > Plugins & Products > Manage Products > Find vBulletin CMS and disable.

borbole 02-22-2010 06:07 PM

At the Plugins and Products I believe.

xRUSTYx 02-22-2010 06:07 PM

wow! Thanks borbole!

Is there a way to keep the What's New tab and simply add a store tab after it?

--------------- Added [DATE]1266869278[/DATE] at [TIME]1266869278[/TIME] ---------------

Quote:

Originally Posted by utahraves (Post 1988978)
AdminCP > Plugins & Products > Manage Products > Find vBulletin CMS and disable.


thanks utah! appreciate all your help!

borbole 02-22-2010 06:08 PM

Yes, it is. Do you want to do that?

utahraves 02-22-2010 06:09 PM

Quote:

Originally Posted by xRUSTYx (Post 1988980)
wow! Thanks borbole!

Is there a way to keep the What's New tab and simply add a store tab after it?

--------------- Added [DATE]1266869278[/DATE] at [TIME]1266869278[/TIME] ---------------




thanks utah! appreciate all your help!

You would do that with the mod I told you to install

Front Range 4x4 02-22-2010 06:09 PM

Quote:

Originally Posted by xRUSTYx (Post 1988936)
Third ... I would like to Change the "What's New?" tab and make it say "Store" with a link to my business site.

Easiest method - Go to Language/Phrases and search for What's New? and change it to Store


All times are GMT. The time now is 08:00 AM.

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.01197 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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