[Solved] Displaying User Pr0perties in Forum Made Simply

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Allyfied
Forum Members
Forum Members
Posts: 15
Joined: Mon May 05, 2008 8:45 am

[Solved] Displaying User Pr0perties in Forum Made Simply

Post by Allyfied »

Hi!

i have Forum Made Simply 0.9.2 installed. How can i display some more user properties in the 'forum info' section? There is already the username and the post count displayed. I'd like to add the country-property which i declared in Front End users. How do i access the feu-properties?
{$userinfo.country} does not work

Any idea?

cu
Last edited by Allyfied on Sat Nov 22, 2008 5:30 pm, edited 1 time in total.
Allyfied
Forum Members
Forum Members
Posts: 15
Joined: Mon May 05, 2008 8:45 am

Re: Displaying User Pr0perties in Forum Made Simply

Post by Allyfied »

so ok, after reading all over the forum and some manuals i decided to make a SQL query:

Code: Select all

SELECT cms_module_feusers_properties.data
FROM cms_module_feusers_users, cms_module_feusers_properties
WHERE {$entry->poster} = cms_module_feusers_users.username 
	AND 
	  cms_module_feusers_users.id = cms_module_feusers_properties.userid
	AND 
	  cms_module_feusers_properties.title = "contry"
I tried this on phpMyAdmin (with replacing {$entry->poster} with a certain username) and it works fine.

How to integrate the query in the topic template of the Forum?

cu
Allyfied
Forum Members
Forum Members
Posts: 15
Joined: Mon May 05, 2008 8:45 am

[Solved] Displaying User Properties in Forum Made Simply

Post by Allyfied »

Oh my Goodness! I've found a ready programmed UDT:
http://wiki.cmsmadesimple.org/index.php ... ers_module

works fine!

cu
Post Reply

Return to “Modules/Add-Ons”