Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple vB User login and access control on non vB pages Details »»
Simple vB User login and access control on non vB pages
Version: 4.00, by Billspaintball Billspaintball is offline
Developer Last Online: Nov 2011 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.0.0 Beta 3 Rating:
Released: 11-15-2009 Last Update: Never Installs: 99
Re-useable Code Additional Files Translations  
No support by the author.

Hack Description

This is a cut down version of the user authentication and access control system I use on the non vB pages on my website.

This uses the vB 4.0 login system to log you in and out. It allows you to move between your forums and other pages on your site while remaining logged in.

It allows you to do things such as restrict pages by usergroup, display different content depending on a user being logged in or not.
For example, you can have banner Adds displaying to non members only, and/or let members access to specific content.

I've cut it down to the bare minimum that it needs to work, no fancy stuff such as avatars, PM's, or even formating. (That is in the Deluxe version - not yet released)

This is not supported, but if any questions / issues are posted here (not PM'ed or emailed) I will try and answer them if I have time.

This code is a mix of my own, and pieces I have used from other hacks that are floating around.

This script has been confirmed as working on
  • vB 4.0 beta3


Change log

Version 4.00 (15th November 2009)
  • Initial vB 4.0.x release



Click on Install
If you have this script installed then please click on the install link because;
  • You will get notified if any security issues are reported.
  • You will get notified when there are any upgrades to this script
  • It gives me a warm fuzzy feeling and motivates me to develop more

Download Now

File Type: zip Login simple vb4.0 v4.00.zip (3.9 KB, 1408 views)

Screenshots

File Type: jpg cep-loggedin.jpg (7.2 KB, 0 views)
File Type: jpg cwp-loggedout.jpg (7.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
mightyudis

Comments
  #52  
Old 03-14-2012, 01:38 PM
txsbmw txsbmw is offline
 
Join Date: May 2006
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using vb 4.1.10 and the you visited last info no longer shows nor does the Private Messages Info. Anyone have any idea what needs to be changed to get it to show?
Reply With Quote
  #53  
Old 03-23-2012, 10:07 PM
forcerm forcerm is offline
 
Join Date: Jun 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i get this to work on a subdomain.

my forum is www.mydomain.com/forum

my test site is test.mydomain.com

my main website is www.mydomain.com

If i go to www.mydomain.com then this script works, if i go to test.mydomain.com then it says i am not logged in even though i am.

What do i need to change to make it work on subdomains?
Reply With Quote
  #54  
Old 03-29-2012, 07:27 PM
zero477 zero477 is offline
 
Join Date: Jan 2012
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is not working for me .... vBulletin 4.1
Reply With Quote
  #55  
Old 06-15-2012, 10:36 AM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to add "remember me" and/or the connect with facebook button?
Reply With Quote
  #56  
Old 10-17-2012, 02:24 PM
lollodev lollodev is offline
 
Join Date: Jun 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working for VBulletin 4.2. Does anyone have a solution for this?
Reply With Quote
  #57  
Old 11-17-2012, 07:33 AM
sina1808 sina1808 is offline
 
Join Date: Sep 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi
my site runing on the server1 , and my forum installed on server2
can using this mod ?
plz help me
Reply With Quote
  #58  
Old 12-06-2012, 05:57 PM
tsptom tsptom is offline
 
Join Date: Jan 2006
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lollodev View Post
not working for VBulletin 4.2. Does anyone have a solution for this?
I was very happy to see this mod, but have not heard anyone say they have successfully installed it on vb 4.2 yet. The thread looks DOA so I assume this is not a good sign.

Anyone? tnx.
Reply With Quote
  #59  
Old 12-08-2012, 04:43 PM
gocreate gocreate is offline
 
Join Date: Dec 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any chance to vb 4.2 support of this mod?
Reply With Quote
  #60  
Old 02-06-2013, 01:41 PM
lollodev lollodev is offline
 
Join Date: Jun 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tsptom View Post
I was very happy to see this mod, but have not heard anyone say they have successfully installed it on vb 4.2 yet. The thread looks DOA so I assume this is not a good sign.

Anyone? tnx.
I found a way to have it working with VB 4.2.0.
It is very important to read the "trouble shooting" section at the beginning of this post!

In my case it worked by adding the following lines at the beginning of the script (login_inc.php):

$curdir = getcwd ();
chdir('/path/to/my/forum');
require_once('/path/to/my/forum/global.php');
chdir ($curdir);
Reply With Quote
Благодарность от:
tsptom
  #61  
Old 02-07-2013, 02:55 PM
lollodev lollodev is offline
 
Join Date: Jun 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to add the FB connect to this script?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05164 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete