razvan89
Forum Replies Created
-
Forum: Reviews
In reply to: [Advanced Advertising System] Best I've triedYup, it works now. Thankyou very much. I wish I could rate it 6 stars due to the fast support.
Thanks again.Forum: Plugins
In reply to: [Advanced Advertising System] Can't get it to workWell hope so ??
Forum: Reviews
In reply to: [Advanced Advertising System] Best I've triedWell, I cant find the featured image, at least not on my current theme. Didn’t try the twenty fifteen theme, didn’t have time. Maybe my theme is interfering with the plugin.
Forum: Plugins
In reply to: [Advanced Advertising System] Can't get it to workHello,
It was the mobile_detect class. The theme I use has the same exact class. I commented the part where that class is required in the plugin, but that is not a long time fix.Forum: Plugins
In reply to: [Advanced Advertising System] Can't get it to workWell, found the problem. It is within my theme, it uses a the same function and class as the plugin.
Hello,
To make a redirection after the users post, go to wpuf-add-post.php and at the bottom you have `//plugin API to extend the functionality
do_action( ‘wpuf_add_post_after_insert’, $post_id );echo ‘<div class=”success”>’ . __(‘Post published successfully’, ‘wpuf’) . ‘</div>’;
if ( $post_id ) {
$redirect = apply_filters( ‘wpuf_after_post_redirect’, get_permalink( $post_id ), $post_id );wp_redirect( $redirect );
exit;
}`
Just comment the `echo ‘<div class=”success”>’ . __(‘Post published successfully’, ‘wpuf’) . ‘</div>’;
if ( $post_id ) {
$redirect = apply_filters( ‘wpuf_after_post_redirect’, get_permalink( $post_id ), $post_id );wp_redirect( $redirect );
exit;
}`
and put thiswp_redirect( 'https://yoursite.xxx/yourpage' ); exit;
Define a custom field, example Price (cf_Price in DB), and put this code in wpuf-add-post.php at the end:
//plugin API to extend the functionality do_action( 'wpuf_add_post_after_insert', $post_id ); $pret_nou = get_post_meta($post_id, 'cf_Pret',true); update_post_meta($post_id, '_price',$pret_nou); update_post_meta($post_id, '_regular_price', $pret_nou); echo '<div class="success">' . __('Post published successfully', 'wpuf') . '</div>'; if ( $post_id ) { $redirect = apply_filters( 'wpuf_after_post_redirect', get_permalink( $post_id ), $post_id ); wp_redirect( $redirect ); exit; }
. It worked for me, it updates the woocommerce price with the custom price inserted from the user front end
Hi
Yes, this plug in can be used to create WooCommerce products from the front end, but u have to modify it a little bit. I am working on it right now, managed to create full working product, with almost everything ( still need to update the attachements to the woocommerce product gallery).Forum: Plugins
In reply to: [WooCommerce] Endless loading checkout pageResolved it. Apparently there was a conflict between jquerrys.
How to resolv: inspect element with firebug, find the jquerry that is in conflict, simply DELETE it.
Good luck