Title: Need Help Fast
Last modified: November 18, 2016

---

# Need Help Fast

 *  Resolved [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * (@dilshahdirar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/)
 * There is a notification displayed when the user is not logged in. It says
    ‘You
   need to login in order to create posts and topics. » **Login**‘ But i have removed
   login from the default place. Now i need to change that **login** to custom link.
   After this i can Launch 😀

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8454505)
 * Hello [@dilshahdirar](https://wordpress.org/support/users/dilshahdirar/)
 * You can use the official `login_url`-filter for this. Please have a look at this
   site:
    [https://codex.wordpress.org/Plugin_API/Filter_Reference/login_url](https://codex.wordpress.org/Plugin_API/Filter_Reference/login_url)
 *  Thread Starter [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * (@dilshahdirar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8456614)
 * I have really messed up with wp-login.php.
    The only way to solve this is to 
   remove that notification from forum top
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8456979)
 * So you can just use the `asgarosforum_filter_login_message` and set an empty 
   string to it.
 *  Thread Starter [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * (@dilshahdirar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8457388)
 * [@asgaros](https://wordpress.org/support/users/asgaros/)
    Where? I don’t know
   much. Send me the code of you can
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8457427)
 * In your themes functions.php:
 *     ```
       function myLoginMessage() {
       	return '';
       }
       add_filter('asgarosforum_filter_login_message', 'myLoginMessage');
       ```
   
 *  Thread Starter [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * (@dilshahdirar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8457511)
 * [@asgaros](https://wordpress.org/support/users/asgaros/)
 * And my full theme crashed. Nothing is working now
 *  Thread Starter [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * (@dilshahdirar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8457577)
 * Found the code At asgaros-forum/includes/forum.php
 *     ```
       {
                   $loginMessage = '<div class="info">'.__('You need to login in order to create posts and topics.', 'asgaros-forum').'&nbsp;<a href="'.esc_url(wp_login_url($this->links->current)).'">&raquo; '.__('Login', 'asgaros-forum').'</a></div>';
               }
   
               $loginMessage = apply_filters('asgarosforum_filter_login_message', $loginMessage);
               echo $loginMessage;
           }
       ```
   
 * Now i need to replace this. But i dont have correct code 🙁
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8457638)
 * The code is working fine for me. Dont touch the plugin-files because the changes
   will get overwritten with each update.
 *  Thread Starter [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * (@dilshahdirar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8458803)
 * [@asgaros](https://wordpress.org/support/users/asgaros/)
    Where to paste the 
   code in function.php of theme? I usually paste it in the end and it causes the
   theme to crash
 *  Thread Starter [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * (@dilshahdirar)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8458822)
 * Problem fixed. It was a ‘**;**‘ like always :p
    By no message is shown in the
   place where it showed to login

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Need Help Fast’ is closed to new replies.

 * ![](https://ps.w.org/asgaros-forum/assets/icon-128x128.png?rev=1546717)
 * [Asgaros Forum](https://wordpress.org/plugins/asgaros-forum/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/asgaros-forum/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/asgaros-forum/)
 * [Active Topics](https://wordpress.org/support/plugin/asgaros-forum/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/asgaros-forum/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/asgaros-forum/reviews/)

## Tags

 * [forum](https://wordpress.org/support/topic-tag/forum/)
 * [login](https://wordpress.org/support/topic-tag/login/)

 * 10 replies
 * 2 participants
 * Last reply from: [Dil Shah Dirar](https://wordpress.org/support/users/dilshahdirar/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/need-help-fast/#post-8458822)
 * Status: resolved