New Login Button for UNIX.COM


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? New Login Button for UNIX.COM
# 15  
Old 07-13-2018
Hi,

I changed the login code to just simply and quickly login and go back to the page you were viewing:

Was (ending code):

Code:
do_login_redirect();

Now:
Code:
  $goto = "Location: ".create_full_url($vbulletin->url);
   header($goto);
   exit;

It is faster and easier than all the slow redirects so the user could (original code) read the mostly useless "cookie cleared" and other login (and logout) messages.

Now, it just logs in and goes to the page you were looking when you logged in, fast and without messages.

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Login to UNIX from the browser.

Hi All, I need to login to the UNIX server from the browser. can you please tell me the procedure? Thanks Sarwan (5 Replies)
Discussion started by: sarwan
5 Replies

2. Web Development

Login in Unix

Can anyone plz share the HTML code for login in UNIX. I am not able to verify the password. (2 Replies)
Discussion started by: manish.s
2 Replies

3. UNIX for Dummies Questions & Answers

Unix Id from Window Login ID

Hello All, My Problem is -> How can we get UNIX id from open mail authentication (Windows ID) in UNIX. In following command we are using domain name, which may change in your reference. As, if we use following command. ypcat passwd | grep rohitp | cut -d: -f5 | cut -d, -f1 => we get... (0 Replies)
Discussion started by: pandey.rohit
0 Replies

4. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

5. UNIX for Dummies Questions & Answers

Unix Login problem ... help!!!!!

Hi I had asked my system admin to Disable direct login for xxxx id since it was a generic ID. If someone wanted to login to xxxx id on same system, they should initially login with their yyyy id(personal ID) and then su to xxxx userid.(wanted to track who had all logged in, it would be diffult... (6 Replies)
Discussion started by: rakeshou
6 Replies

6. Shell Programming and Scripting

Need UNIX Login ...

Hi, I dont have UNIX os on my pc. I want to learn UNIX system programming. How to get this OS or Can i get any remote login account ? Thanks. Bye... (5 Replies)
Discussion started by: sakthiu
5 Replies

7. UNIX for Advanced & Expert Users

UNIX login ID

Hello World: I need to have a user ID called devapp in the passwd and shadow file for a certain application to start. The problem is that I do not want users to be able to use the devapp login ID to log directly into the system. The users sometimes need to start and stop the... (3 Replies)
Discussion started by: rambo15
3 Replies

8. UNIX for Advanced & Expert Users

UNIX Auto-login

I am trying to bypass the login screen when the system boots and auto-login to open windows. I believe I need to modify the S99dtlogin but I don't know what to add/modify. Has anyone ever created an auto-login for Solaris 8? (1 Reply)
Discussion started by: nvanduyne
1 Replies

9. UNIX for Dummies Questions & Answers

Script for using the Back button and the Close button

Here's a question I have for anyone that might be able to help me: I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Discussion started by: mdgibson
1 Replies

10. UNIX for Dummies Questions & Answers

Remote Login (Unix)

Is there any way I can disallow remote login on a m/c (3 Replies)
Discussion started by: DPAI
3 Replies
Login or Register to Ask a Question
MUGS(9.1)																 MUGS(9.1)

NAME
mugs - make face icons from pictures SYNOPSIS
mugs [ -a ] [ -1 ] [ -2 ] [ file ] DESCRIPTION
Mugs interactively converts grey-scale images in the form of picfile(9.6) into 48x48 icons. It is designed to run in a pipe, reading the picture from standard input unless a single file is given on the call. Mugs displays a large approximation to the original picture and a matrix of 48x48 icons of varying contrast and brightness. Button 1 selects one of the icons. Button 2 offers the menu entries: in Zoom in to a finer contrast/brightness range around the selected icon. Repeated ins will zoom in farther. out Opposite of in. reset Set the brightness/contrast range to the maximum. Both in and out preserve the brightness/contrast values in the selected icon. Button 3 presents a menu with entries: window Select a square window in the large picture using button 3. Touch down at the top and center of the square and slide around to adjust its size. Appropriately cropped icons will be displayed. depth Toggle between 1- and 2-bit deep icons. write Write the selected icon to standard output. Each write produces 48 lines of text suitable for initializing an array in C. 1-bit deep icons produce three shorts per line; 2-bit depths are written as three longs per line. abort Terminate mugs with a non-blank error return. finish Terminate with a null status return. Option -a indicates that picture files have non-square pixels with aspect ratio 1.25, as produced by some frame grabbers. Normally pixels are assumed to be square. -1 and -2 select the initial depth of the icons. -2 is default. SOURCE
/sys/src/cmd/mugs.c SEE ALSO
picfile(9.6) MUGS(9.1)