Redirect to previous page after login
-
I have form submission access set to “only members” in Flexi Submission Form settings. I am using the following code in the post whose link is given.
[flexi-form title="Submit to Flexi" name="my_form" ajax="true" attach="true" id=""] <div class="fl-field"><label class="fl-label fl-label fl-has-text-dark" for="user-submitted-title">Name*</label><div class="fl-control"><input type="hidden" name="user-submitted-title" value="India Eisley" placeholder="" class="namefield"><input type="text" name="user-submitted-title" value="India Eisley" placeholder="" class="namefield" readonly=""></div></div> [flexi-form-tag type="article" title="Description" placeholder="Write few words about the celebrity (optional)"] [flexi-form-tag type="tag" title="Insert tag"] [flexi-form-tag type="file" title="Select file*" required="true"] [flexi-form-tag type="submit" name="submit" value="Submit Now"] (Note: * required) [/flexi-form] <ol> <li style="color:#990000;">Do not upload any gross or explicit photo</li> <li style="color:#990000;">Do not upload any photo with copy rights</li> <li style="color:#990000;">Upload photos with maximum size less than 1 MB</li> </ol>
I want visitors to login or register (if not registered yet) to submit Images with the title set by me. But the problem is, after login, visitor is redirected to users-dashboard instead of being on the same page he was on, before login.
I am also using Ultimate Member for user’s profiling.
I want visitor to remain on the same page after login or register. Is it possible to accomplish by any hook?The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Redirect to previous page after login’ is closed to new replies.