Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Get rid of Affiliate "logout" link?

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Get rid of Affiliate "logout" link?

  • This topic has 1 reply, 2 voices, and was last updated 13 years, 6 months ago by admin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 7, 2011 at 5:02 pm #4706
    casstyson
    Member

    I am using the wp_affiliate_view code on a page (Option 2) for my affiliate portal. I also have enabled “create affiliate account” when a new member registers in emember, and “Log into Affiliate Account” when they log in.

    So when a logged in user visits the Affiliates page, they see my site’s main menu at the top (with the main site “Logout” link), and then on the page itself they see the Affiliate Portal menu… which includes a separate “Logout” link.

    I’m concerned that people will click this second logout link and logout of the affiliates area, but still be logged into the main site. Obviously this is not an egregious thing, but if they click “Affiliates” again, they’ll have to login separately, which is annoying.

    I’m wondering if any harm would come from removing it? And if not, how would I do so?

    Thanks

    November 7, 2011 at 11:18 pm #38247
    admin
    Keymaster

    To remove the affiliate logout link, open the “affiliate_platform_affiliate_view.php” file and search for the following line:

    $output .= '<li><a href="'.$url.$separator.'wp_affiliate_view=logout">'.AFF_NAV_LOGOUT.'</a></li>';

    Once you find it just remove that line and it will get rid of the logout link from the affiliate view (option 2).

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ