Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello Augusto,

    I am also attempting this.
    I’m using ACF Pro and field group doesn’t show in wpcf7_contact_form creation.

    I guess there’s nothing wrong with ACF, it’s in the rendering of the admin UI of Contact Form 7 that disregards metadata, I think.

    Any update?

    Cheers,

    Ammo

    Forum: Plugins
    In reply to: OAI-PMH Plugin
    Thread Starter AmmoPT

    (@ammopt)

    Hello heyhielo,

    I haven’t found a solution per say. Turns out we redesigned our projected and we’re supplying the items via a standard REST API, not OAI-PMH.
    We are using the software DSpace as a provider.

    Although I think OAI-PMH may be coming to WordPress soon, it is not in the scope of our project to develop the plug-in ourselves.

    Best of luck.

    Regards,

    Ammo

    Hi yargnawh,

    You have probably solved the problem by now, but here goes.
    I have not used this plug-in (yet) but planning on using in a near future.

    I’m pretty sure the plug-in requires the use of pretty links to work.

    In that case, you’ll have to have mod rewrite active active on your server and change the wordpress permalink structure to http://www.sitename.com/postname.

    Hope it helps out.

    Thread Starter AmmoPT

    (@ammopt)

    Hello Brandon!

    Yes! As a matter of fact I am.
    Although right now I’m unable to access it. I’ll do it as soon as possible and let you know on an update.

    Thanks.

    Forum: Plugins
    In reply to: OAI-PMH Plugin
    Thread Starter AmmoPT

    (@ammopt)

    Hello Jan,

    Thank you for moving the post to the appropriate area, I apologise since I don’t participate in forums as much as I would like.

    OAI-PMH is an international standard protocol used for metadata harvesting via the web.
    It’s used by librabries, museum, archives and all sorts of institutions to provide their data to others, with interoperability in mind.

    OAI-PMH example image.

    There are 2 actors in an OAI-PMH system:
    1) OAI-PMH data providers
    2) OAI-PMH harvesters

    The first actor needs to implement an OAI-PMH repository, so harvester can access the base url of said repository.
    The second actor needs to implement OAI-PMH harvesting, in order to define the arguments in the request to the provider.

    Thread Starter AmmoPT

    (@ammopt)

    Unfourtanetly I am not able to duplicate the risks the security software is firing. The form seems to act as expected, not printing any error messages and bypassing sql injection attempts.

    Anyone?

    Thread Starter AmmoPT

    (@ammopt)

    After a couple of battles I managed to put it to work the way I wanted only to see that to customize menus is very complex, at least using a custom child theme as I am.

    I decided to go with Polylang, it seems to suit my needs better.

    Anyhow, thank you for your support and I wish you to keep up the good work.

    Regards,

    Ammo

    Thread Starter AmmoPT

    (@ammopt)

    Hello Michel!
    Thank you so much for replying.
    The only pseudo-useful information I’ve found was this:
    http://dev.xiligroup.com/?p=1432

    But with so few pratical examples its hard to know what exactly the filter does.

    About the second part of my question that you didn’t understand, I’ll try to explain better:
    1 – I activate the plug-in, no content is translated;
    2 – I put in the nav_menu the language picker Nav Menu Singular (w/o curr. lang and if exists)
    3 – I translate a page and check if it is really working. It is.

    Problem: My category pages show the language picker even though I didnt translate them.

    Another question:
    Just to confirm, I want to customize the language picker, is xili_nav_lang_list the correct filter to use?

    Thank you.

    Ammo

    Thread Starter AmmoPT

    (@ammopt)

    Remember, this is fresh installation of plug-in and I only tweaked on the ‘User Login’ panel.

    Could it be some misconfiguration on the multi-site install? Everything is working as intended up untill now. Multi-site wise.

    Thread Starter AmmoPT

    (@ammopt)

    Hello!
    Thank you for your reply.

    Yes I made sure I configured it correctly on the subsite.
    In fact, I have the same exact configurations on ‘User Login’ for both my main site and my subsite.

    Additional info:

    1) The ‘display generic error message’, for example, is working on my subsite as intended, just the lockout isn’t working;

    2) I can get IP locked when failing to authenticate on my main site, but can still log into my subsite (same account) while the account is locked on the main site.

    Any further help would be much appreciated.

    Thank you.

    Thread Starter AmmoPT

    (@ammopt)

    One thing I hate is bumping into a rare problem on the internet that someone else has bumped into and the thread has died with no answer.
    SO
    After several hours of trial and error and investigation, I finally solved my problem.

    This is how the constructor looks like in side-user.php:

    function __construct( $query_vars ) {
    		$this->query_vars = $query_vars;
            $this->query_vars['orderby'] = 'display_name';
            $this->query_vars['order'] = 'ASC';
            $this->query_vars['meta_query'] = array(
                array(
                    'key'     => 'nickname',
                    'value'   => $_REQUEST['s'],
                    'compare' => 'LIKE'
                ));
    }

    This is how the function abstract_query looks like in directed-connection-type:

    private function abstract_query( $qv, $which, $output = 'abstract' ) {
    		$side = $this->get( $which, 'side' );
    
    		$qv = $this->get_final_qv( $qv, $which );
    
            unset($qv['search']);
    
            $query = $side->do_query( $qv );
    
    		if ( 'raw' == $output )
    			return $query;
    
    		return $side->get_list( $query );
    	}

    The key here is unset($qv['search']);.
    The meta_query was absolutely correct and functional but it turns out it was intersecting with the original code.
    Example: when typing ‘a’ in the input field, the results had to have ‘a’ in user_login AND in the nickname.

    I hope this helps someone who eventually runs into something like this.

    Thread Starter AmmoPT

    (@ammopt)

    By altering the constructor in file side-user.php I’ve managed to somewhat accomplish what I wanted, but not quite.
    Using search_columns I can define what fields to be searched on, however I cannot use display_name or first_name since that requires a meta_query.

    function __construct( $query_vars ) {
    	$this->query_vars = $query_vars;
            $this->query_vars['orderby'] = 'display_name';
            $this->query_vars['order'] = 'ASC';
            $this->query_vars['search_columns'] = array('ID', 'user_login', 'user_email', 'user_nicename');
        }

    I know how meta queries work, however I need to define the value of the meta_key and I have been unsuccessfull so far as to retrieve the content from the input field.

    This is an example of what I’ve tried so far:

    $this->query_vars['meta_key'] = 'nickname';
    $this->query_vars['meta_value'] = $_REQUEST['s'];
    $this->query_vars['meta_compare'] = 'LIKE';

    Any help?
    Thank you.

    Thread Starter AmmoPT

    (@ammopt)

    I understand Scribu is no longer supporting ‘Posts 2 Posts’.
    I’m asking someone who has altered the core in order to meet their needs.

    So far I’ve been going through files item-user.php, side-user.php and query-user.php but I’m struggling to find the code I need to alter in order to search the users by nicename or first_name instead of user_login.

    Any light on the subject would be greatly appreaciated.

    Thank you.

    Thread Starter AmmoPT

    (@ammopt)

    Hey alchymyth!
    I am using <!–nextpage–> someplace else in my website and it works fine with wp_link_pages().
    The <!–more–> I am looking for corresponds to the <!–more–> generated by the button ‘Insert “read more” tag’ in the post creation. After some investigation I ended up with the code posted above but still it doesn’t work.
    Any other suggestion?
    Thank you.

    Thread Starter AmmoPT

    (@ammopt)

    Hello Jose Castaneda
    It’s a custom theme and I was inserted in the project after the kick-off.
    I’m pretty sure it has nothing to do with the plug-ins I am using.
    Any other possible cause for this problem?
    Thank you.

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