Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
boham1
Newbie
Newbie



Joined: Jun 05, 2007
Posts: 1

PostPosted: Fri Jul 13, 2007 9:25 pm Reply with quote

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?
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 401

PostPosted: Sat Jul 14, 2007 12:00 am Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1391

PostPosted: Sat Jul 14, 2007 10:08 am Reply with quote

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 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunchlinear-bunch