vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Reason for Edit Character Length? (https://vborg.vbsupport.ru/showthread.php?t=320331)

Justinphx 09-23-2015 04:02 PM

Reason for Edit Character Length?
 
We are limited to how much we can type in the reason for the edit or deletion of a thread/post. Can the limit be increased so we can type as much as we need to?

Thanks

Seven Skins 09-23-2015 07:02 PM

Sorry was late last night so did not read your query properly.

Justinphx 09-24-2015 01:51 PM

I tried that and it doesn't work to solve this issue. Basically, what I would like to do is increase the max number of characters we can type in the Reason for Edit" box. I would like to give our members a little more information on why a post was edited or deleted to reduce PM's from them asking why something was edited/deleted.

This is the text box:

https://vborg.vbsupport.ru/external/.../1.php?di=ufpd


Update: I finally figured it out. I just searched the templates for maxlength="125" because that is the default length and changed to 500.

squidsk 09-24-2015 02:14 PM

Increasing the size of the box does not necessarily mean you can actually have a longer edit message, since that will also depend on the data type for the message in your database. For example you changing the length of the edit box to 500 but the size of the reason field in the database, for vb 4.2.2pl4, is 200 characters, so any message with over 200 characters will either cause the edit to fail or truncate the message to the first 200 characters.

Seven Skins 09-24-2015 04:04 PM

What I used to do in one of my forums was leave a edit note at the end of post if the reason for edit was going to be long e.g.


Code:

Mod edit: Blah blah........

Dave 09-24-2015 09:15 PM

For the database part, you have to change it using a SQL query such as:
HTML Code:

ALTER TABLE `editlog` MODIFY `reason` VARCHAR(500);
I don't know if vBulletin does its own truncating before it inserts it into the database though.


All times are GMT. The time now is 12:32 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.02138 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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