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.
The forum of the forums
2 posters

    Perfix from Modification Title to title

    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Perfix from Modification Title to title

    Post by TheCrow Thu 4 Dec 2014 - 11:45

    Hello,

    I would like to add these type of perfixes to my forum but to all titles as the other list ones available. But i tried adding this tutorial https://help.forumotion.com/t134270-buttons-to-add-prefixes-in-topic-titles#903824  but it wont add anything next to the title. Can you help me?


    Last edited by MrMind on Fri 12 Dec 2014 - 11:17; edited 1 time in total
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Perfix from Modification Title to title

    Post by Ange Tuteur Thu 4 Dec 2014 - 12:07

    Hi MrMind,

    That tutorial adds buttons to insert text into the title. e.g. [solved]

    See if this tutorial is what you're looking for :
    https://help.forumotion.com/t133869-style-topic-title-keywords
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Perfix from Modification Title to title

    Post by TheCrow Thu 4 Dec 2014 - 21:13

    No none of this works. I don't know why but for some reason it won't show at all the perfixes.



    Perfix from Modification Title to title Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Perfix from Modification Title to title

    Post by TheCrow Sat 6 Dec 2014 - 1:27

    Bump



    Perfix from Modification Title to title Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Perfix from Modification Title to title

    Post by TheCrow Sun 7 Dec 2014 - 20:04

    Bump



    Perfix from Modification Title to title Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Perfix from Modification Title to title

    Post by TheCrow Tue 9 Dec 2014 - 19:10

    MrMind wrote:No none of this works. I don't know why but for some reason it won't show at all the perfixes.
    Bump
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Perfix from Modification Title to title

    Post by Ange Tuteur Tue 9 Dec 2014 - 22:10

    So, what is it that you're trying to do ? Could you explain a little more ?

    Thanks
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Perfix from Modification Title to title

    Post by TheCrow Tue 9 Dec 2014 - 22:15

    I am trying to add the #perfix code to a forum but the perfixes won't show. I am trying to use these codes. I will send you the information of the forum and login details via pm
    Here are the code i am trying to use but won't work:
    JS (placement: in all the pages and tested only in the topics - same result)

    Code:
    jQuery(document).ready(function(){jQuery(".tcl.tdtopics, .module a, .tcr a, .posthead a, .pun-crumbs p, .pun h2, .module .main-head, .pun h3, .pun input, .pun select, .pun th").each(function(){jQuery(this).html(jQuery(this).html().replace(/testperfix/g,"<span id='testperfix'>Test Perfix:</span> "))})});
    function tagprefixo(){jQuery("input[name=subject]").val(jQuery("select[name=tags4]").val()+jQuery("input[name=subject]").val())}jQuery(document).ready(function(){jQuery('input[name="subject"]').after('<dd/><select name=tags4 onchange=tagprefixo()><option value="">Χωρίς θέμα</option><option value="testperfix">Test Perfix: </option>')});
    jQuery(document).ready(function(){var b=jQuery("input[value=reply]").val();"reply"==b?jQuery("select[name=tags4]").css("display","none"):"quote"==b&&jQuery("select[name=tags4]").css("display","none")});

    and CSS

    Code:
    #testperfix{background:#0079FF;border-radius:3px;color:#fff;font-size:9px!important;font-weight:bold;margin:1px;padding:2px 3px;text-shadow:0 0 5px #808080}

    For some reason the perfix box won't show anywhere...
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Perfix from Modification Title to title

    Post by Ange Tuteur Tue 9 Dec 2014 - 22:20

    I will report this error. Thanks for not editing your post. Wink
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Perfix from Modification Title to title

    Post by Ange Tuteur Thu 11 Dec 2014 - 20:58

    I checked your forum and this script was missing a semi-colon; it caused an error.
    Code:
    $(document).ready(function() {
     Â   $.getScript('https://raw.github.com/lokesh/lightbox2/master/js/lightbox.js');
    });
    $(function () {
     Â       $('input[name="description"]').change(function () {
     Â           var ValidFileExtension = ['jpg', 'JPG', 'jpeg', 'JPEG', 'png', 'PNG', 'gif', 'GIF', 'bmp','BMP'];
     Â       if ($.inArray($(this).val().split('.').pop().toLowerCase(), ValidFileExtension) == -1) {
     Â           alert("Sorry, the allowed file extensions are: '.jpeg','.jpg', '.png', '.gif', '.bmp'");
     Â       }
     Â   })
    })

    Is it working for you now ?
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Perfix from Modification Title to title

    Post by TheCrow Fri 12 Dec 2014 - 11:15

    Now all is ok! Problem Solved! Thanks!!



    Perfix from Modification Title to title Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Perfix from Modification Title to title

    Post by Ange Tuteur Fri 12 Dec 2014 - 19:38

    You are welcome ^^

    Topic archived

      Current date/time is Mon 23 Sep 2024 - 10:17