yeah I think I am going to just create a different table, but I am looking at the registration for the db query to insert the values for registering, and I cant seem to create another quary to insert values into another table
Re: question about mysql (18 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Topic: question about mysql (18 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I am making a game, and I was wondering if I have a lot of fields should I add them all into the user table? or create a whole new table for them
ok i have I tried just copy and paste the div from functions.php, it worked somewhat, it moved my left hand nav way down
nvm i see it now, I am going to mess around with it again and post back later
I am trying to create a page like the profile page with the sub menu, I know that that menu is generated in functions.php but I cant find in profile.php how it is called in, could somebody help me with this?
Re: Add attribute to users profile "sex" (19 replies, posted in PunBB 1.2 modifications, plugins and integrations)
As starshiner posted... you need to add u.sex to the code like this
$result = $db->query('SELECT u.username, u.email, u.title, u.realname, u.url, u.jabber, u.icq, u.msn, u.aim, u.yahoo, u.sex, u.location, u.use_avatar, u.signature, u.disp_topics, u.disp_posts, ....
To add it to your database. Go into mysql and run
alter table users add sex varchar(10);
does it matter where you have it in query? so if I have it in another section, could I still have u.sex in that spot?
Topic: custom profile field with link (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I have looked at the custom profile field mod, but I was wondering how to make it a link so I can have a page like viewnation.php?blahblah and the variable is filled in by what they filled in for that field
The following errors need to be corrected before the message can be posted:
* The BBCode syntax in the message is incorrect. Missing end tag for ]code[.
i cant paste it without it giving me an error
'userlist' => 'userlist',
i changed it to
'userlist' => 'roster',
and when i click on my index page it just comes with the page filled with words and it doesnt work
what text do i edit to change the name of...oh say like the index
'Index' => 'Index',
what do i edit in that?
where do i go in my files to edit the names and links of the top bar in the index??
wow im totally lost lol