Log in

View Full Version : Crap need some help


Psychdrone
03-18-2002, 11:05 PM
When ever my users change this option its not updated

Browse board with cookies?
Clicking yes will use cookies to keep your id for this session. Clicking no will send it through the links. (Selecting no may cause problems when sharing links with people behind the same proxy as you)

What could be wrong.... the only hacks I have installed recently is Pnn'FF's Banner one, and the forum introduction

what the hells going on:(

would someone please lend a few minutes to help me, as this is a very annoying thing

Thanks!

Admin
03-19-2002, 05:08 AM
Copy the 7-10 lines from member.php that start with:
$DB_site->query("UPDATE user
SET ".$updatestyles."adminemail='$adminemail',

Psychdrone
03-19-2002, 07:59 PM
Thats wierd, when I woke up this morning it now allows people to change it.......................

but let me just post it to make sure

$DB_site->query("UPDATE user
SET ".$updatestyles."adminemail='$adminemail',
showemail='$showemail',invisible='$invisible',cook ieuser='$cookieuser',
maxposts='".addslashes($umaxposts)."',daysprune='".addslashes($prunedays)."',
timezoneoffset='".addslashes($timezoneoffset)."',emailnotification='$emailnotifi cation',
startofweek='".addslashes($startofweek)."',options='$options',receivepm='$receiv epm',
emailonpm='$emailonpm',pmpopup='$pmpopup',usergrou pid='$bbuserinfo[usergroupid]',
nosessionhash='$nosessionhash'
WHERE userid='$bbuserinfo[userid]'");

if ($modifyavatar!="") {
$goto="member.php?s=$session[sessionhash]&action=editavatar";
} else {
$goto="usercp.php?s=$session[sessionhash]";
}
eval("standardredirect(\"".gettemplate("redirect_updatethanks")."\",\"$goto\");" );

}

Now this is support! Another reason Vb is the best software!

Admin
03-20-2002, 04:43 AM
The query looks fine, and if you say it works now then all I good. :) Just to be sure make sure this is also on member.php:
$nosessionhash=iif($nosessionhash=="yes",1,0);
and then it HAS to work.

Psychdrone
03-20-2002, 10:05 PM
alright thanks bud!!

now can you get to my pm:)