Firefox PHP

Module: Enhanced Custom Profiles

Posted by Joe Curia 
Re: Module: Enhanced Custom Profiles
March 05, 2009 08:19PM
PM sent!

-------------------------------------------

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Re: Module: Enhanced Custom Profiles
March 06, 2009 05:30AM
Ah, for those that were wondering, it seems I was using include_once on a file being called more than once, and should have been using a regular include. Thanks again, Joe!

-------------------------------------------

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Re: Module: Enhanced Custom Profiles
March 06, 2009 05:53AM
Just another quick question. I have fields set up for the registration page, but they're showing up below the Terms of Service module. Like the Enhanced Custom Profile fields, you don't have to edit the register.tpl page to use it. I'm not on the up and up on how Phorum works, but I'm guessing they both utilize the {HOOK "tpl_register_form"} to show up on the register page, maybe? Is there any way I can push the enhanced custom profiles up above the other module's ToS?

-------------------------------------------

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Re: Module: Enhanced Custom Profiles
March 06, 2009 05:57AM
Edit the info.txt file for this module, adding the line:
priorty: run hook tpl_register_form before *


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Enhanced Custom Profiles
March 06, 2009 05:59AM
I tried adding it at the end, then at the beginning--both ways didn't seem to make any changes to the registration page.

Caught the misspelling and changed it to "priority" but still no difference.

-------------------------------------------

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe




Edited 1 time(s). Last edit at 03/06/2009 06:04AM by Ryan.
Re: Module: Enhanced Custom Profiles
March 06, 2009 06:10AM
Heh, thanks for catching that mispelling. You also need to visit the admin section for Phorum to update the info. Simply open the admin.php page and you should see a notice that the module has been updated.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Enhanced Custom Profiles
March 06, 2009 06:25AM
Right before I saw your latest post, I realized one of my fields was in the wrong order, so I corrected that and saved it. Then I refreshed the Registration page for kicks and was surprised to see the order had moved. You were right, I did have to save the settings in admin! Thank you. :D

-------------------------------------------

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Re: Module: Enhanced Custom Profiles
March 06, 2009 06:40AM
Sorry to be a bother again, but I wonder if you could help me with this.

I was testing the Registration page by making a new user.

Problem #1: real_name was filled out at registration but is considered blank when I go to edit the profile later.

Before installing this mod, I already had char_name and char_details as custom profile fields. real_name was not and still is not on my custom profile fields list. Should it be?

Or should I not have used an already established var like real_name? I just want to be able to have that on the registration and profile page as a required profile field.

Problem #2: I used a single quote in char_name, and when I went to edit it later, everything after the single quote was gone. Ex: La'test Name becomes La

-------------------------------------------

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Re: Module: Enhanced Custom Profiles
March 06, 2009 10:04AM
Problem #1: as you pointed out, real_name cannot be a custom profile field as it already exists. However, it would be nice to be able to add existing fields to the registration page. I will look into adding that in the future.

Problem #2: this is definitely an issue. I will look into it.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Enhanced Custom Profiles
March 06, 2009 04:15PM
Ok, I have fixed the apostrophe problem. Please redownload the module and upload the enhanced_custom_profiles.php file to the module folder on your site. Thanks for reporting the bug.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Sorry, only registered users may post in this forum.

Click here to login