Notices
Bugs / Feature Requests Archive This is a read only forum containing old policy topics.

Post Rating - Not working under Safari 2 on Macintosh

 
Thread Tools
 
Search this Thread
 
Old Sep 25, 2007 | 05:25 PM
  #1  
Markus's Avatar
Markus
Thread Starter
Scooby Regular
25 Year Member
 
Joined: Mar 1999
Posts: 25,080
Likes: 0
From: The Great White North
Default Post Rating - Not working under Safari 2 on Macintosh

I posted this thread in CR asking for Safari 2 users to rate my initial post as I had a feeling the post rating option wasn't working with Safari as clicking the icons didn't appear to do anything, whereas it did appear to work in Firefox.

If I copy the link for the post rating icon the code is as follows:
Code:
javascript:%20MyAjaxRequest('ratepost7280761','aja xratepost.php?p=7280761&r=0')
Looking in firefox the initial %20 (character escaping code for a space) does not appear, so it looks as though perhaps this might be the issue. Thanks to RichB for the suggestion on that point
Old Sep 25, 2007 | 05:43 PM
  #2  
ex-webby's Avatar
ex-webby
Orange Club
 
Joined: Oct 1998
Posts: 13,763
Likes: 1
Default

Thanks Markus

I've made a small change. Please try again.

Simon
Old Sep 25, 2007 | 08:42 PM
  #3  
Markus's Avatar
Markus
Thread Starter
Scooby Regular
25 Year Member
 
Joined: Mar 1999
Posts: 25,080
Likes: 0
From: The Great White North
Default

I've tried rating your post but it does not seem to have done anything. Of course it might simply be due to only me rating it and thus that won't increase/decrease the rating, however I'm sure you'll be able to see if I have rated the post or not.
Old Sep 25, 2007 | 08:57 PM
  #4  
Markus's Avatar
Markus
Thread Starter
Scooby Regular
25 Year Member
 
Joined: Mar 1999
Posts: 25,080
Likes: 0
From: The Great White North
Default

I've had a peek at the code and my only thought is to add a semi-colon here:

javascript:MyAjaxRequest('ratepost7281431','ajaxra tepost.php?p=7281431&r=0');
Old Sep 25, 2007 | 09:00 PM
  #5  
Markus's Avatar
Markus
Thread Starter
Scooby Regular
25 Year Member
 
Joined: Mar 1999
Posts: 25,080
Likes: 0
From: The Great White North
Default

My other thought is that it might just be that Safari 2 does not handle AJAX correctly in certain situations. I'm about to try Safari 3 so will report back shortly.

** Edit **

Same problem seems to exist in Safari 3.

I'm guessing you can only rate a post once? If so, is it possible to hide the rating buttons once you have rated the thread, as it would give a visual aid as to wether you have rated a post or not.

Last edited by Markus; Sep 25, 2007 at 09:06 PM.
Old Sep 25, 2007 | 10:32 PM
  #6  
ex-webby's Avatar
ex-webby
Orange Club
 
Joined: Oct 1998
Posts: 13,763
Likes: 1
Default

Markus

Your rating has appeared and has worked.

Bear in mind that the status doesn't change until enough ratings have pushed it in one direction or another.
Old Sep 26, 2007 | 01:05 AM
  #7  
Markus's Avatar
Markus
Thread Starter
Scooby Regular
25 Year Member
 
Joined: Mar 1999
Posts: 25,080
Likes: 0
From: The Great White North
Default

Thanks Simon
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Scott@ScoobySpares
Full Cars Breaking For Spares
61
Jan 11, 2021 03:08 PM
Scott@ScoobySpares
Full Cars Breaking For Spares
7
Dec 14, 2015 08:16 AM
bugeyedom
Lighting and Other Electrical
9
Nov 21, 2015 10:15 PM
BHPvstorque
Subaru Parts
4
Sep 20, 2015 01:54 PM
jonnyricer2
Non Car Related Items For sale
2
Sep 16, 2015 09:54 PM




All times are GMT +1. The time now is 07:39 AM.