Use tags like [FIRST_NAME] [LAST_NAME] in articles

  • Chas Large
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Lets do it together
More
8 years 3 months ago - 8 years 3 months ago #93460 by Chas Large
Is it possible to use information from Membership Pro fields like [FIRST_NAME] [LAST_NAME] elsewhere in Joomla? I would like to create welcome pages (articles) which display a users real name using these tags and maybe others from custom fields.

Appreciate any advice.

Thanks
Chas.

We can do it.
Last edit: 8 years 3 months ago by Chas Large.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #93550 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Use tags like [FIRST_NAME] [LAST_NAME] in articles
Hello Chas

Unfortunately, this feature is not supported.

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Chas Large
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Lets do it together
More
8 years 3 months ago #93554 by Chas Large
Oh, that's a shame,, maybe I'll pull the data directly from the Joomla core database then.

Appreciate the response,

Chas.

We can do it.

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago - 7 years 6 months ago #104979 by Bill Worden
Replied by Bill Worden on topic Use tags like [FIRST_NAME] [LAST_NAME] in articles
I would really like to use the membership_id in articles, I have a badge that we have created and to be able to use some of the user info tags from Membership Pro would be great.

Or how about using something like php? <?php echo $user-> [MEMBERSHIP_ID];?>
Can this be done?
Last edit: 7 years 6 months ago by Bill Worden.

Please Log in or Create an account to join the conversation.

  • Chas Large
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Lets do it together
More
7 years 6 months ago #104980 by Chas Large

Bill Worden wrote: I would really like to use the membership_id in articles, I have a badge that we have created and to be able to use some of the user info tags from Membership Pro would be great.

Or how about using something like php? <?php echo $user-> [MEMBERSHIP_ID];?>
Can this be done?


I found this Joomla Extension Nice User Info, which allows me to easily pull in data from the Joomla dB, works good.

extensions.joomla.org/extensions/extensi...ings/nice-user-info/

We can do it.
The following user(s) said Thank You: Bill Worden

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #104982 by Bill Worden
Replied by Bill Worden on topic Use tags like [FIRST_NAME] [LAST_NAME] in articles
Their site is having issues I get ( Error displaying the error page: Application Instantiation Error: Could not connect to MySQL. )
can it pull from an table in the database?

Please Log in or Create an account to join the conversation.

  • Chas Large
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Lets do it together
More
7 years 6 months ago #104983 by Chas Large

Bill Worden wrote: Their site is having issues I get ( Error displaying the error page: Application Instantiation Error: Could not connect to MySQL. )
can it pull from an table in the database?


That says their site is corrupted. Their support was non existent anyway but I used their code.

Send me a PM on here and I'll email the free version, which just pulls username from the user table of the JDb So yes, to your question.

Chas

We can do it.
The following user(s) said Thank You: Bill Worden

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #104984 by Bill Worden
Replied by Bill Worden on topic Use tags like [FIRST_NAME] [LAST_NAME] in articles
I appreciate that but I really need the membership_id field and plan field.

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #105013 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Use tags like [FIRST_NAME] [LAST_NAME] in articles
This would require developing a content plugin, I think. I will try to have it ready for you in the next two weeks

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
7 years 6 months ago #105020 by Alan Bennett
Replied by Alan Bennett on topic Use tags like [FIRST_NAME] [LAST_NAME] in articles
Check out www.regularlabs.com/extensions/sourcerer

You can embed code in an article. I use to create SQL scripts that I want to run from a menuitem.

It should do the trick and its free.
The following user(s) said Thank You: Bill Worden

Please Log in or Create an account to join the conversation.