Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   MyBonus - Some new things (http://www.bvlist.com/showthread.php?t=4019)

sammygo 18th December 2009 18:21

MyBonus - Some new things
 
Hey ... i need some new things...i installed Seeder Bonus mod and i need help at something.
I want to put something in index at poll..when i vote to give me 50 points :( If someone can make this ! Thankssss !!!:friend:

Edited
And if someone can I want at all these sections :

Comment on trackers = 50 points
Rating a tracker = 50 points
Making a post = 70 point
Starting a topic = 70 points
Voting on poll = 50 point

DONE SOLVED

POLL EXEMPLE

AFTER
mysql_query("INSERT INTO pollanswers VALUES(0, $pollid, $userid, $choice)") or sqlerr();

PUT
mysql_query("UPDATE users SET seedbonus = seedbonus +30 ".$bonus." WHERE id=".$userid);

WHEN YOU VOTE POLL YOU WILL RECEIV 30POINTS !

And this code will be at all... after that mysql_query("INSERT .

robbert193 25th August 2010 16:26

can you be more explicit, please?

danbank 27th August 2010 08:59

I really don't understand what you mean :unknown:

It is not so difficult to add a simple code to give bonus points in each php file? You have done it in pools.. So again, what is the problem? :S

If the difficult part is in forums.php just search for
Code:

mysql_query("INSERT INTO topics..............");
and add the query to bonus points after and of course the same with posts.

Understand what I mean?

robbert193 27th August 2010 13:04

ok, i solved, but rating a tracker d work. How can I solve this?
:sos:


All times are GMT +2. The time now is 23:32.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.