Visitor Message Page

Go down

Solved Visitor Message Page

Post by Zandranna on December 10th 2017, 12:52 pm

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.
avatar
Zandranna
Forumember

Female Posts : 66
Reputation : 1
Language : English
Location : Dorset UK

http://zandranna.forumotion.com/

Back to top Go down

Solved Re: Visitor Message Page

Post by APE on December 10th 2017, 2:33 pm

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.



avatar
APE
Administrator
Administrator

Male Posts : 12458
Reputation : 1304
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Visitor Message Page

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

Hey Wink

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

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

http://hogas.huhohi.com/

Back to top Go down

Solved Re: Visitor Message Page

Post by Neptune- on December 10th 2017, 3:11 pm

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 ?
avatar
Neptune-
Forumember

Male Posts : 229
Reputation : 38
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

Solved Re: Visitor Message Page

Post by Luffy on December 10th 2017, 6: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?
avatar
Luffy
Manager
Manager

Male Posts : 5553
Reputation : 616
Language : Greek, English
Location : Greece

https://help.forumotion.com

Back to top Go down

Solved Re: Visitor Message Page

Post by Zandranna on December 10th 2017, 6: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.
avatar
Zandranna
Forumember

Female Posts : 66
Reputation : 1
Language : English
Location : Dorset UK

http://zandranna.forumotion.com/

Back to top Go down

Solved Re: Visitor Message Page

Post by SLGray on December 10th 2017, 6:51 pm

Would this work:
Code:
/u*wall


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43665
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Visitor Message Page

Post by Zandranna on December 10th 2017, 7:01 pm

Sadly no. That gives a 404 error.
avatar
Zandranna
Forumember

Female Posts : 66
Reputation : 1
Language : English
Location : Dorset UK

http://zandranna.forumotion.com/

Back to top Go down

Solved Re: Visitor Message Page

Post by SarkZKalie on December 10th 2017, 7:08 pm

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

Male Posts : 775
Reputation : 115
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Visitor Message Page

Post by Kami-sama on December 10th 2017, 8: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;
});
avatar
Kami-sama
Forumember

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

http://hogas.huhohi.com/

Back to top Go down

Solved Re: Visitor Message Page

Post by Neptune- on December 10th 2017, 11: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



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
avatar
Neptune-
Forumember

Male Posts : 229
Reputation : 38
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : France

https://www.galaxie-series.net/

Back to top Go down

Solved Re: Visitor Message Page

Post by Zandranna on December 11th 2017, 10:15 am

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

Female Posts : 66
Reputation : 1
Language : English
Location : Dorset UK

http://zandranna.forumotion.com/

Back to top Go down

Solved Re: Visitor Message Page

Post by SLGray on December 11th 2017, 8:09 pm

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


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43665
Reputation : 3104
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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