Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: yellow1912 - maaliskuu 28, 2006, 05:11:27 IP

Otsikko: Post form???
Kirjoitti: yellow1912 - maaliskuu 28, 2006, 05:11:27 IP
I want to let users create a new topic on the homepage, is there any function to do that? I tried Post() in Post.php but it didnt work as expected.

Thanks a lot.
Otsikko: Re: Post form???
Kirjoitti: Kindred - maaliskuu 28, 2006, 05:36:51 IP
we've been discussing this in another thread...   it's createPost() and post2()
Otsikko: Re: Post form???
Kirjoitti: yellow1912 - maaliskuu 28, 2006, 05:54:49 IP
Thanks kindred, I'll look for that topic, actually I guessed I needed those 2 functions, but still confused how to use it outsite of the board.
Otsikko: Re: Post form???
Kirjoitti: yellow1912 - maaliskuu 28, 2006, 07:59:00 IP
Uhm, I think i kinda get the idea now, but how do I get the whole post form (include the BBC, smileys, ....)? (Tried Post.template.php)
Otsikko: Re: Post form???
Kirjoitti: Kindred - maaliskuu 28, 2006, 08:11:40 IP
check out the discussbot in the mambo/joomla discussion area.   Chadness managed to get smileys and BBS into the quickreply of the discussbot, which is external to SMF.
Otsikko: Re: Post form???
Kirjoitti: yellow1912 - maaliskuu 31, 2006, 12:04:14 AP
Lainaus käyttäjältä: Kindred - maaliskuu 28, 2006, 08:11:40 IP
check out the discussbot in the mambo/joomla discussion area.   Chadness managed to get smileys and BBS into the quickreply of the discussbot, which is external to SMF.
Thanks Kindred, actually I did look at his mod and I think what it does is that it parse bbc code and smileys (I dont know if I miss something, Im not very good at looking at a mountain of codes  :( , forgive me if I do).
I need a whole form with bbc, smileys,... like this:
http://img83.imageshack.us/img83/2599/new2us.jpg
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg83.imageshack.us%2Fimg83%2F2599%2Fnew2us.jpg&hash=5aabeb3c6cdacf3216cc0905686cb8741ca2d955)