vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Crap need some help (https://vborg.vbsupport.ru/showthread.php?t=36303)

Psychdrone 03-18-2002 11:05 PM

Crap need some help
 
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:
Code:

  $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)."',e mailnotification='$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_u pdatethanks")."\",\"$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:
Code:

  $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:)


All times are GMT. The time now is 07:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01014 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete