Adding Database Columns

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Adding Database Columns

Postby littleaton » Fri Jul 20, 2007 6:29 am

Is there a way to add a collumn to the members table and then make it show up in roster?

What im wanting to do is add a Spec column, so that in the main roster view it will say Name Class Spec Level etc...

and under spec it will say waht they are specced in to?


Like if im a druid and im Speced Feral it will say "Feral" etc..
Last edited by littleaton on Fri Jul 20, 2007 7:03 am, edited 1 time in total.
User avatar
littleaton
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Tue Jul 17, 2007 10:17 pm

Adding Database Columns

Postby PleegWat » Fri Jul 20, 2007 7:56 pm

You'll have to open up index.php and add a column definition. Detailed info on how to add one is in a comment in memberslist.php somewhere. If that isn't detailed enough for you I'd probably have to do it for you, and I'm not gonna bother with that.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Adding Database Columns

Postby littleaton » Fri Jul 20, 2007 10:23 pm

Lol, ok thanks, Ill give that a try.


Anyone else got any idea's or tried doing this, that will give it about 5 min to explain it?
Last edited by littleaton on Sat Jul 21, 2007 3:32 am, edited 1 time in total.
User avatar
littleaton
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Tue Jul 17, 2007 10:17 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron