• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Custom Solutions » Informer for Last Comments (Display of Member Comments with Informers on UCOZ)
Informer for Last Comments
AdminDan
Posts: 46
Reputation: 5

Message # 1 | 5:28 AM


Creat informer :
Last Comments [Informer template]
[ Comments · Entries · Entry date D · Entries: 11 · Columns: 1 ]


And in informer put that script:
Quote
<tr> <td style="background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 3px 3px 4px;" width="28px"><a href="$PROFILE_URL$"><img src="<?if($USER_AVATAR_URL$)?>$USER_AVATAR_URL$<?else?>http://avtos.do.am/img/comment/no_avatar.png<;?endif?>" title="$USERNAME$" height="28px" border="1" width="28px"></a></td> <td class="comment_ucozon" valign="top"> <div style="padding: 5px; height: 28px; overflow: hidden;"><a href="$ENTRY_URL$" title="$ENTRY_TITLE$"><span style="font-size: 7pt;">$MESSAGE$</span></a></div></td></tr>


In to your Block put that script:
Code
<table>$MYINF_1$</table>


Go to Css and in the and put that code:
Code
.comment_ucozon {border-width: 0px 0px 1px 0px; border-style: none none solid solid; border-color: -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); -moz-use-text-color rgb(204, 204, 204); -moz-border-top-colors: none; -moz-border-right-colors: none; -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-image: none;}

Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
Cyberdasm
Posts: 639
Reputation: 7

Message # 2 | 10:51 AM
Quote
<tr> <td style="background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 3px 3px 4px;" width="28px"><a href="$PROFILE_URL$"><img src="<?if($USER_AVATAR_URL$)?>$USER_AVATAR_URL$<?else?>http://avtos.do.am/img/comment/no_avatar.png<;?endif?>" title="$USERNAME$" height="28px" border="1" width="28px"></a></td> <td class="comment_ucozon" valign="top"> <div style="padding: 5px; height: 28px; overflow: hidden;"><a href="$ENTRY_URL$" title="$ENTRY_TITLE$"><span style="font-size: 7pt;">$MESSAGE$</span></a></div></td></tr>


some code ?> not closed
and also i got some error on this script.

Added (2013-03-20, 4:51 AM)
---------------------------------------------

Quote
<tr> <td style="background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 3px 3px 4px;" width="28px"><a href="$PROFILE_URL$"><img src="<?if($USER_AVATAR_URL$)?>$USER_AVATAR_URL$<?else?>http://avtos.do.am/img/comment/no_avatar.png<;?endif?>" title="$USERNAME$" height="28px" border="1" width="28px"></a></td> <td class="comment_ucozon" valign="top"> <div style="padding: 5px; height: 28px; overflow: hidden;"><a href="$ENTRY_URL$" title="$ENTRY_TITLE$"><span style="font-size: 7pt;">$MESSAGE$</span></a></div></td></tr>


some code ?> not closed
and also i got some error on this script.

Added (2013-03-20, 4:51 AM)
---------------------------------------------

Quote
<tr> <td style="background: none repeat scroll 0% 0% rgb(255, 255, 255); padding: 3px 3px 4px;" width="28px"><a href="$PROFILE_URL$"><img src="<?if($USER_AVATAR_URL$)?>$USER_AVATAR_URL$<?else?>http://avtos.do.am/img/comment/no_avatar.png<;?endif?>" title="$USERNAME$" height="28px" border="1" width="28px"></a></td> <td class="comment_ucozon" valign="top"> <div style="padding: 5px; height: 28px; overflow: hidden;"><a href="$ENTRY_URL$" title="$ENTRY_TITLE$"><span style="font-size: 7pt;">$MESSAGE$</span></a></div></td></tr>


some code ?> not closed
and also i got some error on this script.

1F4BF3B
AdminDan
Posts: 46
Reputation: 5

Message # 3 | 11:03 AM
What is the error message ? When do you get it ? Is it on the informer ?

Added (2013-03-20, 5:03 AM)
---------------------------------------------
dense0293, Try the below script if your not sure ....

CSS: ( This below CSS can be also added just above the block in the container section

Code
<style>
  .lastComms {border:1px solid #bfbfbf;background:#ededed;-moz-border-radius:3px;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;-webkit-border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;-khtml-border-radius:3px;border-radius:3px;}  
  .lastCommsUser {text-align:left;font-size:11px;color:#232323;text-shadow: 1px 1px 0px #fff;padding:0 0 2px 4px;border-bottom:1px dotted #ccc;}  
  .lastCommsMessage {padding: 3px 0 3px 5px;height:6%;overflow: hidden;}  
  .lastCommsMessage a {text-decoration:none;}  
  .lastCommsMessage a:hover {text-decoration:underline !important;}  
  .lastCommsAvatar img {  
  width: 45px;  
  height: 45px;  
float:right;  
  border-right: 1px solid rgba(0,0,0,.2);  
  border-bottom: 1px solid rgba(0,0,0,.2);  
  -webkit-border-radius: 2px;  
  -moz-border-radius: 2px;  
  border-radius: 2px;  
  padding: 3px;  
  background-color: #e0e0e0;  
  }
</style>


Now clean your informer and add this code instead...
Code
<div class="lastComms">  
  <div class="lastCommsUser">  
  <a href="$PROFILE_URL$" ><b>$USERNAME$</b></a> commented <span title="$DATE$">$TIME$</span>  
  </div>  
  <div class="lastCommsMessage" title="$ENTRY_TITLE$"> <div class="lastCommsAvatar" ><?if($USER_AVATAR_URL$)?><img title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><img title="No Avatar" src="http://s11.radikal.ru/i183/1205/77/166b7564a74a.jpg"><?endif?> </div><a href="$ENTRY_URL$">$MESSAGE$</a></div></div><hr>


After you do the above copy the informer code ( $MYINF_yournum$ ) and paste it in a block.

Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
Cyberdasm
Posts: 639
Reputation: 7

Message # 4 | 12:00 PM
AdminDan,
I dont understand the script for my website
I need to troubleshoot it first for make it useful for my website. Heres the link of my website:
www.algaedensing.ucoz.com/news -----> in the bottom theres the problem occur

I need your help in this particular matters.
And thanks in advance

Best regards,

Algae S. Densing
www.algaedensing.ucoz.com
Head Mode

1F4BF3B
AdminDan
Posts: 46
Reputation: 5

Message # 5 | 2:16 PM
dense0293, What exactly is the problem ? let me know please.
Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
Cyberdasm
Posts: 639
Reputation: 7

Message # 6 | 7:33 AM
AdminDan, The screenshot above is not working on my website as you can see in the botom line of it. If that will be the correct form, can you make it scrollable.

Added (2013-03-28, 1:33 AM)
---------------------------------------------
is it possible to become scrollable this informer


1F4BF3B
AdminDan
Posts: 46
Reputation: 5

Message # 7 | 8:36 AM
dense0293, Yes I will .
Visit and Register with our website now !![ Looking for Posters and up-loaders ]
http://www.tinymb.com
helte26
Posts: 201
Reputation: 0

Message # 8 | 4:52 PM
hello sir how are you to all admin i have problem the picture is right side not and left side same the sample i like thats this the cren shot of my last coment thanks
Attachments: 8975373.png (255.2 Kb)
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 9 | 11:04 AM
helte6213, I can't check anything: http://screencast.com/t/2BY0C4RP
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
helte26
Posts: 201
Reputation: 0

Message # 10 | 5:29 PM
aw how to fixed it this problem
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 11 | 10:11 AM
helte6213, since I don't have access to the page, I can't provide more support.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
helte26
Posts: 201
Reputation: 0

Message # 12 | 6:13 PM
bigblog, admin checks this link http://forum.ucoz.com/_fr/170/8975373.png right side the picture not and left side cry cry
uCoz Community » For Webmasters » Custom Solutions » Informer for Last Comments (Display of Member Comments with Informers on UCOZ)
  • Page 1 of 1
  • 1
Search: