ENART.GIGJ.COM
welcome to my space
X
Search:  
Welcome to:enart.gigj.com
NAVIGATION - HOME
Top Posters Hack?
Published by: smith 2010-03-18
  • Im looking for a hack that shows the top posters on your baords on the main page, so I can make it show up on my home page, anyone ever seen one?


  • Sorry, I wasn't thinking...



    Code:
    ---------------
    Code is only visible to licensed users, and only when logged into the forums.
    ---------------



    Put this in any page you want to. Just change the path to global.php and the LIMIT statement to reflect how many people you want to display. It's set at 10.

    HTH

    -jim


  • Wow thanks, but how do I, and what can I do with one line of code? What do i do to incorp it into a php file in another DIR


  • it's in the same directory


  • help ... :(


  • try changing the lines to this:


    Code:
    ---------------
    Code is only visible to licensed users, and only when logged into the forums.
    ---------------


    This should tell you where your error is...
    Good Luck,


  • do you have this in the same directory had global.php? if not you have to have the full path for it to open it


  • I did that and I get this error


    Warning: Supplied argument is not a valid MySQL-Link resource in /web/sites/3/leokiller/www.flyaway.f2s.com/board/main.php on line 15

    and on line 15 the only thing on is is this symbol -> {


  • Originally posted by JimF
    Sorry, I wasn't thinking...



    Code:
    ---------------
    Code is only visible to licensed users, and only when logged into the forums.
    ---------------



    Put this in any page you want to. Just change the path to global.php and the LIMIT statement to reflect how many people you want to display. It's set at 10.

    HTH

    -jim

    I got it to work by making a file inside the vBulletin folder, setting the global require path to just require("global.php"); and then called the file using the reltivie path (eg. include ("http://www.yourdomain.com/vBulletin/topposters.php") and everything worked nice and quickly.


  • $db_link is wrong I think , with what should I replace it ?


  • help help help plzzzzzzz


  • Code:
    ---------------
    Code is only visible to licensed users, and only when logged into the forums.
    ---------------


  • THANKS MAN! Wow, this wasnt hard like it thought, sweet!


  • is sais error connecting to DB ,how is that possible ? It uses my global.php yes ? Well since my vbulletin shows no problems and connects without errors ,how can this script make an error connecting ? Please help , I really want this script to work




  • blabla




    require("global.php");

    print("
    ");

    $db_link = @mysql_pconnect("$dbservername", "$dbusername", "$dbpassword");
    mysql_select_db ("$dbname", $db_link)
    or die("Error connecting to DB");

    $query = mysql_query("SELECT posts, username FROM user ORDER BY user.posts DESC, user.username DESC LIMIT 0, 10")
    or die("Query Error:$query");

    while($row = mysql_fetch_array($query))
    {
    $username = $row["username"];
    $posts = $row["posts"];

    print("");
    }

    print("
    Top Posters
    UsernamePosts
    $username$posts
    ");

    ?>


    that's the script I use ,and this is the error I get :

    Warning: Supplied argument is not a valid MySQL-Link resource in /web/sites/3/blabla111111/www.blabla.f2s.com/board/main.php on line 15
    Error connecting to DB





  • Blank page when attempting to edit templates
    Reasons for WorldPay and vB system not accepting order
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Top Posters Hack? , Please add it free.
  • warning unable to remove tracked file from tracker
  • output stereo to all speakers question
  • smart playlist help
  • upgrading to newer xbmc version
  • bug or not large font 1of2 xboxes fixed somehow
  • subtitles rendered before deinterlace
  • can someone explain how videodb cleanup works
  • games far cry evo switching to 16 9 when launched from hdd
  • updated and now rm files don t play
  • controller doesn t respond to xbmc
  • playlist and pathsubstitution
  • where is the bookmark edit option in the gui
  • dvdplayer smb video artifacts glitches

  • number and letter will be extend with using chinese ttf font
  • xbmc crashes on start
  • aspect ratio issue
  • freeze bug
  • xbmc ftp problems
  • udp movie streams won t work
  • weather broken after upgrade
  • audi sync while streaming live tv
  • access my files on a debian linux machine
  • dvd skips forwards a few minutes on layer change
  • how video play best available work
  • upgraded to xbmc now xbox hangs on boot up
  • contents of dirs as list and not big icons
  • internet radio question
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 enart.gigj.com        Site made:CFZ