PDA

View Full Version : Display link in postbit to users dynamics entries


gv1.3
08-11-2010, 12:03 AM
Hi Brian and all!

I was able to get this working on VB 3.x but not really sure how to get it up and running on VB4

I would like to have a link displayed in the user postbit on the forum if they have an entry posted in dynamics.

Do you know of any code I can use in VB4 to edit the postbit to enable this?

Really appreciate any info you have!

Brian
08-12-2010, 01:33 PM
What were you using originally to do this in vB3?

Our Sponsors
 

gv1.3
10-23-2010, 03:34 AM
I was using the method in this thread http://www.vbadvanced.com/forum/showthread.php?t=31762

I installed the plugin and then added this in my postbit

<if condition="$post['nrstories']"><a href="http://www.example.com/dynamics/browsecategory.php?do=member&entryuserid=$post[userid]"> Members Garage: $post[nrstories]
</if>

It would then display a link in the members postbit IF they had a dynamics entry. When the link was clicked it would take you to dynamics and show you the entries by that user.

I dont need anything to be displayed in the users profile or anything just in the postbit. If anyone can help I would be very grateful. If a donation is required to pay for someones time I would be happy to make one.

Thanks guys.

Brian
10-23-2010, 10:32 AM
Try this code instead:
<vb:if condition="$post['nrstories']"><a href="http://www.example.com/dynamics/browsecategory.php?do=member&entryuserid={vb:raw post.userid}"> Members Garage: {vb:raw post.nrstories}
</vb:if>

Our Sponsors
 

gv1.3
10-23-2010, 03:31 PM
you are indeed "the man"

thanks Brian!