FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Cash Mod Script Need Help!





jarred89
I am having trouble doing this code can someone please help me these are the instrcutions:
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php

#
#-----[ FIND ]------------------------------------------
#
$message = $lang['Stored']

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$lang['Stored']

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
. '<br />' . $cash_message

#


and here is the code where it is suppose to go so where abouts do i put it

Code:

   $message = $lang['Stored'] . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');
Summer
Blue color will be the 'IN-LINE FIND'
red color will be the 'IN-LINE AFTER, ADD'

$message = $lang['Stored'] . '<br />' . $cash_message

In Line Finds means find in the same line .
jarred89
so would it be this?

Code:

$message = $lang['Stored'] . '<br />' . $cash_message  sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');
Summer
Nope , copy mine :

Code:

$message = $lang['Stored']  . '<br />' . $cash_message . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');


Hope this helps .
jarred89
ok its working now, but the money wont go up maybe i have done something else wrong
jarred89
Would someone like to be an Admin on my forum and help me set it up as i am having many problems trying to get it up and running I am willing to pay some FRIH$. Thanks
Summer
Gimme your forum's admin access by pm-ing me . First , u shud trust me .
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.