PDA

View Full Version : quick fix


escoson
01-05-2003, 10:51 PM
im installin the contract posts hack...
it calls for a modification in showthread.php....

find

$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage");

replace with

// Contract Old Posts in Thread (v1.0)
$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage&display=$display");
// Contract Old Posts in Thread (v1.0)

but it seems i have already editted the line i need to find for another hack...
this is the line i have

$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage".iif(isset($highlight), "&highlight=$highlight", ""));

im not good enoug to edit it myself i dont understand this stuff lol
can someone give me the line i should put

Xenon
01-06-2003, 07:16 AM
it would become this line:

$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage&display=$display".iif(isset($highlight), "&highlight=$highlight", ""));

Capp'n Galuxy
01-07-2003, 11:22 PM
thanks alot xenon i appreciate it
$o.o2

Xenon
01-08-2003, 04:08 PM
:)

you're welcome