vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I add this warning for users while registering? (https://vborg.vbsupport.ru/showthread.php?t=281341)

MaXimus 04-09-2012 11:53 PM

How do I add this warning for users while registering?
 
I saw a warning which I liked on the "StopForumSpam" forums which has a small warning during registration:

Posting links, backlinks, SEO or anything else dubious or illegal, in signatures or posts, will result in your account being banned. If in doubt, just don't do it. Harsh? Perhaps but this is the last forum in the world that will tolerate forum spam :)

How can I have such a warning? What to edit?

Thanks

Lynne 04-10-2012 02:32 AM

Where during registration do you want to add it? You may add it directly to that template, if you want.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

MaXimus 04-10-2012 03:51 AM

Quote:

Originally Posted by Lynne (Post 2318535)
Where during registration do you want to add it? You may add it directly to that template, if you want.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

I want it to appear on the top before Username in this page >>> http://forums.pctweakers.net/register.php


I tried looking around in the templates but couldn't find where and what to edit :(

Please help

Thanks

Lynne 04-10-2012 04:53 PM

Isn't that just the register template? It looks like the username is here:
HTML Code:

                                <label for="regusername">{vb:rawphrase username}:</label>

MaXimus 04-13-2012 08:46 AM

Quote:

Originally Posted by Lynne (Post 2318746)
Isn't that just the register template? It looks like the username is here:
HTML Code:

                                <label for="regusername">{vb:rawphrase username}:</label>

alright thanks, what is the code I need to enter before the username?

Lynne 04-13-2012 03:50 PM

Whatever warning you want to add. You might want to put it in <div> tags. You can try and see how it looks. Or just <p> tags.


All times are GMT. The time now is 04:29 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.01910 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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