Page 2 of 2«12
uCoz Community » uCoz Modules » Forum » Avatars on Forums (everything about forum avatars goes here)
Avatars on Forums
FpsNoob
Posts: 2
Reputation: 0

Message # 16 | 8:58 PM
Here is the code!

Code
<table class="postTable" border="0" cellpadding="2" cellspacing="1" width="100%">
   <tbody>
   <tr>
   <td class="postTdTop" align="center" width="23%"><b><font color="#ffffff"> </font></b> <a class="postUser" href="javascript://" onclick="emoticon('[b]$USERNAME$[/b],');return false;">$USERNAME$</a></td>
   <td class="postTdTop">Date: $WDAY$, $DATE$, $TIME$ | Message # $NUMBER$</td>
   </tr>
   <tr>
   <td class="postTdInfo" valign="top"><div align="center">
   <table style="border-collapse: collapse;" border="0" cellpadding="0" width="202">
   <tbody>
   <tr>
   <td align="center"><div align="center">
   <table border="0" cellpadding="0" cellspacing="0">
   <tbody>
   <tr>
   <td background="/images/1.png" height="17" width="17"></td>
   <td background="/images/2.png" height="17"></td>
   <td background="/images/3.png" height="17" width="17"></td>
   </tr>
   <tr>
   <td background="/images/4.png" width="17"></td>
   <td><?if($AVATAR_URL$)?>
   <img title="$USERNAME$" class="userAvatar" border="0" src="$AVATAR_URL$" alt="" />
   <?else?>
   <img title="$USERNAME$" border="0" src="/profile/noavatar.gif" alt="" />
   <?endif?></td>
   <td background="/images/5.png" width="17"></td>
   </tr>
   <tr>
   <td background="/images/6.png" height="17" width="17"></td>
   <td background="/images/7.png" height="17"></td>
   <td background="/images/8.png" height="17" width="17"></td>
   </tr>
   </tbody>
   </table>
   </div></td>
   </tr>
   <tr>
   <td align="center"><?if($GROUP_ICON$)?>
   <div class="postRankIco"> $GROUP_ICON$</div>
   <?endif?></td>
   </tr>
   <tr>
   <td align="center"><?if($POSTS$)?>
   <div class="numposts"> Messages: <span class="unp">$POSTS$</span></div>
   <?endif?></td>
   </tr>
   <tr>
   <td align="center">Reproofs: <a class="banPercent" title="View reproofs history" href="$READ_BAN_URL$" onclick="openLayerB($READ_BAN_URL$);return false;">$BAN_RATING$</a><?if($DO_BAN_URL$)?>  <a title="Change reproofs level" class="banDo" href="$DO_BAN_URL$">±</a></div><?endif?> <br /></td>
   </tr>
   <tr>
   <td align="center"><script type="text/javascript">   
function checkajax$ID$(){   
forms=document.getElementsByTagName('form');   
for(f=0;f<forms.length;f++){   
if(forms[f].id=='frm981'){   
if(repval=='minus'){document.getElementById('a1').checked='true';   
forms[f].reason.value='Òüôó íà òåáÿ, çà òâîé îòâåò â òåìå:'+window.location.href;   
document.getElementById('submfrm981').click();   
document.getElementById('sbt981').onclick=null;   
clearInterval(ajaxtime);}
else{document.getElementById('a2').checked='true';   
forms[f].reason.value='Ñïàñèáî çà :'+window.location.href;   
document.getElementById('submfrm981').click();   
document.getElementById('sbt981').onclick=null;   
clearInterval(ajaxtime);}}}}   
</script>
   Respect<br />
   <?if($DO_REP_URL$)?>
   <a href="$DO_REP_URL$"> <img onclick="repchange('minus','$ID$');" title="To express dissatisfaction" src="/profile/icon-minus.gif" align="absmiddle" border="0" alt="" /></a>
   <?endif?>
   <a href="$READ_REP_URL$" onclick="openLayerB('Rh',0,'/index/9','Reputation',400,250,1);return false;" title="View history reputation">[ $REP_RATING$ ]</a>
   <?if($DO_REP_URL$)?>
   <a href="$DO_REP_URL$"> <img onclick="repchange('plus','$ID$');" title="Express gratitude" src="/profile/icon-plus.gif" align="absmiddle" border="0" alt="" /></a>
   <?endif?></td>
   </tr>
   <tr>
   <td align="center"><?if($USER_STATUS$)?>
   <div class="statusBlock"> $USER_STATUS$</div>
   <?endif?></td>
   </tr>
   </tbody>
   </table>
   </div>
   <?if($GROUP_ID$)?>
   <?else?>
   <br />
   <br />
   <br />
   <br />
   <br />
   <?endif?></td>
   <td class="posttdMessage" valign="top"><span id="eMessage$ID$">$MESSAGE$</span>
   <?if($ATTACHMENT$)?>
   <div class="eAttach" align="left">Attachments: $ATTACHMENT$</div>
   <?endif?>
   <?if($SIGNATURE$)?>
   <br />
   <hr class="signatureHr" align="left" size="1" width="150" />
   <span class="signatureView">$SIGNATURE$</span>
   <?endif?>
   <?if($EDITEDBY$)?>
   <br />
   <br />
   <div class="edited">Edited by:$EDITEDBY$</div>
   <?endif?></td>
   </tr>
   <tr>
   <td class="postBottom" align="center"><?if($USER_IP$)?>
   <div class="postip">[ <a class="postIpLink" href="http://www.ripe.net/perl/whois?$USER_IP$" target="_blank">$USER_IP$</a>
   <?if($POST_COUNTRY_ID$)?>
   (<a href="javascript://" onclick="prompt("","$POST_COUNTRY$");return false;="false;"">$POST_COUNTRY_ID$</a>)
   <?endif?>
   ]</div>
   <?else?>
   <?endif?></td>
   <td class="postBottom"><table border="0" cellpadding="0" cellspacing="0" width="100%">
   <tbody>
   <tr>
   <td>$USER_DETAILS_ICON_BAR$</td>
   <td style="padding-right: 15px;" align="right">$ENTRY_MANAGE_ICON_BAR$</td>
   <td align="right" nowrap="nowrap" width="2%">$ON_TOP_ICON$$DEL_ENTRY_FIELD$</td>
   </tr>
   </tbody>
   </table></td>
   </tr>
   </tbody>
</table>
<script type="text/javascript">checkBot($ID$,'$USERNAME$','$WDAY$, $DATE$, $TIME$',$GROUP_ID$);</script>


Preview : http://forum-solutions.ucoz.net/forum/2-1-1
Post edited by FpsNoob - Monday, 2011-06-20, 9:10 PM
Susmoy
Posts: 185
Reputation: 6

Message # 17 | 5:07 PM
Hello Again,

In my site there are lot's of users who didn't select any Avatars in their profile and when they post massages on forum then nothing shows on their Profile picture place.
I want this Image for those who don't selected any Avatars but how to do it?

Image:

Regards,

Added (2011-06-22, 11:07 Am)
---------------------------------------------
And One More Thing , I know This thread must be on Site Users Forum but I posted it here because I want only solution of Forum No avatars!


If I Help you then Please +Rep and Awards
Blazer
Posts: 310
Reputation: 25

Message # 18 | 5:11 PM
Susmoy, Go to CP » Forum » Appearance of entries and replace the avatar code with this code.



Paste the No avatar image URL instead of the Green text.

If i helped you + My Reputation and Give me an Award.
Post edited by Blazer - Wednesday, 2011-06-22, 5:13 PM
DaveedBrown
Posts: 21
Reputation: 0

Message # 19 | 5:12 PM
Susmoy,
My solution:
Code
<?if($USER_AVATAR_URL$)?><img alt="" src="$USER_AVATAR_URL$" border="0" /><?else?><img alt="" src="HERE_COMES_THE_URL" border="0" /><?endif?>

Yeah, this is a signature...

Greetings from
Hungarian
uCoz
Forum! :)
Post edited by DaveedBrown - Wednesday, 2011-06-22, 5:16 PM
Susmoy
Posts: 185
Reputation: 6

Message # 20 | 5:19 PM
Blazer, Hey Bro, Your Code worked and DaveedBrown, Your One Is Not Working Bro..Sorry
If I Help you then Please +Rep and Awards
DaveedBrown
Posts: 21
Reputation: 0

Message # 21 | 5:22 PM
Susmoy, sorry, i didn't read that you want it to the forum sad
Yeah, this is a signature...

Greetings from
Hungarian
uCoz
Forum! :)
Susmoy
Posts: 185
Reputation: 6

Message # 22 | 6:38 PM
DaveedBrown, It's Okay , The Important thing is You At least Tried To Help me smile
If I Help you then Please +Rep and Awards
SDMTEAM
Posts: 84
Reputation: 0

Message # 23 | 7:18 AM
Quote (FpsNoob)
ere is the code!

Code
<table class="postTable" border="0" cellpadding="2" cellspacing="1" width="100%">
<tbody>
<tr>
<td class="postTdTop" align="center" width="23%"><b><font color="#ffffff"> </font></b> <a class="postUser" href="javascript://" onclick="emoticon('$USERNAME$,');return false;">$USERNAME$</a></td>
<td class="postTdTop">Date: $WDAY$, $DATE$, $TIME$ | Message # $NUMBER$</td>
</tr>
<tr>
<td class="postTdInfo" valign="top"><div align="center">
<table style="border-collapse: collapse;" border="0" cellpadding="0" width="202">
<tbody>
<tr>
<td align="center"><div align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td background="/images/1.png" height="17" width="17"></td>
<td background="/images/2.png" height="17"></td>
<td background="/images/3.png" height="17" width="17"></td>
</tr>
<tr>
<td background="/images/4.png" width="17"></td>
<td><?if($AVATAR_URL$)?>
<img title="$USERNAME$" class="userAvatar" border="0" src="$AVATAR_URL$" alt="" />
<?else?>
<img title="$USERNAME$" border="0" src="/profile/noavatar.gif" alt="" />
<?endif?></td>
<td background="/images/5.png" width="17"></td>
</tr>
<tr>
<td background="/images/6.png" height="17" width="17"></td>
<td background="/images/7.png" height="17"></td>
<td background="/images/8.png" height="17" width="17"></td>
</tr>
</tbody>
</table>
</div></td>
</tr>
<tr>
<td align="center"><?if($GROUP_ICON$)?>
<div class="postRankIco"> $GROUP_ICON$</div>
<?endif?></td>
</tr>
<tr>
<td align="center"><?if($POSTS$)?>
<div class="numposts"> Messages: <span class="unp">$POSTS$</span></div>
<?endif?></td>
</tr>
<tr>
<td align="center">Reproofs: <a class="banPercent" title="View reproofs history" href="$READ_BAN_URL$" onclick="openLayerB($READ_BAN_URL$);return false;">$BAN_RATING$</a><?if($DO_BAN_URL$)?> <a title="Change reproofs level" class="banDo" href="$DO_BAN_URL$">±</a></div><?endif?> <br /></td>
</tr>
<tr>
<td align="center"><script type="text/javascript">
function checkajax$ID$(){
forms=document.getElementsByTagName('form');
for(f=0;f<forms.length;f++){
if(forms[f].id=='frm981'){
if(repval=='minus'){document.getElementById('a1').checked='true';
forms[f].reason.value='Òüôó íà òåáÿ, çà òâîé îòâåò â òåìå:'+window.location.href;
document.getElementById('submfrm981').click();
document.getElementById('sbt981').onclick=null;
clearInterval(ajaxtime);}
else{document.getElementById('a2').checked='true';
forms[f].reason.value='Ñïàñèáî çà :'+window.location.href;
document.getElementById('submfrm981').click();
document.getElementById('sbt981').onclick=null;
clearInterval(ajaxtime);}}}}
</script>
Respect<br />
<?if($DO_REP_URL$)?>
<a href="$DO_REP_URL$"> <img onclick="repchange('minus','$ID$');" title="To express dissatisfaction" src="/profile/icon-minus.gif" align="absmiddle" border="0" alt="" /></a>
<?endif?>
<a href="$READ_REP_URL$" onclick="openLayerB('Rh',0,'/index/9','Reputation',400,250,1);return false;" title="View history reputation">[ $REP_RATING$ ]</a>
<?if($DO_REP_URL$)?>
<a href="$DO_REP_URL$"> <img onclick="repchange('plus','$ID$');" title="Express gratitude" src="/profile/icon-plus.gif" align="absmiddle" border="0" alt="" /></a>
<?endif?></td>
</tr>
<tr>
<td align="center"><?if($USER_STATUS$)?>
<div class="statusBlock"> $USER_STATUS$</div>
<?endif?></td>
</tr>
</tbody>
</table>
</div>
<?if($GROUP_ID$)?>
<?else?>
<br />
<br />
<br />
<br />
<br />
<?endif?></td>
<td class="posttdMessage" valign="top"><span id="eMessage$ID$">$MESSAGE$</span>
<?if($ATTACHMENT$)?>
<div class="eAttach" align="left">Attachments: $ATTACHMENT$</div>
<?endif?>
<?if($SIGNATURE$)?>
<br />
<hr class="signatureHr" align="left" size="1" width="150" />
<span class="signatureView">$SIGNATURE$</span>
<?endif?>
<?if($EDITEDBY$)?>
<br />
<br />
<div class="edited">Edited by:$EDITEDBY$</div>
<?endif?></td>
</tr>
<tr>
<td class="postBottom" align="center"><?if($USER_IP$)?>
<div class="postip">[ <a class="postIpLink" href="http://www.ripe.net/perl/whois?$USER_IP$" target="_blank">$USER_IP$</a>
<?if($POST_COUNTRY_ID$)?>
(<a href="javascript://" onclick="prompt("","$POST_COUNTRY$");return false;="false;"">$POST_COUNTRY_ID$</a>)
<?endif?>
]</div>
<?else?>
<?endif?></td>
<td class="postBottom"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>$USER_DETAILS_ICON_BAR$</td>
<td style="padding-right: 15px;" align="right">$ENTRY_MANAGE_ICON_BAR$</td>
<td align="right" nowrap="nowrap" width="2%">$ON_TOP_ICON$$DEL_ENTRY_FIELD$</td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
<script type="text/javascript">checkBot($ID$,'$USERNAME$','$WDAY$, $DATE$, $TIME$',$GROUP_ID$);</script>

Preview : http://forum-solutions.ucoz.net/forum/2-1-1


No Use Full to me Thanks ...........
Natashko
Posts: 3366
Reputation: 171

Message # 24 | 8:44 AM
SDMTEAM,
Quote (SDMTEAM)
No Use Full to me

Because
Quote (Natashko)
I do not think it is possible to accomplish that.
uCoz Community » uCoz Modules » Forum » Avatars on Forums (everything about forum avatars goes here)
Page 2 of 2«12
Search: