Withdrawn cause it's in the next version.
[Release v2] In-Thread Rating
Collapse
This topic is closed.
X
X
-
Hi, the hack doesn't seem to work.
I'm confused when I have to make changes to misc.php
You said I have to add $threadratingoption right above $attachmentoption.
So, I looked around and added $threadratingoption inside the newreply template.
PHP Code:</tr>
$threadratingoption
$attachmentoption
</table>
/forums/misc.php or /forums/admin/misc.php
Also, where can I find newreply_threadrate template? You didn't provide instructions on how to create this template.
Thanks for helping! -
This is a great idea!
I feel that not enough people use the current thread rating system because it doesn't stand out enough.PaintballCity.com
VB Board of the Month: OctoberComment
-
Originally posted by usbnuts
I'm confused when I have to make changes to misc.php
You said I have to add $threadratingoption right above $attachmentoption.
Which misc.php are you talking about here?
/forums/misc.php or /forums/admin/misc.php
Also, where can I find newreply_threadrate template? You didn't provide instructions on how to create this template.Comment
-
I don't quite get the full idea of this hack, you wouldnt happen to have a demo, or be able to snap a screenshot for me could ya tubedogg?MSN: [email protected] | MAIL: [email protected] | FOLIO: mholman.comComment
-
spanks tubebogg, I shall install it nowMSN: [email protected] | MAIL: [email protected] | FOLIO: mholman.comComment
-
There still seems to be install problems with this.
The new template you add is called: newreply_ratethread
But your code calls to: newreply_threadrating
It also added the template into templatesetID of 10. My default templatesetID is 1...I'm not sure if mine is different than anyone elses.
I changed the code around to adjust for the template name but it still does not give the option to rate the thread in the reply yet.
Also...Misc.php is no longer included in the instructions. I;m not sure if it is supposed to be but I saw in the posts above talk about it.
Any ideas?PaintballCity.com
VB Board of the Month: OctoberComment
-
Lessee here...
1. You are correct. It should call newreply_ratethread since the template is named that.
2. The templatesetid was messed up cause I never changed it back after testing. Run this query:
UPDATE template SET templatesetid=1 WHERE title='newreply_ratethread'
3. misc.php shouldn't be part of anything. I realized that after I took it out of the file.
I've uploaded an updated install file. Sorry about the problems.Comment
-
A heads up: I'm using version 2.0.1 and in your instructions the second modification to newreply.php the code:
$foruminfo=getforuminfo($threadinfo[forumid]);
Appears three times. IT has to be the last entry. I made a mistake and put it after the second time that code appeared.PaintballCity.com
VB Board of the Month: OctoberComment
-
Its no problem..this hack is awesome. Finally it will make more use of the rating feature.
Another Problem - I have the option to allow users to rate the thread. It doesn't CHECK the radio input field for what the user rating last.PaintballCity.com
VB Board of the Month: OctoberComment
-
Originally posted by VirtueTech
Another Problem - I have the option to allow users to rate the thread. It doesn't CHECK the radio input field for what the user rating last.Comment
-
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment