vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Help me add "Login feature" to the Quick Reply hack. (https://vborg.vbsupport.ru/showthread.php?t=46341)

fello9 12-03-2002 04:07 PM

Help me add "Login feature" to the Quick Reply hack.
 
I added $logincode to our custom Quick Reply template. The User Name & Password fields show up fine. But when I click "Post Reply" it's telling me that I have to login. How can I make that when I click "Post Reply" it should also log me in?

Smoothie 12-03-2002 05:31 PM

Hmm... I have the QRB installed, and added $logincode to the template, and it works fine. I allow guests to post, so the login username shows as unregistered, for regular members it shows their username. You can login/logout from there as well. Whats your QRB template look like?.

fello9 12-03-2002 06:35 PM

Quote:

Originally posted by Smoothie
Whats your QRB template look like?.
http://www.jumpondeals.com/forum/sho...threadid=19347

Currently I removed the User Name & Password fields since you can't login through there.

fello9 12-03-2002 06:55 PM

Quote:

Originally posted by Smoothie
Hmm... I have the QRB installed, and added $logincode to the template, and it works fine. I allow guests to post, so the login username shows as unregistered, for regular members it shows their username. You can login/logout from there as well.
I just tested it on your board, and it does log me in when I enter my user name & password. What did you do? Did you just stick in the "$logincode" in there or you added some other words too?

Smoothie 12-03-2002 06:55 PM

you allow guests to post, but when i tried using the qrb, i get the standard error, you are not logged in, blah, blah....

fello9 12-03-2002 06:57 PM

Quote:

Originally posted by Smoothie
you allow guests to post, but when i tried using the qrb, i get the standard error, you are not logged in, blah, blah....
No, I do not allow guests to post.

N9ne 12-03-2002 07:22 PM

If you don't allow guests to post, you might as well have your members login, then just use QR normally...

Erwin 12-03-2002 07:44 PM

N9ne has a point. Why have the login there?

Smoothie 12-03-2002 07:49 PM

This hack is suppose to not show the qrb if you have no permissions to post

fello9 12-03-2002 08:25 PM

Quote:

Originally posted by N9ne
If you don't allow guests to post, you might as well have your members login, then just use QR normally...
I edited the Quick Reply hack and made that it should show for all users (logged in OR not logged in).
Now, if someone is not logged in and sees the Quick Reply box I want them to be able to enter their User Name & Pass, click on Post Reply, and get logged in. However, that does not work.
I tried (for testing) to allow all users to post (even non-registered), and then when I entered a user name and password it DID log me in. However, when I only allow registered members to post, and I enter a user name and pass (in the User Name & Password fields I added to the Quick Reply hack) it does NOT log me in. How can I change that?

(P.S. for now I removed the User Name and Pass fields from there not to confuse my users).


All times are GMT. The time now is 11:02 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.01142 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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