Previous Thread
Next Thread
Print Thread
Rating: 5
Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
Mod Name: [6.2] Change User / Thread Rating 1.0
Description:
Allows users to change their rating of a user or thread.
Working under: 6.2
Any pre-requisites: none
Author(s): [(Update) 3DSHROOM 2003-01-25,1.0], [(Original) nòóx (Hannes Schmiderer) 2002-11-17, 0.9]
Demo: None
Files Altered:
- showprofile.php
- showflat.php
- languages/*/showprofile.php
- languages/*/showflat.php
- dorateuser.php
- doratethread.php
Database Altered: no
New Files: none
Any other info: Updated to use user numbers instead of username for UBBThreads 6.2.

*Optional* *Original* I have also changed some lines that the number of stars is not calculated using intval, but round. So 4.5 are for instance 5 stars, not. Without this change 4.999 are 4 stars.
Attachments
66246-ChangeUserRating1.0.txt (0 Bytes, 74 downloads)

Last edited by 3DSHROOM; 01/26/2003 1:26 PM.
Sponsored Links
Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Great Hack!!! I love it and have been waiting for this as a permanent option in Threads
Thanks

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Can this be tweaked to allow changing of Thread ratings also?

Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
Updated to allow changing of thread ratings

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Great!
Are the only changes in the revision in doratethread.php?

Sponsored Links
Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
The revision makes changes to:

doratethread.php
showflat.php
languages/*/showflat.php

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
Excellent.Thankyou

This Mod is working like a charm

Last edited by ChAoS; 01/27/2003 7:17 PM.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)