Version: , by wolfe
Developer Last Online: Oct 2023
Version: Unknown
Rating:
Released: 07-20-2002
Last Update: Never
Installs: 0
No support by the author.
what the problem is i got VBB 2.2.0 and the Store hack is for VBB 2.2.4
but everything edits ok apart from this bit in the member.php i can find what to replace
please help
PHP Code:
OPEN ROOT/member.php(look twice on the instructions)
**********************************
Find (around line 960):
if ($avatarid==0 and (($avatarallowupload or $avatarallowwebsite) and $bbuserinfo[posts] >= $avatarcustomposts)) {
// using custom avatar
$filename="";
if ($bbuserinfo['posts']<$avatarcustomposts) {
eval("standarderror(\"".gettemplate("error_avatarmoreposts")."\");");
// not enough posts error
exit;
}
CHANGE it to:
if ($avatarid==0 and ($avatarallowupload or $avatarallowwebsite)) {
// using custom avatar
$filename="";
if (isset($storeavatar)) {
$lala="";
} else {
if ($bbuserinfo['posts']<$avatarcustomposts) {
eval("standarderror(\"".gettemplate("error_avatarmoreposts")."\");");
// not enough posts error
exit;
}
}
tried changing
PHP Code:
if ($useavatar) {
if ($avatarid==0) {
// using custom avatar
$filename="";
if ($bbuserinfo['posts']<$avatarcustomposts) {
eval("standarderror(\"".gettemplate("error_avatarmoreposts")."\");");
// not enough posts error
exit;
}
to:
if ($avatarid==0 and ($avatarallowupload or $avatarallowwebsite)) {
// using custom avatar
$filename="";
if (isset($storeavatar)) {
$lala="";
} else {
if ($bbuserinfo['posts']<$avatarcustomposts) {
eval("standarderror(\"".gettemplate("error_avatarmoreposts")."\");");
// not enough posts error
exit;
}
}
but got an error
also i can't find
PHP Code:
Find (around line 1001):
} elseif ($avatarallowupload and $bbuserinfo[posts] >= $avatarcustomposts) {
CHANGE it to:
} elseif ($avatarallowupload) {
and another problem is that the hack was working great for a while now when new members sign up the storep in the user table of the DB goes to NULL please help me out
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
First off, I'd consider upgrading. Also, do you have a PHP editor that has a search feature? If so just search for this one line and then you'll have to replace it:
PHP Code:
if ($avatarid==0 and (($avatarallowupload or $avatarallowwebsite) and $bbuserinfo[posts] >= $avatarcustomposts)) {