vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VB Login on a Non-VB Page vB3 RC3 (https://vborg.vbsupport.ru/showthread.php?t=61112)

-animal- 02-07-2004 11:34 AM

the code works great but when i enter my login details, if the page changes to the "thanks for logging in" page and then back to the page that has the login forms. Is there anyway to say get it to not go to the thanks for loggin in page and then rather than just displaying the login boxed display the users avatar who just logged in?

thanks

mcahill 02-09-2004 12:26 PM

Set the value in the form for Forceredirect to 0 and it will not show the thank you for logging in. To get the avatar displayed, you'd need to take a look at what is available in bbuserinfo[] or figure out how to add the avatar stuff from you postbit template.

Blue Moose Aaron 02-11-2004 02:11 PM

Is it at all possible to have the users avatar show up?

Osterling 02-12-2004 01:56 AM

i did the direction and i am getting this error message:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/exasko/public_html/forum_tester/test.php on line 13

line 13 is..

if ($bbuserinfo['userid']!=0) {

got any ideas what's wrong

killervette 02-12-2004 05:32 PM

redirect doesnt work for me.

gopherhockey 02-14-2004 02:49 PM

Quote:

Originally Posted by apokphp
My server has php. My index is html. I use vb as a forum. I'd like to use some form of vb logon on the front page which is not related to vb at all.

I have the same issue. I changed to .shtml and can now include .php pages. Make a blank .php page and put the snip of code they refer too in there.

misterfade 02-15-2004 10:08 PM

I got this to work, but it takes me back to where I put the login form. I want it to log me in an take me into the forums. How do I do that?

I already have this setup with VB2.3, and it works great. It's set so that when you go back to the index.php page of my site (not the forums), it shows:

"Welcome back, [name]
New Threads:
New Posts:
New PM's
Logout"

How can I do that with this hack? Having the login form/welcome box on a non-vb page is somewhat of a lifeline for my site, my members rely on it a lot so I really need to get this working, any suggestions?

Any help would be appreciated.

Thanks.

gmarik 02-16-2004 03:13 PM

So maybe somebody has putt it in a pop-up box - has somebody?
Could it be remade so I could use it in a HTML pure page, maybe with JS?

magmaink 02-23-2004 09:58 AM

Quote:

Originally Posted by exasko
i did the direction and i am getting this error message:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/exasko/public_html/forum_tester/test.php on line 13

line 13 is..

if ($bbuserinfo['userid']!=0) {



got any ideas what's wrong

i have the same problem

Diana Notacat 02-24-2004 12:24 AM

This is working great. ;) Is there anyway to add some code where once a user is logged in they'll see content based on what user group they're in?

For example ALL members would see "Link1 Link2 Link3" but then only Admins/Mods or the user group you choose can see "Link4 Link5 Link6"....


All times are GMT. The time now is 09:30 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.01172 seconds
  • Memory Usage 1,733KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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