vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   no more invisible members? (https://vborg.vbsupport.ru/showthread.php?t=51950)

XFLBret 04-21-2003 11:19 PM

no more invisible members?
 
I'd like a hack that prohibits anybody and everybody from being able to choose the Invisible on 'Online users' list option in the control panel.

i want everyone who visits my site to have their name in the "users who visited today" section whether they want to be in there or not.

if there's already a hack like this please point me in the right direction and accept my apologies for posting this hack request.

amykhar 04-21-2003 11:26 PM

All you have to do is remove the option from the register page templates and the user options template.

Then, run this query:

UPDATE user set invisible=0;

That will set everyone to visible.

Amy

XFLBret 04-22-2003 05:42 PM

it's not working for me. i run the query as it's written, and i get this error:

Database error in vBulletin Control Panel 2.2.8:

Invalid SQL: UPDATE user set invisible=0;

mysql error: You have an error in your SQL syntax near ';
' at line 1

mysql error number: 1064

Date: Tuesday 22nd of April 2003 01:40:43 PM
Script: http://pcfootball.net/forums/forums/admin/query.php
Referer: http://pcfootball.net/forums/admin/query.php?t=0&

then I take off the semi colon and get this error:

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/forums/admin/query.php on line 29

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/forums/admin/query.php on line 33

amykhar 04-22-2003 05:58 PM

Query works fine for me in phpmyadmin. Not sure which query hack you are using and cannot debug that for you. Sorry.

Amy

XFLBret 04-23-2003 01:45 AM

well, since the query is not working for me for whatever reason, I will repeat my request for a hack for this.

filburt1 04-23-2003 01:50 AM

The hack will use that query.

Link14716 04-23-2003 02:20 AM

amy, you forgot the quotes..

Instead of:[sql]UPDATE user set invisible=0;[/sql]It needs to be:[sql]UPDATE user SET invisible='0';[/sql]

amykhar 04-23-2003 02:47 AM

Ok. Looks like some databases are pickier than mine. :D

Amy

XFLBret 04-23-2003 02:51 AM

I got this error when I tried it:

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/forums/admin/query.php on line 29

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/forums/admin/query.php on line 33

LangTuDaTinh 04-23-2003 09:14 AM

no, in myphpadmin, run this

UPDATE user set invisible=0

without ';'


All times are GMT. The time now is 12:32 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.01012 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete