Seite 1 von 3
Cash Mod, bitte hilfe, forum geht nicht..
Verfasst: 07.06.2005 21:28
von Any
Wollte den cash mod installieren, in mein CH-Forum..
bekomme da jetzt Fehler angezeigt, wenn man ein Thema anzeigen möchte:
Parse error: parse error, unexpected ';' in /home/httpd/vhosts/bombkatse.de/httpdocs/Any/phpBB2/viewtopic.php on line 1433
und nochn Fehler:
Parse error: parse error, unexpected '.' in /home/httpd/vhosts/bombkatse.de/httpdocs/Any/phpBB2/includes/functions_post.php on line 484
und im ACP kommt dies:
Fatal error: Cannot instantiate non-existent class: cash_menucat in /home/httpd/vhosts/bombkatse.de/httpdocs/Any/phpBB2/admin/admin_cash.php on line 31
pleeease help meee

Verfasst: 07.06.2005 21:30
von Jan500
hi
verlinke mal deine viewtopic.php und functions_post.php
KB:datei
Jan
Verfasst: 07.06.2005 21:44
von Any
Verfasst: 07.06.2005 21:53
von Jan500
hi
probier es mal mit dieser
viewtopic.php ich bin mir abe rnicht 100% sicher obs klappt...
und mit dieser
functions_post.phpder doofe CH mod kommt uns da in die quere :-/
Jan
Verfasst: 07.06.2005 22:02
von Any
jup, topic wird wieder angezeigt! supi!
aber beim antworten kommt dann wieder
Parse error: parse error, unexpected '.' in /home/httpd/vhosts/bombkatse.de/httpdocs/Any/phpBB2/includes/functions_post.php on line 484
Verfasst: 07.06.2005 22:06
von Jan500
hatte mein post schon editiert und die functions_post.php eingefügt probier es mal damit
Jan
Verfasst: 07.06.2005 22:08
von Any
oh.. naja, fast?
Parse error: parse error, unexpected $ in /home/httpd/vhosts/bombkatse.de/httpdocs/Any/phpBB2/includes/functions_post.php on line 1015
IM ACP ist der Fehler auch weg, nur die function_post will noch nich so...
Verfasst: 07.06.2005 22:17
von rabbit
hi any,
versuch's mal mit diesem fix:
Cash MOD Fix v0.0.3
Verfasst: 07.06.2005 22:24
von Jan500
mach das mal so das hört isch gut

die viewtopic.php hab ich ansich auch so schon bearbeitet wobei du gerne nochmal nachgucken könntest ob es richtig war
Jan
Verfasst: 07.06.2005 22:44
von Any
OKay, es geht wieder alles soweit ich es seh
Hab die Original functions_post genommen und damit das hier gemacht, damit gings dann:
#
#-----[ FIND ]------------------------------------------
//-- add
global $config;
$message = $lang['Stored'] . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . $config->url('viewtopic', array(POST_POST_URL => $post_id), true, $post_id) . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . $config->url('index', array(POST_FORUM_URL => $forum_id), true) . '">', '</a>');
//-- fin mod : categories hierarchy --------------------------------------------
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$lang['Stored']
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
. '<br />' . $cash_message
Danke euch beiden!
*edit*
Hm, leider klappts doch noch nich alles. Es wird kein Posting vergütet..
hab das hier gefunden:
Users aren't earning any cash!
This can be one of several problems.
Make sure the currency is enabled
Make sure the earnings per post/reply/char are not set to 0
Make sure that you have that currency enabled in Cash Forums Settings, for the forum in question.
Make sure you made the proper changes to includes/functions_post.php
die ersten drei hab ich kontrolliert, das vierte versteh ich nicht so, oder fehlt da jetzt doch noch was in der functions_post?