vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Simple Login from Non-Vb pages (https://vborg.vbsupport.ru/showthread.php?t=107292)

gsnindia 02-05-2006 10:00 PM

Simple Login from Non-Vb pages
 
Just copy-paste the following code to the place you wish to put your login

Replace "your forum URL" as per your setting

Code:

<TABLE><TR>
                    <TD width="246"><form action="http://Your forum url/login.php" method="post"

onsubmit="md5hash(vb_login_password,vb_login_md5password)">
                      <input name="vb_login_md5password" type="hidden" />
                      <input name="s" type="hidden" value="" />
                      <input type="hidden" name="url" value="http://your forum url" />
                      <input name="do" type="hidden" value="login" />
                      Login to Forum <br>
                      <span class="style5">User Name</span>                     
                      <input class="bginput" name="vb_login_username" size="18"

type="text" />
                      <br />
                      <span class="style5">Password</span>                     
                      <input class="bginput" name="vb_login_password" size="18"

type="password" />
                      <br />
                      <input checked="checked" class="bginput" name="cookieuser"

id="cb_cookieuser" type="checkbox" value="1" />
                      <span

class="smallfont">Remember Me</span>
                      <input class="button" type="submit" value="Login" />
                      <a href="http://Your forum url/register.php?">Register</a>                                        </form></TD>
                  </TR></TABLE>

Look at the sample at this page : http://www.gsnindia.com

Barteken 02-06-2006 03:26 PM

is there also a similar code so users can only see the page (non VB) if they are logged in?

Grtz

gsnindia 02-06-2006 03:31 PM

No this code will only take user from non-vb page to forum(Vb pages) with logged in

Snake 02-06-2006 04:00 PM

Nice one!

HaYLaZ 02-06-2006 04:29 PM

thanks but this is code modification not plugin:D

Robru 02-06-2006 05:42 PM

How to change lettertype and font size?

forumsoup.com 02-06-2006 06:12 PM

Can we see a screenshot(s)?

Billspaintball 02-06-2006 09:31 PM

Quote:

Originally Posted by Barteken
is there also a similar code so users can only see the page (non VB) if they are logged in?

Grtz

There sure is.
Look here https://vborg.vbsupport.ru/showthread.php?t=100992

gsnindia 02-07-2006 12:59 AM

Quote:

Originally Posted by forumsoup.com
Can we see a screenshot(s)?

Viist this page it is in use.

http://www.gsnindia.com

mchaos 02-07-2006 06:09 AM

Just goes to redirecting, then nothing, is there a refer needed??

edit: never mind, *smacks self in forhead*

MUDERCOOL 02-22-2006 02:16 PM

installed.

it says "admin has to add the domain to the whitelist" when I login from another website of mine to my forum.

so I (as admin of my forums) should add my other domain to the whitelist. but wehere is that whistelist (in my forum I know but where) and how can I add my domain to that list?

jackstraw01 04-10-2007 05:43 PM

Is there a way to have it so it logs you in, but stays on the page where you logged in instead of going to the forums?


All times are GMT. The time now is 05:49 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.01132 seconds
  • Memory Usage 1,737KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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