|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Entry author avatar (author's avatar on entry page) |
Entry author avatar |
Korijs, in Blog and Site News the $AVATAR_URL$ code may be used for this purpose, e.g.
Code <?if($AVATAR_URL$)?><img src="$AVATAR_URL$" style="width:100px;height:100px;border:0 none;" /><?endif?> The $code$ is not available in other modules, so you'll need a script: Put the avatar code on User's personal page into a span: Code <span id="userAvatar">Code</span> And paste the following into the template where you want the avatar to be displayed: Code <span style="here you can put the necessary styles"> <a href="javascript://" onclick="window.open('/index/8-$UID$','user','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;" id="uAvaBox"> <script type="text/javascript"> $('#uAvaBox').load('/index/8-$UID$ #userAvatar'); </script></a> </span> I'm not active on the forum anymore. Please contact other forum staff.
|
OHMM...
For publ modules, $UID$ code is only for the current group user enter the site not person adding entry ~~ Post edited by lanh - Wednesday, 2014-12-24, 3:16 PM
|
| |||
| |||