Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2010, 03:24 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to logout new registrations? Is my Plugin Bad?

Hi,

I'm creating a plugin to logout new registrations but isn't working properly, well was working fine but I don't know what happen 'cause isn't logout the new registrations.

Here's the plugin:
PHP Code:
require_once(DIR '/includes/functions_login.php');
process_logout(); 
Very simple, and added at the register_start hook. What happen? Is ok or is bad?

Thanks.
Reply With Quote
  #2  
Old 08-08-2010, 03:27 PM
Agathadaimon Agathadaimon is offline
 
Join Date: Mar 2010
Location: T?RKİYE
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do screenshots ?
Reply With Quote
  #3  
Old 08-08-2010, 03:34 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Agathadaimon View Post
Do screenshots ?
Screenshots of?

That plugin info doesn't logout the new user registrations.

By example here's the process that I have before (before what I don't know 'cause stop working by himself)
- After clicking the register button the message will be the Thank for registering...
After that the thing was be easy 'cause will redirect to the index page and the people can fill the login form.

The problem is that I have enabled the email verification and also the new user moderations so it creates a loop for new users. (I've also a script to redirect the logged in users to a specific forum via header requests)

So that's the main issue...

Is that plugin right?
Reply With Quote
  #4  
Old 08-08-2010, 03:37 PM
Agathadaimon Agathadaimon is offline
 
Join Date: Mar 2010
Location: T?RKİYE
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Get certified mail from the new membership would guess ?
Reply With Quote
  #5  
Old 08-08-2010, 03:48 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Agathadaimon View Post
Get certified mail from the new membership would guess ?
I don't think so, was working fine... Is weird.

Do you know something to logout the users using another hook?
Reply With Quote
  #6  
Old 08-08-2010, 03:50 PM
Agathadaimon Agathadaimon is offline
 
Join Date: Mar 2010
Location: T?RKİYE
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rafa-el View Post
I don't think so, was working fine... Is weird.

Do you know something to logout the users using another hook?
I know you do not have such a plug-in
Reply With Quote
  #7  
Old 08-08-2010, 04:00 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Agathadaimon View Post
I know you do not have such a plug-in
Sorry?

--------------- Added [DATE]1281287225[/DATE] at [TIME]1281287225[/TIME] ---------------

Ok, I've linked the hook to register_addmember_complete and works good now, but I've the loop error at the email verification zones.

I will try to add the plugin into that hooks.
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 04:45 PM.


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.06282 seconds
  • Memory Usage 2,223KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete