PDA

View Full Version : Store and Journal integration.


Davey
04-23-2003, 10:00 PM
[ Store and Journal integration (v1.0) ]

This was requested by sabret00the (https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=28055) and bumped up by kaotic (https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=31518) and Koutaru (https://vborg.vbsupport.ru/member.php?s=&action=getinfo&userid=29365) in this thread (https://vborg.vbsupport.ru/showthread.php?s=&threadid=49277).
What happens is basically, when the journal author posts an entry, it adds him 'X' points (set in the ACP), and when he deletes an entry, it deletes 'X' points (same ACP option).
Same with user journal comments, which is based on the same thing, but a different option set in the ACP.
You can also make it cost for a user to create a journal, which is also set in the ACP (and if you don't want to use this, just leave it at '0').

[Things to do]
2 files to edit (admin/storeadmin.php, journal.php)
0 templates to edit
0 new files
2 new templates (error_notenoughcash_name, error_notenoughcash_noname)
1 query to run

Enjoy!

kaotic
04-24-2003, 11:33 AM
Hey, this is great! Thanks a lot. I'll install it right now.

Edit: It worked! Thanks again. My members and I appreciate it. :D

Koutaru
04-24-2003, 02:44 PM
Thank you so much Davey :) I'll definately check this out when I get home! Thanks again!!

Logik
04-24-2003, 09:18 PM
Nice. Pretty neat. :)

sabret00the
04-25-2003, 07:02 PM
thanks dude, very awesome, been waiting ages for this ^_^

Cold Steel
04-30-2003, 04:00 AM
Is this (https://vborg.vbsupport.ru/showthread.php?s=&threadid=43717&highlight=journal) the journal that this hack works with?

Davey
04-30-2003, 12:43 PM
Cold Steel: Yes.

gmarik
05-24-2003, 12:13 PM
A demo or screenshot?