PDA

View Full Version : Need help with a 2nd username


heretic
07-06-2002, 02:30 PM
ok, I started this a while back, but so far have only gotten as far as the templates.

I've added a custom profile field for members to enter a specific user name, which will replace their default one in only 1 forum.

I can get it to work in the postbit, but not on the threadlist and forum home templates. I figure i's because all I know to use isd $post[fieldx]

here's a shot of it working in the postbit:

http://www.librawars.com/images/help1.jpg



and how it shows in the forumdisplay and forum home:

http://www.librawars.com/images/help2.jpg

http://www.librawars.com/images/help3.jpg


I think Neo helped once but it didn't work and I can't find the old thread.

g-force2k2
07-06-2002, 06:36 PM
yeah heretic you have it right in the functions... but for the last poster and thread starter you have to edit the newthread.php and newreply.php to insert the the secondary username into the queries and not the first... if it uses userid to insert then you might have a problem ;\ hope that helps...

g-force2k2