[TH] Star Rating for Custom Fields 1.0.x (Custom Field XML) [Deleted]

Status
Not open for further replies.
I noticed following:
If you specify a URL with the validity criteria, the link is not clickable.
If I create checkboxes, they are not shown in the post.
If i try to upload the field-waindigo_star_rating.xml following error: "Error - Please enter a valid title".
 
I noticed following:
If you specify a URL with the validity criteria, the link is not clickable.
If I create checkboxes, they are not shown in the post.
Please can you post in the appropriate thread.

If i try to upload the field-waindigo_star_rating.xml following error: "Error - Please enter a valid title".
A fix for this will be released shortly.
 
How does i insert the code in the custom thread fields?

{$customFields.waindigo_star_rating }
or
{$Waindigo_StarRating_CustomField.export}

Both does not show in the thread.
 
How does i insert the code in the custom thread fields?

{$customFields.waindigo_star_rating }
or
{$Waindigo_StarRating_CustomField.export}

Both does not show in the thread.
The code is:
Code:
{$customFields.waindigo_star_rating.rating}

This will only display the number of stars selected. You will need to write your own XF script/HTML/CSS to display the number of stars as images etc.

When I get a chance, I will update this field so that it will do all the formatting for you.
 
The code is:
Code:
{$customFields.waindigo_star_rating.rating}

This will only display the number of stars selected. You will need to write your own XF script/HTML/CSS to display the number of stars as images etc.

When I get a chance, I will update this field so that it will do all the formatting for you.
If not writing the script yourself, can you tell us on how to do this?
 
If not writing the script yourself, can you tell us on how to do this?
One way of doing it would be:
Code:
<xen:if is="{$customFields.waindigo_star_rating.rating} == 1}">
IMAGES_FOR_1_STAR
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 2}" />
IMAGES_FOR_2_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 3}" />
IMAGES_FOR_3_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 4}" />
IMAGES_FOR_4_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 5}" />
IMAGES_FOR_5_STARS
<xen:else />
IMAGES_FOR_NO_STARS
</xen:if>
replacing the IMAGES_FOR... bits with images.
 
When importing this into Custom Thread Fields this error shows.

Fatal error: Call to undefined method Waindigo_CustomFields_Model_AdminTemplate::getAdminTemplateModel() in C:\xampp\htdocs\board\library\Waindigo\CustomFields\Model\AdminTemplate.php on line 61
 
I have it installed, but it's not showing up any place.
Perhaps a small donation? My rent is due tomorrow!!
Got Google Checkout?

I seemed to have dropped a lot on you in a short time and you've been kind about it. Will not be able to do anything today or tomorrow (sorry), but soon enough.
 
I have it installed, but it's not showing up any place.

Got Google Checkout?

I seemed to have dropped a lot on you in a short time and you've been kind about it. Will not be able to do anything today or tomorrow (sorry), but soon enough.
I do have Google Checkout, but will need to check whether it works because haven't used it in a while.

Having such efficient bug finders like you is both a curse and a blessing. I feel like we are finally getting somewhere now though. Having a little bit of time off tomorrow night/Thursday, so my coding will hopefully improve (and be less buggy) when I get back!

Not sure how much you will be able to donate, but if you can manage $30 or more, then please let me know and we can discuss building some new features that you want for your site. Every little helps though!
 
When importing this into Custom Thread Fields this error shows.

Fatal error: Call to undefined method Waindigo_CustomFields_Model_AdminTemplate::getAdminTemplateModel() in C:\xampp\htdocs\board\library\Waindigo\CustomFields\Model\AdminTemplate.php on line 61
Have you got the latest version of Custom Fields? This is an error that I recall seeing in a previous version, but I'm pretty sure I fixed it.
 
okay I got it working but wtf am I supposed to do with this? No one can see the stars.
 
okay I got it working but wtf am I supposed to do with this? No one can see the stars.
One way of doing it would be:
Code:
<xen:if is="{$customFields.waindigo_star_rating.rating} == 1}">
IMAGES_FOR_1_STAR
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 2}" />
IMAGES_FOR_2_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 3}" />
IMAGES_FOR_3_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 4}" />
IMAGES_FOR_4_STARS
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 5}" />
IMAGES_FOR_5_STARS
<xen:else />
IMAGES_FOR_NO_STARS
</xen:if>
replacing the IMAGES_FOR... bits with images.
Do this.
 
Status
Not open for further replies.
Top Bottom