vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Larger textareas when viewing moderation queue (https://vborg.vbsupport.ru/showthread.php?t=62555)

Nomb 03-15-2004 10:00 PM

Larger textareas when viewing moderation queue
 
This is a small hack but helpful for your mods ...

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

PHP Code:

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

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

PHP Code:

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

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:


All times are GMT. The time now is 10:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00981 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete