Go Back   Pligg Forum > Pligg Development > Pligg Templates
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-23-2006, 10:58 PM
Sacha QS's Avatar
Sacha QS Sacha QS is offline
New Pligger
 
Join Date: Oct 2006
Location: Paris, France
Posts: 24
Downloads: 4
Uploads: 0
Thanks: 3
Thanked 23 Times in 8 Posts
Thumbs up Fix comment voting in Safari for Mollio Beat & Paul01

Tested in Firefox (Mac & Win) & IE6 too.

In /templates/mollio-beat/comment_show.tpl
or /templates/paul01/comment_show.tpl

from line 4 to 18 replace the whole "comment-head" div by these lines:
HTML Code:
 <div id="comment-head"> <span id="comment-subhead">
			{if $Enable_Comment_Voting eq 1}
        Rating: <a id="cvote-{$comment_id}" style='text-decoration: none';>{$comment_votes}</a>
				{if $comment_user_vote_count eq 0 && $current_userid neq $comment_author}
				 | <span id="ratetext-{$comment_id}">Rate comment:</span> <span id="ratebuttons-{$comment_id}"> <a class="ratemey" href="javascript:{$link_shakebox_javascript_votey}" style='text-decoration: none;'><span class="rateme">+</span></a> <a class="ratemen" href="javascript:{$link_shakebox_javascript_voten}" style='text-decoration: none;'><span class="rateme">-</span></a> </span>
				{/if}
			{/if}		
	</span>
	{if $UseAvatars neq "0"}<span id="ls_avatar-{$link_shakebox_index}" style="padding:0 0 0 4px;"><img src="{$Avatar_ImgSrc}" alt="Avatar"/></span>{/if}
  | {#PLIGG_Visual_Comment_WrittenBy#} <a href="{$user_view_url}">{$user_username}</a> {$comment_age} {#PLIGG_Visual_Comment_Ago#}	
  </div> 
(the diff is that "comment-subhead" span comes first)


Edit the CSS and remove (or comment) the "margin-top" property (marked in red).

for mollio-beat:
/templates/mollio-beat/css/main.css
at line 279
Code:
#comment-subhead {float:right;margin-top: -21px; font-size:11px}
for paul01:
/templates/paul01/css/main.css
at line 660
Code:
#comment-subhead {
	float: right;
	margin-top: -20px;
	padding-right: 4px;
	font-size: 11px;
}
__________________
HumaNews
French humanist Pligg (v9) by Les Humains Associés

Grab the french lang here! Now for Beta 9.1!
Reply With Quote
The Following User Says Thank You to Sacha QS For This Useful Post:
  #2 (permalink)  
Old 10-23-2006, 11:00 PM
kbeeveer46's Avatar
kbeeveer46 kbeeveer46 is offline
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,574
Downloads: 61
Uploads: 6
Thanks: 255
Thanked 649 Times in 514 Posts
thanks. As soon as I get some time we can test this out and add it to Pligg.
__________________
Check out the new PliggDotNet. PliggDotNet is based off of Pligg but was written in ASP.NET/VB.NET

I accept donations for my time helping users like you on the forum and IRC.

FREE and premium Pligg Web Hosting (NO ads, Includes MySQL, PHP, PHPMyAdmin, and Control Panel) - PM me for discounts on premium packages or if you would like a custom-made package. Paypal accepted.
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks Enabled by vBSEO 3.0.0