PHP Warning: Undefined array key "rating" in ..../includes/class_postbit.php(368) : eval()'d code on line 68
Note/Tutorial: If you make a hack that uses a new file that regged members can access - vb.org Archive
Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Note/Tutorial: If you make a hack that uses a new file that regged members can access
Mephisteus's Avatar
Mephisteus
Join Date: Dec 2001
Posts: 288

 

The Netherlands
Show Printable Version Email this Page Subscription
Mephisteus Mephisteus is offline 08-01-2002, 09:00 PM

Please edit online.php, else users will get errors like
Unkown location: url (with sessionhash)

This is very annoying, here is how to fix it

In online.php find
PHP Code:
  case 'announcement.php':
    $userinfo[activity] = 'announcement';
    $blowup = explode('=', $token1);
    $forumid = intval($blowup[1]);
    $userinfo[forumid] = $forumid;
    $forumids .= ",$forumid";
    break; 
below it add
PHP Code:
  case 'nameoffile.php':
    $userinfo[activity] = 'uniquename';
    break; 
still in online.php find
PHP Code:
    case 'announcement':
      if (!$forum[forumid][$userinfo[forumid]] || (!$forum[canview][$userinfo[forumid]] && $hideprivateforums)) {
        $userinfo[where] = "Viewing Announcement";
      } else {
        $userinfo[where] = "Viewing Announcement in Forum <a href='forumdisplay.php?s=$session[sessionhash]&forumid=$userinfo[forumid]'>".$forum[forumid][$userinfo[forumid]]."</a>";
      }
      break; 
below it add
PHP Code:
    case 'uniquename':
      $userinfo[where] = "discription that apears in online.php";
      break; 
I hope hack writers will do this (some already do )
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:48 AM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.