Hello, I just created a custom template called "pulso_gallery" with this content:
Created a plug-in to call the custom template under: postbit_display_start
And added it below the IM icons on the postbit template.
It works fine, with the only problem that the variables $userinfo[username] and $userinfo[userid] do not work. They do not appear on the template. How can I call the user id and username on that custom template?
Thanks
HTML Code:
<a href="/profile/showgallery.php?cat=500&ppuser=$userinfo[userid]"><img src="$stylevar[imgdir_misc]/pulso_gallery_icon.gif" alt="Ver Galería de $userinfo[username]" border="0"></a>
PHP Code:
eval('$view_pulso_gallery = "' . fetch_template('pulso_gallery') . '";');
It works fine, with the only problem that the variables $userinfo[username] and $userinfo[userid] do not work. They do not appear on the template. How can I call the user id and username on that custom template?
Thanks
Comment