-
[Release] MuCore Vote for Credits Module - Includes Manual
So we took the time to finish up this. Nothing fancy, its just a cool vote for credits made for MuCore.
Includes a simple but detailed manual with pictures.
Screenshots:
http://s1.hoooster.com/thumbs/100372...nager_copy.png
http://s1.hoooster.com/thumbs/100372...tec_1_copy.png
http://s1.hoooster.com/thumbs/100372...tec_2_copy.png
Credits:
Naurith - Decryption
Isumeru - Decryption, Database
phpcore - programming
Download:
Uploaded.To
DepositFiles
Note: If you get an error when clicking on vote and then can't load the page. the fix is simple, check the information in the file named "Template Fix" inside the folder; you'll see how to work around this error. Once you do this template fix part, not only will vote for credits work but templates from 1.0.6 will work on this version :):
Please read the entire information before posting things like "how to install?" it's already in the manual!
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Thank you very much!:thumbup1:
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Oh thanks bro
Posted via Mobile Device
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Thanks good job and work well.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Market system move on the public? :D
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Hi ppl. i cant make this work. i always get up in the URL the generated ID and doesnt redirect me to the right link.
I've run the scripts on the MuOnline database but when i insert the needed code in my templates index.php it makes my whole page go wrong - it shows as blank.
I am using Xampp. Can it be that i have to edit something in my Xampp configs ?
Thanks.
i am using Xampp version 1.7.7
nvm .. i'm an idiot :D didnt activate the dll in the php.ini
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
where to find SQL Studio man ?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
Blackey
where to find SQL Studio man ?
You probably mean this: Download: Microsoft SQL Server Management Studio Express - Microsoft Download Center - Download Details
Google is your friend
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Does it support Me_MuMonline ?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
siktows
We had this error when were testing the vote module. It kept loading slowly for a little while and then this error screen would pop up, turns out it was a template related issue. If you had something like I described before, please open your template's index.php and add the following php code:
Code:
<?
mssql_connect($core['db_host'],$core['db_user'],$core['db_password']);
mssql_select_db($core['db_name']);
?>
Where to add it? right above this line:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
Then reload, delete your IP from the vote db and try voting, that should work, please reply whether this worked or not so we can keep a record.
To the rest of you guys; doing this kind of things requires patience, grey matter, a little bit of website and muonline knowledge. Saying everything doesn't work without checking the configurations that you made or simply not knowing what's required to make this work doesn't mean this is useless.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
what if there is no
Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
in my template index.php
vote reward doesn't work, webshop doesn't work, zen bank doesn't work
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
!revengeful!
what if there is no
in my template index.php
vote reward doesn't work, webshop doesn't work, zen bank doesn't work
putted that code in other template on top of that line in template index.php and nothing has changed.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
@Naurith - when I put your 'code' above <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" , page doesnt load at all! white page:)
any solution? thanks.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
wew.. just follow the instructions and all would be fine...
Quote:
Originally Posted by
seveliok
@Naurith - when I put your 'code' above <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" , page doesnt load at all! white page:)
any solution? thanks.
just paste the certain code in the front of <!DOCTYPE etc... and do not press enter everything would be fine...
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Nope. Still white blank..
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
I need all text, please
text_module_vote_credits_t2
text_module_vote_credits_t3
text_module_vote_credits_t4
text_module_vote_credits_t6
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
i need some help with my after i press vote now its not takeing me to the site for voting... anyone know whats going on?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
It is possible to change vote credits into WCoin ?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
MM0RPGT0P
It is possible to change vote credits into WCoin ?
yes .
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
don't work for me
then i add
<?
mssql_connect($core['db_host'],$core['db_user'],$core['db_password']);
mssql_select_db($core['db_name']);
?>
in my index.php from template, website don't load
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
how to change and give cash shop points?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
2Ronnny - same here. If add - doesn't load at all. If without this "CODE" - load,but can't vote for credits.
I made a conclusion - you ain't web coders at all. Sry.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
seveliok
2Ronnny - same here. If add - doesn't load at all. If without this "CODE" - load,but can't vote for credits.
I made a conclusion - you ain't web coders at all. Sry.
it think this script don't make correct request to db...
i will rewiev this and may be will post here results
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Working Download Link's Pls?!...
Thanks!
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
still problems after adding template fix.
It works for some friends but for others don't
Problem is from check ip
$check_ip = $core_db->Execute("Select username,deletetime,ip from MUCore_VoteCreditsIp where username=?",array($user_auth_id));
if($check_ip->EOF){
$check_ip_2 = $core_db->Execute("Select ip from MUCore_VoteCreditsIp where ip=?",array($_SERVER['REMOTE_ADDR']));
if(!$check_ip_2->EOF){
echo msg('0',str_replace("{delay_hours}",$delay_hours,text_module_vote_credits_t1));
}else{
$create_ip_acc = $core_db->Execute("Insert into MUCore_VoteCreditsIp (username,deletetime,ip)VALUES(?,?,?)",array($user_auth_id,$time_vote2,$_SERVER['REMOTE_ADDR']));
}
}else{
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
HI how do i fix Template erro i see the files but i don't know where to put a code at can you guy help me where the files at or where can i put a code at ?? pls help :) i got error that why :)
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
isit possible to change record as ip to game id ?
Because some of player play in cafe shop and they can't make vote.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
$core['connection_type'] = "ODBC";
not mssql this code for mssql maybe have problem
can help me to fix the problem
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
for does who got error with mssql connect... try downgrading you php to php 5.2, tutorial? click here
then enable your mssql extension in php.ini ";extension=php_mssql.dll" to "extension=php_mssql.dll"
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
it is
text_module_vote_credits_t2
text_module_vote_credits_t3
text_module_vote_credits_t4
text_module_vote_credits_t6
instead of text.. how to fix?D:
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Anyone knows how to see the voter rankings? I want to see the top voters. Please help.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
So guys i tryied this Modul and seems not work for me i did everythink i should do i read the instructions none errors its just when i click on the vote link then load page move to the ID of the vote link but dont load it .. its still stays at the vote reward and dont give credits what about this issue ? i mean it dosnt redirect me to xtremetop100 or other links i put ... somebody knows how to fix that ?
Xampp 1.7.7
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Same Problem Here !
Xampp 1.7.3
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Great files ! Maybe a Top Voters module sometime soon ?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
text_module_vote_credits_t1 = ?
text_module_vote_credits_t2 = ?
text_module_vote_credits_t3 = ?
text_module_vote_credits_t4 = ?
text_module_vote_credits_t5 = ?
text_module_vote_credits_t6 = ?
Please add text.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
epocal
Great files ! Maybe a Top Voters module sometime soon ?
easy, i dont have the time now, but a single query can do this....something like:
$sql= "SELECT TOP 20 "A" FROM "B" ORDER BY "C" DESC";
where:
A = nae or ID, depends on how it's saved.
B = table name where votes are stored.
C = column name for vote quantities storage.
and, of course, you'll need to make a context for this.
maybe in this week i'll make something like this & share it.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
For those who has newer version of PHP that don't support php_mssql anymore, one temporary solution is to comment out all mssql lines from :
vote_credits.php
PHP Code:
}else{
$voteid = safe_input($_GET['vid'],'');
foreach ($votef as $vote_dat_re){
$vote_dat_re = explode("?,$vote_dat_re);
if($vote_dat_re[0] == $voteid){
$vote_credits = $vote_dat_re[3];
$vote_link = $vote_dat_re[2];
$vote_id_found = '1';
$vote_id = $vote_dat_re[0];
break;
}
}
if($vote_id_found == '1'){
$select_vote = $core_db->Execute("Select username,vote_time from MUCore_VoteCredits where username=? and vote_id=?",array($user_auth_id,$vote_id));
$make_time_hours = $delay_hours*3600;
$time_vote = time()+$make_time_hours;
if($select_vote->EOF){
$insert_username = $core_db->Execute("insert into MUCore_VoteCredits(vote_id,username,vote_time)VALUES(?,?,?)",array($vote_id,$user_auth_id,$time_vote));
if($insert_username){
$check_memb_acc = $core_db2->Execute("Select memb___id from memb_Credits where memb___id=?",array($user_auth_id));
if($check_memb_acc->EOF){
//$x = mssql_query("Select coupons from MEMB_INFO where memb___id='$user_auth_id'");
//$xx = mssql_fetch_row($x);
//$k = $xx[0]+1;
//mssql_query("Update MEMB_INFO set Coupon = '$k' where memb___id='$user_auth_id'");
$insert_memb_acc = $core_db2->Execute("INSERT INTO MEMB_CREDITS(memb___id,credits)VALUES(?,?)",array($user_auth_id,$vote_credits));
if($insert_memb_acc){
header('Location: '.$vote_link.'');
}else{
echo msg('0',text_module_vote_credits_t2);
}
}else{
//$x = mssql_query("Select coupons from MEMB_INFO where memb___id='$user_auth_id'");
//$xx = mssql_fetch_row($x);
//$k = $xx[0]+1;
//mssql_query("Update MEMB_INFO set Coupon = '$k' where memb___id='$user_auth_id'");
$insert_credits = $core_db2->Execute("Update memb_credits set credits=credits+".$vote_credits." where memb___id=?",array($user_auth_id));
if($insert_credits){
header('Location: '.$vote_link.'');
}else{
echo msg('0',text_module_vote_credits_t2);
}
}
}
}else {
$time_check = $select_vote->fields[1]-time();
if($time_check > 0){
echo msg('0',str_replace("{delay_hours}",$delay_hours,text_module_vote_credits_t3));
}else{
$update_vote_info = $core_db->Execute("Update MUCore_VoteCredits set [vote_time]=$time_vote where username=? and vote_id=?",array($user_auth_id,$vote_id));
if($update_vote_info){
//$x = mssql_query("Select coupons from MEMB_INFO where memb___id='$user_auth_id'");
//$xx = mssql_fetch_row($x);
//$k = $xx[0]+1;
//mssql_query("Update MEMB_INFO set Coupon = '$k' where memb___id='$user_auth_id'");
$insert_credits = $core_db->Execute("Update memb_credits set credits=credits+".$vote_credits." where memb___id=?",array($user_auth_id));
if($insert_credits){
header('Location: '.$vote_link.'');
}else{
echo msg('0',text_module_vote_credits_t2);
}
}
}
}
}
}
}
you can rewrite them using adodb too.
-
1 Attachment(s)
re: [Release] MuCore Vote for Credits Module - Includes Manual
hello all, what can someone tell me how to fix this?
Attachment 135070
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Vote not working in Dmn Webshop :(
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
When I click vote it just reloads the page, if i click vote again it redirects me to a wierd url and doesn't take me to the extremetop100 page - it logs the IP but doesn't add the credits??
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
it works, but it add the credits even if u dont vote, it adds the credits when u press vote in the website, not when u really have voted in xtreemtop100( for example)
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
brugne
it works, but it add the credits even if u dont vote, it adds the credits when u press vote in the website, not when u really have voted in xtreemtop100( for example)
Works very goood THX xampp 1.7.1 mu core 1.0.8
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
It dont work, u get the 20 point witouth voting...
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
PLease someone help me with this PLEASE!!!
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
how can i fix this please >>> "text_module_vote_credits_t4 : 20" mucore 1.0.8
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
maybe a stupid question but ...
when i connect using ODBC my website is working
when i try using MSSQL i get an sql connection error (the mssql extension is unabled at php.ini) so that isnt it
with ODBC the host is like
$core['db_host'] = "127.0.0.1";
what about mssql ?
$core['db_host'] = "127.0.0.1"; or $core['db_host'] = "hostname"; ?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Guide donr work on the files can someone give me guide?thanks.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
MisseD
Guide donr work on the files can someone give me guide?thanks.
Same for me the guide dont work
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
it`s work, but why i can`t see vote for credits in admincp?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
This is pretty simple open sql scripts in sql execute them. Put the modules where they need to go. Add the model on user_cp and check your admincp and it should all work out for you.
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
DragonSeth
This is pretty simple open sql scripts in sql execute them. Put the modules where they need to go. Add the model on user_cp and check your admincp and it should all work out for you.
i done that already and it is working, but i can`t see menu for vote for credits. In "How to Install.chm" is under Premium Modules. But in admincp i can`t see Premium Modules :)
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
If you guys want to add ECOINS instead. here's my script
Code:
mssql_query("Update MEMB_INFO set Coupon = '$k' where memb___id='$user_auth_id'");
$current_ecoins = mssql_query("Select AccountID,WcoinC from CashShopData where AccountID='".$user_auth_id."'");
$getecoins = mssql_fetch_assoc($current_ecoins);
$b = 100 + $getecoins['WcoinC'];
mssql_query("Update CashShopData set WcoinC='$b' where AccountID='".$getecoins['AccountID']."'");
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Ok I added the code
Quote:
<?
Mssql_connect ($ core ['db_host'], $ core ['db_user'], $ core ['db_password']);
Mssql_select_db ($ core ['db_name']);
?>
In the first line of my index.php of mucore 1.0.8 and the page does not load, the version of my xamp is 1.7.3, and I have read all the post and many have the same problem:
Quote:
"Text_module_vote_credits_t4: 20" etc etc etc
And there is no concrete answer to the problem:
It is sad to have to discard this work, as it is very well explained
Any solution to this?
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
How about adding Character Level Requirements? anybody knows?
thanks :)
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
Quote:
Originally Posted by
Elnegrox
I need all text, please
text_module_vote_credits_t2
text_module_vote_credits_t3
text_module_vote_credits_t4
text_module_vote_credits_t6
did you find how to fix that ? i'm with the same problema
-
re: [Release] MuCore Vote for Credits Module - Includes Manual
dont wprk .-.- with you <?
mssql_connect($core['.....'],$core['....'],$core['....']);
mssql_select_db($core['MuOnline']); PLEASE HELP!!!
?>
- - - Updated - - -
Quote:
Originally Posted by
isumeru
please help i testet with your <?
mssql_connect($core['...'],$core['....'],$core['...']);
mssql_select_db($core['....']);
?>
but not work -.- ..all template what i tested
-
1 Attachment(s)
Re: [Release] MuCore Vote for Credits Module - Includes Manual