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.

Perfix from Modification Title to title

2 posters

Go down

Solved Perfix from Modification Title to title

Post by TheCrow December 4th 2014, 11:45 am

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 December 12th 2014, 11:17 am; edited 1 time in total
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by Ange Tuteur December 4th 2014, 12:07 pm

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
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by TheCrow December 4th 2014, 9:13 pm

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by TheCrow December 6th 2014, 1:27 am

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by TheCrow December 7th 2014, 8:04 pm

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by TheCrow December 9th 2014, 7:10 pm

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
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by Ange Tuteur December 9th 2014, 10:10 pm

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

Thanks
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by TheCrow December 9th 2014, 10:15 pm

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...
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by Ange Tuteur December 9th 2014, 10:20 pm

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by Ange Tuteur December 11th 2014, 8:58 pm

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 ?
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by TheCrow December 12th 2014, 11:15 am

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Perfix from Modification Title to title

Post by Ange Tuteur December 12th 2014, 7:38 pm

You are welcome ^^

Topic archived
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum