Hello
I love 4images, i've installed over 30 MOD's and i'am glad that there are people like V@no, TheOracle & Acid, that are providing us with interesting and usefull MOD's
But i'am still a PHP newbie, and i can't get some special thing work.
Q: Is it possible to redirect the user, after he submitted a vote, to the next image in the category, if there is one? By default, it takes you again to the image you've just voted for. Any way to change this?edit: I've searched the whole forum for "rating" and "redirect", but i don't found an answer - if there is a similiar topic please excuse
I'am using RadioButtons as a rate form, e.g.:
<FORM action={self} method=post target=_top>
<TD width="62"></TD>
<TD align=middle width="319"> <table border="0" cellspacing="1" width="100%">
<tr>
<td align="center">1</td>
<td align="center">2</td>
</tr>
<tr>
<td><input onclick=submit() type="radio" value="1" name="rating"></td>
<td><input onclick=submit() type="radio" value="2" name="rating"></td>
</tr>
</table></TD>
<input type="hidden" name="action" value="rateimage">
<input type="hidden" name="id" value="{image_id}">
</FORM>
So, thinking logically i have to use these tags:
{if next_image_url}<a href="{next_image_url}">{endif next_image_url}
{if next_image_url}</a>{endif next_image_url}
But anything i tried is not working, maybe i have to change some comang in a *.php file? This is very important for me, so i would be very happy if anyone could help me solve my problem.
Thanks for your time
edit2: Looks like there is a diffeerence between FIrefox and IE related to this. I put the {rate_form} before the image, like this:
{if next_image_url}<a href="{next_image_url}">{endif next_image_url}
{rate_form} {image}
{if next_image_url}</a>{endif next_image_url}
Now, Firefox is taking me to the next image after i rate it, but IE doesn't - Please help me