La fonction envoyer par mail ne copie pas l'url

More
12 years 6 months ago #19583 by pmarty
Bonjour,

Problème en cliquant sur Envoyer de la barre d'outil Flexi. Le mail part, effectivement, mais dans le message reçu, je n'ai pas le lien de la page visitée.
Je n'ai que le début du message :

Ceci est un e-mail de (nomdusite) envoyé par nomdugars ( email@dugars.com ). Ce lien pourrait vous intéresser:

Vous avez une idée de l'origine du problème ?

Keep singing with the birds and smiling with the sun !
www.atelier51.com

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #19585 by micker
hello
quelle version de flexicontent ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #19604 by pmarty
Oups, j'avais oublié de cocher la case pour me notifier des réponses... Désolé du délai

La version de flexi utilisée est "version 1.5.5 stable (r607)" sur un Joomla 1.5.23

Keep singing with the birds and smiling with the sun !
www.atelier51.com

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #19609 by ggppdk
this seems to be a bug ...

In file plugin/flexicontent_fields/toolbar.php, replace line:
$url = 'index.php?option=com_mailto&tmpl=component&link='.base64_encode( $link );

with:
Code:
require_once(JPATH_SITE.DS.'components'.DS.'com_mailto'.DS.'helpers'.DS.'mailto.php'); $url = 'index.php?option=com_mailto&tmpl=component&link='.MailToHelper::addLink( $link );

Will include fix also in v1.5.6 and v2.0

Also note that Joomla has a hardcoded minimum time limit of 20 SECONDS before clicking submit to send the link. So if someone types fast and tries to click send faster than 20 seconds, the sending process will fail with a message that "E-mail could not be sent."

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #19612 by pmarty
Great!
This works perfectly.

Thank you very much.

And thanks for the warning about the delay :) In fact, I've already solved this problem with this post ;) :
forum.joomla.org/viewtopic.php?p=1758752...b30f86b6f32#p1758752

Keep singing with the birds and smiling with the sun !
www.atelier51.com

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #19613 by ggppdk
Yes this is to prevent massive SPAMMing, plus the message deliberately gives no information why the sending process failed, so while i was testing fix for your problem (missing link in email) it drived me crazy, so i searched the joomla code and discovered this hardcoded limit of minimum 20 seconds before clicking submit ...

Instead of commenting out this Joomla core code, it is better to set the limit to 10 or 5 ... by changing the value at the:
if(...< MAILTO_TIMEOUT)
to
if(...< 10)

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.297 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline