Thread Rating:
  • 9 Vote(s) - 4.11 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Smethead's Mod/Plugins list [2 new plugins and 3 updated plugins]
#58
I don't exactly know which version you have, but replace the whole deactivate function.

it starts with (about line 534)
function nars_deactivate()
{
and ends with (around line 629)
}

//PLUGIN HOOK FUNCTIONS
Replace everything in between those { and } with
    //RESTORE EDITED FILES
    $fh = fopen('./jscripts/general.js', "r") or cperror("Could not open file!"); //OPEN FILE
    $data = fread($fh, filesize('./jscripts/general.js')) or cperror("Could not read file!"); //MAKE TEMPORARY STRING
    fclose($fh); //CLOSE FILE AGAIN
    $newdata = preg_replace('#'.preg_quote('popupWin("reputation2.php').'#','popupWin("reputation.php',$data); //REPLACE IN STRING
    $fw = fopen('./jscripts/general.js', "w") or cperror('Could not open file!'); //OPEN FILE AGAIN
    $fb = fwrite($fw, $newdata) or cperror('Could not write to file'); //WRITE STRING TO FILE
    fclose($fw); //CLOSE FILE AGAIN
and try to deactivate the plugin once again. After that, upload the new files and activate your plugin.

Deactivate and activate it once more, to make sure everything has been done correctly.
Reply


Messages In This Thread
RE: Smethead\'s Mod list - by Cory - 2005-05-18, 07:13 PM
RE: Smethead's Mod list - by k776 - 2005-08-31, 08:42 PM
RE: Smethead's Mod list - by - 2005-09-01, 07:52 PM
RE: Smethead's Mod list - by Shochu - 2005-10-19, 09:50 PM
RE: Smethead's Mod list - by decswxaqz - 2005-11-06, 07:29 PM
RE: Smethead's Mod list - by - 2005-11-06, 08:02 PM
RE: Smethead's Mod list - by decswxaqz - 2005-11-06, 08:30 PM
RE: Smethead's Mod list - by Marc O' Connor - 2005-11-12, 08:29 AM
RE: Smethead's Mod list - by - 2005-12-03, 02:55 PM
RE: Smethead's Mod list - by - 2005-12-03, 09:05 PM
RE: Smethead's Mod list - by Atloz - 2005-12-04, 08:13 AM
RE: Smethead's Mod list - by - 2005-12-04, 10:50 AM
RE: Smethead's Mod list - by Atloz - 2005-12-06, 03:32 PM
RE: Smethead's Mod list - by zaher1988 - 2005-12-06, 04:37 PM
RE: Smethead's Mod list - by - 2005-12-06, 05:43 PM
RE: Smethead's Mod list - by zaher1988 - 2005-12-06, 08:08 PM
RE: Smethead's Mod list - by Shochu - 2005-12-07, 02:45 AM
RE: Smethead's Mod list - by - 2005-12-07, 12:00 PM
RE: Smethead's Mod list - by - 2005-12-09, 02:37 PM
RE: Smethead's Mod list - by lordy16 - 2005-12-11, 12:34 AM
RE: Smethead's Mod list - by ipab - 2005-12-11, 06:45 AM
RE: Smethead's Mod list - by - 2005-12-12, 11:05 AM
RE: Smethead's Mod list - by lordy16 - 2005-12-11, 09:43 AM
RE: Smethead's Mod list - by ipab - 2005-12-11, 05:00 PM
RE: Smethead's Mod list - by lordy16 - 2005-12-12, 10:24 AM
RE: Smethead's Mod list - by - 2005-12-12, 08:18 PM
RE: Smethead's Mod list - by ipab - 2005-12-13, 04:14 AM
RE: Smethead's Mod list - by - 2005-12-13, 09:04 AM
RE: Smethead's Mod list - by - 2005-12-15, 06:22 PM
RE: Smethead's Mod list - by - 2005-12-16, 10:42 PM
RE: Smethead's Mod list - by - 2005-12-21, 03:22 AM
RE: Smethead's Mod list - by - 2005-12-21, 09:52 AM
RE: Smethead's Mod list - by - 2005-12-21, 02:44 PM
RE: Smethead's Mod list - by - 2005-12-21, 03:46 PM
RE: Smethead's Mod list - by - 2005-12-22, 09:08 AM
RE: Smethead's Mod list - by chiefsaab - 2005-12-22, 12:11 PM
RE: Smethead's Mod list - by - 2005-12-22, 12:54 PM
RE: Smethead's Mod list - by chiefsaab - 2005-12-22, 01:00 PM
RE: Smethead's Mod list - by Oded Dwek - 2005-12-22, 06:30 PM
RE: Smethead's Mod list - by zaher1988 - 2005-12-22, 07:14 PM
RE: Smethead's Mod list - by Oded Dwek - 2005-12-22, 07:25 PM
RE: Smethead's Mod list - by - 2005-12-23, 06:11 AM
RE: Smethead's Mod list - by - 2005-12-23, 03:12 PM
RE: Smethead's Mod list - by chiefsaab - 2005-12-25, 07:38 PM
RE: Smethead's Mod list - by - 2005-12-25, 08:24 PM
RE: Smethead's Mod list - by Boring Dude - 2005-12-29, 01:18 AM
RE: Smethead's Mod list - by EuroBEAT - 2006-03-05, 05:19 AM
RE: Smethead's Mod list - by - 2005-12-29, 10:54 AM
RE: Smethead's Mod list - by Boring Dude - 2005-12-29, 04:05 PM
RE: Smethead's Mod list - by - 2006-01-15, 04:28 PM
RE: Smethead's Mod list - by zaher1988 - 2006-01-15, 04:32 PM
RE: Smethead's Mod list - by - 2006-01-21, 01:57 PM
RE: Smethead's Mod list - by - 2006-01-24, 08:13 PM
RE: Smethead's Mod list - by - 2006-01-24, 08:42 PM
RE: Smethead's Mod list - by - 2006-01-24, 08:49 PM
RE: Smethead's Mod list - by - 2006-01-25, 01:15 PM
RE: Smethead's Mod list - by - 2006-01-25, 02:40 PM
RE: Smethead's Mod list - by zaher1988 - 2006-01-25, 02:53 PM
RE: Smethead's Mod list - by - 2006-01-25, 06:23 PM
RE: Smethead's Mod list - by - 2006-01-25, 08:21 PM
RE: Smethead's Mod list - by - 2006-01-26, 06:57 PM
RE: Smethead's Mod list - by - 2006-01-26, 07:53 PM
RE: Smethead's Mod list - by - 2006-01-26, 10:47 PM
RE: Smethead's Mod list - by Oded Dwek - 2006-01-27, 10:08 AM
RE: Smethead's Mod list - by - 2006-01-27, 02:17 PM
RE: Smethead's Mod list - by destroyer - 2006-01-28, 10:35 AM
RE: Smethead's Mod list - by - 2006-01-28, 12:26 PM
RE: Smethead's Mod list - by destroyer - 2006-01-28, 12:50 PM
RE: Smethead's Mod list - by - 2006-01-28, 04:39 PM
RE: Smethead's Mod list - by destroyer - 2006-01-30, 12:44 PM
RE: Smethead's Mod list - by - 2006-01-30, 06:24 PM
RE: Smethead's Mod list - by destroyer - 2006-01-30, 08:13 PM
RE: Smethead's Mod list - by - 2006-01-31, 08:43 PM
RE: Smethead's Mod list - by destroyer - 2006-02-01, 12:31 PM
RE: Smethead's Mod list - by - 2006-02-01, 02:45 PM
RE: Smethead's Mod list - by destroyer - 2006-02-01, 03:21 PM
RE: Smethead's Mod/Plugins list - by Chris W. B. - 2006-02-21, 01:17 PM
RE: Smethead's Mod/Plugins list - by - 2006-02-21, 05:49 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-03, 01:16 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 02:31 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-03, 02:53 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 02:34 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 03:48 PM
RE: Smethead's Mod/Plugins list - by zaher1988 - 2006-03-03, 04:31 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-03, 04:50 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-04, 11:11 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-04, 12:20 PM
Smethead's - Advanced Stats Mod - by EuroBEAT - 2006-03-05, 05:25 AM
RE: Smethead's Mod/Plugins list - by - 2006-03-05, 01:02 PM
RE: Smethead's Mod/Plugins list - by EuroBEAT - 2006-03-06, 06:49 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-09, 09:27 PM
RE: Smethead's Mod/Plugins list - by zaher1988 - 2006-03-10, 05:00 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-10, 05:05 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-11, 04:32 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-11, 05:32 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-11, 06:01 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-11, 06:05 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-11, 10:30 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-18, 10:26 AM
RE: Smethead's Mod/Plugins list - by - 2006-03-19, 01:10 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-19, 02:08 PM
RE: Smethead's Mod/Plugins list - by - 2006-03-19, 04:51 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-03-19, 05:27 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-12, 10:19 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-13, 09:25 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-13, 11:20 AM
RE: Smethead's Mod/Plugins list - by - 2006-04-13, 12:31 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-15, 06:56 PM
RE: Smethead's Mod/Plugins list - by zymic - 2006-04-15, 08:01 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-15, 08:15 PM
RE:  Smethead's Mod/Plugins list - by DIRAL - 2006-04-15, 09:41 PM
RE: Smethead's Mod/Plugins list - by zymic - 2006-04-15, 09:28 PM
RE: Smethead's Mod/Plugins list - by zymic - 2006-04-15, 11:12 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-19, 01:33 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-19, 01:41 PM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-04-19, 07:04 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-19, 07:17 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-04-20, 03:11 PM
RE: Smethead's Mod/Plugins list - by - 2006-04-20, 07:02 PM
RE: Smethead's Mod/Plugins list - by Hamed - 2006-05-03, 09:42 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-03, 03:16 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-06, 12:34 PM
RE: Smethead's Mod/Plugins list - by Sled - 2006-05-08, 03:30 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-08, 04:24 PM
RE:   Smethead's Mod/Plugins list - by Sled - 2006-05-09, 02:59 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-09, 03:32 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-05-09, 03:36 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-09, 04:09 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-05-09, 04:14 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-09, 06:03 PM
RE: Smethead's Mod/Plugins list - by Lapsetur - 2006-05-10, 09:00 AM
RE: Smethead's Mod/Plugins list - by gsa - 2006-05-18, 02:58 AM
RE: Smethead's Mod/Plugins list - by gsa - 2006-05-18, 01:34 PM
RE: Smethead's Mod/Plugins list - by - 2006-05-18, 03:43 PM
RE: Smethead's Mod/Plugins list - by gsa - 2006-05-18, 08:14 PM
RE: Smethead's Mod/Plugins list - by EuroBEAT - 2006-05-19, 04:46 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-19, 05:14 PM
RE: Smethead's Mod/Plugins list - by EuroBEAT - 2006-05-25, 07:03 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-25, 11:24 AM
RE: Smethead's Mod/Plugins list - by - 2006-05-26, 11:11 AM
RE: Smethead's Mod/Plugins list - by tristan/SMM - 2006-06-08, 01:02 AM
RE: Smethead's Mod/Plugins list - by - 2006-06-08, 04:12 PM
RE: Smethead's Mod/Plugins list - by tristan/SMM - 2006-06-08, 10:19 PM
RE: Smethead's Mod/Plugins list - by Michael S. - 2006-06-09, 12:00 AM
RE: Smethead's Mod/Plugins list - by - 2006-06-10, 10:14 AM
RE: Smethead's Mod/Plugins list - by destroyer - 2006-06-10, 10:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)