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

utahraves 02-22-2010 06:10 PM

Quote:

Originally Posted by Front Range 4x4 (Post 1988989)
Easiest method - Go to Language/Phrases and search for What's New? and change it to Store

That would change "What's New?' to Store but it wouldn't change the URL that it points to. xRUSTYx wants it to link to his store rather than "what's new"

xRUSTYx 02-22-2010 06:12 PM

gotcha Utah!

Will download and install that mod ... May need help linking to that tab though?

borbole 02-22-2010 06:17 PM

From the screenshots posted at the mod''s thread you can do that with ease from the acp where the mod has added its settings.

xRUSTYx 02-22-2010 06:23 PM

got the xml uploaded, but being the noob I am ... where is the 2nd xml file saved on the ftp?

borbole 02-22-2010 06:25 PM

I don''t use that mod myself but try to ask at its thread as those who use it might help you better.

xRUSTYx 02-22-2010 06:28 PM

nevermind, found it :)

Thanks for your help Utah and Barbole!

For those interested, its saved here:
You need to FIRST upload the bitfield_vbhtabs.xml via FTP (into the appropriate directory = forum root > includes > xml). THEN you need to upload the product-vbh_newtabs10.xml via the Product Manager.

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

now i need to figure out how to link my business website to the "Store" Tab .... anyone ?!?!?!

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

nevermind ... figured it out!!!! THANKS EVERYONE !!!!!!!!

Front Range 4x4 02-22-2010 07:15 PM

Quote:

Originally Posted by utahraves (Post 1988991)
That would change "What's New?' to Store but it wouldn't change the URL that it points to. xRUSTYx wants it to link to his store rather than "what's new"

You're very right, I missed the URL part. Thanks for helping him instead of confusing as I did.


All times are GMT. The time now is 02:13 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.01124 seconds
  • Memory Usage 1,771KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete