Skip to Content Skip to Menu

_UE_EMAILFORMTITLE

  • ifsdesign
  • ifsdesign
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
18 years 2 months ago #20557 by ifsdesign
_UE_EMAILFORMTITLE was created by ifsdesign
hello,

-I am using joomla 1.0.10 turkish version when I tried to send email via profile page I had the error message below:

"Warning: sprintf() [function.sprintf]: Too few arguments in /home/hostum/public_html/components/com_comprofiler/comprofiler.html.php on line 90"


-I checked the forum:

" www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,search/ "


-then I changed the line below in turkish.php

"DEFINE('_UE_EMAILFORMTITLE','Bu kişiye eposta gönder: <a href="index.php?option=com_comprofiler&task=UserDetails&user=%s">%s</a>');"

to

"DEFINE('_UE_EMAILFORMTITLE','Bu kişiye eposta gönder: %s');"

same as the line in default language

"DEFINE('_UE_EMAILFORMTITLE','Send a message via email to %s');"

and this operation fixed the error


- then I sended the mail and had the error message below

"Warning: sprintf() [function.sprintf]: Too few arguments in /home/hostum/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 3476"


could you please help me
thanks

Post edited by: ifsdesign, at: 2006/09/08 11:35

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

  • ifsdesign
  • ifsdesign
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
18 years 2 months ago #20562 by ifsdesign
Replied by ifsdesign on topic Re:_UE_EMAILFORMTITLE
hi again

after looking a little again to forum area for "comprofiler.class.php on line 3476" I found that:

"You should check in your language file that _UE_SENDEMAILNOTICE and _UE_SENDEMAILNOTICE_REPLYTO have the same number of %s as in the original default_language. "

I tried and it worked, now the problem is fixed, solved
thanks

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

  • Dentios
  • Dentios
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
18 years 1 month ago #22094 by Dentios
Replied by Dentios on topic Re:_UE_EMAILFORMTITLE
Well i have the same problem. But I'm not sure if i understand it all correctly.

Can someone explain it maybe in more detail please?

Sincerly
Andreas

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

  • zikromen
  • zikromen
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
18 years 3 weeks ago #23599 by zikromen
Replied by zikromen on topic Re:_UE_EMAILFORMTITLE
Türkçe bir problem olduğu için türkçe anlatıyorum.
zaten başka bir dil bilmiyorum :) neyse konuya geçelim.
aynı sorun benedde vardı.
turkish.php dosyasını aç. içinde iki tane satır var onları değiştir.

bu satırları
[code:1]DEFINE('_UE_EMAILFORMTITLE','Bu kişiye eposta gönder: <a href="index.php?option=com_comprofiler&amp;task=UserDetails&amp;user=%s">%s</a>');
DEFINE('_UE_EMAILFORMINSTRUCT','Bu kişiye eposta gönder: <a href="index.php?option=com_comprofiler&amp;task=UserDetails&amp;user=%s">%s</a>');[/code:1]

bu hale getir.
[code:1]DEFINE('_UE_EMAILFORMTITLE','Bu kişiye eposta gönder: %s');
DEFINE('_UE_EMAILFORMINSTRUCT','Bu kişiye eposta gönder: %s');[/code:1]

sorun kalmayacaktır . B)

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

  • Pachat
  • Pachat
  • OFFLINE
  • Posts: 52
  • Thanks: 3
  • Karma: -1
17 years 11 months ago #26564 by Pachat
Replied by Pachat on topic Re:_UE_EMAILFORMTITLE
I have the same problem in another language and I guess you gave the solution.
I suppose you may give it also in english, so I will be very happy to use your solution.

Thanks in advance,

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

  • MichaelGH
  • MichaelGH
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
17 years 11 months ago #27195 by MichaelGH
Replied by MichaelGH on topic Re:_UE_EMAILFORMTITLE
Hello Pachat,
look at the original lanugage file from the cb (/components/com_comprofiler/plugin/language/default_language/) and compare this part of code withe your languagefile. You will find that one line is different. Change the code of this line, like the original, and it will works.

Original File
[code:1]DEFINE('_UE_EMAILFORMSUBJECT','Subject:');
DEFINE('_UE_EMAILFORMMESSAGE','Message:');
DEFINE('_UE_EMAILFORMTITLE','Send a message via email to %s');
DEFINE('_UE_GENERAL','General');
DEFINE('_UE_SENDEMAILNOTICE',"
NOTE:
\r\n\r\nThis is a message from %s at %s ( %s ).\r\n\r\nThis user did not see your email address. If you reply the recipient will have your email address."«»);[/code:1]

German language file (don`t work so!)
[code:1]DEFINE('_UE_EMAILFORMSUBJECT','Betreff:');
DEFINE('_UE_EMAILFORMMESSAGE','Nachricht:');
DEFINE('_UE_EMAILFORMINSTRUCT','E-Mail senden an <a href="index.php?option=com_comprofiler&task=UserDetails&user=%s">%s</a>');
DEFINE('_UE_GENERAL','Allgemein');
DEFINE('_UE_SENDEMAILNOTICE','ANMERKUNG: Das ist eine Nachricht von %s[/code:1]

With this code it works well:
[code:1]DEFINE('_UE_EMAILFORMSUBJECT','Betreff:');
DEFINE('_UE_EMAILFORMMESSAGE','Nachricht:');
DEFINE('_UE_EMAILFORMTITLE','E-Mail senden an %s');
DEFINE('_UE_GENERAL','Allgemein');
DEFINE('_UE_SENDEMAILNOTICE','ANMERKUNG: Das ist eine Nachricht von %s bei %s ( %s ). Der Benutzer hat deine E-Mail-Adresse nicht gesehen. Falls du darauf antwortest, wird der Benutzer deine E-Mail-Adresse sehen k&ouml;nnen. %s ist f&uuml;r den Inhalt der E-Mail nicht verantwortlich.');[/code:1]


Michael

Post edited by: MichaelGH, at: 2006/12/17 23:27

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum