Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 03-19-2008, 04:07 PM
keith1995 keith1995 is offline
 
Join Date: Sep 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default bbcode displaying in email notifications

We installed the "Instant New Thread Notification" add-on which can be found here https://vborg.vbsupport.ru/showthread.php?t=141280 but whenever an email notification is sent out, the bbcode is displaying inside the email body.

For example, if someone had used the editor to underline a word, in the email notification that word is flanked by the U and /U code inside brackets.

Can someone help me out here with either figuring out how to get the actual code to work or how to completely strip out the bbcode so it doesn't display in the email body?
Reply With Quote
  #2  
Old 03-19-2008, 05:10 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove the bbcode from the email message as no email client supports them that i know of. You can use HTML instead, such as <u> </u> but not all email clients will display these either.
Reply With Quote
  #3  
Old 03-19-2008, 06:00 PM
keith1995 keith1995 is offline
 
Join Date: Sep 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Xplorer4x4,

Thanks for the response. Where/how do I remove the bbcode from the email message? I understand I could possibly use strip_bbcode but where would that get inserted?
Reply With Quote
  #4  
Old 04-03-2008, 05:22 PM
keith1995 keith1995 is offline
 
Join Date: Sep 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm still having problems here. Anyone got any ideas?

--------------- Added [DATE]1207250895[/DATE] at [TIME]1207250895[/TIME] ---------------

Some further info on this. Someone posted a new thread on our forum and used the editor to add bullets, color, etc formatting. The email notification that we received looks like this:

PHP Code:
[B][COLOR=black][FONT=Arial][FONT=Arial]CHIEF FINANCIAL OFFICER[/FONT][/FONT][/COLOR][/B]
[
COLOR=black][FONT=Arial][FONT=Arial](Los Angeles)[/FONT][/FONT][/COLOR
I wrapped the above in PHP code so you can see the actual code as opposed to this forum converting it.

It doesn't seem to be convering the bbcode to HTML or stripping it from the email. Anyone know how or where to fix this?
Reply With Quote
  #5  
Old 04-10-2008, 02:11 AM
keith1995 keith1995 is offline
 
Join Date: Sep 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone got any ideas here? I've tried to edit the Standard Phrase: newthreadsub to include strip_bbcode($newpost[message]) instead of $newpost[message] however that isn't stripping out the code and instead if prefixing the entire message with strip_bbcode.

Someone else out there has had to run across this same problem before, right?

--------------- Added [DATE]1207850836[/DATE] at [TIME]1207850836[/TIME] ---------------

Xplorer4x4, are you still reading this? Can you help out?
Reply With Quote
  #6  
Old 04-14-2008, 07:51 PM
keith1995 keith1995 is offline
 
Join Date: Sep 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know which file is used to handle the sending of the email notifications? I'd like to find the actual code that handles this function.

--------------- Added [DATE]1208281828[/DATE] at [TIME]1208281828[/TIME] ---------------

Am I really alone in this need?
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 05:25 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.11271 seconds
  • Memory Usage 2,206KB
  • 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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete