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
Kami-sama
Ape
Zandranna
7 posters

    Visitor Message Page

    Zandranna
    Zandranna
    Forumember


    Female Posts : 77
    Reputation : 1
    Language : English
    Location : Lancashire UK

    Solved Visitor Message Page

    Post by Zandranna December 10th 2017, 6:52 am

    I've been looking at the list of variables and I was wondering if there is something similar I can use for members to click a link to go directly to their own visitor message page.

    At the moment the link to the message pages has to have the users account number tagged on the end, but I'm am trying for a more global type link to the visitor message page of each individual.

    I hope I've explained that properly for understanding.

    Thanks for any help you might be able to give.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Visitor Message Page

    Post by Ape December 10th 2017, 8:33 am

    Hello @Zandranna

    I have looked over this for you and sadly I don't think there is but it maybe possible to do it with some help of Javascript maybe @Draxion or maybe @Luffy can help you on this one.



    Visitor Message Page Left1212Visitor Message Page Center11Visitor Message Page Right112
    Visitor Message Page Ape_b110
    Visitor Message Page Ape1010
    Kami-sama
    Kami-sama
    Forumember


    Female Posts : 407
    Reputation : 12
    Language : EN, RU, DE, LT
    Location : Lithuania

    Solved Re: Visitor Message Page

    Post by Kami-sama December 10th 2017, 8:37 am

    Hey Wink

    So what exactly you want to see or happen after user presses that link?
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    Solved Re: Visitor Message Page

    Post by Neptune- December 10th 2017, 9:11 am

    Hi,

    APE wrote:maybe possible to do it with some help of Javascript maybe @Draxion or maybe @Luffy can help you on this one.

    Possible with a short script !

    Where exactly do you want that link ?
    TheCrow
    TheCrow
    Manager
    Manager


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

    Solved Re: Visitor Message Page

    Post by TheCrow December 10th 2017, 12:12 pm

    Hello,

    The link you want, is a link to take the member to the Wall of their page to see the visitor messages?



    Visitor Message Page 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!
    Zandranna
    Zandranna
    Forumember


    Female Posts : 77
    Reputation : 1
    Language : English
    Location : Lancashire UK

    Solved Re: Visitor Message Page

    Post by Zandranna December 10th 2017, 12:44 pm

    Luffy wrote:Hello,

    The link you want, is a link to take the member to the Wall of their page to see the visitor messages?

    Yes, Exactly.

    Neptune wrote:Possible with a short script !

    Where exactly do you want that link ?

    I was thinking of putting it along side the other contact links that show up at the bottom of each post (on my board they show there), such as profile, pm, email, online, etc.

    If I could somehow get a global link to that "wall" page I can easily add it as a default image link there via the profile fields.

    That was my orginal thought regarding it, but I'm up for any suggestion if that's not going to be possible.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Visitor Message Page

    Post by SLGray December 10th 2017, 12:51 pm

    Would this work:
    Code:
    /u*wall



    Visitor Message Page Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Zandranna
    Zandranna
    Forumember


    Female Posts : 77
    Reputation : 1
    Language : English
    Location : Lancashire UK

    Solved Re: Visitor Message Page

    Post by Zandranna December 10th 2017, 1:01 pm

    Sadly no. That gives a 404 error.
    SarkZKalie
    SarkZKalie
    Support Moderator
    Support Moderator


    Male Posts : 1443
    Reputation : 220
    Language : English

    Solved Re: Visitor Message Page

    Post by SarkZKalie December 10th 2017, 1:08 pm

    With * is an userID ma'am. Example : https://help.forumotion.com/u11115wall



    Visitor Message Page Sarkzk10
    Kami-sama
    Kami-sama
    Forumember


    Female Posts : 407
    Reputation : 12
    Language : EN, RU, DE, LT
    Location : Lithuania

    Solved Re: Visitor Message Page

    Post by Kami-sama December 10th 2017, 2:06 pm

    You would have to write a script for that to work Wink
    You need for that USER ID tag or variable. (I am interested in getting this tag as well)

    Something like this:
    Code:

    var wall = "YOUR URL";
    wall += "USER ID TAG";
    wall += "wall";
    $(".wallB").on("click", function () {
      window.location = wall;
    });
    Neptune-
    Neptune-
    Forumember


    Female Posts : 496
    Reputation : 104
    Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
    Location : Scotland, UK

    Solved Re: Visitor Message Page

    Post by Neptune- December 10th 2017, 5:05 pm

    Zandranna wrote:I was wondering if there is something similar I can use for members to click a link to go directly to their own visitor message page.

    Zandranna wrote:I was thinking of putting it along side the other contact links that show up at the bottom of each post (on my board they show there), such as profile, pm, email, online, etc.

    If I could somehow get a global link to that "wall" page I can easily add it as a default image link there via the profile fields.

    That was my orginal thought regarding it, but I'm up for any suggestion if that's not going to be possible.


    I thought it would be nonsense to display in the same area buttons for author's profile, pm and so on and link to own (reader) visitors messages' page who would be the same on each post.

    So i show that item in the toolbar's Welcome menu

    Visitor Message Page Wall10

    Artist AP > Modules > HTML & JAVASCRIPT > Javascript codes management
    -> Create a new javascript

    Title : anything explicit enough
    Placement : In all the pages
    Code :
    Code:
    $(function(){ $(function(){if(_userdata["session_logged_in"] ==1){
                    $('<li><a href="/u'+_userdata["user_id"]+'wall">Visitor messages</a></li>')
          .insertAfter('#fa_menulist li a:contains('+_lang["All_PMs"]+')');
        }
                    })});

    Submit, then enjoy Cheer
    Zandranna
    Zandranna
    Forumember


    Female Posts : 77
    Reputation : 1
    Language : English
    Location : Lancashire UK

    Solved Re: Visitor Message Page

    Post by Zandranna December 11th 2017, 4:15 am

    Thank you so much for that Neptune. It's much appreciated. And my thanks to everyone else that chipped in here.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Visitor Message Page

    Post by SLGray December 11th 2017, 2:09 pm

    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    Visitor Message Page Slgray10

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

      Current date/time is November 11th 2024, 3:13 pm