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?
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)
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.
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.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.