Problem in connections

17 years 10 months ago #12483 by MadPax
Problem in connections was created by MadPax
OK this is a design problem I guess, or maybe a bug.

Here it goes.

I have defined the following DEFINES in a portuguese language file:

[code:1]DEFINE('_UE_CONNECTIONREMOVESUCCESSFULL','Ligação removida com sucesso!');
DEFINE('_UE_CONNECTIONADDSUCCESSFULL','Ligação adicionada com sucesso!');[/code:1]

(note the special portuguese characters)

Now in function addConnection($connectionid,$umsg=null)

You have the following code:
[code:1]if($ueConfig) {
$msg = _UE_CONNECTIONPENDINGACCEPTANCE;
$subject= _UE_CONNECTIONPENDSUB;
$messageHTML = _UE_CONNECTIONPENDMSG;
} else {
$msg = _UE_CONNECTIONADDSUCCESSFULL;
$subject= _UE_CONNECTIONMADESUB;
$messageHTML = _UE_CONNECTIONMADEMSG;
}
$messageText = $messageHTML;

$result = $this->_notifyConnectionChange($this->referenceid,$connectionid,$msg,$subject,$messageHTML,$messageText,$umsg);
$_PLUGINS->trigger( 'onAfterAddConnection', array($this->referenceid,$connectionid,$ueConfig,$ueConfig));
return $result;[/code:1]

Which produces the following messagebox:

See image ADD in zip file in other post.

And in function removeConnection($userid,$connectionid)

You have the following code:
[code:1]$msg = _UE_CONNECTIONREMOVESUCCESSFULL;
$subject = _UE_CONNECTIONREMOVED_SUB;
$messageHTML = _UE_CONNECTIONREMOVED_MSG;
$messageText = $messageHTML;
$result = $this->_notifyConnectionChange($userid,$connectionid,$msg,$subject,$messageHTML,$messageText);
$_PLUGINS->trigger( 'onAfterRemoveConnection', array($userid,$connectionid,$ueConfig,$ueConfig));
return $result;[/code:1]

Which produces the following two messagesboxes:

See image YOUSURE in zip file in other post.
See image REMOVE in zip file in other post.

You may see that I have defined the strings adequately.

[code:1]DEFINE ("_UHOH","Anyone? Can somebody help?"«»);

_post_final_question ();

// CBTEAM ANSWERING ME
function _post_final_question () {
global $resolved_in_stable, $errortype, $iswaitanswershort;
$emotion ="Fingers Xd!";

if (!($resolved_in_stable)) {
if ( ($errortype == _ET_BUG) && ( $iswaitasnwershort)){
_askCBTeam( "How can I solve it?"«»);
return _waitForAnswer( $emotion);
}
// THIS MUST BE A DESIGN ISSUE
elseif ( ( $errortype == _ET_DESIGN) && ( $iswaitasnwershort)) {
_askCBTeam( "You willing to change the design?"«»);
return _waitForAnswer( $emotion);
}
else {
$emotion = _UHOH;
return _waitForAnswer( $emotion);
}
}
else {
$emotion = "Dang, now it's reinstall time!"
return _okWillReinstall( $emotion);
}
}[/code:1]

Post edited by: MadPax, at: 2006/05/12 14:20
Attachments:

Please Log in to join the conversation.

17 years 10 months ago #12485 by MadPax
Replied by MadPax on topic Re:Problem in connections
wooooooh:evil:

I tried every possible way to show the images. But can't

Post edited by: MadPax, at: 2006/05/12 14:18
Attachments:

Please Log in to join the conversation.

17 years 10 months ago #12486 by MadPax
Replied by MadPax on topic Re:Problem in connections
OK here's a zip file with the three images.

Attachment 3images.zip not found

Attachments:

Please Log in to join the conversation.

17 years 10 months ago #12895 by MadPax
Replied by MadPax on topic Re:Problem in connections
UHOH!

Please Log in to join the conversation.

17 years 9 months ago #14470 by MrLaZy
Replied by MrLaZy on topic Re:Problem in connections
I`ve got the same problem :s

Please Log in to join the conversation.

17 years 9 months ago #14472 by silexian
Replied by silexian on topic Re:Problem in connections
file link is broken

help me decrease my Karma ! i AM a bad boy ;) Hurry up or i'm gonna eat your soul :p

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.209 seconds

Facebook Twitter LinkedIn