Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter DeadForce

    (@deadforce)

    I’m sorry for the late response.

    Maybe you didn’t understand my words (english is not my main language, sorry).

    I need to restrict any results without the use of any modifier, is there any way to change the query to restrict to just some post types and post status?

    Thanks in advance.

    Thread Starter DeadForce

    (@deadforce)

    I’ve found the culprit of the problem to be related with the sessions.

    I added this line to my wordpress htacess file and the problem was resolved: php_value session.auto_start 1

    In the next days I’ll buy the plugin and after implementing everything I’ll leave a review.

    Thanks and sorry for my lack of patience.

    Thread Starter DeadForce

    (@deadforce)

    I found that this plugin is not compatible with the Pods plugin and since there isn’t any support I’ll not buy it.

    I’ve come to a problem while trying the same but calling the function inside an action, for example:

    Every time I insert a new post I added:

    add_action ( 'wp_insert_post', 'add_group_auto' );
    
    function add_group_auto($post_ID) {
    global $oUserAccessManager;
    
    $groupId = 2;
    
    $oUamAccessHandler = $oUserAccessManager->getAccessHandler();
    $oUamUserGroup = $oUamAccessHandler->getUserGroups($groupId);
    $oUamUserGroup->addObject('custom_post_type', $post_ID );
    
    }

    But it seems that this only works when calling it from the template, is there any other way of doing this?

    Thanks in advance for the help.

    Thread Starter DeadForce

    (@deadforce)

    I tried it with a clean version of wordpress and the problem still exists, I’ve implemented another plugin now that deals with pagination ( Infinite – Scrolling ) and that solves it without changing the core.

    Thanks for all the wonderful support.

    Thread Starter DeadForce

    (@deadforce)

    Used your method, its more clean.

    Thanks for the wonderful support.

    Thread Starter DeadForce

    (@deadforce)

    Single site, every thing is installed without customizations, may it be a server side issue?

    Sorry for the late response.

    Thread Starter DeadForce

    (@deadforce)

    Already resolved it, it’s as simple as making an if statement in your own search-author.php.

    Asked for help a little to soon.

    Thread Starter DeadForce

    (@deadforce)

    I understand now, wonderful support thanks!

    About the pagination I can’t understand why it’s happening since there’s no logical reason for it to happen.

    May it be because I’m testing locally?

    If you wish I can send you images of the problem.

    Thread Starter DeadForce

    (@deadforce)

    Awesome, I’ll eagerly wait for the update.

    Does this function fixes something for me? My ‘temporary’ method is working fine for my needs.

    About the pagination error, I tried again with the users as editors in a fresh installation of wordpress with just your plugin installed and same problem occurred.

    Did you define the role in the shortcode? If you didn’t it’ll work fine.

    Thread Starter DeadForce

    (@deadforce)

    It still happens in a clean wordpress install, if you want to see what I’m talking about do the following:

    -Install and activate plugin;
    -Create page and add shortcode with role=”author” number=”2″;
    -Create 8 user with the role author;
    -Go to your page that has the shortcode and try to see all 8 users through pagination.

    8 users equal to 4 pages of 2 users per page but in the page before the last the plugin seems to change something that makes the total_users equal to the number of users already shown, making the last page inaccessible.

    I tried to find a cause but couldn’t and can’t spend more time trying to solve this.

    Thread Starter DeadForce

    (@deadforce)

    I’m talking about the function to search by $display_name, your function searches every role and I need to constrain it to the author role only.

    About the pagination error, I’ll check in a clean installation if it still happens.

    Thread Starter DeadForce

    (@deadforce)

    I’ll, did you read what I wrote in my previous post?

    “I’ve only seen now that your solution doesn’t specify the search for only the author role and unfortunately I need that.”

    Thread Starter DeadForce

    (@deadforce)

    I edited my last post, sorry.

    Since you don’t have any updated version planned I temporarily fixed the issue (with the pagination) by changing the $total_pages to how it was in the original tutorial.

    Thanks again for all the wonderful support.

    Thread Starter DeadForce

    (@deadforce)

    Awesome, I’ll wait for the next update to fix this then.

    Thanks for all the help, I’ve only seen now that your solution doesn’t specify the search for only the author role and unfortunately I need that.

Viewing 15 replies - 1 through 15 (of 18 total)