HomeForumsProfile Builder ProFunctions Not Working

This topic has 2 voices, contains 3 replies, and was last updated by  Dan 253 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
September 7, 2011 at 12:31 pm #2105
 Dan

I am trying to use the functions without the shortcodes to modify the plugin so I can understand and use in future projects. When trying to use the functions only by adding the include_once($wppb_plugin.’front-end/wppb.login.php’); and the function wppb_front_end_login(); I get nothing that shows up on the template-page I made. Now is there something I need to initiate on a page that will allow the function to work like a init? I also notice that registration.php is expired as well on your plugin. I am decent at php but still a beginner. WordPress seems to complicate things I’m finding out.

September 7, 2011 at 1:11 pm #2106
 Dan

It works when I use shortcodes on the page content in wordpress backend but not when I use the include file and function.

September 7, 2011 at 1:42 pm #2109
 Gabriel Barina

Hello Dan,
basically what you would want to do is echo the content (or save in an object with ob_start() and then echo it at the end) like so $x = function_to_display_edit_profile(); just be careful, some of the functions use external functions (in the same php file), be sure to include the whole page.
Regarding the registration file, what do you mean it is expired?

Gabriel

September 7, 2011 at 1:47 pm #2110
 Dan

Well the new version of wordpress just says that the include registration.php is depreciated. I deleted it out of the files needed to be deleted out of. I’m running Version 3.2.1.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.