Announcement

Collapse
No announcement yet.

char limited in post?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Chen
    replied
    I think there is a hack actually, that allows you to set a lower limit for posts length.

    Leave a comment:


  • Nam
    replied
    T īPau, I do really appreciate that, it has been a long time. I've posted request in vB.org but nobody did it for me. I think there is no hack like that in vB.org even until now. Again, thanks very much.

    Leave a comment:


  • Amasov
    replied
    Understood.

    Leave a comment:


  • tubedogg
    replied
    It actually has nothing to with piracy. Even if we didn't have a piracy problem we still want all code hacks posted at vbulletin.org - that has been the policy since vbulletin.org opened, driven purely by the fact that we do not support hacked boards here.

    We call any type of code modification 'hacking' for simplicity's sake. In this case he is adding an extra loop to the code, which is certainly more than a simple variable.

    Leave a comment:


  • Amasov
    replied
    Hey tubedogg.

    It's rather a simple modification. Everybody could imagine that this is a simple variable definition.

    It's not a "hack" so called. Please!

    I may understand your war against piracy, but this is not an delivery for those people. It's just a help.

    Regards,
    Chris.

    Leave a comment:


  • tubedogg
    replied
    T'Pau, while I'm sure Nam appreciates your help, we request that hacking not be discussed here but rather at www.vbulletin.org . Thank you.

    Leave a comment:


  • TīPau
    replied
    To set a minimum character limit into the users post, just open newpost.php and newthread.php

    find:
    Code:
    if (strlen($message)>$postmaxchars and $postmaxchars!=0) {
        eval("standarderror(\"".gettemplate("error_tooshort")."\");");
      }
    directly after that, insert the following:
    Code:
    } if (strlen($message)<20) {
        eval("standarderror(\"".gettemplate("error_tooshort")."\");");
      }
    Then go to your Admin cp and create a new Template called error_tooshort
    and insert:
    Code:
    Your Message is too short. 
    Please write at least 20 characters.
    You are done. Change the minimum characters (20) to your needs.

    Leave a comment:


  • tubedogg
    replied
    Currently that's not possible. You may wish to visit http://www.vbulletin.org/ to discuss hacking in a solution.

    Leave a comment:


  • Nam
    started a topic char limited in post?

    char limited in post?

    How can I set the limited char in the post. For example, I want to set at least 20 characters in the post to prevent some members who racing post by just posting "yes", "hehe"... words like that which are meaningess and annoying. thanks,
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X