Results 1 to 1 of 1

Thread: Allow Ad Relisting just for a specific membership

  1. #1
    Thread Starter
    cyberpaul's Avatar
    Join Date
    Jul 2011
    Location
    Germany
    Posts
    96
    Thanks
    10
    Thanked 2 Times in 2 Posts

    Allow Ad Relisting just for a specific membership

    Hi,

    to set up a special membership benefit, I like to grant the functionality "Allow Ad Relisting" only for a membership called "Premium".

    So i already found the code line "if ( get_option('cp_allow_relist') == 'yes' ) {"
    in the file "tpl-dashboard.php"

    and I know it must be extended like

    if (get_option('cp_allow_relist') == 'yes' OR MEMNERSHIP == 'premium') {

    but I don't know the exactly way to check a special kind of mermnbership.

    So can anyone help?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Relisting Jobs
    By tall_geek in forum Help Using JobRoller
    Replies: 1
    Last Post: August 28th, 2013, 02:52 AM
  2. [TUTORIAL] Specific Banners Ads For Specific Categories
    By hugo in forum ClassiPress General Discussion
    Replies: 12
    Last Post: February 5th, 2013, 04:37 PM
  3. Samcy Relisting Ads
    By ajamm in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: December 12th, 2012, 06:49 PM
  4. Samcy Relisting ads in cp v3.2
    By gordon in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: December 5th, 2012, 02:35 PM
  5. ReListing Fee Not Working
    By mashbourne in forum Report JobRoller Bugs
    Replies: 1
    Last Post: April 4th, 2011, 10:17 PM