vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Store and Journal integration. (https://vborg.vbsupport.ru/showthread.php?t=52052)

Davey 04-23-2003 10:00 PM

Store and Journal integration.
 
[ Store and Journal integration (v1.0) ]

This was requested by sabret00the and bumped up by kaotic and Koutaru in this thread.
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 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?


All times are GMT. The time now is 11:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04190 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete