WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

event variable options

Version: 4.1.47
printPrint


event variable options
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 88
Total Posts: 304
Posted 06/13/08 - 11:04 AM:
quote post
#1
Hi Paul,

In the event variable page in the manual it says:
{EVENTJOINEDLIST} - A list of the people who have joined.
-- Optional parameter: template of how it should be displayed.

and also

All the member template variables can also be used , in this context they'll show information about the owner of the event.

My question is how can you change how the Joinedlist displays and how can you use member variables on an event page or an event toplist? The normal ways of trying these don't work.

Thanks
David
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 06/14/08 - 12:41 PM:
quote post
#2
The default display data is <a href="http://www.webmastersite.net/forums/memberlist.php?action=profile&id={MEMBERID}" class="{MEMBERGROUPNAMESTYLE}">{MEMBERNAME}</a> so modify that as desired. I should change it to use {MEMBERPROFILEURL}.

ow can you use member variables on an event page or an event toplist?

I don't understand the question. You type them, or copy-paste them, of course.

Note there are no event pages, only day pages with event sections.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 88
Total Posts: 304
Posted 06/15/08 - 08:29 AM:
quote post
#3
Hi Paul,

I have this:

<!-- BEGIN TOPLIST 19 -->
<CONFIG>cal,starttime,9999999,ascending,link = {LINKID},,,0,0,0,0,0,0,,0</CONFIG>
{EVENTJOINEDLIST} - {EVENTSTARTDATE[%b %e, %Y]}
<!-- END TOPLIST 19 -->


List works fine, but as I said, I want other MEMBER field informations displayed where the EVENTJOINEDLIST is. You gave me the default data, but where can I change that? I ran a search in all the files of WSNLINKS and couldn't find it. It's not in the Language variables either. Where can I change this?

Thanks
David
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 06/15/08 - 10:52 AM:
quote post
#4
Pass it to the template variable:
{EVENTJOINEDLIST[<a href="http://www.webmastersite.net/forums/{MEMBERPROFILEURL}">{MEMBERNAME}</a>]}

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 88
Total Posts: 304
Posted 06/15/08 - 11:00 AM:
quote post
#5
Nice!!!! I didn't know you could do that. smiling face

Thanks
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.