Author Topic: [SOLVED] New items request: pay for post in a specific board  (Read 7883 times)

Offline preddy25

Re: [SOLVED] New items request: pay for post in a specific board
« Reply #15 on: May 01, 2007, 02:42:28 am »
yup  understood , but in security.php code , there isnt any mention of boards array?

Offline feeble

Re: [SOLVED] New items request: pay for post in a specific board
« Reply #16 on: May 01, 2007, 07:38:45 am »
yup  understood , but in security.php code , there isnt any mention of boards array?

actually that is correct, all the code does it deny posting if the user has less then 10 credits.

if you want this on a specific boards only
try this, but i dont think it will work to tell the truth
on this line
Code: [Select]
if($row['money'] < 10)
return false;

change to
Code: [Select]
global $board;
if(($row['money'] < 10) && in_array($board, array(1,3,4))
return false;

if that doesnt work, then i dunno how you would do it then, probably cant

Offline p-chan

Re: [SOLVED] New items request: pay for post in a specific board
« Reply #17 on: May 04, 2007, 08:51:09 pm »
HIhi..i think the answers provided could be the answers to the problem I am having, but I am quite confused about what to do (a noob in these coding)..

Anyway, I was wondering if there's any way to disable the earning of credits when members post in forums in which post counts are disabled. =) Thanks