vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Stop this from happening Hack?? (https://vborg.vbsupport.ru/showthread.php?t=34989)

mondaynightmike 02-11-2002 06:56 PM

Is there a way to stop users from being able to select this option:

Invisible on 'Online users' list Yes No
thanks.

Dark_Wizard 02-11-2002 07:49 PM

In the following templates: registeradult, registercoppa and modifyoptions
Remove this:
Code:

<tr>
        <td bgcolor="{firstaltcolor}"><normalfont><b>Invisible Mode?</b></normalfont><br>
        <smallfont>Selecting yes allows you to surf the forums without appearing in the 'Logged In Users' list.</smallfont></td>
        <td bgcolor="{firstaltcolor}"><normalfont>
                <input type="radio" name="invisible" value="yes"> yes
                <input type="radio" name="invisible" value="no" checked> no
        </normalfont></td>
</tr>


Andy Z 02-11-2002 08:36 PM

Quote:

Originally posted by Dark_Wizard
In the following templates: registeradult, registercoppa and modifyoptions
Remove this:
Code:

<tr>
        <td bgcolor="#13486D"><normalfont><b>Invisible Mode?</b></normalfont><br>
        <smallfont>Selecting yes allows you to surf the forums without appearing in the 'Logged In Users' list.</smallfont></td>
        <td bgcolor="#13486D"><normalfont>
                yes
                <input type="radio" name="invisible" value="no" checked> no
        </normalfont></td>
</tr>


and then replace with:
Code:

<input type="hidden" name="invisible" value="yesORnoHERE">
Where value=yesORnoHERE is replaced by either a yes or no value depnding on what you want. This will set it to whatever you want it to and the user doesn't see the option at all. You'll also need to change it in the user options page template and and do the same thing in there (I'm not sure what the name of it is though). :D

mondaynightmike 02-11-2002 10:18 PM

ok thanks i will try it now.

mondaynightmike 02-11-2002 10:23 PM

is it userCP i need to change it in?

mondaynightmike 02-11-2002 10:25 PM

I found it. It is called modifiyoptions (I hope) i will try it now.

Andy Z 02-11-2002 10:54 PM

that sounds about right, how'd it go?

mondaynightmike 02-11-2002 11:06 PM

It does not appear in my User CP but it does appear in the Admin control panel, but it don't matter as only i can get to it there. So it works. I will sign up as a member then see if i can select it. I will let you know hold on.

mondaynightmike 02-11-2002 11:09 PM

Yep it works. Thanks everyone.

Andy Z 02-11-2002 11:15 PM

your welcome


All times are GMT. The time now is 02:19 PM.

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.02339 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_code_printable
  • (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
  • (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