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)
-   -   VB Login & Info on Non-VB Page (https://vborg.vbsupport.ru/showthread.php?t=96013)

adamgessel 09-09-2005 10:00 PM

VB Login & Info on Non-VB Page
 
This is nothing too big, I just thought it might help some people out so I'm putting it up here.

=====================
DEMO
=====================
You can see exactly what I did at:
http://www.forumfreedom.net/

=====================
DESCRIPTION
=====================
If someone is logged in on your board, but they are on a non-vb page, this will display their username, amount of PMs (and if they have more than 0 it will be bold), and an option to logout (properly, using their logout hash so that it does it the first time), and has a couple more options. What I've done in mine is added two extra usergroups, Premium and Platinum, and if they are either of those then it tells them what usergroup they are in. In the install file, there are two different steps to take, one to install that part and one to not. So, if you have two usergroups that are premium and platinum accounts that people pay for, this will work good for you. You can of course add more premium usergroups easily. Otherwise, just install the other step and it will still work good ;). The code is simple, but I recommend knowing how vbulletin works before installing it. You will need to change some things in the code, but I think that it's worth it if you need something like this. This doesn't edit any code in vbulletin.

=====================
INSTALL
=====================

Install Time: Depends, if you already have a page with everything going then this should only take a few seconds, unless you have to troubleshoot it.

Difficulty: Medium, I say this because there are a few things you might have to change. It's easy to install if you know what you are doing.

PLEASE CLICK INSTALL!

Andreas 09-10-2005 09:31 PM

Hmm ... where is it? ;)

Blaine0002 09-10-2005 09:33 PM

hasnt this been created already?

adamgessel 09-10-2005 09:36 PM

Must've uploaded it wrong.

There have been things like this, but nothing that I found that worked right and displayed the stuff this does.

Zelda-King 09-11-2005 06:55 AM

I tested this. The colours don't match my vB styles. In my case the result is very poor.

1st attachment is how this looks on a non-vB page with the code. 2nd attachment is how my login screen looks on the forums.

Yorixz 09-11-2005 09:29 AM

Well, if you don't include the CSS of your forum it wont change the colors and such. (Atleast that's what I think)

@topic, very nice mod and this will surely become handsome.

adamgessel 09-12-2005 02:07 AM

Zelda-King: Yeah... you can change it to suite your needs. You will have to if you want it to look like you want it to. I tried to remove all of my CSS from it, but I kind of assumed most people would have a style different from their forum so it shouldn't use the CSS from the forum.

Snetty 09-26-2005 10:40 AM

just downloaded this as it's 100% what I need. However, I run my forums on a subdomain (as should everyone really), so I can't change folders. Is there another way around this?

//edit - scrub that, it's not possible, i'm moving my forums to the main domain.

//edit2 - just thought i'd drop back and say that it's working great... thanks for making my life very easy, I was expecting this to be a nightmare...

Zelda-King 10-01-2005 10:35 PM

Quote:

Originally Posted by adamgessel
Zelda-King: Yeah... you can change it to suite your needs. You will have to if you want it to look like you want it to. I tried to remove all of my CSS from it, but I kind of assumed most people would have a style different from their forum so it shouldn't use the CSS from the forum.

The problem is when you have your board closed or disable certain groups from seeing the boards (eg: if forums aren't viewable by guests). Logging in from the main site page in a situation where the vB login box is overriding the site code would take them to login.php which doesn't exist outside the forums' directory. Fix by using a full URL for login.php in the STANDARD_ERROR template.

Snetty 10-07-2005 01:00 PM

does anyone know if there's a way of using the wysiwyg on non vb pages?


All times are GMT. The time now is 12:19 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.01041 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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