TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:13:15 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 310
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 280
  • Total: 281
  • lurkalot

Need a little help

Started by SleePy, February 08, 2006, 01:38:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SleePy

I got Permission from Oldiesmann to update his "Topic Ratings" mod
I would like to see if you guys could look it over and see if i made any typos or anything.
It installed just fine on my Test servers but my real forums for some reason i can't modify the board to add the permission to Rate Topics. but all my test forums work fine.. go figure...
http://lordsofclantribe.com/SleePys/Topic_Rating_RC2_beta.tar.gz

Thanks.

--Edit--
I found this going though my error log.
8: Undefined index: rating
File: /home/*****/public_html/forums/Sources/MessageIndex.php
Line: 307, 306, 305

sure enough i go to that area and its part of the mod.

I see nothing wrong with the code to make it do that.
'rating' => array(
'empty' => $row['rating'] == -1,
'whole' => (int) ($row['rating'] / 2),
'half' => $row['rating'] % 2
),