Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Jan 2018, 05:36
Bestrafung Bestrafung is offline
 
Join Date: Aug 2009
Insert UserID In CMS Article

Is it possible to include a link to the user profile page in a CMS article? For example
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I have a post explaining the features of a plugin and need to link to the profiles dynamically. I know this can be done easily in templates but I'm not sure how you would do this in a forum or cms post.

Last edited by Bestrafung; 14 Jan 2018 at 15:20.
Reply With Quote
  #2  
Old 14 Jan 2018, 18:35
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Real name: Len Kaiser
Yours does not already have it linked? Mine has it linked automatically. Maybe I'm misunderstanding what you need. This is when posting an article on the CMS, the screen is what I have...
Attached Images
File Type: jpg memberlinkscreen.jpg (65.6 KB, 12 views)
Reply With Quote
  #3  
Old 18 Jan 2018, 06:04
Bestrafung Bestrafung is offline
 
Join Date: Aug 2009
Originally Posted by HM666 View Post
Yours does not already have it linked? Mine has it linked automatically. Maybe I'm misunderstanding what you need. This is when posting an article on the CMS, the screen is what I have...
Yeah, I have the author link. I'm trying to include the link to a user's profile in the article or forum post itself. As a temporary workaround I've added an if/else statement to member.php telling it to go to the currently logged in user's profile if a profile isn't specified in the URL/request.

EDIT: BTW, before anyone mentions it's a bad idea to edit the core file, I'm already aware. It's just a temporary workaround until I figure out a better way.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:30.

Layout Options | Width: Wide Color: