my posts
4 posters
Page 1 of 1
my posts
https://stihi-podval.forumotion.com/spa/u1
here is such a link from the profile: user messages, how to make this link displayed in the Login widget, of course, the messages of the user who sees this widget when logging in, that is, their avatar, the number of personal accounts, etc.
so that a personal uN is generated at the end of the link
here is such a link from the profile: user messages, how to make this link displayed in the Login widget, of course, the messages of the user who sees this widget when logging in, that is, their avatar, the number of personal accounts, etc.
so that a personal uN is generated at the end of the link
Re: my posts
Hello
Have you seen this to a forumotion forum ?
Iam not sure I understand what you want to do
Have you seen this to a forumotion forum ?
Iam not sure I understand what you want to do
Re: my posts
Are you talking about the widget on the portal of the support forum?


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: my posts
Hello there,
If I understood correctly, you want to edit a widget to show stat links belonging to person who is logged in currently.
To do such a thing, you can simply add something like this to the main code of the widget;
For further editing, I suggest you take a look at this topic as well;
https://help.forumotion.com/t48637-list-of-variables
Hope it helps.
If I understood correctly, you want to edit a widget to show stat links belonging to person who is logged in currently.
To do such a thing, you can simply add something like this to the main code of the widget;
- Code:
<a rel="nofollow" href="/spa/{USERNAME}">Your Messages</a>
- Code:
{USERNAME}
For further editing, I suggest you take a look at this topic as well;
https://help.forumotion.com/t48637-list-of-variables
Hope it helps.
skouliki likes this post
Re: my posts
SirLaplace wrote:Hello there,
If I understood correctly, you want to edit a widget to show stat links belonging to person who is logged in currently.
To do such a thing, you can simply add something like this to the main code of the widget;
- Code:
<a rel="nofollow" href="/spa/{USERNAME}">Your Messages</a>
part gets the information from the logged in user. So, if you want to give link for messages, you can use /spa/. If you want to give link for topics, you can turn it into /sta/ and so on.
- Code:
{USERNAME}
For further editing, I suggest you take a look at this topic as well;
https://help.forumotion.com/t48637-list-of-variables
Hope it helps.
this not job
Re: my posts
I'm not sure if hitting "dislike" was necessary
I've tried it myself in a dummy forum before suggesting here (ModernBB and Invision as well, though it shouldn't depend on the forum version), it works perfectly fine for me but maybe I misunderstood the question. (It does not show as uN in the link, rather shows the username, but still, it directs to the correct page anyway.)
It looks like none of us understood what you need precisely. Could you give us screenshots of where you want these links to appear? Because maybe we are having communication problems regarding the proper names of the sections. Maybe you meant the toolbar, the navigation bar, a custom widget, or the login pop-up, I'm not entirely sure.
I can also suggest something like this maybe?
Modules > Javascript Codes Management > Create New > Name: Doesn't Matter, Placement: In All the Pages
This will create a variable for the users ID number. Then we can use it in anywhere we want.
Simply adding something like this;
I honestly don't know how or if we can use JS variable directly in HTML link, so that's why I created the link in the JS as well.
Note: ID's I used also doesn't matter as long as HTML matches with JS.

I've tried it myself in a dummy forum before suggesting here (ModernBB and Invision as well, though it shouldn't depend on the forum version), it works perfectly fine for me but maybe I misunderstood the question. (It does not show as uN in the link, rather shows the username, but still, it directs to the correct page anyway.)
It looks like none of us understood what you need precisely. Could you give us screenshots of where you want these links to appear? Because maybe we are having communication problems regarding the proper names of the sections. Maybe you meant the toolbar, the navigation bar, a custom widget, or the login pop-up, I'm not entirely sure.
I can also suggest something like this maybe?
Modules > Javascript Codes Management > Create New > Name: Doesn't Matter, Placement: In All the Pages
- Code:
(function($) {
'use strict';
$(function() {
if (!_userdata.session_logged_in) return;
var userId = _userdata.user_id;
$('#user-msg').attr('href', '/spa/u' + userId);
$('#user-pst').attr('href', '/sta/u' + userId);
});
}(jQuery));
This will create a variable for the users ID number. Then we can use it in anywhere we want.
Simply adding something like this;
- Code:
<a id="user-msg" href="">link to messages</a>
<a id="user-pst" href="">link to posts</a>
I honestly don't know how or if we can use JS variable directly in HTML link, so that's why I created the link in the JS as well.
Note: ID's I used also doesn't matter as long as HTML matches with JS.
skouliki, SarkZKalie, TonnyKamper and poesia-verses like this post
Re: my posts
solved
/
it's a giant script! thank you. it creates a FEED of messages
/
it's a giant script! thank you. it creates a FEED of messages
SirLaplace likes this post

» New posts, no new posts, locked forum etc (Full set needed) Plus Gallery Button
» How to remove contact buttons from posts & information/options in writing posts?
» Anti double posts And Before private messag need minimum posts. Help, Urgent, Few questions, Problems, SOS
» How to make topics so they don't count posts (like free spam but it aint raising members posts)
» The option of making posts in a forum not count to your total posts.
» How to remove contact buttons from posts & information/options in writing posts?
» Anti double posts And Before private messag need minimum posts. Help, Urgent, Few questions, Problems, SOS
» How to make topics so they don't count posts (like free spam but it aint raising members posts)
» The option of making posts in a forum not count to your total posts.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum