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)

unplugged 04-23-2003 01:09 PM

Once you have updated the database you can rmeovethe option from the useroptions template and if you wanna be rearlly rearlly swish :rolleyes: you can edit the showthread.php and recode the bit where it plays with the invisble users

XFLBret 04-24-2003 01:02 AM

still get an 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

filburt1 04-24-2003 01:10 AM

Quote:

Yesterday at 10:20 PM Link14716 said this in Post #7
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]

It's not a string so you don't need the quotes; in fact you shouldn't use them.

Talisman 04-24-2003 05:29 AM

I don't know why, but my myphpadmin does that too. Every single time I have to run a query where there are quotes, I get errors ..... no matter whether I use ' or " or /" to mark the strings. So I always have to enter those manually.

(If anyone knows why this happens or what I can try to fix it, please let me know.)

This may be a lousy way of having to go about this, XFLBret, but you could go into the USER table in your database, click on browse, and (manually) sort the table on that INVISIBLE column (descending) to bring them all up top. Then (manually) edit every user record to change all the 1's to 0's for the invisible field.

Depending on the size of your board and how many of your members like to hide, that could be a big job for you. But if you then remove the option from the registration and user CP screens..... nobody can change it back. And that gets you what you wanted.

Good luck with it.

Talis.


All times are GMT. The time now is 01:45 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.00933 seconds
  • Memory Usage 1,718KB
  • 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)bbcode_quote_printable
  • (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
  • (4)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