THIS THREAD HAS BEEN CLOSED.

How to make Post Mjob on top menu visible to non sin in user & disable banner

Updated on Sep 4, 2016 in MicrojobEngine
6 on Aug 21, 2016

 

I need help on following :

    1. Post Mjob on top menu should be visible to non login users and when they try to post redirect to signin or signup.

 

    1. Disable Banner and post you mjob in all other page except home page.
  • Liked by
0 on Aug 22, 2016

Hello Mark,

Regarding your concerns,

  • Post Mjob on top menu should be visible to non login users and when they try to post redirect to signin or signup.

It’s the default workflow of the MjE theme that a user must login to be able to post a job. As it’s related to the main workflow, unfortunately, there’s no temporary solution I can offer you on this matter.

  • Disable Banner and post you mjob in all other page except home page.

Please add this code to file style.css in child theme to disable block banner

.banner{
display: none !important;
}

Hope it helps!

  • Liked by
Cancel
0 on Aug 22, 2016

Dear Chau,

Thanks for your reply.

Regarding my first query i think you got it wrong.

>> I just want to make it visible to non loged user  when they try to post by clicking it redirect them to Signup/ Signin page ( I am not talking about able to post without signup). 

 

  • Liked by
Cancel
3 on Aug 23, 2016

Hello Support Team,

can i expect reply on this thread ?

Mod Mod
on Aug 26, 2016

Hello Mark,

    • Regarding with issue, please open file microjobengine\includes\alias-function.php => cut this code
        $absolute_url = full_url( $_SERVER );
       if( is_page_template('page-post-service.php') ){
       $post_link = '#';
       }
       else {
       $post_link = et_get_page_link('post-service') . '?return_url=' . $absolute_url;
       }
       ?>
      
    • => and paste into function mJobShowAuthenticationLink(), like this:
    • if(!function_exists('mJobShowAuthenticationLink')) {
       /**
       * Show signup and signin link on main navigation
       * @param void
       * @return void
       * @since 1.0
       * @package Microjobengine
       * @category File Functions
       * @author Tat Thien
       */
       function mJobShowAuthenticationLink() {
       $sign_in_class = "signin-link open-signin-modal";
       $sign_up_class = "signup-link open-signup-modal";
       if(!is_page_template('page-sign-in.php') && !is_page_template('page-post-service.php') && !is_page_template('page-process-payment.php')) {
       ?>
        $absolute_url = full_url( $_SERVER );
       if( is_page_template('page-post-service.php') ){
       $post_link = '#';
       }
       else {
       $post_link = et_get_page_link('post-service') . '?return_url=' . $absolute_url;
       }
       ?>
        }
       }
      }
      

 

    • This is my test:

Try and confirm with us your result.

Customer Customer
on Sep 1, 2016

Hello Phat,

I want to make it look like your test result but i don’t know why its not working for me.

Mod Mod
on Sep 4, 2016

Hello Retro,

Please create a new ticket and give me your admin + FTP account.

I’ll do that on your site.

Regards,
TP

Show more replies
  • Liked by
Cancel
Loading more replies
Posting & Replying function will be deactivated from 3pm GMT+7 12th Sep.
Read More