1 itzsnider Mar 10, 2005 17:07
3 edb Mar 10, 2005 21:59
Start with http://doc.b2evolution.net/0.9.1/elementindex.html then click the letter then scroll until you find the function you're looking to tweak. Seems to me that maybe the third parameter will allow an image, but no promises that it'll work.
http://doc.b2evolution.net/0.9.1/evocore/_blogs_b2evocore__functions_users_php.html#functionuser_login_link covers one particular func. Sort of seems like (maybe)
user_login_link( '<li>', '</li>', '<img src="blahblahblah"' />' );
MIGHT do the deed for you.
If not consider faking it.
if( is_logged_in() ) { ?>
<li><a href="whatever the link to your admin is"><img src="blahblahblah" /></a></li>
<?php } else { ?>
<li><a href="whatever the link to your register is assuming you allow registration"><img src="blah2blah2blah2" /></a></li>
<?php }
Or something like that! The reason for the maybes is because sometimes functions strip tags from what you shove in via parameters. It is possible that including an image tag in the function parameters will result in displaying tag-like text and not actually implementing the image. Dunno, but it sounds like you might find out!
4 itzsnider Mar 11, 2005 14:05
Awesome thank you very much for your help Ed
I will try this in a few minutes once I get my ftp stuff setup.
anyone anyone?