:( HELP about module

Results 1 to 8 of 8
  1. #1
    Enthusiast stryker2013 is offline
    MemberRank
    Jan 2013 Join Date
    36Posts

    :( HELP about module

    any one can give me module for top voters?... I'm using mu core 1.0.8 an xampp 1.7.1..i try some release on this forum but it doesn't work :(


  2. #2
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: :( HELP about module

    i you cant find this module you need to write this.

    its easy because you need to count the votes on the accounts and the biggest number will be your top voter..

    you need to make a query command and TOP command to list the top X user.

  3. #3
    Enthusiast stryker2013 is offline
    MemberRank
    Jan 2013 Join Date
    36Posts

    Re: :( HELP about module

    Quote Originally Posted by djsad94 View Post
    i you cant find this module you need to write this.

    its easy because you need to count the votes on the accounts and the biggest number will be your top voter..

    you need to make a query command and TOP command to list the top X user.
    the problem is i dont have idea for that kind of process,thats why im asking if someone can give me a copy of module that is compatible with xampp 1.7.1 and mucore 1.0.8...

  4. #4
    Don't be afraid to ask! RevolGaming is offline
    MemberRank
    Jun 2012 Join Date
    1,458Posts

    Re: :( HELP about module

    use xampp1.7.3

  5. #5
    Proficient Member crosdev is offline
    MemberRank
    Jul 2013 Join Date
    160Posts

    Re: :( HELP about module

    Use xampp 1.6.7 and upload here your module to make it work!

  6. #6
    Enthusiast stryker2013 is offline
    MemberRank
    Jan 2013 Join Date
    36Posts

    Re: :( HELP about module

    i fix it already using same files and programs ,i just add column and it run perfectly including,toponline,topvoters,topdueler,topkiller,gamemaster time,and players time..
    thanks for the reply guys...

  7. #7
    Member THEWEB is offline
    MemberRank
    Jul 2013 Join Date
    67Posts

    Re: :( HELP about module

    why you are dont use normal Vote ? Put Your İndex first Only Vote Panel , Later Put on 1 button for redirect your mu website :)
    Need i show you example ?

  8. #8
    Enthusiast trojX is offline
    MemberRank
    Jul 2012 Join Date
    <? here ?>Location
    33Posts

    Re: :( HELP about module

    Quote Originally Posted by stryker2013 View Post
    any one can give me module for top voters?... I'm using mu core 1.0.8 an xampp 1.7.1..i try some release on this forum but it doesn't work :(
    Code:
    <?PHP
    			  $query = "SELECT top 10 
                vote_acc, 
                SUM(CONVERT (int,vote_count)) AS VoteCount 
              FROM MuWeb_des_vote_count_acc
              GROUP BY vote_acc ORDER BY VoteCount desc"; 
    
    $result = mssql_query($query) or die(mssql_error());
    
    while($row = mssql_fetch_array($result)){
    
    $row['vote_acc']
    $row['VoteCount']
    }
    1-vote_acc > mssql vote account column
    2- vote_count > mssql vote count column
    3- MuWeb_des_vote_count_acc > table
    4- $row['vote_acc'] and $row['VoteCount'] show rank web page, use html table
    ---
    this code for http://forum.ragezone.com/f197/vote-...-0-2-a-456783/ script, and working, mycodes ;)

    @THEWEB, o dediğin nasıl olcak :D



Advertisement