Forum Replies Created

Viewing 13 Topics - 1 through 13 (of 13 total)
Author Posts
February 25, 2014 at 10:18 pm in reply to: Questions… 15820
HispanicSearching HispanicSearching

Thanks Tareq,

I don’t see it in features but… there is a rating or feedback to sellers ? in a multivendor site this is important to all users know about seller credibility

January 18, 2014 at 4:04 pm in reply to: HTML5 Form Fields 14558
HispanicSearching HispanicSearching

Hi Tareq,

A fallback could be great but it’s not mandatory. Older browsers automatically fall back to input type ‘text’ for unknown types. People with modern browsers will work (most), others won’t know what they’re missing. Final validation should be done on the server, so no problem there. It’s the responsibility of the programmer.

December 31, 2013 at 4:14 pm in reply to: Auto Embed don't work in content post 14072
HispanicSearching HispanicSearching

Tareq, the same problem with editor and admin role.

First I thought the same, the unfiltered_html permission, but this is need only for “discover” oembed but if the embed is in the know list it’s not need this permission. If I use de [embed][/embed] code it works. The problem I think is how tinymce conver newlines to br’s using it in wpuf and in this manner the preg_replace_callback don’t match the urls.

December 31, 2013 at 6:23 am in reply to: Auto Embed don't work in content post 14067
HispanicSearching HispanicSearching

Thank Mahi, I found the error. The problem is when I save the post with wpuf it change all newline with <br /> and put entire content in one line. In this way the regex from autoembed to math url don’t work, it’s this:

function autoembed( $content ) {
  return preg_replace_callback( '|^\s*(https?://[^\s"]+)\s*$|im', array( $this,'autoembed_callback' ), $content );

With this, a line like:

"fahsflks sfhsakjf sha"

will match, but a line like

"<br /><br />"


I don’t know why this append using tinymce in wpuf but in wp-admin it don’t replace newlines by

I have check function theme and plugins and don’t find who can modify this behaviour in wpuf.

Any suggestions ?

December 31, 2013 at 1:35 am in reply to: Submitting videos in form 14053
HispanicSearching HispanicSearching

Hi, just I was looking for the same question. When a user edit a post and put a link to a video (youtube in this case) the video isn’t auto-embed by wordpress. But if after than an administrator edit the post in wp-admin and save it (without modity it) appears the video embedded. For users I user subscribers role, can be this the problem ? than it need some capabilitie that dont have ?, I have read about unfiltered_html but this is only need for discover new oembeds not for use knows one like youtube.

November 7, 2013 at 11:30 pm in reply to: Differents configs por differents [wpuf_dashboard] 9839
HispanicSearching HispanicSearching

For featured image extra option, in class/frontend-dashboard.php

Line 25:

- extract( shortcode_atts( array('post_type' => 'post'), $atts ) );
+ extract( shortcode_atts( array('post_type' => 'post', 'featured_image' => '0' ), $atts ) );

Line 54:

- function post_listing( $post_type ) {
+ function post_listing( $post_type, $featured_image ) {

Aprox line 103:

- if ( 'on' == $featured_img ) {
+ if (
+     $featured_image == 'on' ||
+     (!$featured_image && 'on' == $featured_img )
+ ) {

Aprox line 127:

- <?php if ( 'on' == $featured_img ) { ?>
+ <?php if ( $featured_image == 'on' || (!$featured_image && 'on' == $featured_img )) { ?>

With this you can:

[wpuf_dashboard post_type="post_type_name" featured_image="on"]
[wpuf_dashboard post_type="post_type_name" featured_image="off"]
November 7, 2013 at 11:16 pm in reply to: Differents configs por differents [wpuf_dashboard] 9838
HispanicSearching HispanicSearching

Ok, so there isn’t any way to have differentes options for each dasboard.

Do you plan to add it ?

It’s easy to add as extra parameter to wpuf_dashboard, like post_type.


November 7, 2013 at 5:14 pm in reply to: Related post field 9831
HispanicSearching HispanicSearching

Thank Tareq, although I think it should be in core but it’s your choice.

November 1, 2013 at 7:12 pm in reply to: Related post field 9671
HispanicSearching HispanicSearching

The idea may be a select with only the post from the author that are editing or inserting a new own post.

July 30, 2013 at 5:00 pm in reply to: Google maps default position on ocean atlantic 6458
HispanicSearching HispanicSearching

Hi Tareq, can you include this fix in your future releases ? or another one you think its better. Without it, default position don’t work correctly for user profile forms.


May 17, 2013 at 6:27 pm in reply to: Google maps default position on ocean atlantic 3777
HispanicSearching HispanicSearching

the file is “class/render-form.php”

May 17, 2013 at 6:26 pm in reply to: Google maps default position on ocean atlantic 3776
HispanicSearching HispanicSearching

Well, I think I have find the problem. I use the field in a registration form and when a user access to it the post_id for the map function is the user id. When it’s the first time the user access it don’t have the meta assigned BUT don’t use the default value. I have solved changing this:

       if ( $post_id ) {
            list( $def_lat, $def_long ) = explode( ',', $value );
        } else {
            list( $def_lat, $def_long ) = explode( ',', $attr['default_pos'] );

to this

       if ( $post_id ) {
            list( $def_lat, $def_long ) = explode( ',', $value );
        if (!$def_lat&&!$def_long) {
            list( $def_lat, $def_long ) = explode( ',', $attr['default_pos'] );

the problem will append the same in a post form.

May 17, 2013 at 6:06 pm in reply to: Google maps default position on ocean atlantic 3772
HispanicSearching HispanicSearching

This is exactly the format I use. Ej: “40.4167754,-3.7037901999999576”

In html source I see that lng and lat isn’t assigned:

var def_longval = 0;
var def_latval = 0;

but the values are correctrly saved in “Default Co-ordinate”…

Viewing 13 Topics - 1 through 13 (of 13 total)