Membership Edit Profile Page Preventing Listings from Displaying

4 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 18, 2012   (RSS)

By RGC - May 16, 2012

Hi
I am using the user-profile code that was provided as an example with the Membership Plugin 1.06. I am having an issue when I am using this code on a page which also should be displaying other listings from multi section editors. Something in this code is preventing other multi section editors from displaying. I am pretty certain it has to do with the following foreach statement not ending:

// prepopulate form with current user values
foreach ($CURRENT_USER as $name => $value) {
if (array_key_exists($name, $_REQUEST)) { continue; }
$_REQUEST[$name] = $value;
}


What do I need to do to get the other multi section editors to appear?
Rod

Re: [rgc] Membership Edit Profile Page Preventing Listings from Displaying

By robin - May 17, 2012

Hey, could you post the code you're trying to use so we can take a closer look? If you're not comfortable posting the code here you can mail it to:
support@interactivetools.com

Thanks,
Robin
Robin
Programmer
interactivetools.com

Re: [Jason] Membership Edit Profile Page Preventing Listings from Displaying

By RGC - May 18, 2012

Thanks Jason ... You nailed it!

Yes the problem was only occurring for the getRecord calls after the code. I just added the 'allowSearch' => false, code to all the getRecords thet were not displaying and everything is working fine now. Thanks again.
Rod