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?
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.
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!
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:
skouliki, SarkZKalie, TheCrow and zzlasperpen like this post
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.
|
Niko likes this post
Similar topics
» Member donation link
» Please help ... why New member cant post link in 7d?
» why my new member cannot post external link
» Link to show when member clicks on thank you button
» How do I create a link where you hover over the link and it pops up some kinda text?
» Please help ... why New member cant post link in 7d?
» why my new member cannot post external link
» Link to show when member clicks on thank you button
» How do I create a link where you hover over the link and it pops up some kinda text?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum