Remove Topic Prefixes 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
Poser
SLGray
Take Notes
7 posters

    Remove Topic Prefixes

    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Remove Topic Prefixes

    Post by Take Notes May 29th 2016, 9:13 pm

    Can I please have help removing Global Announcement, Announcement, and Pinned from Topics in a forum? I want them to look like a normal topic except with the special topic icon.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51561
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Remove Topic Prefixes

    Post by SLGray May 29th 2016, 9:36 pm

    AP > General > Messages & Emails > Configuration
    What happens when you enter
    Code:
    &nsbp
    in the boxes for the announcements and sticky?



    Remove Topic Prefixes Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes May 31st 2016, 9:10 pm

    It shows as &nsbp
    Poser
    Poser
    Helper
    Helper


    Male Posts : 413
    Reputation : 43
    Language : English, Filipino
    Location : @ohmpawatt

    In progress Re: Remove Topic Prefixes

    Post by Poser May 31st 2016, 9:49 pm

    Should it be
    Code:
     
    ?
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes June 1st 2016, 10:47 pm

    Bump.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Remove Topic Prefixes

    Post by Van-Helsing June 2nd 2016, 12:11 am

    Hi,
    What is your forum url?
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes June 2nd 2016, 1:33 pm

    It is irrelevant but here:
    www.forumpromocean.forumotion.com
    Rhino.Freak
    Rhino.Freak
    Helper
    Helper


    Male Posts : 1248
    Reputation : 104
    Language : English
    Location : Mumbai, India

    In progress Re: Remove Topic Prefixes

    Post by Rhino.Freak June 2nd 2016, 3:09 pm

    Poser wrote:Should it be
    Code:
     
    ?
    Tried this?
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Remove Topic Prefixes

    Post by Van-Helsing June 2nd 2016, 8:12 pm

    Hello,
    I asked for your forum link to check the forum version to adapt the js, now create a new javascript and adjust it in subforums and paste the following code:

    Code:
    $(document).ready(function(){
    $('dd.dterm strong:contains("Global announcement:').each(function(){
    $(this).replace("Global announcement:","NEW_VALUE");
    $(document).ready(function(){
    $('dd.dterm strong:contains("Announcement:').each(function(){
    $(this).replace("Announcement:","NEW_VALUE");
    $(document).ready(function(){
    $('dd.dterm strong:contains("Sticky:').each(function(){
    $(this).replace("Sticky:","NEW_VALUE");

    In the NEW_VALUE variable you can add your new text, then press submit.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51561
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Remove Topic Prefixes

    Post by SLGray June 2nd 2016, 8:20 pm

    Van-Helsing wrote:Hello,
    I asked for your forum link to check the forum version to adapt the js, now create a new javascript and adjust it in subforums and paste the following code:

    Code:
    $(document).ready(function(){
    $('dd.dterm strong:contains("Global announcement:').each(function(){
    $(this).replace("Global announcement:","NEW_VALUE");
    $(document).ready(function(){
    $('dd.dterm strong:contains("Announcement:').each(function(){
    $(this).replace("Announcement:","NEW_VALUE");
    $(document).ready(function(){
    $('dd.dterm strong:contains("Sticky:').each(function(){
    $(this).replace("Sticky:","NEW_VALUE");

    In the NEW_VALUE variable you can add your new text, then press submit.
    He wants the words removed.



    Remove Topic Prefixes Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Remove Topic Prefixes

    Post by Van-Helsing June 2nd 2016, 8:26 pm

    Hello SLGray,
    in this case he must leaving blank the place of the NEW_VALUE variable like this javascript:

    Code:
    $(document).ready(function(){
            $('dd.dterm strong:contains("Global announcement:').each(function(){
            $(this).replace("Global announcement:","");
            $(document).ready(function(){
            $('dd.dterm strong:contains("Announcement:').each(function(){
            $(this).replace("Announcement:","");
            $(document).ready(function(){
            $('dd.dterm strong:contains("Sticky:').each(function(){
            $(this).replace("Sticky:","");
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes June 2nd 2016, 9:08 pm

    Didnt work.
    TheCrow
    TheCrow
    Manager
    Manager


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

    In progress Re: Remove Topic Prefixes

    Post by TheCrow June 2nd 2016, 9:10 pm

    Van-Helsing wrote:Hello SLGray,
    in this case he must leaving blank the place of the NEW_VALUE variable like this javascript:

    Code:
    $(document).ready(function(){
            $('dd.dterm strong:contains("Global announcement:').each(function(){
            $(this).replace("Global announcement:","");
            $(document).ready(function(){
            $('dd.dterm strong:contains("Announcement:').each(function(){
            $(this).replace("Announcement:","");
            $(document).ready(function(){
            $('dd.dterm strong:contains("Sticky:').each(function(){
            $(this).replace("Sticky:","");
    Aren't there missing some
    Code:
    }}}};
    @Van-Helsing ?



    Remove Topic Prefixes 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!
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes June 2nd 2016, 9:15 pm

    I was thinking the same thing lol
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    In progress Re: Remove Topic Prefixes

    Post by Van-Helsing June 2nd 2016, 11:48 pm

    Oh yes I forgot to close the branches and parenthesis. Sorry. Sad

    Code:
            $(document).ready(function(){
                    $('dd.dterm strong:contains("Global announcement:').each(function(){
                    $(this).replace("Global announcement:","");
                    })});
                    $(document).ready(function(){
                    $('dd.dterm strong:contains("Announcement:').each(function(){
                    $(this).replace("Announcement:","");
                    })});
                    $(document).ready(function(){
                    $('dd.dterm strong:contains("Sticky:').each(function(){
                    $(this).replace("Sticky:","");
                    })});
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes June 3rd 2016, 12:04 am

    Still not working.
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes June 11th 2016, 5:34 pm

    Bump.
    Take Notes
    Take Notes
    Helper
    Helper


    Male Posts : 2337
    Reputation : 324
    Language : English
    Location : Forumountain

    In progress Re: Remove Topic Prefixes

    Post by Take Notes June 20th 2016, 6:36 pm

    Bump.
    Nemo
    Nemo
    Active Poster


    Male Posts : 1203
    Reputation : 119
    Language : Greek, English, French

    In progress Re: Remove Topic Prefixes

    Post by Nemo June 29th 2016, 9:16 am

    Hello,

    Is this still needed?

    Hello