Seite 1 von 1

Problem mit Emotions installation

Verfasst: 24.02.2008 10:31
von ichitaka
Ich habe folgendes Problem mit der Installations anleitung:

Code: Alles auswählen

# 
#-----[ OPEN ]------------------------------------------------ 
#  
includes/usercp_register.php

# 
#-----[ FIND ]------------------------------------------------ 
# 
$signature = str_replace(

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
// Start add - Emotion MOD
$emotion = ( isset($HTTP_POST_VARS['emotion']) ) ? intval ($HTTP_POST_VARS['emotion']) : 0;
$emotion_profile = ( isset( $HTTP_POST_VARS['emotion_profile']) ) ? ( ( $HTTP_POST_VARS['emotion_profile'] ) ? 0 : TRUE ) : TRUE;
$emotion_post = ( isset( $HTTP_POST_VARS['emotion_post']) ) ? ( ( $HTTP_POST_VARS['emotion_post'] ) ? 0 : TRUE ) : TRUE;
// End add - Emotion MOD
Leider ist "$signature = str_replace(" in includes/usercp_register.php nicht zu finden :( Brauche hilfe.

Verfasst: 24.02.2008 10:46
von gloriosa
Hallo,
dazu die usercp_register.php gemäß >>> KB:81 <<< ! :D

Verfasst: 24.02.2008 10:57
von ichitaka

Verfasst: 24.02.2008 11:05
von gloriosa
Hallo,
das
#
#-----[ OPEN ]------------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------------
#
$signature = (isset($signature)) ? str_replace('<br />', "\n", $signature) : '';

#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start add - Emotion MOD
$emotion = ( isset($HTTP_POST_VARS['emotion']) ) ? intval ($HTTP_POST_VARS['emotion']) : 0;
$emotion_profile = ( isset( $HTTP_POST_VARS['emotion_profile']) ) ? ( ( $HTTP_POST_VARS['emotion_profile'] ) ? 0 : TRUE ) : TRUE;
$emotion_post = ( isset( $HTTP_POST_VARS['emotion_post']) ) ? ( ( $HTTP_POST_VARS['emotion_post'] ) ? 0 : TRUE ) : TRUE;
// End add - Emotion MOD
sollte funktionieren. :grin:

Verfasst: 24.02.2008 11:25
von ichitaka
habe scheinbar nochwas falsch gemacht:

Code: Alles auswählen

Parse error: syntax error, unexpected ',' in /srv/www/httpd/phost/p/com/pytalhost/play-a-3/web/forum/includes/usercp_register.php on line 531

Verfasst: 24.02.2008 11:28
von gloriosa
Hallo,
dann überprüfe alle Einbauten in der usercp_register.php. :D

Verfasst: 09.03.2008 18:18
von ichitaka
Also ich glaube das der Fehler in folgender zeile ist:

Code: Alles auswählen

$avatar_sql . "', user_emotion = '$emotion', user_emotion_profile='$emotion_profile', user_emotion_post='$emotion_post'
Nur hab ich ihn nicht entdeckt :( könnte es aber auch sein das der Fehler woanders ist?