UBB.Dev
Hello all

I was wondering how we can allow visitors to post with a fix subject.
What I mean by fix subject is that visitors cannot change the subject.

I am doing this because I am integrating Censura Review system with Ubbthreads.
I am able to put the url of the ' newpost.php?Board=xxx ' on the page, how can we insert a subject that into this url?

I hope it's not confusing you guys too much

here is the example that I have in mind:

Subject=Fix]http://www.domain.com/forum/newpost.php?Cat=Board=myforum&Subject=Fix Subject

Thanks

Hai.

Okay, sorry to confuse you

Let me rephrase the question.

In vBulletin we can use this url to make a new post with subject in place which is "Hello":
http://yourdomain.com/newthread.php?s=&do=newthread&forumid=1&subject=Hello


In phpBB we can use this:
http://yourdomain.com/posting.php?mode=newtopic&f=1&subject=Hello

Now, what is the url format for the Ubbthreads?

So, when someone click on that link, he/she will be presented with a form and the Subject, "Hello" will be in the column automatically. (See attachment)



Thanks

Attached picture 96770-Hello.gif
That would require a hack. It would probably involve changes to several files.
[]Dave_L said:
It would probably involve changes to several files. [/]

Way to discourage anyone that may want to try it.
Hehe, yes, probably. I don't the changes would be very extensive though, just add $Subject = get_input("Subject"); to the php script and 'value="$Subject"' into the subject input field in the corresponding template file.
There may be several templates involved, due to the poll stuff. And since he doesn't want users to be able to change the subject, the input tag would have to be changed to a simple text display, and this would have to be done in the preview and edit templates, as well as in the new post template. It shouldn't be that tough, just tedious.
Dave

Yes, if the users cannot be able to change the subject, that would be too much work. I think to let the users change the subject would be okay though, since most of the time users won't change it anyway. (i.e. when they reply, they don't bother to change the subject)

I will try what Garderer says, I let you guys know.

Thanks.
Gardener, . It works pretty nice!

Thanks
Does the disabled tag work on input fields nowadays? Try adding something like disabled="disabled" into the input field as well.
© UBB.Developers