News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom page that will give me access to some variables

Started by aerolite, February 21, 2015, 07:31:54 PM

Previous topic - Next topic

aerolite

Description: Karma points from my forum in exchange to the points in my game.

In able to do this, I need the following information base on the SMF User:
- Karma Points (Installed from a custom package)
- Function that will reduce their karma (I can make my own query for this if required)

Also additional database connection for my Gaming server is required, where is the best way to put this information?

Is creating hooks will help me achieve this?

Sorry im completely lost and need to know where to start. SMF is a big system. I hope you can help.

Kindred

Hooks do the opposite thing...they allow you to call external files into smf during some action or at some specific point.

The API would be more along the lines of what you describe...

But I think that writing your own script to do the action on karma points and then using ssi.php to preload the user's data would be the right thing...   
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: