Neo
03-02-2002, 10:00 PM
OK here it is. Its a smaller version I made of the points hack by shinraonline.com
Installing :
----
do this mysql query:
####
ALTER TABLE `user` ADD `points` MEDIUMINT(20) NOT NULL AFTER `password`;
####
once that is done you need to edit admin/functions.php
####
under :
----
if ($post[hascustomavatar] and $avatarenabled) {
$avatarurl="avatar.php?userid=$post[userid]& dateline=$post[avatardatelin
e]";
} else {
$avatarurl="";
}
}
----
add then save:
----
if ($post[usergroupid]==5 || $post[usergroupid]==6 || $post[usergroupid]==7) {
if (ismoderator($forumid)) {
$adminmodop = "<a href='mod/givepoints.php'>Give Points</a>";
} else {
$adminmodop = "";
}
}
----
####
now go into your postbit template and add right under $post[posts]
----
<br><u>Points:</u> $post[points]<br>
$adminmodop<br>
----
save it
####
then upload givepoints.php to your
mod dir and there you have it.
####
Small. Simple.
ReEdited File. 03/04/02
Installing :
----
do this mysql query:
####
ALTER TABLE `user` ADD `points` MEDIUMINT(20) NOT NULL AFTER `password`;
####
once that is done you need to edit admin/functions.php
####
under :
----
if ($post[hascustomavatar] and $avatarenabled) {
$avatarurl="avatar.php?userid=$post[userid]& dateline=$post[avatardatelin
e]";
} else {
$avatarurl="";
}
}
----
add then save:
----
if ($post[usergroupid]==5 || $post[usergroupid]==6 || $post[usergroupid]==7) {
if (ismoderator($forumid)) {
$adminmodop = "<a href='mod/givepoints.php'>Give Points</a>";
} else {
$adminmodop = "";
}
}
----
####
now go into your postbit template and add right under $post[posts]
----
<br><u>Points:</u> $post[points]<br>
$adminmodop<br>
----
save it
####
then upload givepoints.php to your
mod dir and there you have it.
####
Small. Simple.
ReEdited File. 03/04/02