class registration system early stages
Posted: 16 June 2009 09:15 AM   [ Ignore ]
Newbie
Rank
Total Posts:  3
Joined  2009-06-15

hey hey,
thanks for your support, its very cool seeing the progress of the plugin through the forums.
Im using your user plugin for an upcoming class registration system.
I can get the info I need using this embeded template, but not when I try to pass the variable “my_teach” to the username filter.
so if I specify it with a string of the teacher name, it works. but passing of the variable gives me nothing

Class template

{exp:weblog:entries weblog="classes"}
 
<h2>{title}</h2>
 <
p>{teacher}</p>
<
p>
{embed="classes/teacher" my_teach="{teacher}"}
</p>
{/exp:weblog:entries} 

teacher embed template

{exp:user:stats username="{embed:my_teach}" member_only="no"  dynamic="off"}
   The id inside 
{member_id} 
  
The email {email} 
{/exp:user:stats} 

Is there anything I may be overlooking? or some setting I forgot to set?

Profile
 
 
Posted: 16 June 2009 12:20 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

Is it possible you have some kind of formatting applied to that field? smile

 Signature 
Profile
 
 
Posted: 16 June 2009 12:30 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  3
Joined  2009-06-15

thanks for the quick reply Kelsey,

I went ahead and removed the Xhtml formatting and set it to none for the custom weblog field {teacher}, still no cigar though.
im also running this test, but its like its not being set at all. Again, when I type in the teacheruser name instead of the variable, I get the test, but passing the variable gets me nothing

{if embed:my_teach}
This will display 
if embed:my_teach is set.
{/if} 
Profile
 
 
Posted: 17 June 2009 08:04 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

Strange… I actually got this one to work in my tests wink

For starters, you can remove the member_only=“no” parameter if you’re NOT using the User Category feature wink

Secondly, which versions/builds of User and ExpressionEngine are you using? smile

 Signature 
Profile
 
 
Posted: 17 June 2009 10:20 AM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  3
Joined  2009-06-15

Im currently using
ExpressionEngine 1.6.3
User 2.0.7

are there any issues with that EE release? 

is there anything else I could try to see if there is anything missing?

Profile
 
 
Posted: 17 June 2009 12:53 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8210
Joined  2006-10-18

ExpressionEngine 1.6.3 is pretty old…

It’s possible this isn’t working correctly because of the old version wink

 Signature 
Profile