How to get member link mod_news
4 posters
Page 1 of 1
How to get member link mod_news
{post_row.POSTER} in mod_news there is no link to the profile page
Can anyone help me how to make /u personal page link?
Can anyone help me how to make /u personal page link?
zzlasperpen- Forumember
-
Posts : 47
Reputation : 1
Language : VietNam
Re: How to get member link mod_news
@zzlasperpen,
I did not quite understand what you are looking for. Can you please share some more information in what exact area of your forum you are referring to and maybe post an image so we understand your problem better?
Best regards,
TC.
I did not quite understand what you are looking for. Can you please share some more information in what exact area of your forum you are referring to and maybe post an image so we understand your problem better?
Best regards,
TC.
TheCrow- Manager
-
Posts : 6794
Reputation : 789
Language : Greek, English
Re: How to get member link mod_news
Dear @zzlasperpen
If your forum is Invision as your profile stated, Go to ACP > Modules > Javascript & HTML > Javascript codes management and create a new one:
Now edit the
templates and
If it does not work or if your forum is not invisiion, or again if your profiles are edited heavily - please provide your forum address :thanks:
If your forum is Invision as your profile stated, Go to ACP > Modules > Javascript & HTML > Javascript codes management and create a new one:
- Title: as you prefer
- Where: in all pages
- Code:
- Code:
$(function() { $(".mod_news_poster").each(function() {
var element = $(this);
var username = $(this).text();
var URL = '/memberlist?mode=lastvisit&order=DESC&submit=Ok&username='+username;
$.ajax({
url: URL,
type:'GET',
success: function(data){
var userlink = $(data).find('.popupmenu li:first-of-type a.profile-icon').attr('href'); console.log(userlink);
$(element).html('<span class="mod_news_poster" style="color:#219CB5"><a href="'+userlink+'"><strong>'+username+'</strong></a></span>');
}
});
});});
Now edit the
|
- Find:
- Code:
{post_row.POSTER}
- Replace with:
- Code:
<span class="mod_news_poster">{post_row.POSTER}</span>
If it does not work or if your forum is not invisiion, or again if your profiles are edited heavily - please provide your forum address :thanks:
Niko- Hyperactive
-
Posts : 2569
Reputation : 157
Language : English, Italian, French
Location : Italy
skouliki, SarkZKalie, TheCrow and zzlasperpen like this post
Re: How to get member link mod_news
thank you so much my problem is solved

zzlasperpen- Forumember
-
Posts : 47
Reputation : 1
Language : VietNam
Niko likes this post
Re: How to get member link mod_news
You are welcome 

Niko- Hyperactive
-
Posts : 2569
Reputation : 157
Language : English, Italian, French
Location : Italy
Re: How to get member link mod_news
Thank you for your help @Niko
Problem solved & topic archived.
|
The topic was posted in the wrong section, so I have moved it to the correct section.
|
Ape- Administrator
-
Posts : 18275
Reputation : 1935
Language : fluent in dork / mumbojumbo & English haha
Niko likes this post

» turning off new member link ban
» Please help ... why New member cant post link in 7d?
» if any member posts link ???
» Member donation link
» Bug in New Member Notification link
» Please help ... why New member cant post link in 7d?
» if any member posts link ???
» Member donation link
» Bug in New Member Notification link
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum