| Author |
Message |
boham1
Newbie


Joined: Jun 05, 2007
Posts: 1
|
Posted:
Fri Jul 13, 2007 9:25 pm |
|
Raven Nuke 2.10.01
AM Lite From this site
I have started modifying my database tables (pendingusers, users, users_temp) and added 4 more fields which is dearly needed for my website.
I have successfully modified the Approve_Membership, Your_Account, My theme.tpl files, and Members_list to handle the 4 new fields and they work beautifully.
The problem I am having is trying to get the information passed around in the forums. Since the forums was designed by other than Nuke coders, I get a bit confused where things are going since it's so much different.
In the original AM Full version, inside viewtopic.php, Arnold added an entire function called customhtml to handle (I am guessing) the custom fields throught the forums. Since I am only manually adding 4 fields, I need to force the forums to deal with these 4 new items.
The Forums profile will not display the new fields as I do not know where they are coming from or being passed from. The same goes with Admin user editing through the forums (not Nuke admin), viewtopic, and profileview.
Any help please? |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 340
|
Posted:
Sat Jul 14, 2007 12:00 am |
|
I do not use the full version of AM myself (only the Lite version from here) but normally it is bad practise to add more fields to core tables as this makes long term maintenance and updates a complete nightmare.
At a guess, you wwould need to synch the bb_users table with the nuke_users table. and you would, depending on your needs have to modify the memberlist module and the following forum files;
forums/profile.php
forums/viewtopic.php
forums/memberlist.php
forums/viewonline.php
forums/templates/subSilver/.
memberlist.tpl
memberlist_body.tpl
profile_add_body.tpl
profile_view_body.tpl
view_topic_body.tpl
view_online_body.tpl
Plus the equivelants of the above in all the themes you have available that have their own forum files. |
_________________ Spam Stopper - Comments Modules - Security News - Script Installer |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1139
|
Posted:
Sat Jul 14, 2007 10:08 am |
|
Approved Membership Lite is supposed to be just that and it is only for new user authentication, not additional fields. I suggest that you use the full Approved Membership Module from the author's web site.
boham1, I would highly recommend waiting for Ken to produce a RavenNuke compatible version of FULL. See this thread here:
http://www.ulsoft.scarbridge.co.uk/modules.php?name=Forums&file=viewtopic&p=4125#4125
Sorry, but I do not have time to support the adding of additional fields.
Regards,
montego |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
|
|