PDA

View Full Version : Stars v0.2.3.....HELP!


Rapclick
01-20-2002, 12:48 AM
Hack: Stars v0.2.3

when users go to register or post a new thread...it gives them this error below in quotes....althoug it still lets them perform these actions when they logout it doesnt let them log back in....i am running Vb 2.2.1

// Stars Hack $usergstars=$DB_site->query_first("SELECT starlevel,starimg FROM usergroup WHERE usergroupid='$newusergroupid'"); if ($usergstars[starlevel]=="") { $getstars=$DB_site->query_first("SELECT starlevel,starimg FROM stars WHERE minposts<=$bbuserinfo[posts]+1 ORDER BY minposts LIMIT 1"); $userstarlvl=$getstars[starlevel]; $userstarimg=$getstars[starimg]; } else { $userstarlvl=$usergstars[starlevel]; $userstarimg=$usergstars[starimg]; } // Stars Hack End

could some one please help me i have it temporaryily fixed on my site by takin the hack out of the files.....if at all possible could some one send me the whole files of register.php and newthread.php

Rapclick
01-20-2002, 08:01 PM
^^ Up ^^

could some on please help me :)

Rapclick
01-22-2002, 07:32 PM
neva mind i give up on it :(

Wolf42
01-24-2002, 12:57 PM
First of all: it is not allowed to post or send the complete code!!

Read the Thread: Stars v0.2.3 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=19081)

$usergstars=$DB_site->query_first("SELECT starlevel,starimg FROM usergroup WHERE usergroupid='$newusergroupid'");
if ($usergstars[starlevel]=="") {
$getstars=$DB_site->query_first("SELECT starlevel,starimg FROM stars WHERE minposts<=$bbuserinfo[posts]+1 ORDER BY minposts LIMIT 1");
$userstarlvl=$getstars[starlevel];
$userstarimg=$getstars[starimg];
} else {
$userstarlvl=$usergstars[starlevel];
$userstarimg=$usergstars[starimg];
}

This is my code in the register.php and it is the same like yours. And I run a v 2.2.1 too.

Rapclick
01-27-2002, 11:24 PM
not lettin me other admins, or users log back in!!! :confused: help me!!! please

Rapclick
01-29-2002, 08:09 PM
thank you wolf i got all working now without errors.....exept for nobody can log back in, even me!!!