I want to set minimum character for new topic! Please help! Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    I want to set minimum character for new topic! Please help!

    avatar
    promits89
    Forumember


    Posts : 35
    Reputation : 0
    Language : English

    In progress I want to set minimum character for new topic! Please help!

    Post by promits89 November 14th 2011, 4:59 am

    I want to set minimum 100 character for new topic. because some of my forum members creating a topic writing few words. How can i do it?
    My forum version- phpbb2
    add- www.moneyzone.forumsmotion.com
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Sanket November 14th 2011, 8:53 am

    General>messages & Emails>Configuration
    Topics title length :
    Change it there.

    I feel, 100 is a lot of characters !
    avatar
    promits89
    Forumember


    Posts : 35
    Reputation : 0
    Language : English

    In progress Re: I want to set minimum character for new topic! Please help!

    Post by promits89 November 14th 2011, 9:24 am

    I am not saying about topic title. I am talking about body message.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Sanket November 14th 2011, 10:51 am

    I am afraid, we cannot change it !
    avatar
    Guest
    Guest


    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Guest November 14th 2011, 11:12 am

    Here is the Html + Jquery
    Code:
    <p class="testlength" style="display:none;">
    </p>
    <script type="text/javascript">
    $(function() {
        if ($("textarea#text_editor_textarea").is(':visible')) {
            $("textarea#text_editor_textarea").keyup(function() {
                var value = $(this).val();
                $("p.testlength").text(value);
            });
            $("input.mainoption").click(function() {
                var num = 100 - $("p.testlength").text().length;
                if (num > 0) {
                    alert("The message you have entered is too short. Please lengthen your message to at least 100 characters.");
                    return false;
                }
            });
        }
    });
    </script>
    ACP - Display - templates - Post & Private Messages - posting_body: searching the code
    Code:
    <!-- BEGIN switch_roll_dice -->
    then adding that code before it

    ACP - Display - templates - ganeral - viewtopic_body: searching the code
    Code:
    <!-- BEGIN switch_user_logged_in -->
    <a name="quickreply"></a>
    {QUICK_REPLY_FORM}
    <!-- END switch_user_logged_in -->
    then adding that code after it

    p/s: Does not work with wysiwyg

    link removed
    Base
    Base
    Forumaster


    Male Posts : 10386
    Reputation : 1695
    Language : English and French
    Location : United Kingdom, England

    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Base November 14th 2011, 6:01 pm

    battuvuong, thanks for the helpful post! However, please do not post your forum link as a 'fake signature' as this is against our rules. It is considered as advertising your forum, plus signatures are only allowed for staff members. Thank you.
    avatar
    Guest
    Guest


    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Guest November 15th 2011, 1:29 am

    Base wrote:battuvuong, thanks for the helpful post! However, please do not post your forum link as a 'fake signature' as this is against our rules. It is considered as advertising your forum, plus signatures are only allowed for staff members. Thank you.
    Sorry, that's not my forum.
    My forum is... in my profile.
    avatar
    Guest
    Guest


    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Guest November 16th 2011, 5:07 am

    Your "forum name" in your profile goes to ad.fly. If that isn't against the rules here, it should be.


    Last edited by dion on November 16th 2011, 6:21 am; edited 1 time in total
    avatar
    Guest
    Guest


    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Guest November 16th 2011, 5:48 am

    Ads in my Forum
    ... I deleted it
    avatar
    Guest
    Guest


    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Guest November 16th 2011, 6:49 am

    Base
    Base
    Forumaster


    Male Posts : 10386
    Reputation : 1695
    Language : English and French
    Location : United Kingdom, England

    In progress Re: I want to set minimum character for new topic! Please help!

    Post by Base November 16th 2011, 5:29 pm

    battuvuong,

    I want to set minimum character for new topic! Please help! ParcheminDouble Posting:Posting consecutively is not tolerated unless separated by 24 hours since the last post. In future, please use the edit button. Wink

    Please stay on topic and keep any further off-topic discussions to PMs. This message does NOT require a reply.