Top 5 Players, Top 5 Guilds, Ending for template

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled! epocal is offline
    MemberRank
    Jun 2012 Join Date
    inside MuServerLocation
    579Posts

    Top 5 Players, Top 5 Guilds, Ending for template

    This goes to 4FUNer ( only when you have some free time ) or anyone who knows a bit of coding.

    1. Top 5 Players box. ( for the first page, home page )

    2. Top 5 Guilds box. ( for the first page, home page )

    3. An ending for the template, something that will end the template right, what do you think ?

    Look here for more details :



    This are the files - MuCore/my template/ Download ResitaMu.rar from Sendspace.com - send big files the easy way

    Thank you in advance !

    PS @ 4FUNer : My work is almost done with this server :P


  2. #2
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Top 5 Players, Top 5 Guilds, Ending for template

    Why upload full template, index.php was enough & it's not about time, it's about if i want "to"

    so it looks like


    but since ur almost done, you will add it by ur own :D

    Download -> paste to template/XXX
    Download Top5Ranks.rar from Sendspace.com - send big files the easy way


    open index.php & display where you want to like
    Code:
    		<div id="top5c">
    			<? include("template/{$core['config']['template']}/top5c.php"); ?>
    			</div>								
    			<div id="top5g">
    			<? include("template/{$core['config']['template']}/top5g.php"); ?>
    		</div>
    Save & play with css inside top5c & top5g phps if needed.


    if anyone going to use it for own server, will work only with MuCore 1.0.8 $core_db connection.

    HF GL
    Last edited by 2009x2014; 02-07-13 at 09:25 PM.

  3. #3
    Account Upgraded | Title Enabled! epocal is offline
    MemberRank
    Jun 2012 Join Date
    inside MuServerLocation
    579Posts

    Re: Top 5 Players, Top 5 Guilds, Ending for template

    It took me some time to add it to the index.php bout I'm proud to say that I did it :>

    Got 2 problems :

    1. I have a no rr server so I want to remove the " Resets " field and replace it with Master LEVEL field.

    2. The top 5 ranking is not working right because the top players are different from the Ranking section. It doesn't show me the first player, it shows me the 4th and after the 5th and so on ... I guess its a little code mistake ?

    Look :



    and



    4. Tell me if I've put the code correctly, I would be very happy to hear that from you :)) here : Download index.php from Sendspace.com - send big files the easy way

    Thank you ! I'll be @ work today, maybe you have time to fix this by the evening so I can test it :D

    PS : Give me a cheap host where I can host my Server and Website, a suggestion maybe :P

  4. #4
    Alpha Member 2009x2014 is offline
    MemberRank
    Dec 2009 Join Date
    2,765Posts

    Re: Top 5 Players, Top 5 Guilds, Ending for template

    Yea i have 1 min to do it ;d

    jeez It's not code mistake normal Ranking is coded order by gr/rr/level

    top5 Ranking is coded order by Resets, because u didn't provided any info ^^
    but ok i'll change to order by MLevel & cLevel + display MLevel (TT DB column)

    so it will show 5 players with highest ML -> clevel, so base on ur SS Leny shud be first

    also i see you have <NULL> in Guild G_Score's so now it will display 0 instead of empty place.

    Download
    Download Top5Ranksv2.rar from Sendspace.com - send big files the easy way

    4. yea can be :P

    About hosting, i used softlayer & ovh in the past, so for more suggestions ask some other people :)
    Just remember, if you want good pings for EU then host in EU, etc.
    Last edited by 2009x2014; 03-07-13 at 01:07 PM.

  5. #5
    Account Upgraded | Title Enabled! epocal is offline
    MemberRank
    Jun 2012 Join Date
    inside MuServerLocation
    579Posts

    Re: Top 5 Players, Top 5 Guilds, Ending for template

    Quote Originally Posted by 4FUNer View Post
    Yea i have 1 min to do it ;d

    jeez It's not code mistake normal Ranking is coded order by gr/rr/level

    top5 Ranking is coded order by Resets, because u didn't provided any info ^^
    but ok i'll change to order by MLevel & cLevel + display MLevel (TT DB column)

    so it will show 5 players with highest ML -> clevel, so base on ur SS Leny shud be first

    also i see you have <NULL> in Guild G_Score's so now it will display 0 instead of empty place.

    Download
    Download Top5Ranksv2.rar from Sendspace.com - send big files the easy way

    4. yea can be :P

    About hosting, i used softlayer & ovh in the past, so for more suggestions ask some other people :)
    Just remember, if you want good pings for EU then host in EU, etc.
    4Funer great job ! Done



Advertisement