TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 19, 2024, 04:08:07 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 266
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 244
  • Total: 244

[Done!] Join Us! form

Started by mebymyself, October 19, 2006, 08:10:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mebymyself

I am looking for some kind of form - when the form is submitted it should create new thread in specific forum.

I think somebody should have it - seems to be simple - unfortunatelly I am not PHP expert :(

Thank you in advance

*************  UPDATE ******************

OK I did it by myself  :laugh: - my first TP block and even my first PHP code

The HOW TO is located >>>here<<<<

Updated code by JPDeni will be posted here:
http://www.tinyportal.net/index.php/topic,29670

darthmactis

I have one that i have converted but it send the form to a email not a thread.

mebymyself

can you please post it - maybe I'll can modify it... but getting email isn't bad idea also - I will keep it too

akulion

why dont u simply use the prefilled topics thingie thurnok posted a while back?

ill search and post the link here if i find it :)


darthmactis

First download this http://darthmactis.exiledglory.com/files/member app.rar exctract is upload the apply.php to your forums folder, edit the email address in it. then make a new article and put the code in the app forum html code.txt file in the article, then add the article to your menu.

Example here: http://www.exiledglory.com/forums/index.php top left menu click the join us then click the join us on the bottom of the article.

this is how i got it to work if there is a better way, do tell!!!

jacortina


mebymyself

Quote from: J.A.Cortina on October 22, 2006, 11:38:11 PM
Quote from: darthmactis on October 22, 2006, 11:05:04 PM
this is how i got it to work if there is a better way, do tell!!!

Contact Page Mod

And why its better?

darthmactis code is much more close to what i requested ...
I am testing it right now - Also I need different set of fields of course :)

jacortina

It doesn't require that you go in and change the code to specify email to send to. It's made to use the css styling and theme of your forum. It works with the permissions system of SMF.

Frankly, your request wasn't something that could be answered as it lacked a lot of the definition necessary. You gave no details as to the type of form you would want to post to a thread (form values pulled from database for dropdowns and option buttons or s couple of simple fill-in-the-blank fields). You didn't say anything about hoiw it's to be used and by whom (guest posting is different from user posting). You didn't say whether the target board and topic is or is not something the submitter would/should have access to in order to edit.

darthmactis

Quote from: mebymyself on October 22, 2006, 11:41:52 PM
Quote from: J.A.Cortina on October 22, 2006, 11:38:11 PM
Quote from: darthmactis on October 22, 2006, 11:05:04 PM
this is how i got it to work if there is a better way, do tell!!!

Contact Page Mod

And why its better?

darthmactis code is much more close to what i requested ...
I am testing it right now - Also I need different set of fields of course :)


let me know if it works for ya