MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pre-formatted Description field text
#1
My entire forum revolves around this Gallery and it's working out great. I have one very immediate problem and a host of smaller ones that are more support-related, which I will raise here later.

The immediate issue is that I run reports off the Gallery tables and I need the Description field material formatted in a very particular way so I can use preg_match to generate the reports. New users are totally struggling with getting the formatting right, so I was going to insert pre-formatted text into this line.

PHP Code:
Line 1225 <td><textarea name="description" rows="5" cols="50"></textarea

Is this the right line and am I going to break my installation if I fuss with this?

Thanks in advance for any help.
Reply
#2
You can alter that line. It just requires a textarea with name="description"



Line 2020 is for edit picture and the contents of textarea should keep that variable insert.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
(12-31-2020, 01:56 PM)MyBBHacks Wrote: You can alter that line. It just requires a textarea with name="description"

Working just as I had hoped. Thanks!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)