Forum Replies Created

Viewing 15 replies - 31 through 45 (of 181 total)
  • @hmgh

    I’m trying to find a solution to a similar problem (using a custom form to post bbpress topics)

    I *think* there’s 2 points to consider –

    1 – is “ninja_forms_field id=165” the actual name of the custom field that is created? I don’t think they can contain spaces so perhaps it’s actually something like ninja_forms_field_id_165? Or something similar, you’ll need to find that out.

    2 – this bit of code (“wpuf_add_post”) is I believe referencing an ‘action’ within the WP User Frontend plugin, which you are not using, so you need to find the equivalent ‘action’ used within the Ninja Forms plugin.

    add_action('wpuf_add_post_after_insert', 'gmw_update_location_via_wpuf', 10, 1 );
    //update data when post updated
    add_action('wpuf_add_post_after_updated', 'gmw_update_location_via_wpuf', 10, 1 );

    I hope I’m on the right track here, but haven’t yet been able to figure out how this will work with bbpress new topics.

    Good luck!

    Thread Starter PinkishHue

    (@pinkishhue)

    (Delayed reply from me)

    This worked perfectly! Thank you ??

    Thread Starter PinkishHue

    (@pinkishhue)

    I wonder if this post on geomywp.com can help?:

    https://geomywp.com/support/forums/topic/shortcode-to-display-search-results-on-pages/

    I have tried editing the code to suit my needs but I am missing something (or a lot of things!)

    (I’ve been testing this by adding a post code by hand (replaced with *MYDATA* below for privacy) )

    I’ve tested both:

    $gmw->form[‘search_form’][‘address_filter’][‘title’]

    and

    $gmw->form[‘page_load_results’][‘address_filter’]

    so have left both in the code below:

    function gmw_formload( $gmw ) {
    
    if ( isset( $gmw->form['in_widget'] ) )
    return;
    
    $mypostcode = "*MYDATA*";
    //will control only form with ID 1
    if ( $gmw->form['ID'] == 1 ) {
    //set post type
    $gmw->form['search_form']['post_types'] = array('post');
    $gmw->form['search_form']['address_filter']['title'] = $mypostcode;
    $gmw->form['page_load_results']['address_filter'] = $mypostcode;
    }
    }
    add_filter( 'gmw_main_shortcode_custom_function',  'gmw_formload', 99 );
    Thread Starter PinkishHue

    (@pinkishhue)

    Thank you Eyal @ninjew, that is really helpful. I’m trying to piece this together from the existing code but it’s a bit out of my league in coding! I will keep trying.

    Another thought I had was that perhaps the member names could just be listed within the new post, that way buddypress/bbpress would send their usual nofication automatically instead of having to add code to trigger an email.

    Just wanted to say the plugin seems to be working ok on my 4.1 WP install.

    Could it be a conflict with another plugin? Might be helpful to list your other plugins? And maybe give more details on the errors in your logs @nilsini.

    Then the authors/people familiar with the plugin can try to work out what’s causing the issue.

    @jatsound

    It depends how you are collecting the emails, but I have a contact form (using ContactForm7) and have just included the shortcode in to the email that the form sends to me when people submit it via my website.

    So in the ‘Message body’ I have included

    [custom name="Author Email" value="[your-email]"]
    [custom name="Author Name" value="[your-name]"]

    Hope that helps ??

    In your theme you can add code like this in to the template for your single posts (might be single.php or content-single.php or similar)

    <?php if (is_syndicated()) : ?>
    	<!-- if is FeedWordpress post -->
    		<p>This is a syndicated post. You can view the original post here: <a href="<?php the_syndication_permalink(); ?>"><?php the_title(); ?></a>.</p>
    	<?php endif; ?>

    Not sure how to solve the problem but I use this plugin along with FeedWordpress and it works fine:

    https://www.ads-software.com/plugins/docs-auto-tags/

    So that may help you.

    This plugin will automatically make a featured image of an image from the content as the post is published:

    https://www.ads-software.com/plugins/auto-post-thumbnail/

    (This way you would have that image in the content AND as a featured image so perhaps not what you need, but you can find a way to have the image in the content removed (or you could just hide it using CSS) if there is a featured image set.)

    After much searching and trying to figure out how to code it myself (without any luck!) I found this old post which recommends using the ‘Custom Shortcodes’ plugin which automatically adds a custom field based on a custom field within the post.

    It’s an old plugin but I’ve just tested it on WP 4.0 and it works! Hurray!

    So now it’s a case of incorporating the shortcode in to the email that creates the postie post:

    [custom name=”field-name” value=”field-value”]

    Hope this helps anyone else looking for a solution to this.

    After much searching and trying to figure out how to code it myself (without any luck!) I found this old post which recommends using the ‘Custom Shortcodes’ plugin which automatically adds a custom field based on a custom field within the post.

    It’s an old plugin but I’ve just tested it on WP 4.0 and it works! Hurray!

    So now it’s a case of incorporating the shortcode in to the email that creates the postie post:

    [custom name=”field-name” value=”field-value”]

    Hope this helps anyone else looking for a solution to this.

    Can anyone else confirm if they are having problems since upgrading? The plugin info page so far says 3 people have marked it as working and 3 people have marked it as not working.

    I am holding off on upgrading my WP install until we know more.

    Also, re: “don’t forget to purchase Addition Feed to Post for WP RSS Aggregator” – that’s $77, it may be a bit pricey for some people. It definitely is for me as I am using RSS aggregation on a non-profit charity website with no budget at all.

    Hope some other people can give us their view on compatability with WP 4.1, or perhaps the author can give us some confirmation? Thanks

    I faced the same issue. Facebook does not currently let you change your group from closed to public if it has more than 250 members (which is very annoying as they actually made us make it private a few years ago, you HAD to do that for groups of a certain size! We never wanted to be private! grrr)

    I’ve used Wallflux and it’s working quite well. They export your group posts to an RSS feed then you can use this in a number of ways (not sure if you can use it with this particular plugin but certainly in other ways). You have to pay a one time fee of 5 euros (approx. $6) for handling this.

    (Note I am not associated with this company/the people at Wallflux, just a user who is passing on a suggestion)

    Hope that helps.

    I think perhaps the location is not stored as meta key, there is some info here on how to integrate it in to the WP Front End User plugin using custom fields, I’ve not yet figured out how to apply this to a front end posting form I’ve made myself but hopefully this will give you clues:

    https://geomywp.com/support/forums/topic/add-location-field-to-custom-post-that-users-add-on-the-front-end/

    @eyal Fitoussi the only bit I couldn’t hide in CSS is where there’s email, fax, website etc. – these are in table rows and the rows don’t have CSS class or id’s so perhaps they could be added in a future version? (Also on a side note – I noticed fax had a small f instead of capital and the other labels all started with capital letters)

Viewing 15 replies - 31 through 45 (of 181 total)