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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2012, 09:09 PM
Midohash's Avatar
Midohash Midohash is offline
 
Join Date: Aug 2010
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Font size problem ... Please help

When a member copy a text in the forum and paste it in different post it appears like that:

SIZE=?4]و اللى بيعتنق دين فده بيكون لأن الله سبحانه و تعالى شرح صدره لهذا الدين.


How can I get rid of the size tags (marked in red color) appearing?

Thank you for advise
Reply With Quote
  #2  
Old 09-02-2012, 10:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since that doesn't happen here, then I can only assume it is someone on your site. Can we get a link to your site and test account and also a link to a test thread we may test this out in.
Reply With Quote
  #3  
Old 09-03-2012, 11:51 AM
Midohash's Avatar
Midohash Midohash is offline
 
Join Date: Aug 2010
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Since that doesn't happen here, then I can only assume it is someone on your site. Can we get a link to your site and test account and also a link to a test thread we may test this out in.
Thanks a lot Lynne. It really happens with many members not with a particular one when they do copy text from a post and paste it on a different post reply. It doesn't happen when they quote properly.

Here is an example page:

http://www.almatareed.org/vb/showthr...265868&page=13

Username: Test
Password: 654321

Many thanks for advise.

Midohash
www.almatareed.org/vb
Reply With Quote
  #4  
Old 09-03-2012, 03:22 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have this at the beginning of all your posts:
HTML Code:
<div id="post_message_1208203">

<!-- دعوه لموضوعي --> 
<br>
<!--/ دعوه لموضوعي -->
				
<p align="center"><font size="?4" face="Times New Roman"><font size="4" face="Arial" color="#22229C"><div style=" margin:5px; ">
So if somebody goes to copy/paste the text, it is going to have that font size added in there.
Reply With Quote
  #5  
Old 09-03-2012, 08:45 PM
Midohash's Avatar
Midohash Midohash is offline
 
Join Date: Aug 2010
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You have this at the beginning of all your posts:
HTML Code:
<div id="post_message_1208203">

<!-- دعوه لموضوعي --> 
<br>
<!--/ دعوه لموضوعي -->
				
<p align="center"><font size="?4" face="Times New Roman"><font size="4" face="Arial" color="#22229C"><div style=" margin:5px; ">
So if somebody goes to copy/paste the text, it is going to have that font size added in there.
That is true ... but why the size tag only appears when someone copies and pasted the text? ... As far as I remember, I have implemented an add on long time ago to avoid new members typing in very small default font size ... Should I stop this add on to sort out the problem? ... and is there an alternative to set the default font values for all members? ... Many thanks
Reply With Quote
  #6  
Old 09-03-2012, 10:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can try disabling your add-on and then see if the problem gets fixed.

This is not valid html and could be your problem:
HTML Code:
<font size="?4"
http://www.w3schools.com/tags/att_font_size.asp
Reply With Quote
  #7  
Old 09-03-2012, 11:08 PM
Midohash's Avatar
Midohash Midohash is offline
 
Join Date: Aug 2010
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You can try disabling your add-on and then see if the problem gets fixed.

This is not valid html and could be your problem:
HTML Code:
<font size="?4"
http://www.w3schools.com/tags/att_font_size.asp
I am very grateful to you Lynne ... I have added the missing tag <font size="?4"> in my postbit_legacy template ... I hope this will fix the problem ... It doesn't change the errors in the older posts but I'll monitor the new posts to see if the problem is sorted out permanently ... My thanks again
Reply With Quote
  #8  
Old 09-04-2012, 01:59 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was only quoting part of the line to say that the size was invalid (which is why I linked to the page about it). The full line was:
<font size="×4" face="Times New Roman">

But x4 is not valid.
Reply With Quote
  #9  
Old 09-04-2012, 06:35 AM
Midohash's Avatar
Midohash Midohash is offline
 
Join Date: Aug 2010
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I was only quoting part of the line to say that the size was invalid (which is why I linked to the page about it). The full line was:
<font size="?4" face="Times New Roman">

But x4 is not valid.
Thanks Lynne, I had another look on http://www.w3schools.com/tags/att_font_size.asp

Is line like that is OK, and do you expect it to fix my size tag problem:

<p align="center"><font size="4" face="arial">$post[message]</font></p>
Reply With Quote
  #10  
Old 09-04-2012, 03:35 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

size="4" is valid. I will recommend though that you move to CSS instead since <font> is actually deprecated.

Deprecated tags in HTML 4.0 -
http://www.htmlgoodies.com/tutorials...in-HTML-40.htm
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 10:17 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.04385 seconds
  • Memory Usage 2,268KB
  • 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
  • (4)bbcode_html
  • (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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete