|
#41
|
||||
|
||||
|
With the new code I get:
-------- string(0) "" NULL -------- In the top of the page |
|
#42
|
||||
|
||||
|
Ok, thanks. Thats a huge help. Dose the rating system still work though? It should but if not I'll keep working on it.
Just so you can see for yourself, using the "newer" code, place the original template tag within your image_template.html file: Code:
<AJAX_RATE stars="5" img_width="30px" rateinfo="on" thankyou="on"> Code:
string(54) "stars="5" img_width="30px" rateinfo="on" thankyou="on""
array(4) {
["stars"]=>
string(1) "5"
["img_width"]=>
string(4) "30px"
["rateinfo"]=>
string(2) "on"
["thankyou"]=>
string(2) "on"
}
If it's fixed, continue to use the code until i release a patched version. You may remove the following 2 code blocks so the output does not show on your page. Find and delete: Code:
echo '<pre>';
var_dump($arg_string);
echo '</pre>';
Code:
echo '<pre>';
var_dump($args);
echo '</pre>';
PHP Code:
Do a search for PCRE on this page and paste the results here. Once you have done this, remove the info.php file from your web server.
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund Last edited by Dkozikowski; 08-13-2007 at 05:06 PM. |
|
#43
|
||||
|
||||
|
works fine
|
|
#44
|
||||
|
||||
|
I am relieved! I'll be updating all my addons that use the old regex.
Thank you for all your help. It's been invaluable. Cheers!
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#45
|
||||
|
||||
|
Quote:
|
|
#46
|
||||
|
||||
|
AJAX RATINGS v0.7 Last updated on: August 16th, 2007 VERSION HISTORY
DOWNLOAD
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#47
|
|||
|
|||
|
Strange behaviour
My javascript behaves very oddly...
the rating works fine, it saves the rating data and everything, but somethings wrong with the javascript or something. The stars "jump" whenever I move the mouse over the stars. Unfortunately I can't upload a screenshot of how it looks, but if someone could help me I would be very thankful. Thanks, Josef |
|
#48
|
||||
|
||||
|
This is not a javascript issue.
It's most likely a CSS issue where you have changed the default stars for something else or something smaller. Please provide me with a link so I can see for myself.
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#49
|
|||
|
|||
|
URL
|
|
#50
|
||||
|
||||
|
OK. It's definitely a CSS issue. First try placing the template tag outside the div it's in right now.
This is your current code: Code:
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"> <img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" id="photo" /> </a> <div id="image-navigate"> <span class="image-previous"><IMAGE_PREVIOUS_LINK></span> <AJAX_RATE stars="5" img_width="30px" rateinfo="on" thankyou="on"> <span class="image-next"><IMAGE_NEXT_LINK></span> </div> Code:
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"> <img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" id="photo" /> </a> <AJAX_RATE stars="5" img_width="30px" rateinfo="on" thankyou="on"> <div id="image-navigate"> <span class="image-previous"><IMAGE_PREVIOUS_LINK></span> <span class="image-next"><IMAGE_NEXT_LINK></span> </div>
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
| Post Reply |
| Thread Tools | |
|
|