Log in

View Full Version : Larger textareas when viewing moderation queue


Nomb
03-15-2004, 10:00 PM
This is a small hack but helpful for your mods ...

In /modcp/moderate.php find this line for the size of moderated ?thread? textareas:


print_textarea_row($vbphrase['message'], "threadpagetext[$thread[threadid]]", $thread['pagetext'], 7, 55);


and this line for the size of moderated ?post? textareas:


print_textarea_row($vbphrase['message'], "postpagetext[$post[postid]]", $post['pagetext'], 4, 40);


The last two values passed to each of these functions are the textarea's rows and columns respectively. Change them to what you'd like, and save the file.

Boofo
03-16-2004, 04:21 PM
Got any screenshots of what this will do? ;)

Nomb
03-16-2004, 04:28 PM
Sorry, no. I posted this at vB.com for someone and I was told that was a no no, heh. Anyway, so I posted it here.

Don't really need a screenshot though. When you're viewing the moderation queue of users' posts and threads they are contained in SMALL textareas and most of the time you end up having to scroll down in these tiny textareas to read the posts. It's a pain because you need to read them to verify that they're ok. So, this allows you to set them however big you'd like.

Qualia
05-08-2004, 07:30 AM
Thank you! Now I won't have blind mods. :up: