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

Status
Not open for further replies.
Hahaha, this is funny, this isn't what this addon does. It isn't a way of rating a post/thread. It is to give a rating, let's say for a product review/movie review. Thus easing the procedure for the creator of the thread by giving them a rating system with the stars custom field and the result of the number of chosen stars automatically being inserted into the OP.
.......... Interesting..... Not what I was expecting....

Doesn't show up when I make a thread though ... ie ... No option for it. Stars only show up after the post.
 
For those looking for the ability to rate a post, what you would need is 'custom post fields'. If anyone would be interested in contributing to the development of this, please let me know.
 
You can use something like this:
Code:
<xen:if is="{$customFields.waindigo_star_rating.rating} == 1">
<img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'>
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 2" />
<img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'>
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 3" />
<img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'>
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 4" />
<img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'>
<xen:elseif is="{$customFields.waindigo_star_rating.rating} == 5" />
<img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'><img src='http://dl.dropbox.com/u/7419977/Images/star1.png'>
<xen:else />
<img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'><img src='http://dl.dropbox.com/u/7419977/Images/star0.png'>
</xen:if>

Moz, Possiable to use styles/default/xenforo/xenforo-ui-sprite.png with css
Same as RM ?
 
Moz, Possiable to use styles/default/xenforo/xenforo-ui-sprite.png with css
Same as RM ?
The input uses the above sprite file, so there is no reason why you shouldn't be able to use it for the output also.
 
Waindigo thanks for all the resources, question... and I'm hoping it's doable.

I haven't looked at this by installing it yet but am I able to have 5 different star rating fields? I want users to be able to rate on 5 different categories, do I just change the custom field option? Again I haven't looked how this is installed yet, thanks.
 
Waindigo thanks for all the resources, question... and I'm hoping it's doable.

I haven't looked at this by installing it yet but am I able to have 5 different star rating fields? I want users to be able to rate on 5 different categories, do I just change the custom field option? Again I haven't looked how this is installed yet, thanks.
Yes, this is possible. You will need to manually create new custom fields and copy all of the values from the Star Rating field. In the next version of Custom Fields by Waindigo, it will be much easier to create duplicate fields.
 
Hey Waindigo, I may of found a bug(or it's my style but I still need help fixing it.)

I'm using a few different custom fields so far... text fields are fine, but when I add the star rating, it expands the page width by a ton. I can basically scroll for 6000px+ to the right for some reason.

It's literally only when I enabled the stars, and the scrolling is only happening on Create-thread, is anyone else running into this problem at all?
 
Hey Waindigo, I may of found a bug(or it's my style but I still need help fixing it.)

I'm using a few different custom fields so far... text fields are fine, but when I add the star rating, it expands the page width by a ton. I can basically scroll for 6000px+ to the right for some reason.

It's literally only when I enabled the stars, and the scrolling is only happening on Create-thread, is anyone else running into this problem at all?
Did you figure this out and how did you fix?
 
Did you figure this out and how did you fix?

Just did, well a work-around:

waindigo_star_rating_widget_customfields.css

It's related to: text-indent:9999em;

Replace it with color: transparent;

Just a different method of hiding the values
 
Just did, well a work-around:

waindigo_star_rating_widget_customfields.css

It's related to: text-indent:9999em;

Replace it with color: transparent;

Just a different method of hiding the values
Ok, thanks.

Think I just copied that from what Mike did in the Resource Manager.
 
For those looking for the ability to rate a post, what you would need is 'custom post fields'. If anyone would be interested in contributing to the development of this, please let me know.

I'd contribute to the development of this - if it doesn't already exist somewhere else......

My thoughts (not even sure yet I'd use it) are that it allows mods or select others to rate certain posts - and those posts would be searchable on a per node OR entire forum basis. In my case, I may use it just to rate the top couple dozen posts out of our million+.

So my idea would be to use it as sort of a enhanced (longer) stickies section, callable on demand. I would not need users to have the ability to rate - but I would encourage them to suggest (by reporting) ratings for the best threads.

Or something like that anyway! I'd put up $50 if anyone else wants to go in....or assure you that I would buy it at $20 or less, if you are gonna build it anyway and have it paid.
 
Oh, by searchable, I mean mostly that they would be displayed in a list as opposed to searching them for words - but, that would be neat too, although probably harder to code!
 
I'd contribute to the development of this - if it doesn't already exist somewhere else......

My thoughts (not even sure yet I'd use it) are that it allows mods or select others to rate certain posts - and those posts would be searchable on a per node OR entire forum basis. In my case, I may use it just to rate the top couple dozen posts out of our million+.

So my idea would be to use it as sort of a enhanced (longer) stickies section, callable on demand. I would not need users to have the ability to rate - but I would encourage them to suggest (by reporting) ratings for the best threads.

Or something like that anyway! I'd put up $50 if anyone else wants to go in....or assure you that I would buy it at $20 or less, if you are gonna build it anyway and have it paid.
Custom Post Fields have already been paid for and developed (although not yet released).

Also, the full site/per-node search feature is currently in development (although not yet fully funded) and it will be possible to search by custom field INSTEAD of using words, so I think this satisfies what you asked for. I am also interested in adding the ability to sort by custom field but nobody has yet contributed to this and I guess this would be more like the 'enhanced stickies' that you are referring to.

Please get in touch by PM if this sounds like what you are after.
 
I have made some custom fields, and added them to my "Helpdesk" category on the forum. www.epicgaming.dk

But when i make a new thread, and fill the needed custom fields, its not displayed in the thread.

I hope you can come up with a very detailed guide and information.

fields.png
 
For those looking for the ability to rate a post, what you would need is 'custom post fields'. If anyone would be interested in contributing to the development of this, please let me know.

I'd be interested in paying for that, especially if it could be used on wiki pages in XenCarta and/or on other regular pages.
 
Status
Not open for further replies.
Top Bottom