vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Delete rules from registration page? (https://vborg.vbsupport.ru/showthread.php?t=310729)

dj83 04-23-2014 05:17 PM

Delete rules from registration page?
 
1 Attachment(s)
Hello,


I am using vb 4.2.1 and I would like to remove the rules and check box and also the option information part from my registration page. How would I go about doing this?


Pic of the optional info part I want to remove:
Attachment 148928

tbworld 04-23-2014 09:41 PM

Two ways to handle this:

Comment out the HTML that you do not want to be displayed in the template (see template 'register' in the template manager under your style), and changing the input fields to a hidden type, so when the form is submitted it satisfies the PHP code. (More Advanced method - Allows you to have different styles with different templates using the distributed PHP code).

or

Comment out the HTML you do not want to be displayed in the 'register' template and comment out the PHP code in 'register.php'. (Recommended method for you at this point if your not at an intermediate level in HTML.)

This is something you can do with a bit of trial and error. If you run into trouble, just ask. A little learning of the basics here will go along way. It is why I am not simply just posting the code.

Comment out HTML block using <!-- commented out -->
Comment out PHP block using /* commented out */

Lots of examples on the web on how to comment out code.

I am here if you get into trouble, although almost anyone can help you with this. :)

dj83 04-23-2014 10:31 PM

Hello,

I am looking for the two parts to edit out but can't find them in the register templates. Can you please tell me the two parts of the codes that I need to edit?


All times are GMT. The time now is 12:05 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.00919 seconds
  • Memory Usage 1,708KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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