Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-17-2015, 02:41 PM
ipscone ipscone is offline
 
Join Date: Jul 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default TITLE not quite right

I have a title to an article that is not showing up correctly, in my HTML. It's shown correctly in the actual article AND in the Title field in the article editor.

But in the actual HTML the Title has "CMS Name (Change)" prior to the actual title. How does one fix it so the TITLE in the header is ONLY the actual title and not that extra garbage?

The reason that is important is because when I submit a link to the article, the source HTML is looked at and the TITLE
TAG is grabbed for the title of the article.

Example: "Gun Free Zones" Kill Americans, shows up as 'CMS Name (Change) "Gun Free Zones" Kill Americans'

IS: <title>CMS Name (Change) - &quot;Gun Free Zones&quot; Kill Americans</title>
Should be: <title>&quot;Gun Free Zones&quot; Kill Americans</title>

Example link. If you view the source, you will see what I mean.

Thanks,
Reply With Quote
  #2  
Old 07-17-2015, 03:21 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not seeing a problem maybe pointing it out as I see no problem in the source
Reply With Quote
  #3  
Old 07-17-2015, 03:29 PM
ipscone ipscone is offline
 
Join Date: Jul 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Not seeing a problem maybe pointing it out as I see no problem in the source
I thought I did.

The Title is ONLY,

"Gun Free Zones" Kill Americans

But in the HTML source, it's

<title>CMS Name (Change) - &quot;Gun Free Zones&quot; Kill Americans</title>

What this does, is when I include a link to a web page, like on Facebook or such, they grab the page and list the title as:

CMS Name (Change) - "Gun Free Zones" Kill Americans

Which is not the title.

And I have refreshed the web page, and cut that <title> from the source. Further, I actually pasted the URL into FB and it showed the CMS commentary. So, I know it's there.

[link removed because problem resolved]
Reply With Quote
  #4  
Old 07-17-2015, 04:41 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit, I found it

In the Admincp > Options > Content Management > CMS Name

If a name is not set, it uses a default value.
Reply With Quote
Благодарность от:
MarkFL
  #5  
Old 07-17-2015, 04:42 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry does not show like that for me can you post a ss of what you see
Reply With Quote
  #6  
Old 07-17-2015, 05:00 PM
ipscone ipscone is offline
 
Join Date: Jul 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
Edit, I found it

In the Admincp > Options > Content Management > CMS Name

If a name is not set, it uses a default value.
Thanks. Yeah, it says it appears on every page. I take that to mean regardless of whether the title is entered. I deleted it and will check it now.

Yeah that fixed it. I can put my website or somethign else and it prefaces the content. If I leave it blank, it puts my overall forum name. Cool. Thanks,
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 07-17-2015, 05:03 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see it on fb or your site so it must be your browser try a different one. If you could post a ss of what you see once you do, I will post the same ones, but I am going soon so best to be fast
Reply With Quote
  #8  
Old 07-17-2015, 05:36 PM
ipscone ipscone is offline
 
Join Date: Jul 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
I don't see it on fb or your site so it must be your browser try a different one. If you could post a ss of what you see once you do, I will post the same ones, but I am going soon so best to be fast
I have removed the test posts because I have resolved the problem, which did exist, whether or not you could see it.

The other contributor pointed to where that setting is made. I changed it and now the problem is gone. So are my test posts on FB. It was NOT a browser problem on my end. It's the way vBulletin works.

This problem has been resolved.
Reply With Quote
  #9  
Old 07-17-2015, 05:45 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you fixed it but I could not see any problem using Firefox as you can see below in the ss I took
Attached Images
File Type: jpg 1.jpg (109.4 KB, 0 views)
Reply With Quote
  #10  
Old 07-17-2015, 11:00 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Glad you fixed it but I could not see any problem using Firefox as you can see below in the ss I took
It showed correctly on the forum, when published to facebook, it was showing the extra text from the html title tags
Reply With Quote
Reply

Thread Tools
Display Modes

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 11:49 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.04243 seconds
  • Memory Usage 2,272KB
  • Queries Executed 12 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete