Why dont some people receive credits after voting?
Why dont some people receive credits after voting?
Those users might not have user entry in MEMB_CREDITS table, this will happen if they dont open even once your webshop. Try this:
find this code in votte-kk.php (start of the code)
Code:$sql_check = mssql_query("SELECT vote_credit,vote_credits,vote_reset,vote_resets,vote_level,vote_levels, vote_lvlup,vote_lvlupmg,max_level,max_reset,max_credits FROM dbo.MuWeb_des_vote_set"); $res = mssql_fetch_row($sql_check); $cred = mssql_fetch_row(mssql_query("SELECT credits, memb___id from MEMB_CREDITS where memb___id='$account_id'"));
replace with this: (I added the code in red color, it will add user when they are not in the table.)
Code:$sql_check = mssql_query("SELECT vote_credit,vote_credits,vote_reset,vote_resets,vote_level,vote_levels, vote_lvlup,vote_lvlupmg,max_level,max_reset,max_credits FROM dbo.MuWeb_des_vote_set"); $res = mssql_fetch_row($sql_check); $cred = mssql_fetch_row(mssql_query("SELECT credits, memb___id from MEMB_CREDITS where memb___id='$account_id'")); if($cred[1]==''){ mssql_query("insert into MEMB_CREDITS (memb___id, credits) VALUES ('$account_id', 0)"); }
Dont be mad dude! Be angry when I ask for payment :P 'Im just trying to help.
Some news :
Recently i decided to Start coding VRS 0.3 - Vote Reward System 0.3
again so if you have any suggestions what new to add in it ... please post your idea here.
[/QUOTE]
hi sir..can you add a connection using ODBC?
thank you
Don't use this, theres a MAJOR security risk in this release (Like all muweb releases lol). Just trust me on this one.
How to correct when you have voted receive 1 credit is admissible and you can use a bug to return and again to vote and you will obtain again credits here so I have been cracked. Sorry for my bad English:)
hi , how i put the link+images with vote to aparance on website when some one click my website ?
a just install this vote reward but i dont know how to aparance in website
i want to make at reward jewels who can do that ?
TELL ME SOMEONE,I HAVE FOLLOW THE STEPS VERY CAREFULLY AND WHEN I TRY TO LOGIN ON MY VOTE REWARD SYSTEM, DOESNT WORK ... WHY ??
when i instaled he asked me for only USERNAME, i have maked all settings corectly and still not working ... he say " ERROR : The Password isn't like that! " ... what means that ??? Please
can someone do this for L2J ? will be awesome ! :)
How can i fix this??
http://img690.imageshack.us/img690/6307/16749197.png
and how can i add a vote link?![]()
Support SQL 2005?
I got some errors on install and login
Downloaded script, looked at source,
its awful, before you release files to others, you should learn php yourself, and test files before releasing,
also its all mixed up php, html,
and class sql inject thats just ridiculous, maybe learn filtering things.
I'd suggest you radically change code concept before making 0.3 version for yourself, or for releasing.
How can I put 001 instead of 1 in the numbers of ranking?