Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
782 views
in Q2A Core by
edited by

Hey there,

When a New User Register's to my Forum, the Default Confirmation E-mail sent to him is.

DSatanure,

Please click below to confirm your email address for Learning with Experts: Forum.

mail.learningwithexperts.ga/linktrack/lt.pl?id=55601=IEUCBABQVVMITlMIBQEIUgkHAEg=BlxSWlEMXwdARwREAldHRlAlEQZdWwVeWFBRDhdUX1keBQYGA1ENUwkEUANUDAsMDVI=&fl=C01GRA9KTAVWQBZVG11dA0tZWVoFQ1pAWAdNFlxGEUNNVF4bVgoNBVBADgdWDEoXTVxSQBhcFUENJmYHTVULRRFc

Confirmation code: rutkbtzh

Thank you,
Learning with Experts: Forum

I want to remove that long link and only want "Confirmation Code" to be there, how can I edit that?

Q2A version: 1.8 - most recent (Final)

1 Answer

+2 votes
by
selected by
 
Best answer

URLs like that are NOT added by Q2A, the URL should be of the format:

example.com/confirm?c=CODE&u=USERNAME

So I guess your email provider is changing the link in some way.

If you don't want a link at all, you can change that in the language files. By default it is the file qa-include/lang/qa-lang-emails.php but the best way is to create a new file qa-lang/custom/qa-lang-emails.php with the following:

<?php

return array(
    'confirm_body' => "Please click below to confirm your email address for ^site_title.\n\n^url\n\nConfirmation code: ^code\n\n Thank you,\n^site_title",
);

You need to remove the bit that says ^url and change "please click below" to something else.

by
Thanks!!! Scot for Helping!!!
by
reshown by
The hyperlinks in emails are appear as text. How can I change them to a hyperlink?
...