• Page 1 of 1
  • 1
uCause Community » Trash & Archives » Forum » New quote style
New quote style
CheburatorDate: Friday, 2011-07-01, 0:39 AM | Message # 1
Member
Group: Senior Members
Messages: 43
Awards: 2
Reputation: 3
Status: :-(


Description:
New look for the "quote" in the forum.

Installation:
1. Login in to the CP and then go to Customize design - Cascading Style Sheets (CSS) and replace the following code:
Code
.quoteMessage { ... }

with this one:
Code
.quoteMessage {border:1px solid #ccc !important; margin-top:2px; padding:5px !important; background:#f3f3f3 url('http://uscripts.de/upload/quotes.png') no-repeat top right !important;}

2. Now go in the Customize design to Forum - General appearance of forum pages and add after $BODY$ the following code:
Code
<?if($PAGE_ID$='threadpage')?>     
                   <script type="text/javascript">     
                       $(".bbQuoteBlock").each(function(){     
                           var alink = $(this).find('.qName').text();     
                           if($(this).find('.qName').size()=='0'){$(this).find('.bbQuoteName').html('<div style="font-size:11px; font-family:tahoma; text-align:right; color:#a5a5a5; margin-bottom:3px;">Quote:</div>')}     
                     else if($(this).find('.qName').size()=='1'){$(this).find('.bbQuoteName').html('<div style="font-size:11px; font-family:tahoma; text-align:right; color:#a5a5a5; margin-bottom:3px;">Quote <a class="citata" style="color:#a0a0a0;" href="/index/8-0-'+alink+'"><b>'+alink+'</b></a>:</div>')}     
                     });     
                   </script>
                   <?endif?>

3. Now we have installed this script smile tags-zB11new,quote,style,
Attachments: 4685712.png(11.6 Kb)


Message edited by Cheburator - Friday, 2011-07-01, 0:46 AM
 
0 Thanked you For This Useful Post:
BlazerDate: Friday, 2011-07-01, 0:43 AM | Message # 2
Member
Group: Senior Members
Messages: 471
Awards: 2
Reputation: 4
Status: :-(
Cheburator, Nice, you create codes very fast
 
0 Thanked you For This Useful Post:
CheburatorDate: Friday, 2011-07-01, 0:46 AM | Message # 3
Member
Group: Senior Members
Messages: 43
Awards: 2
Reputation: 3
Status: :-(
Blazer, I translate them from my site biggrin I have allready them xD
 
0 Thanked you For This Useful Post:
HermesDate: Friday, 2011-07-01, 0:48 AM | Message # 4
Member
Group: Senior Members
Messages: 455
Awards: 7
Reputation: 8
Status: :-(
Cheburator, Good job smile
 
0 Thanked you For This Useful Post:
AnimorphDate: Friday, 2011-07-01, 0:49 AM | Message # 5
uCause forum Admin
Group: Developer
Messages: 2835
Awards: 73
Status: :-(
Quote (Hermes)
Good job


Indeed smile
 
0 Thanked you For This Useful Post:
Maczo12310Date: Friday, 2011-07-01, 0:55 AM | Message # 6
Member
Group: Senior Members
Messages: 987
Awards: 12
Reputation: 11
Status: :-(
Yes, this is very good job. Thanks for releasing this scripts on uCause.


Visit my Graphic forum board on uCause !!!
 
0 Thanked you For This Useful Post:
Chris-ErikDate: Friday, 2011-07-01, 3:35 AM | Message # 7
Member
Group: Senior Members
Messages: 307
Awards: 0
Reputation: 5
Status: :-(
I like this style and placing of icons biggrin
 
0 Thanked you For This Useful Post:
uCause Community » Trash & Archives » Forum » New quote style
  • Page 1 of 1
  • 1
Search:


"Making uCoz web designs simple and easy to use"
- uCause Developers