Unnecessary URL in mail feedback (V3 EWriter skins)

This forum is for discussions on the Help & Manual Premium Pack and the Premium Pack Toolbox configuration utility introduced with Premium Pack 3

Moderators: Alexander Halser, Tim Green

Post Reply
Tim Frost
Posts: 319
Joined: Mon Nov 22, 2004 11:45 pm

Unnecessary URL in mail feedback (V3 EWriter skins)

Unread post by Tim Frost »

Could we please have an option to remove the 127.0.0.1 URL path and GUID from the e-mail body? These add nothing useful to the feedback in the EWriter case and look very messy in the generated e-mail message. Perhaps the just the topic name would be useful, but in our case the topic title in the Subject is enough in most cases.
User avatar
Tim Green
Site Admin
Posts: 23154
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Unnecessary URL in mail feedback (V3 EWriter skins)

Unread post by Tim Green »

Hi Tim,

You can change this quickly by editing the hm_mail_feedback.js file in the baggage of the skin. Search for this:

Code: Select all

=window.location.protocol+"%2F%2F"+window.location.hostname+window.location.pathname;
Replace it with this:

Code: Select all

=window.location.pathname.substr(window.location.pathname.lastIndexOf("\/")+1);
Make a backup first, as it's easy to make mistakes. This won't give you an option for switching back and forth, but it will allow you to remove the path in an edited version of the skin. I'll see about making a permanent change for this shortly.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim Frost
Posts: 319
Joined: Mon Nov 22, 2004 11:45 pm

Re: Unnecessary URL in mail feedback (V3 EWriter skins)

Unread post by Tim Frost »

Thanks, this is perfect.
Post Reply