Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-10 15:18:55

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

rss_suparchive meets rvm_privileged ...?

I use both plugins.

What I’d like to do is publish a list of a Freelancers posts if they are looged into the Admin side..

I have a personalised greeting to Freelancers at the top of my ‘Freelancers’ page using <txp:rvm_privileged_user />

What I’d like to do is somehow pass this into <txp:rss_suparchive author=”…

Any one know of a way I could do this?

Or an alternative method?

Thanks
Geoff

Last edited by geoff777 (2008-07-10 15:23:48)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#2 2008-07-10 15:31:53

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: rss_suparchive meets rvm_privileged ...?

Have you tried <txp:asy_wondertag><txp:rss_suparchive author="<txp:rvm_privileged_user name="your_author" />" /></txp:asy_wondertag>?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2008-07-10 17:16:17

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: rss_suparchive meets rvm_privileged ...?

I wasn’t aware of asy_wondertag it could be very useful :-)

but unfortunately from testing this, it seems rss_suparchive author=”… uses txp_users.name and <txp:rvm_privileged_user /> outputs txp_users.RealName

I’ll keep trying but I don’t think that these two plugins will play together even using asy_wondertag

Edit:- I’ve just re-read Ruud’s plugin notes and my mistake I can use type=“name” so this might work :-)

Last edited by geoff777 (2008-07-10 17:46:46)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#4 2008-07-10 17:59:19

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: rss_suparchive meets rvm_privileged ...?

Hi Uli, Brilliant I’ve got it working !!!! – Thank you again.

Now Freelancers logged into Admin side get a personalised page Front Side with a ‘Personal Greeting’ and then the code below in a sidebar lists their latest 15 articles.

<h2><txp:rvm_privileged_user /> - Latest</h2>
<txp:asy_wondertag><txp:rss_suparchive section="*" author="<txp:rvm_privileged_user type="name" />" dateformat="%B %Y" showcommentscount="1" countprefix=" (" countsuffix=") " 
showsubdate="0"  class="aa" addbreak="1" limit="15" /> </txp:asy_wondertag>

Last edited by geoff777 (2008-07-10 17:59:44)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#5 2008-07-10 18:15:27

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: rss_suparchive meets rvm_privileged ...?

:)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB