Page 119 of 798

Posted: Sun Nov 23, 2003 2:20 pm
by Q-Zar
I've got several mods in there, and I'm trying to figure it out a little on my own.
I've also got Moogie's mod installed, maybe there is a problem there ? I did the change as indicated on another page, so the cash message there is like this :

Code: Select all

 $cash_message = ""; 
   if ( !$board_config['cash_disable'] ) 
   { 
        $cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);
		 }
Is it normal voor cas_message to be just "" ?

Posted: Sun Nov 23, 2003 7:01 pm
by mixx941
I'm trying to install the Cash MOD via EasyMOD, and this is the error I get:
Critical Error

FIND FAILED: In file [templates/subSilver/memberlist_body.tpl] could not find:

colspan="8"

MOD script line #496


It puzzles me since it says EM compatible.

-Mark

Posted: Sun Nov 23, 2003 8:09 pm
by andyshen
I have 3 currencys and i tried exchanging but it said

Code: Select all

There aren't enough Currencies for you to be able to exchange
To enable this feature, your admin needs to create at least 2 currencies

Posted: Mon Nov 24, 2003 1:56 am
by swedevil
mixx941 wrote: I'm trying to install the Cash MOD via EasyMOD, and this is the error I get:
Critical Error

FIND FAILED: In file [templates/subSilver/memberlist_body.tpl] could not find:

colspan="8"

MOD script line #496


It puzzles me since it says EM compatible.

-Mark


I got that same error. So I deleted my forums, reloaded from my backup and did it manually, everything worked fine...

Posted: Mon Nov 24, 2003 1:59 am
by sparforum
mixx941 wrote: I'm trying to install the Cash MOD via EasyMOD, and this is the error I get:
Critical Error

FIND FAILED: In file [templates/subSilver/memberlist_body.tpl] could not find:

colspan="8"

MOD script line #496


It puzzles me since it says EM compatible.

-Mark


Are you using a "fresh" phpBB install? If you have installed any other MODS that have replaced the code fragment that FIND is looking for, then it won't be there, thus EasyMOD will need a little help.

Simply look for that location and manually add it in yourself, remove the FIND command for the section you entered manually from the install text file EasyMOD will be using (keep a backup), and let EasyMOD search for the rest, except this section.

Repeat this process for any other NOT FOUND type issues, then, report the errors here. The creator of these mods is probably the most helpful, and quickest supporter out there...

But speaking from experience, the more 'little things' we get out of the way, the easier it is for Xore to help. :D

Hope this is helpful,

thanX

Posted: Mon Nov 24, 2003 2:28 am
by andyshen
I have 3 currencys and i tried exchanging but it said

Code: Select all

There aren't enough Currencies for you to be able to exchange
To enable this feature, your admin needs to create at least 2 currencies

Posted: Mon Nov 24, 2003 5:11 am
by Xore
andyshen wrote: I have 3 currencys and i tried exchanging but it said

Code: Select all

There aren't enough Currencies for you to be able to exchange
To enable this feature, your admin needs to create at least 2 currencies


You will also get this message if you have enough currencies, but exchange between them all is disabled. The updated cash.php has this fixed.

Posted: Mon Nov 24, 2003 5:12 am
by Xore
swedevil wrote:
mixx941 wrote:I'm trying to install the Cash MOD via EasyMOD, and this is the error I get:
Critical Error

FIND FAILED: In file [templates/subSilver/memberlist_body.tpl] could not find:

colspan="8"

MOD script line #496


It puzzles me since it says EM compatible.

-Mark


I got that same error. So I deleted my forums, reloaded from my backup and did it manually, everything worked fine...


possibly, because of other mods, this may be colspan="9". I will be working on some increasing compatibility issues with this respect.

Posted: Mon Nov 24, 2003 5:14 am
by Xore
Q-Zar wrote: I've got several mods in there, and I'm trying to figure it out a little on my own.
I've also got Moogie's mod installed, maybe there is a problem there ? I did the change as indicated on another page, so the cash message there is like this :

Code: Select all

 $cash_message = ""; 
   if ( !$board_config['cash_disable'] ) 
   { 
        $cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);
		 }
Is it normal voor cas_message to be just "" ?


actually, i was more interested in the code up until the end of the function... making sure all the text is included properly

torrents?

Posted: Mon Nov 24, 2003 8:12 am
by Ipggi
Can this MOD be set up to provide points for torrents? While someone is leeching, they get a 1 point for every meg they upload. While someone is seeding, they get 2 points for every meg they upload. This MOD looks perfect for the rest of my needs, I'm just trying to figure out a way to make it work for torrent tracking as well. :)

Regards,
Ipggi

Re: torrents?

Posted: Mon Nov 24, 2003 8:24 am
by Xore
Ipggi wrote: Can this MOD be set up to provide points for torrents? While someone is leeching, they get a 1 point for every meg they upload. While someone is seeding, they get 2 points for every meg they upload. This MOD looks perfect for the rest of my needs, I'm just trying to figure out a way to make it work for torrent tracking as well. :)

Regards,
Ipggi


It would be necessary for you to edit the source of the tracker/server you are running, set up a odbc of some sort to your database, etc. the updates themselves are fairly simple, assuming you know who's id is associated with which torrenter...

I must confess, i'm not really familiar with the backend of BT, but i'd lay odds on it being fairly simple if you have access to source and are compiling it yourself.

Posted: Mon Nov 24, 2003 2:54 pm
by stianhh
does Cashmod work with Bank,Shop and lottery?

Posted: Mon Nov 24, 2003 4:19 pm
by TheSquire
stianhh wrote: does Cashmod work with Bank,Shop and lottery?
yes it sure does, just create a currency and name the db field user_points.

Posted: Mon Nov 24, 2003 5:26 pm
by Q-Zar
Xore this is my functions_post.php file.

I have a lot of mods installed, but Cash mod 2.2.1 was the latest one (with none a while before that), so it's an error I made, or an incompatibility somewhere :?

Posted: Tue Nov 25, 2003 12:57 am
by Xore
Q-Zar wrote: Xore this is my functions_post.php file.

I have a lot of mods installed, but Cash mod 2.2.1 was the latest one (with none a while before that), so it's an error I made, or an incompatibility somewhere :?


When you first edited functions_post.php, did it give you a parse error? about a bracket on some line x... and then you deleted that bracket?

: P

you deleted the wrong bracket

gimme a minue while i try to figure out which one was the right one to delete...
(props to Moogie for the great job she did for RP'ers everywhere, but she would have done the world of debuggers a huge favor if she had thought to use proper tab indenting... :cry: )

EDIT: so i'm really not sure here. It's probably one of two:

the one immediately after

Code: Select all

         $cash_message = $GLOBALS['cm_posting']->update_post($mode, $post_data, $forum_id, $topic_id, $post_id, $topic_type, $bbcode_uid, $post_username, $post_message);
or the one immediately before

Code: Select all

         $cash_message .= "<br /> " . $levelupmessage; 
whichever, make sure you replace the one you deleted after

Code: Select all

return false;