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 11-09-2014, 10:00 AM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBadvanced CMPS - How to change the page title?

I have installed vBadvanced CMPS and created a "html code" page to make it the homepage. The page title is showing to be "sitename.com" which looks ugly plus bad for SEO.

How to customize the page title?

For example, this site's homepage title looks like to be "vBulletin.org Forum - The official vBulletin resource". How can I edit this? Couldn't find such an option in vBadvanced CMPS settings.

See the image below to understand what I'm talking about:




vBadvanced CMPS do not offer official support for this product anymore and their forums are dead so can't get any help there either.
Reply With Quote
  #2  
Old 11-09-2014, 10:11 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you go to "Edit Pages" under the vbadvanced CMPS menu and edit your page, the page title is the first option.
Reply With Quote
  #3  
Old 11-09-2014, 10:14 AM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
If you go to "Edit Pages" under the vbadvanced CMPS menu and edit your page, the page title is the first option.
That changes the page name/title in the list of the pages in CMS settings. It does not change what I have showed in the screenshot.
Reply With Quote
  #4  
Old 11-09-2014, 10:24 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...sorry, I guess I don't remember enough about it.
Reply With Quote
  #5  
Old 11-09-2014, 10:39 AM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Hmm...sorry, I guess I don't remember enough about it.
Seems like you are right. That does change the page title as I want to. But its doing that for any additional pages I am creating. There is a default homepage there that cannot be deleted. The title is not changing on that one.

If I create a new page and try to make that the homepage, the URL becomes mysite.com/index.php?pageid=blahblah

Do you know how I can create a new page and give it the URL "mysite.com/index.php"?
Reply With Quote
  #6  
Old 11-09-2014, 12:05 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really don't remember, it's been a while since I did anything with vba. But I seem to remember that the installation instructions involved replacing or editing index.php, so maybe that had something to do with it. Come to think of it, I've only used vbadvanced with vb3 so it might be different with vb4.

I suppose you could edit the template to change the title to whatever you wanted. I believe it's adv_portal, under the vba CMPS group of templates.
Reply With Quote
  #7  
Old 11-09-2014, 01:19 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I really don't remember, it's been a while since I did anything with vba. But I seem to remember that the installation instructions involved replacing or editing index.php, so maybe that had something to do with it. Come to think of it, I've only used vbadvanced with vb3 so it might be different with vb4.

I suppose you could edit the template to change the title to whatever you wanted. I believe it's adv_portal, under the vba CMPS group of templates.
Here is the adv_portal template. Can you point out what to edit here?

HTML Code:
{vb:stylevar htmldoctype}
<html dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" xmlns="http://www.w3.org/1999/xhtml">
<head>

{vb:raw headinclude}

<vb:if condition="$pages['name'] == 'home'">
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
</vb:if>

<title>{vb:raw vboptions.hometitle} <vb:if condition="$pagetitle">- {vb:raw pagetitle}</vb:if></title>

{vb:raw headinclude_bottom}

</head>
<body>

{vb:raw header}

{vb:raw navbar}

<vb:if condition="$show['customizepagelink']">
	<div style="float: {vb:stylevar right}; padding-bottom: {vb:stylevar padding}">
		<vb:if condition="$show['customizepage']">
			[<a href="javascript: reset_cmps_layout({vb:raw pages.pageid})">{vb:rawphrase reset_layout}</a>] 
			[<a href="{vb:raw show.customizepagelink}">{vb:rawphrase exit_customization_mode}</a>]
		<vb:else />
			[<a href="{vb:raw show.customizepagelink}">{vb:rawphrase customize_this_page}</a>]
		</vb:if>
	</div>
</vb:if>

<table align="center" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<vb:if condition="$show['left_column']">
			<td width="{vb:raw vba_style.portal_leftcolwidth}"<vb:if condition="$show['center_column'] OR $show['right_column']"> style="padding-{vb:stylevar right}: {vb:raw vba_style.portal_colspacing}px"</vb:if>>
				{vb:raw home.leftblocks}
			</td>
		</vb:if>
		<vb:if condition="$show['center_column']">
			<td valign="top">
				{vb:raw home.centerblocks}
			</td>
		</vb:if>
		<vb:if condition="$show['right_column']">
			<td valign="top" width="{vb:raw vba_style.portal_rightcolwidth}"<vb:if condition="$show['center_column'] OR $show['left_column']"> style="padding-{vb:stylevar left}: {vb:raw vba_style.portal_colspacing}px"</vb:if>>
				{vb:raw home.rightblocks}
			</td>
		</vb:if>
	</tr>
</table>

{vb:raw footer}

</body>
</html>
Reply With Quote
  #8  
Old 11-09-2014, 01:25 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you would edit the line with <title> ... </title>, and put whtaever you want between them.
Reply With Quote
  #9  
Old 11-09-2014, 01:51 PM
XYZ500 XYZ500 is offline
 
Join Date: Aug 2014
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I guess you would edit the line with <title> ... </title>, and put whtaever you want between them.
This worked. Thanks very much.

Just one last question.

On the homepage, you can choose what modules you want to put there. One of the modules is "popular tags". I enabled it and it is displaying tags that it thinks are important maybe. Is there any way to edit and put tags there that I want?

I want to put my site's keywords there as my SEO agency suggests me that I should have my keywords on the home page.
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:51 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.04070 seconds
  • Memory Usage 2,249KB
  • 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
  • (1)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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