vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Center or remove - Forum Title & Welcome Message (https://vborg.vbsupport.ru/showthread.php?t=257765)

bp323 09-14-2011 04:30 AM

very cool mod! altho i didn't use it to do anything but figure out how to change it from repeating the title twice & removing the "the" from the welcome message

now it says
"welcome to"
forum title

Vs the old

forum title
welcome to the "forum title"
^ redundant & looked horrendous

Thanks again!

OldSchoolDSL 11-30-2011 06:31 PM

Quote:

Originally Posted by bp323 (Post 2245697)
very cool mod! altho i didn't use it to do anything but figure out how to change it from repeating the title twice & removing the "the" from the welcome message

now it says
"welcome to"
forum title

Vs the old

forum title
welcome to the "forum title"
^ redundant & looked horrendous

Thanks again!

AdminCP > Languages & Phrases > Search in Phrases

Search for
PHP Code:

welcome_to_the_x 

Using the Phrase Text and Phrase Variable Name search

Edit (should only find 1 per language installed)

Change it to whatever you like. As suggested though.... I want it to say Welcome to SITE NAME
and finally remove the word "the".

So you can put in
:o
PHP Code:

Welcome to {1

Sorry for the delay in my reply or update. I only recently switched back to vBulletin (Oh how I missed it) :o

doctorsexy 11-30-2011 07:05 PM

Works good...Thank You

OldSchoolDSL 12-15-2011 11:25 PM

12 - 15 - 2011 - UPDATE
v1.2


Notice: This update need only be applied if you have already reverted your code, typically during a vBulletin upgrade and / or have not already installed this modification.

The changes made will help reduce any possible conflict and help limit the need to revert templates and re-apply for future updates of vBulletin.

Further this update also includes the optional grammar correction, which not everyone may need. But can be applied at any time (this version or previous version of the code)

If none of the above is true for you .... You do not need to update.

thompson 12-18-2011 10:25 AM

thanks. like this.

OldSchoolDSL 12-28-2011 04:59 PM

Tested working

4.1.10

Notice: You will need to re-apply after upgrading.

Tr4visT 01-26-2012 07:23 PM

I successfully removed the house and "forum" but for some reason the I cannot get rid of the welcome box/message. This is what mine looks like, any suggestions? Does it matter I am using a Completevb skin?

<vb:comment> <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> </vb:comment>

OldSchoolDSL 01-26-2012 08:03 PM

Quote:

Originally Posted by Tr4visT (Post 2292792)
I successfully removed the house and "forum" but for some reason the I cannot get rid of the welcome box/message. This is what mine looks like, any suggestions? Does it matter I am using a Completevb skin?


Code:

<vb:comment> <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>  </vb:comment>


It shouldn't make a difference unless you have another hook for something that relates to it (custom code in the skin).

Try clearing your system cache and rebuilding the theme.

Tr4visT 01-26-2012 08:05 PM

Hey Old School, thanks for the reply.

When you say "rebuilding the theme" what exactly does that mean?

OldSchoolDSL 01-26-2012 08:09 PM

Quote:

Originally Posted by Tr4visT (Post 2292811)
Hey Old School, thanks for the reply.

When you say "rebuilding the theme" what exactly does that mean?

Clear you system cache (on the server for the forum)

1)


AdminCP > Maintenance > Clear System Cache


2)

Rebuild theme / skin / style (however you wish to call it)

AdminCP > Maintenance > General Update Tools > Rebuild Styles > YES / YES > Rebuild Styles

Repeat step #1


All times are GMT. The time now is 03:57 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.01165 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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