View Full Version : How To Change: What's New? --> to --> "Store"
xRUSTYx
02-22-2010, 05:41 PM
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:
{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&contenttype=vBForum_P ost">{vb:rawphrase getnew_tab}</a>
<ul class="floatcontainer">
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_P ost">{vb:rawphrase new_posts_nav}</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_S ocialGroupMessage">{vb:rawphrase new_group_messages_nav}</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_E vent">{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&contenttype=vBForum _Post">{vb:rawphrase getnew_tab}</a>
<ul class="floatcontainer">
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum _Post">{vb:rawphrase todays_posts}</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum _SocialGroupMessage">{vb:rawphrase daily_group_message}</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&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&contenttype=vBForum_P ost">{vb:rawphrase getnew_tab}</a></li>
<vb:else />
<li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum _Post">{vb:rawphrase getnew_tab}</a></li>
</vb:if>
{vb:raw template_hook.navtab_end}
And replace it with:
<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:
<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
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 1266869278 at 1266869278 ---------------
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
wow! Thanks borbole!
Is there a way to keep the What's New tab and simply add a store tab after it?
--------------- Added 1266869278 at 1266869278 ---------------
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
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
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 1266871105 at 1266871105 ---------------
now i need to figure out how to link my business website to the "Store" Tab .... anyone ?!?!?!
--------------- Added 1266871341 at 1266871341 ---------------
nevermind ... figured it out!!!! THANKS EVERYONE !!!!!!!!
Front Range 4x4
02-22-2010, 07:15 PM
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.