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 04-29-2010, 02:40 AM
kenng kenng is offline
 
Join Date: Apr 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Signature showing HTML codes

Hi all,
need help here..
after migration from 3.6.8 to 4.0.2 using impex 1.96, everything works except that the signatures will display the plain HTML codes. It is not phasing errors since if i redo the exact signature codes, preview and save, it will show up nicely.

The problem is... how can it be done to all existing users? (trying not to ask the users to redo their signatures manually again)

Pls enlighten me!

Thanks
Reply With Quote
  #2  
Old 04-30-2010, 02:58 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because it's such a security risk, users are normally not allowed to post HTML in sigs or anywhere else. You can change that in permissions, but it's really not recommended. Presumably you're the admin, so when you do it, it works.

You could, in theory, go through the old db and translate all the HTML to bbcode, but that would be painful. Just forget it. Who really cares if old archived posts show unparsed html?
Reply With Quote
  #3  
Old 05-03-2010, 07:30 AM
kenng kenng is offline
 
Join Date: Apr 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Videx,
thanks for replying. Yes allowing HTML sign is dangerous, but it has been like that since years ago and it would be 'unfriendly' to disable it altogether now.

What would be the best way to do it? How can I not show the signatures(for everyone) and encourage users to resubmit bbcode friendly signatures?

Thank you very much!
Reply With Quote
  #4  
Old 05-03-2010, 02:50 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think you have to disable it; it already doesn't parse by default. I would just put up a sticky somewhere explaining things. When I occasionally see someone trying to include html, I PM them. If there aren't too many that refuse to do it themselves, I suppose you can always go in and change theirs to bbcode yourself.
Reply With Quote
  #5  
Old 05-04-2010, 12:39 AM
kenng kenng is offline
 
Join Date: Apr 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lets just for the sake of knowledge, if management insist on allowing HTML parsing. How do I go about doing it? (since you mentioned it doesn't parse by default).

* new forums already has "HTML is on"

Thanks!
Reply With Quote
  #6  
Old 05-04-2010, 12:53 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dunno. I think it's a combination of usergroup perms and forum perms. And I guess sig perms too.

FWIW, I witnessed personally the type of havoc this can cause just last week. My co-admin mistakenly left a closing center tag off a notice, and by the time I tracked it down the forum was in an uproar. I have no idea how I would have found it had it been in a sig somewhere.
Reply With Quote
  #7  
Old 05-04-2010, 01:05 AM
kenng kenng is offline
 
Join Date: Apr 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got it.. its usergroup perms.

Thanks so much Videx!
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 02: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.04056 seconds
  • Memory Usage 2,211KB
  • 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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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