Fix comment voting in Safari for Mollio Beat & Paul01

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-23-2006, 11:58 PM
Sacha QS's Avatar
New Pligger
 
Join Date: Oct 2006
Location: Paris, France
Posts: 22
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;
}
Reply With Quote
  #2 (permalink)  
Old 10-24-2006, 12:00 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
thanks. As soon as I get some time we can test this out and add it to Pligg.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Voting resets comment count to zero (b9.6) Simon Questions and Comments 7 06-22-2007 09:01 PM
Anonymous Comment Voting kanedaguy Questions and Comments 0 02-02-2007 03:49 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development