Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Jun 2008, 15:41
afullcup afullcup is offline
 
Join Date: Jul 2006
Question Can I pre-fill $messagearea in a certain forum on New Thread?

Yes, I know I could use a form hack, but I'd really like to just stick an extra piece of code in whenever I need it if possible. I am comfortable coding, just can't seem to quite figure this out.

I'd like to be able to pre-fill the messagearea on a New Thread only in certain forums - for instance, when someone is submitting a support ticket in the support forum, I'd like to pre-fill with questions about things we like to know about (browser, OS, etc) in order to help them.

What I know so far is that in template newthread, there is this code which makes the messagearea appear:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And that in newthread.php there is code to set up the new thread. I added the following code and tested it so that I know it knows when we're posting to the forum in question:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

As for "what to put here?" I have tried several things and can't seem to make it populate...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If anyone has more insight into the variables that would work here, I'd sure appreciate it!
Reply With Quote
  #2  
Old 23 Jun 2008, 16:21
Opserty Opserty is offline
 
Join Date: Apr 2007
Either use or have a look at this modification and see how its done: Thread Stencil
Reply With Quote
  #3  
Old 23 Jun 2008, 22:00
afullcup afullcup is offline
 
Join Date: Jul 2006
well lookie there - reinventing the wheel.

Thanks Opserty!!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:35.

Layout Options | Width: Wide Color: