Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Troubleshooting and Problems

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-18-2012, 06:05 AM
bvw bvw is offline
Junior Member
 
Join Date: Apr 2012
Posts: 4
Default Remove Signature and Disclaimers

Hello,

Can somebody help me with my issue?
I Want to remove signature and disclaimers from an e-mail. (When a ticket was been created)
I know that you must change something in your pipe.php, but i dont know how or what?
Please advise?
Reply With Quote
  #2  
Old 04-18-2012, 01:11 PM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,655
Default

Well you can go to Admin panel -> email -> templates, and remove %signature from all the templates. I swear that there was a tick box to not include signatures some where but cannot remember where atm.

As far as removing disclaimers, I'm not sure what you mean. Do you mean the text in the email templates? or is something else getting added. Please post an example, or check out the template area.
Reply With Quote
  #3  
Old 04-19-2012, 03:00 AM
bvw bvw is offline
Junior Member
 
Join Date: Apr 2012
Posts: 4
Default

I not mean a template, I mean a person who send an email to OSticket with his signature. I want to remove that signature, because this is unnecessary information. Please advise?
Reply With Quote
  #4  
Old 04-19-2012, 11:39 AM
ntozier's Avatar
ntozier ntozier is offline
Moderator
 
Join Date: Jan 2010
Location: NH USA
Posts: 1,655
Default

Sorry, there is no way to do this in the OSTicket interface.

If you are a coder you may be able to modify the source to do something like this, but it would probably not be trivial. RFC822 specifies

message = fields *( CRLF *text )

Everything after first null line is message body.

My understanding is that since the signature would be part of the message body, its not like you can easily remove just the signature field.
Reply With Quote
  #5  
Old 04-23-2012, 10:08 AM
bvw bvw is offline
Junior Member
 
Join Date: Apr 2012
Posts: 4
Default

Hi,

Thanx fore you reply, ik go looking further.
Can somebody else help me? with this issue
Please Advise.
Reply With Quote
  #6  
Old 05-07-2013, 09:18 AM
Rionoskae Rionoskae is offline
Member
 
Join Date: Apr 2013
Posts: 31
Cool Work-a-round in 1.7

So I've found a functional work-a-around to this issue...


Using the MOD html email template

After you impliment the above mod - Open class.ticket.php and comment out the following lines of code: ( x5 total )
Code:
            //if($cfg->stripQuotedReply() && ($tag=$cfg->getReplySeparator()))
            //    $msg['body'] ="\n$tag\n\n".$msg['body'];
Then in the newly created HTML email template, you can add the Reply seperator as described in the MOD forum post. If your aim is to get rid of incoming html signatures - You can add the line seperator as a section of your html signature. For my purposes. "Td style=" worked best. Then I simply changed the html code for the reply separator to match the color of the background ( hiding it from the end user all together ). The MOD link contains an html template with everything i've described as well!

I would much prefer to be able to view mailfetched tickets as html, But I've yet to figure that MOD out...

I've attached a Before and After Shot of my Fix for the problem, Aside from the extra spacing...It looks pretty clean
Attached Files
File Type: zip Before_After.zip (33.7 KB, 2 views)

Last edited by Rionoskae; 05-07-2013 at 04:04 PM.
Reply With Quote


Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 -4. The time now is 11:12 AM.