Welcome, Guest. Please Login or Register.
May 09, 2025, 10:03:08 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  VBStyle Login??? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: VBStyle Login???  (Read 867 times)
JG4life
Noobie
*
Posts: 10


The best online racing league on the net!!

ICQ - 29135750jg4life24@hotmail.com WWW
VBStyle Login???
« on: January 10, 2003, 01:50:05 AM »
Reply with quote

In the template.php file there is a part that says <yabb vbstylelogin> and I am assuming that is the nifty login at the bottom as opposed to clicking Login at the top.

I was wondering if it is possible to have that same vbstylelogin on my main page of the site (index.shtml) This is of course one directory above my yabbse directory.

Anyone know how to do this if it is possible???
Logged

 JG4life   8)
John R
PHP Challenged
Global Moderator
Sr. Member
*****
Posts: 387


Click, Click, Click, Bang!

ICQ - 3166233codehammer@thevortex.com
Re:VBStyle Login???
« Reply #1 on: January 11, 2003, 04:00:32 PM »
Reply with quote

Look at ssi.php that is included with the YaBB SE source files.  You can do what you want by using an include statement from ssi.php

cheers..........
Logged

Be careful what you wish for, it might come true!

Note: I do not acknowledge support requests via PM, MSN or ICQ, please use the support boards.
JG4life
Noobie
*
Posts: 10


The best online racing league on the net!!

ICQ - 29135750jg4life24@hotmail.com WWW
Re:VBStyle Login???
« Reply #2 on: January 11, 2003, 06:35:51 PM »
Reply with quote

Yeah, I have already got the login that is done through the SSI.php working properly.  I was wondering if the vbstylelogin can be used instead...  The way it is laid out would fit the layout of my site better than the one in the SSI.php.  Doesn't really matter but just figured if it can be done I would rather use the vbstylelogin.
Logged

 JG4life   8)
Dude
Guest
Re:VBStyle Login???
« Reply #3 on: January 12, 2003, 06:39:34 AM »
Reply with quote

How comfortable are you with changing code? In ssi.php there is a function login(). You can change the code there that displays the login form to whatever you want. In 1.4.1 it's contained within a heredoc statement. You can change anything between the
   print <<<EOT
and
EOT;

In fact you can cut and paste the code for the vbstyle login and insert it there. But make a backup of ssi.php first.
Logged
JG4life
Noobie
*
Posts: 10


The best online racing league on the net!!

ICQ - 29135750jg4life24@hotmail.com WWW
Re:VBStyle Login???
« Reply #4 on: January 12, 2003, 03:22:30 PM »
Reply with quote

perfect!!!  exactly what I was looking for!!!  where do i find the code for the vbstylelogin??  hehe  last question, I promise  LOL
Logged

 JG4life   8)
Dude
Guest
Re:VBStyle Login???
« Reply #5 on: January 12, 2003, 09:08:46 PM »
Reply with quote

no problem, it's in Subs.php, look for yyvbsty.

Have fun,
Dan
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  VBStyle Login??? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.036 seconds with 21 queries.