Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2011, 11:22 AM
Dark Lycan's Avatar
Dark Lycan Dark Lycan is offline
 
Join Date: Mar 2011
Location: WA State
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default how to change the welcome message on my index page!

hey guys how do I change the welcome message to say kh-mediaflare.net forums and welcome to kh-mediaflare.net? reason I want to do this is because I want it to be like this site has it (aka kh-vids.net) here a snapshot of there welcome message.:/



I want it to look like that but with my forum name, however, everytime I try to change it under edit templates/FORUMHOME and hit save and go back to my index page the welcome message that was there vanishes and only the forums message is there,:/ so how do I change the welcome message PROPERLY so that it doesn't vanish when I save it and return to my index page?
Reply With Quote
  #2  
Old 09-02-2011, 02:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the code in the FORUMHOME template that outputs that text:
HTML Code:
    <div id="pagetitle">
        <h1>{vb:raw vboptions.bbtitle}</h1>
        <p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
    </div>
So, you could either edit that or edit the phrase/settings.
Reply With Quote
  #3  
Old 09-02-2011, 02:45 PM
Dark Lycan's Avatar
Dark Lycan Dark Lycan is offline
 
Join Date: Mar 2011
Location: WA State
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
This is the code in the FORUMHOME template that outputs that text:
HTML Code:
    <div id="pagetitle">
        <h1>{vb:raw vboptions.bbtitle}</h1>
        <p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
    </div>
So, you could either edit that or edit the phrase/settings.
yes I know that that's where I change it but what I don't know is what part of the html code I need to change to make it work, so far I've tryed to change the part that I've highlighted inh red....

div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>


but every time I save the changes and return to my index page the welcome message vanishes in other words it's completely gone except for the part that just says forum.:/
Reply With Quote
  #4  
Old 09-02-2011, 02:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This - welcome_to_the_x - is the name of the phrase. You would edit it in the phrase manager. You would not just change the name there because, as you've seen, it just removes it.
Reply With Quote
  #5  
Old 09-02-2011, 05:49 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Search in phrases, replace with a translation.
Reply With Quote
  #6  
Old 09-02-2011, 11:24 PM
Dark Lycan's Avatar
Dark Lycan Dark Lycan is offline
 
Join Date: Mar 2011
Location: WA State
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
This - welcome_to_the_x - is the name of the phrase. You would edit it in the phrase manager. You would not just change the name there because, as you've seen, it just removes it.
so what else would I change it to then?? sorry if I'm bein a pest I'm just a total noob when it comes to stuff like this.:/

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

Quote:
Originally Posted by Max Taxable View Post
Search in phrases, replace with a translation.
that would help if I new what to search for.DX
Reply With Quote
  #7  
Old 09-02-2011, 11:45 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could use "Search in Phrases" to search for welcome_to_the_x (Search For Text = welcome_to_the_x, "Search In..." = Phrase Variable Name Only). When you find it, press "Edit", then enter a new phrase at the bottom and press "Save".

The first line comes from the options, in the adminCP Settings, Options -> Site Name / URL / Contact Details -> Forum Name.


The other thing you could do is just change the lines to read the way you want it to, like:

Code:
<h1>kh-mediaflare.net Forums</h1>
<p id="welcomemessage" class="description">Welcome to kh-mediaflare.net</p>

I guess the downside to the second way is if the phrases are used any place else they won't be changed.
Reply With Quote
  #8  
Old 09-03-2011, 06:12 AM
Dark Lycan's Avatar
Dark Lycan Dark Lycan is offline
 
Join Date: Mar 2011
Location: WA State
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
You could use "Search in Phrases" to search for welcome_to_the_x (Search For Text = welcome_to_the_x, "Search In..." = Phrase Variable Name Only). When you find it, press "Edit", then enter a new phrase at the bottom and press "Save".

The first line comes from the options, in the adminCP Settings, Options -> Site Name / URL / Contact Details -> Forum Name.


The other thing you could do is just change the lines to read the way you want it to, like:

Code:
<h1>kh-mediaflare.net Forums</h1>
<p id="welcomemessage" class="description">Welcome to kh-mediaflare.net</p>

I guess the downside to the second way is if the phrases are used any place else they won't be changed.
ohhh kk ty kh99 that's a huge help ty so much
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 12:16 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.04307 seconds
  • Memory Usage 2,242KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_code
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_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