Jump to content


forum support needed


5 replies to this topic

#1 Paul

    Young Padawan

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Location:st helens

Posted 16 August 2008 - 10:47 AM

i would like this forum http://www.chipmunk-scripts.com/board/inde...=43&ID=9268 but i would like it with my user system which comes as user_id but instead of the forum saying username it would have there username on the the forum and just say subject and message

if anybody could help im be very grateful :)

#2 MyFlash13

    Young Padawan

  • Members
  • Pip
  • 209 posts
  • Gender:Male
  • Location:Toronto,Canada

Posted 16 August 2008 - 10:58 AM

Quote

but instead of the forum saying username it would have there username on the the forum and just say subject and message

I'm not sure I understand what you mean...:)

#3 Paul

    Young Padawan

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Location:st helens

Posted 16 August 2008 - 11:36 AM

on the forum it says

username
subject
message

from my user system when a user is logged in it will say on the forum

Paultiscali2009
subject
message

but my usersystem uses user_id

#4 Paul

    Young Padawan

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Location:st helens

Posted 22 August 2008 - 10:02 PM

is there anyway i can add a login system with this tutorial as theres no support nowadays

http://www.chipmunk-scripts.com/board/inde...=43&ID=9268

#5 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 23 August 2008 - 12:33 PM

Please stick to one topic.

#6 dotSilver

    Young Padawan

  • Members
  • Pip
  • 32 posts

Posted 24 August 2008 - 05:14 AM

You can always add a user system to a forum. The easiest way to do this would be to create a user system first, then build a forum based on that. If you don't know how to make a user system, then there are a lot of tutorials around on creating one.

And if i'm correct, what you're saying is that your forum, when someone makes a new topic or reply, it's their ID that is stored in the table not their username right? If so, then to show their username, you need to do the following:

1. Select from the users table where id matches the user_id in the forum table.
2. Show their username

It's simple as.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users