View Single Post
  #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:
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.