Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

[Release] Game Section Points
#61

[Image: jjMae.jpg]

Just a question after installing the game, it doesn't shot in my newpoints. Did I install it correctly?
Reply
#62

I forgot to change the description. It's nothing important don't worry.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#63

(02-21-2012, 01:11 AM)Pirata Nervo Wrote: I forgot to change the description. It's nothing important don't worry.

Where can I locate the game section?
By the way what plugin did you use for this?

[Image: zNK1h.jpg]
Reply
#64

Well do a bit of search on google and you'll find it...

As for the plugin you're asking, it's just a template edit.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#65

Is it possible to have newpoints rules not apply to certain games? I tried matching them up by their gid and came up with this. Am I looking in the right place or am I screwing up big time somewhere?

function newpoints_gamesection_play()
{

global $db, $mybb, $games;

$featuredGames = array(2, 3);
if($mybb->user['uid'] && !in_array($games['gid'], $featuredGames))
newpoints_addpoints($mybb->user['uid'], $mybb->settings['newpoints_gamesection_play']);

}
Reply
#66

No, rules don't apply to any "games". Only forums and groups.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#67

Then how does it subtract points for playing games? Is it automatic upon visiting a page with a game on it? I figured that it would have to eventually determine if the user was playing a game before it could take away or award points based on playing that game. Isn't it possible to play around with that and only commit that action based on the game?
Reply
#68

(02-25-2012, 07:35 AM)Sonic123 Wrote: Then how does it subtract points for playing games?
My plugins hook into one of the hooks available.

(02-25-2012, 07:35 AM)Sonic123 Wrote: Is it automatic upon visiting a page with a game on it?
Yes I guess, it uses a hook which is ran when a game is played but I haven't checked exactly what's done before and what's done after - I don't use the plugin, this was just a request from a lot of people and I decided to work on it.

(02-25-2012, 07:35 AM)Sonic123 Wrote: I figured that it would have to eventually determine if the user was playing a game before it could take away or award points based on playing that game. Isn't it possible to play around with that and only commit that action based on the game?
I don't know. I didn't code the Game Section, I coded this plugin and that's it.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply
#69

The plugin not show in Administor Panel. Ps help me. Thanks.
Reply
#70

Upload it to the right place.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
Reply




Users browsing this thread: 1 Guest(s)