Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2019, 07:50 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Footer Nav Bar Chnage Spelling of a Button

I have "footer navbar" on my site...and all I want to do is change the name of one of the buttons in the footer navbar. The button name I want to change is currently called "Archive".

I know much of the coding that controls this footer navbar is in the "footer" template accessed via the vB admincp.


Link of the footer navbar as users see it:

https://i73.photobucket.com/albums/i...ps0danj5iw.png

Link of the code in the vBulletin "footer" template that controls this button:

https://i73.photobucket.com/albums/i...ps3sju0pl2.png

[/URL][/IMG]

Can someone tell me what I need to do (or where I need to go) to change the spelling of this "Archive" button to something else (for example change it to "Pizza").

Thanks
Reply With Quote
  #2  
Old 04-01-2019, 09:06 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

search phrases under Languages & Phrases, change the phrase for archive
Reply With Quote
  #3  
Old 04-01-2019, 09:24 AM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks snakes1100...great answer as usual.

When I did a search in Languages & Phrases for "archive"...there's nothing editable in any of the search results. Here's a screenshot of one of the results:

https://i73.photobucket.com/albums/i...ps70i6rgtq.png

Thanks
Reply With Quote
  #4  
Old 04-01-2019, 10:17 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You want this phrase, not the one you are editing.

GLOBAL Phrases Containing 'archive'

Just enter what you want it to say in the box, then save.

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

If you want, just edit the footer template for the style:

<vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></li></vb:if>

to

<vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php{vb:raw session.sessionurl_q}">PIZZA</a></li></vb:if>
Reply With Quote
  #5  
Old 04-01-2019, 12:23 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there Snakes1100...you are The Man! That did the trick!

Just so you know...I searched with the phrase manager again...and found something I must have missed the 1st time. There was an editable "Archive" phrase (see link below)...but when I changed it to something else (like Pizza)...it didn't change the name in the footer link:

https://i73.photobucket.com/albums/i...psynj1dsxq.png

But editing the footer template as you instructed did the trick!

Thanks VERY much!

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

A bit of a followup question Snakes1100.

Here's a screenshot of the footer template code that controls this footer navbar. As you can see...on the one line of code...I changed {vb:rawphrase archive} to Pizza....and that worked great.

https://i73.photobucket.com/albums/i...psddoph7b3.png

My followup question is:

Rather than manually modifying each individual {vb:rawphrase xyz123} statement for each footer link name. Looking at the code in the screenshot...should there be a file or template that contains all this info in one place that I could modify rather than changing each line of footer template code for each footer link name?

Thanks again.
Reply With Quote
  #6  
Old 04-02-2019, 07:07 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, you need to change them in the footer template or do the phrasing.
Reply With Quote
  #7  
Old 04-02-2019, 12:08 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok great. Thanks for confirming. And thanks much for the help.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07230 seconds
  • Memory Usage 2,222KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete