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
3 posters

    Edit button & post url open in new tab

    Nemesis of Love
    Nemesis of Love
    Forumember


    Female Posts : 31
    Reputation : 4
    Language : Greek, English
    Location : Westeros

    Solved Edit button & post url open in new tab

    Post by Nemesis of Love April 16th 2015, 12:37 am

    When I press the edit button it automatically opens in a new tab. I will edit the post and press "send" and the page will load in that tab while the original tab remains just as it was. 

    The same happens if i want to give someone the specific link of a post (so the page loads with on that post/with that post on display). Once i click on the link it opens in a new tab while the original one remains. 

    It happens with Chrome -which is the one i normally use- and i've also checked with mozilla and explorer. It happens to other people too and even though its been happening quite a while people started complaining a bit and i get it, it is a bit frustrating. I would appriciate your help. Thank you. 

    http://fandomworld.forumgreek.com/

    forum version:



    Last edited by Nemesis of Love on April 16th 2015, 4:54 am; edited 2 times in total
    Stephen-
    Stephen-
    Hyperactive


    Male Posts : 2542
    Reputation : 326
    Language :

    Solved Re: Edit button & post url open in new tab

    Post by Stephen- April 16th 2015, 12:38 am

    Hi,

    Can you provide your forum's url ?
    Nemesis of Love
    Nemesis of Love
    Forumember


    Female Posts : 31
    Reputation : 4
    Language : Greek, English
    Location : Westeros

    Solved Re: Edit button & post url open in new tab

    Post by Nemesis of Love April 16th 2015, 12:44 am

    just added it in the first post^
    Stephen-
    Stephen-
    Hyperactive


    Male Posts : 2542
    Reputation : 326
    Language :

    Solved Re: Edit button & post url open in new tab

    Post by Stephen- April 16th 2015, 1:14 am

    Thanks, When you edit your post then send it does it appear the correct form you've edited ?
    Nemesis of Love
    Nemesis of Love
    Forumember


    Female Posts : 31
    Reputation : 4
    Language : Greek, English
    Location : Westeros

    Solved Re: Edit button & post url open in new tab

    Post by Nemesis of Love April 16th 2015, 2:16 am

    Look at the process of changing the font for example.

    Here is a random topic.
    Edit button & post url open in new tab Edit1_zps7uwdezc2

    and here is what happens once i press the edit button:
    Edit button & post url open in new tab Edit2_zpstzyuq1sz

    (it automatically opens the edit format in another tab)

    Edit button & post url open in new tab Edit3_zpsv8myrv5v

    so i change something

    Edit button & post url open in new tab Edit4_zpsyfajdzkj

    it loads and i'm left with both the edited post and the original one

    Edit button & post url open in new tab Edit5_zpsinulusco

    Edit button & post url open in new tab Edit6_zpscbasxida

    as you can see...

    Edit button & post url open in new tab Edit7_zps5fzk1pto
    Stephen-
    Stephen-
    Hyperactive


    Male Posts : 2542
    Reputation : 326
    Language :

    Solved Re: Edit button & post url open in new tab

    Post by Stephen- April 16th 2015, 2:31 am

    I see, well let's wait for an official staff to see your problem so they could forward it to the technicians if needed.
    Nemesis of Love
    Nemesis of Love
    Forumember


    Female Posts : 31
    Reputation : 4
    Language : Greek, English
    Location : Westeros

    Solved Re: Edit button & post url open in new tab

    Post by Nemesis of Love April 16th 2015, 2:33 am

    Thanks^

    And as i said, same thing happens when i click on a post's specific url. I could get more screenshots if the staff needs them
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Edit button & post url open in new tab

    Post by Ange Tuteur April 16th 2015, 3:47 am

    Hi @Nemesis of Love,

    You have a script installed in JavaScript management that appears to be changing the target attribute of anchors in the postbody.
    ( Modules > JavaScript codes management )

    This is the script :
    Code:
    $(document).ready(function () {
      $('.postbody a').attr('target', '_blank');
      $('.postbody a[href^="TO LINK TOY FORUM SAS"]').attr('target', '_self')
    });

    Removing that should solve you problem of new tabs opening. Wink
    Nemesis of Love
    Nemesis of Love
    Forumember


    Female Posts : 31
    Reputation : 4
    Language : Greek, English
    Location : Westeros

    Solved Re: Edit button & post url open in new tab

    Post by Nemesis of Love April 16th 2015, 4:02 am

    but the removal of it will not cause any troubles?
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Edit button & post url open in new tab

    Post by Ange Tuteur April 16th 2015, 4:20 am

    As far as I can tell, it's only changing the links in posts so they will open in a new tab. Unless that's what you want, I don't think it will cause you any problems by removing it. Smile
    Nemesis of Love
    Nemesis of Love
    Forumember


    Female Posts : 31
    Reputation : 4
    Language : Greek, English
    Location : Westeros

    Solved Re: Edit button & post url open in new tab

    Post by Nemesis of Love April 16th 2015, 4:28 am

    umm yes, ok. and where do i find it to remove it? Edit button & post url open in new tab 819932
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Edit button & post url open in new tab

    Post by Ange Tuteur April 16th 2015, 4:33 am

    Administration Panel > Modules > JavaScript codes management

    Click the edit Edit button to modify the script(s). Look for one that is exactly (or similar ) to what I posted above.
    Nemesis of Love
    Nemesis of Love
    Forumember


    Female Posts : 31
    Reputation : 4
    Language : Greek, English
    Location : Westeros

    Solved Re: Edit button & post url open in new tab

    Post by Nemesis of Love April 16th 2015, 4:53 am

    ΑΑΑΑΑ thanks so much!! i fixed it. i had never used that page myself and now that i found the code i applied it only to the portal (it was placed in all the pages and thats why we had the problem)

    thanks again.

    Edit button & post url open in new tab IbdPhjvOBSHo7f
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Edit button & post url open in new tab

    Post by Ange Tuteur April 16th 2015, 5:45 am

    You're welcome ^^

    Topic archived

    Have a nice day. Smile

      Current date/time is November 11th 2024, 1:17 pm