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
PS_ADD_NOTE(3)								 1							    PS_ADD_NOTE(3)

ps_add_note - Adds note to current page

SYNOPSIS
bool ps_add_note (resource $psdoc, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open) DESCRIPTION
Adds a note at a certain position on the page. Notes are like little rectangular sheets with text on it, which can be placed anywhere on a page. They are shown either folded or unfolded. If folded, the specified icon is used as a placeholder. The note will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distillertm or Ghostview. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $llx - The x-coordinate of the lower left corner. o $lly - The y-coordinate of the lower left corner. o $urx - The x-coordinate of the upper right corner. o $ury - The y-coordinate of the upper right corner. o $contents - The text of the note. o $title - The title of the note as displayed in the header of the note. o $icon - The icon shown if the note is folded. This parameter can be set to comment, insert, note, paragraph, newparagraph, key, or help. o $open - If $open is unequal to zero the note will be shown unfolded after opening the document with a pdf viewer. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
ps_add_pdflink(3), ps_add_launchlink(3), ps_add_locallink(3), ps_add_weblink(3). PHP Documentation Group PS_ADD_NOTE(3)