Skip to Content Skip to Menu

uddeIM text input reply customisation

  • shtula
  • shtula
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
16 years 10 months ago #54280 by shtula
Hi,

I've managed to customize the template and css almost perfectly to suit my site except one little thing that I wasn't able to change (because I didn't know where to look for), namely the received message that is automatically included in the reply input text area, which in my opinion takes too much room in the input area so many users get quickly confused by it at first.

IMO it would be much better if the quoted message would appear deeper in the text area leaving at least 4-5 empty rows for a reply message to be typed in.

How do I go on to modify this setting and where do I have to look for it?

Thx

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 10 months ago #54290 by slabbi
Replied by slabbi on topic Re:uddeIM text input reply customisation
You will wind the relevant code in line 396 in inbox.php

[code:1] if ($isforward && $config->allowforwards) {
if($config->realnames) {
$sql="SELECT name FROM #__users WHERE id=".(int)$displaymessage->toid;
} else {
$sql="SELECT username FROM #__users WHERE id=".(int)$displaymessage->toid;
}
$database->setQuery($sql);
$tname=$database->loadResult();
$replysuggest=""._UDDEIM_FWDFROM." ".$fromname." "._UDDEIM_FWDTO." ".$tname." (".uddeLdate($displaymessage->datum, $config)."«»):\n\n".$replysuggest;
}
$replytomessage="\n\n".$config->quotedivider."\n".$replysuggest;[/code:1]

In the last line you can add some "\n" if you like.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

  • shtula
  • shtula
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
16 years 10 months ago #54297 by shtula
Replied by shtula on topic Re:uddeIM text input reply customisation
Thanks Slabbi, but are you sure we're talking about the same file here?
Maybe it's a different version because nowhere in my inbox.php was I able to find anything remotely similar to the code you posted.

I'm running uddeIM+ 0.9b/2007-12-08

Thx

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

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 10 months ago #54298 by slabbi
Replied by slabbi on topic Re:uddeIM text input reply customisation
Oh, sorry, was checking rc2 ;)

[code:1]$replytomessage="\n\n".$config->quotedivider."\n".$replysuggest;[/code:1]

in line 379 (uddeIM 0.9)

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

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

  • shtula
  • shtula
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
16 years 10 months ago #54300 by shtula
Replied by shtula on topic Re:uddeIM text input reply customisation
Beautiful, thanks a lot for your help! ;)

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

Moderators: beatnantslabbikrileon
Powered by Kunena Forum