|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
Rate this Topic 1.1aThis hack allow your visitors to rate every topic from 1 (worse) to 5 (best) on your board. New in 1.1a: Option which allows topic starter to disable rating. Download Philipp [ April 02, 2001: Message edited by: Philipp ]
|
|
|
|
Joined: Mar 2001
Posts: 293
Member
|
Member
Joined: Mar 2001
Posts: 293 |
what is the url
*NM I see you added it*
[ March 23, 2001: Message edited by: M2sc-com ]
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
Very Nice work, I love this hack. 
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
Great Hack! Works perfectly on my board. Thanks!
Andrus
|
|
|
|
Joined: Mar 2001
Posts: 335
Member
|
Member
Joined: Mar 2001
Posts: 335 |
i belive UBB DEV use this addon, as i saw it at the bottom ~RATE THIS TOPIC~ i saw it on the whos online, chapter 2.  Also nice work, this mod sounds pretty spiffy, i will install it very soon, i gotta move my site to a different host first 
|
|
|
|
Joined: Dec 2000
Posts: 54
Member
|
Member
Joined: Dec 2000
Posts: 54 |
Two problems/questions on this hack.
First--does it work in both 6.0 and 6.01 or only 6.01?
I tried adding it to 6.0 and almost got it to work (see next comment below) but after trying to rate a topic, received a cgi error code about being unable to open line 63 in ubb_rate_topic.cgi. I can post the exact error message here later if you want to see it.
Second--is there an error in the readme.txt file?
You say the following in that file...
######################################## public_forum_page.pl (Templates) -------------------------------- ######################################## Find ########################################
$vars_wordlets{total_replies_header}
|
######################################## and add the follow ########################################
$vars_wordlets_rate{rating_column}
|
--- Should there be an extra tag at the beginning of that last text? My formatting didn't work properly until I added another | tag.
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
Found a typo in the instructions:
######################################## public_forum_page.pl (Templates) -------------------------------- ######################################## Find ########################################
$vars_wordlets{total_replies_header}
|
######################################## and add the follow ########################################
$vars_wordlets_rate{rating_column}
|
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
LOL twinspin at the same time  Yes this is a typo in the readme. I just updated the ZIP. Did you create a thread_ratings folder (CHMOD 777) in your Members directory? There is no demo except on my local machine but here a screenshot: ![[Linked Image]](http://www.gehen.f2s.com/ratetopic.jpg)
|
|
|
|
Joined: Mar 2001
Posts: 335
Member
|
Member
Joined: Mar 2001
Posts: 335 |
this addon is sweet man, it works great, and looks very nice aswel, very good work!
|
|
|
|
Joined: Mar 2001
Posts: 335
Member
|
Member
Joined: Mar 2001
Posts: 335 |
what to you hope to do in the next release, beta/final?
|
|
|
|
Joined: Oct 2000
Posts: 109
Member
|
Member
Joined: Oct 2000
Posts: 109 |
Philipp
Can you make rate this topic a choice for the topic starter? On my board some people opt not to be rated. Please me know if you have will include in your next release.
|
|
|
|
Joined: Dec 2000
Posts: 51
Member
|
Member
Joined: Dec 2000
Posts: 51 |
Great Hack!!!
One question, I also have the gradient hack installed, and really hate to fool with this all since it's working, do you know where in your code, I need to add the gradient call, so I have a consistant bar?
|
|
|
|
Joined: Dec 2000
Posts: 54
Member
|
Member
Joined: Dec 2000
Posts: 54 |
Phillip,
Yes I do have the threads_rating folder in my members directory and proper permissions.
Any other thoughts?
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
The next version (Maybe next week) comes with a few control panel options. I didn't tried the gradient hack yet but I check it out. Thats odd. I don't know what this cause. Do you use mod_perl?
|
|
|
|
Joined: Mar 2001
Posts: 32
Member
|
Member
Joined: Mar 2001
Posts: 32 |
I noticed that the rating ends up equalling the last rating. I tested it out on my board and another board and saw same results. I looked at the files in the thread_ratings folder and they are still registering 1 vote even thought the topic has received multiple ratings. Anyone else getting the same issue?
Jim
|
|
|
|
Joined: Nov 2000
Posts: 37
Member
|
Member
Joined: Nov 2000
Posts: 37 |
Stang5_0, the gradient coding would go in this section
$vars_wordlets_rate{rating_column}
| Magnum 
|
|
|
|
Joined: Mar 2001
Posts: 32
Member
|
Member
Joined: Mar 2001
Posts: 32 |
Stang5_0 - my apologies for adding a rating on your topic on your board but you have the same problem as me. I rated a topic that was previously rated a 5. I rated it a 1. It should average the 2 ratings and come up with 2.5 (rounds to 2) but the new rating is a 1.
Jim
|
|
|
|
Joined: Dec 2000
Posts: 51
Member
|
Member
Joined: Dec 2000
Posts: 51 |
Perfect, thanx Magnum!
Thats ok Garland, maybe there will be a fix and I can fix it hehehehe
[ March 24, 2001: Message edited by: Stang5_0 ]
|
|
|
|
Joined: Mar 2001
Posts: 32
Member
|
Member
Joined: Mar 2001
Posts: 32 |
Stang5_0
Take a look in the thread_ratings folder and see if it shows two votes. If we both have the same problem I would say it is a bug in the code. Thanks.
Jim
Jim
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
Thanks Garland you are right. I post a updated zip with a fixed ubb_rate_topic.cgi in the next minutes.
|
|
|
|
Joined: Dec 2000
Posts: 51
Member
|
Member
Joined: Dec 2000
Posts: 51 |
Showing up as one vote and 5 ratings
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
Just updated the ZIP. Please reupload ubb_rate_topic.cgi
|
|
|
|
Joined: Mar 2001
Posts: 32
Member
|
Member
Joined: Mar 2001
Posts: 32 |
I still am having problems. Here is what the rating file looks like now after two votes:
$votes = 1; $ratings = 5;$votes = 1; $ratings = 1;
Why not delete the original file and re-write it everytime someone votes?
Jim
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
My fault. Just updated the ZIP again. The new update work fine on my local machine.
|
|
|
|
Joined: Mar 2001
Posts: 32
Member
|
Member
Joined: Mar 2001
Posts: 32 |
Great that fixed it. I did notice another small issue. After you vote it does not display where you are being returned to.
Jim
|
|
|
|
Joined: Jan 2001
Posts: 72
Member
|
Member
Joined: Jan 2001
Posts: 72 |
Cool hack.
Just a idea, maybe make stars be able to be "halfs" as well as whole stars
so there can be 4 1/2 stars, etc. You get the idea I think.
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
|
|
|
|
Joined: Dec 2000
Posts: 54
Member
|
Member
Joined: Dec 2000
Posts: 54 |
I figured out my problem. Another stupid user problem (I'm the user). I had created a directory folder with an extra 's' in it. Once I renamed the threads folder properly it worked like a charm.
I probably need to check out version D to see what else has just been added.
|
|
|
|
Joined: Mar 2001
Posts: 32
Member
|
Member
Joined: Mar 2001
Posts: 32 |
Phillip,
Just one more request. Instead of saying were are taking you back to "Forum 3" can you make it display the full title? Thanks and great hack.
Jim
Jim
|
|
|
|
Joined: Mar 2001
Posts: 32
Member
|
Member
Joined: Mar 2001
Posts: 32 |
I was able to get the full forum name by adding another hidden value in the rating form. I also clean up formatting and spacing using the following slight modification to your code. Here is the main part of public_topic_page.pl file related to this hack: By moving the hidden values, the space between the drop-down box and the go button is smaller and consitent with the hop-to box. Thanks again for a great hack. Jim
Jim
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
How about rating Forums as well, some people have forums for games and such and so you could rate the game quality as well etc. Like a reader reviews system, but more flexible.
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
Rate this Topic 1.1 is out. See the updated first posting in this thread for more information  .
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
YOUR MISSING cp_rate.cgi!
|
|
|
|
Joined: Mar 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 29 |
Well, I added everything and checked, double-checked, and triple-checked and found that the rating simple can not be displayed.
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
Phillip... My download did not contain the cp_rate.cgi files. So my CP "Voting Settings" admin does not work. 
|
|
|
|
Joined: Aug 2000
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 18 |
Sorry about misspelling your name there Philipp 
|
|
|
|
Joined: Sep 2000
Posts: 91
Power User
|
Power User
Joined: Sep 2000
Posts: 91 |
Sorry  . cp_rate.cgi is now in the ZIP. Mr. Man: Did you change the MinVotes variable?
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
|
|
|
|
Joined: Oct 2000
Posts: 807
Member
|
Member
Joined: Oct 2000
Posts: 807 |
Phillip can you make this mod so that if the topic has NOT been rated it shows up as so? like ive changed this to text instead of images and ive noticed that if you vote for a topic every other topic under it on the same pageshows this topic has not been rated but then if one of those gets replied to it removes the "this topic has not been rated" heres an example....... http://www.411hype.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=4
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|