MyBBHacks.com Plugins for  MyBB
Pre-formatted Description field text - Printable Version

+- MyBBHacks.com Plugins for MyBB (https://www.mybbhacks.com)
+-- Forum: ezGallery Pro for MyBB (https://www.mybbhacks.com/forumdisplay.php?fid=8)
+--- Forum: Support (https://www.mybbhacks.com/forumdisplay.php?fid=10)
+--- Thread: Pre-formatted Description field text (/showthread.php?tid=3563)



Pre-formatted Description field text - elizabeth - 12-31-2020

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.


RE: Pre-formatted Description field text - MyBBHacks - 12-31-2020

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.


RE: Pre-formatted Description field text - elizabeth - 12-31-2020

(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!