View: 4491|Reply: 27
|
macam mane nk buat forum using php
[Copy link]
|
|
kowang dh leh tau soklan yg aku nk tanye just by looking at the title...soooooo
ade tk memane website yg bleh guide aku utk buat forum using php??kalo ade, share la ngan aku...
or maybe kowang sendrik bleh ajar aku buat forum gune php??
aku bkn nk buat forum yg complicated sgt...nk yg simple aje
tq
yoroshiku onegaishimasu.... |
|
|
|
|
|
|
|
try search kat phpnuke.
mungkin membantu... |
|
|
|
|
|
|
|
ler..kalo tanye soalan kat sini mesti berkurun tunggu org reply...
moderator x leh tlg ker |
|
|
|
|
|
|
|
nak buat sendiri jugak ke? tak nak guna yang sedia ada? IMHO, that's a very long (not mentioning tiring) process, banyak nak kena belajar, nak kena buat table, nak kena link, nak kena decide guna database apa, dan banyak lagi
apa kata guna je yang dah siap sedia, kalau nak nampak lain sikit, buat theme sendiri |
|
|
|
|
|
|
|
Balas #3 jpl_fan\ catat
shahnazz mungkin bz, sebab dah jarang dia masuk reply, kalau tak tu, dia pun boleh gak bagi guidance
tapi yang lain-lain tu tak tau la pulak saya |
|
|
|
|
|
|
|
Reply #6 artgeex's post
ha-ah bz, hehe
anyway kalau nak buat sendiri there are a few things to consider before actually coding the system, such as:
1. design and layout
2. membership management
3. thread management (macam mana dia link)
4. database design
nak buat from scratch memang akan ambil masa, even for simple ones. kalau nak ajar tu kena berguru ngan orang yang tau, hehe. kalau saya, i'd prefer to take from any free CMS yang ada (macam yang dah suggested dalam thread ni, phpnuke, phpbb, and some others such as joomla, mambo, xoops etc etc), cuma nak configure aje supaya menepati citarasa
kalau nak buat sendiri, hmm, i can give you these guidelines:
1. create database
- add table untuk members (ada member_id, password, full name etc)
- add table untuk topic_category (category_id, category_description)
- add table untuk topic_title (title_id, category_id, member_id, created_date)
- add table untuk topic_messages (message_id, title_id, member_id, created_date)
2. create form dalam php
- login form
- main screen (summary information, categories)
- messages screen (bila click on category)
- post new message form (untuk post new messages)
- admin form (untuk create users and manage threads)
takat gitula dia punya basics dia, tu pun pikir takat 5 minit aje, hehe... kalau sit down and betul-betul wat dia punya design mungkin lebih detailed daripada apa yang saya dah post nie
ni my 2 cents,,, any other suggestions? |
|
|
|
|
|
|
|
kalo nak buat seketul-seketul...
memang makan masa la |
|
|
|
|
|
|
|
Reply #5 artgeex's post
tula...kalo bleh gune yg dh sedie ade kire lega la..tp boss nk yg "versi sendrik" punye |
|
|
|
|
|
|
|
Reply #7 shahnazz's post
tq for the guidelines...really appreciate it
part database tu mgkn tkdela susah giler...tp part form tu cm susah since byk mende kene include dlm form tu....neway, tq lagik skali...kalo ade pape lg kang aku tanye la |
|
|
|
|
|
|
|
bestnya korang dapat assignment mencabar
apa kata ko letak dulu errornya kat sini, mana tau kitorang kat sini dapat tolong
aku pun tak reti sangat php ni, tapi insyaallah mana aku tau nanti aku tolongkanlah |
|
|
|
|
|
|
|
Reply #13 jpl_fan's post
aauuww
takpe cik puan besar...belajar dari kesilapan |
|
|
|
|
|
|
|
jpl_fan, you know my PM or YM, just contact me
u ngan lin_okinawa sama tempat internship ke?
takpe best kalau u dah post ke website, bagi kitorang link and we can troubleshoot from there. if that is the case, make sure that you turn on PHP error messages so that we can easily troubleshoot the problem.
in any case, baik letak coding di sini. ramai orang terer PHP yang boleh bantu kat sini. |
|
|
|
|
|
|
|
Reply #15 shahnazz's post
a'a kitowang same tmpt n task yg diberi pn same gk
perenggan ketige tu kurang phm....
tkpe, jap lagik i letak coding die... |
|
|
|
|
|
|
|
Reply #16 lin_okinawa's post
wakarimasen?
takpe, idea is if you have any web hosting somewhere, you can dump your files there so we can test it online, kalau ada errors boleh la troubleshoot, itu aje
in any case let us see the code (and screenshot if necessary) of your problem.
gambatte kudasai! |
|
|
|
|
|
|
|
ok... try modifying your sql query supaya jadi ala-ala macam ni:
select table1.*, table2.date, table2.author
from table1, table2
where table1.id = table2.id
and table1.parent_topic = "something something"
setiap column dalam table harus ada nama table di depannya. ini untuk mengelakkan any ambiguity apabila nak join table
for example, kalau your sql query jadi macam ni:
select table1.*, date, author
from table1, table2
where table1.id = table2.id
and parent_topic = "something something"
let's say kalau table1 and table2 kedua-duanya ada column bernama parent_topic, so bila nak specify where clause, dia nak compare value parent_topic dari table yang mana satu?
and lagi satu, elakkan guna date as a column name in a table sebab date tu is a reserved word in most programming or scripting languages. |
|
|
|
|
|
|
| |
|