Forum Replies Created

Viewing 15 Topics - 1 through 15 (of 16 total)
Author Posts
April 18, 2013 at 10:19 am in reply to: Need help with wp_postmeta fields! 2446
retroga_me retroga_me

Hi Noomia,

All you have to do is put the php code Tareq posted here inside your wpuf-functions.php and use the plugin to add the form fields to the plugin form.

You can use the item-dir.neon file in the
wp-content/themes/directory/AIT/Framework/CustomTypes/dir-item/ directory
to check which metakeys and types of fields you can use. For the Google Maps functionality, use the WPUF Pro field and set it to the ‘location’  metakey, Tareq’s script will automatically put it in the right fields.

I’ve tested it and I can confirm it works, however (maybe unrelated) can’t get the registration forms to work properly using the shortcode. If you could test that too, we could exclude it being a theme error.

Cheers and thanks again!

April 18, 2013 at 5:14 am in reply to: Need help with wp_postmeta fields! 2415
retroga_me retroga_me

WOW! It works! Tareq my man. Just gimme a sign how much a sixpack of your favorite beverage costs and I’ll paypal it over straight away! I’ll let all other WP Directory users know immediately!

Thanks a LOT! 😀

April 17, 2013 at 5:29 pm in reply to: Need help with wp_postmeta fields! 2383
retroga_me retroga_me

Sent it to info@wedevs.com (it’s a paid theme)

April 17, 2013 at 4:57 pm in reply to: Need help with wp_postmeta fields! 2376
retroga_me retroga_me

Sorry to spam, but all I can find is the action hook add_meta_boxes that looks like what we need. Only thing is that I don’t know how to hook into it with the plugin.

http://pastebin.com/wNLR4h9i

April 17, 2013 at 4:24 pm in reply to: Need help with wp_postmeta fields! 2374
retroga_me retroga_me

They’re using the Nette Framework that’s being used over the WPLatte-framework. There’s a so-called .neon file apparently that holds all the metabox’s content. I’ll try and see if I can write to those fields somehow.

April 17, 2013 at 3:46 pm in reply to: Need help with wp_postmeta fields! 2373
retroga_me retroga_me

That might be the custom taxonomy that refers to event-locations though. Could be wrong.

April 17, 2013 at 2:55 pm in reply to: Need help with wp_postmeta fields! 2368
retroga_me retroga_me

From what I can see they’re using
http://www.farinspace.com/wpalchemy-metabox/
to make the metaboxes somehow.

$dirItemOptions = new WPAlchemy_MetaBox(array

(

‘id’ => ‘_ait-dir-item’,

‘title’ => __(‘Options for item’, ‘ait’),

‘types’ => array(‘ait-dir-item’),

‘context’ => ‘normal’,

‘priority’ => ‘core’,

‘config’ => dirname(__FILE__) . ‘/’ . basename(__FILE__, ‘.php’) . ‘.neon’,

‘js’ => dirname(__FILE__) . ‘/’ . basename(__FILE__, ‘.php’) . ‘.js’,

));

Also, here’s the dir-item.php:

http://pastebin.com/S81NhtU1

April 17, 2013 at 1:15 pm in reply to: Need help with wp_postmeta fields! 2362
retroga_me retroga_me

Hi Tareq!

This might be it:

http://pastebin.com/A1vrdzUz

It’s in functions-dir.php of the theme.

Sorry for all the hassle. If I get it to work though, I’ll do my best to promote the plugin with the theme users, since they’re all hoping that I can get it to work with the theme :).

Best regards,

Vincent

April 17, 2013 at 10:24 am in reply to: Need help with wp_postmeta fields! 2337
retroga_me retroga_me

Ok… Here goes:

I got this function:

http://pastebin.com/3SurHf5z

I pasted that in wpuf-functions.php, then the theme told me I could not redefine that function, so I deleted it from the theme’s functions.php

And it still doesn’t work. Now to be fair, I think I’m hacking too much at it :P.

April 16, 2013 at 8:16 pm in reply to: Need help with wp_postmeta fields! 2311
retroga_me retroga_me This reply has been marked as private.
April 16, 2013 at 7:35 pm in reply to: Need help with wp_postmeta fields! 2307
retroga_me retroga_me

Well… so far nothing new… Although is there a way to add a complete metabox to the frontend in one go? All of the info seems to be saved in _ait-dir-item_metabox

April 13, 2013 at 6:16 pm in reply to: Need help with wp_postmeta fields! 2154
retroga_me retroga_me

Hi Tareq, thanks for the reply! What you’re saying makes total sense, apart from the fact that I myself aren’t capable of such PHP magic . I don’t want to coerce you into spelling it out entirely for me (although it would be appreciated), but I guess I’ll take a book on PHP and get myself accustomed with WordPress a bit more on the code level and leave the custom post item editing in the backend for now.

Thanks for your help so far though, love the plugin and the level of support!

April 13, 2013 at 2:07 am in reply to: Need help with wp_postmeta fields! 2124
retroga_me retroga_me

I just tried and tried again, but it’s still not working.

Tareq, I see for instance that the wpuf_form is also saved as a serialized array. Is there a way to have WP User Frontend Pro save its data in a serialized array somehow, just like wpuf_form?

April 13, 2013 at 12:40 am in reply to: WP User Frontend Error: Pleae activate your copy 2121
retroga_me retroga_me

I’ve got the same problem. I reinstalled my site (same domain) and cleared the database to start from scratch. Unfortunately that took my license key with me too. Is there a way to resend that key, or to check it in my wedevs account somehow?

April 10, 2013 at 10:36 pm in reply to: Need help with wp_postmeta fields! 2010
retroga_me retroga_me

Thanks, I’ll give it a try! Not new to programming, but new to PHP so I consider this a good excersize :).

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