Log in

View Full Version : showthread 2.0.3


Knoman
08-02-2001, 01:16 AM
okay... i have installed some of my own custom hacks in 2.0.1 with no problems, now that i have upgraded to 2.0.3, im totally lost. my hacks no longer show up, i tried to re-input my hack in 2.0.3, only to see disappointment.

this is where i normally inserted my hack in 2.0.1


$sli = 0;
while ($sli < $post[starlevel]) {
$post[stars] .= "<img src=\"images/stars/$post[starimg].gif\" border=\"0\">";
++$sli;
}

****HACK goes here****

eval("\$post[profile] = \"".gettemplate("postbit_profile")."\";");
eval("\$post[search] = \"".gettemplate("postbit_search")."\";");
eval("\$post[buddy] = \"".gettemplate("postbit_buddy")."\";");



now, the info that the hack uses is post counts, post per day, and days registered.

where on 2.0.3 would i install my hack?

tubedogg
08-02-2001, 01:29 AM
You would have to ask the author of the hack as first we have no idea what hack you are talking about and second we cannot support hacked boards.

Knoman
08-02-2001, 01:33 AM
i created the hack myself. but i have no clue on where to put it on the new showthread.php

i am the admin of a gaming site. i have an hp/mp/exp and level up system.

if it helps, this is the code (i really didnt want to show this...but if it helps)

***code removed***

these codes are used in the postbits templates, under the avatar

tubedogg
08-02-2001, 02:01 AM
Like I said, we can't support hacking. If you'd like I can move this to the hacking forum where other members of the community can try to assist you.

Knoman
08-02-2001, 02:05 AM
would you be so kind? :)

tubedogg
08-02-2001, 02:11 AM
Sure. :)

Wayne Luke
08-02-2001, 02:25 AM
All of the code used to generate the postbit templates is now located in the admin/functions.php file. You will most likely have to re-apply your hack there.

Knoman
08-02-2001, 02:40 AM
thanks... everything is back to normal. :)