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

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 05:08:17 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 190
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 105
  • Total: 106
  • lurkalot

TPReviews 1.0 rev.7

Started by IchBin, November 20, 2009, 02:27:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

To install this version, you'll need to uninstall the previous version first. There is a couple of database changes necessary for the new features I've added.
PLEASE MAKE A BACKUP OF BOTH FILES AND DATABASE BEFORE ATTEMPTING THIS UPDATE

This has a couple more options in it.

  • User Avatar shown when viewing the list of reviews in a category
  • Option to show 10 recent items on frontpage.

Been a while since I've looked hard at the code. Let me know if there are any errors. I don't think guest access or user rating is working 100% yet. Please post any problems or suggestions in this topic for this version.

I've had problems with zipping this on my mac and the install not working because of the way Mac handles zipping. So if there are any problems, you may want to try unzipping it and then rezipping. If you do have this problem, please report it. :)

Team Edit: TPReviews_1.0.zip has been attached; it has been re-zipped and a version number has been added to the name.

Ken.

Thanks IchBinâ„¢!  :up:

The package manager didn't like the file so I unzipped and edited the package-info.XML and added '1.1.10' to the install routine.
<install for="1.1.1 - 1.1.10 - 1.1.99">
After that the upload/install went off an expected.

Just starting to check some of the functions; got this when accessing the Reviews page:
Quotehttp://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewcat;id=2

2: Invalid argument supplied for foreach()
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 219
   
/tptest2/index.php?action=tpmod;rvws;sa=viewcat;id=2
Apply Filter: Only show the errors with the same message
8: Undefined index: sub_cats
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 219
   
/tptest2/index.php?action=tpmod;rvws
Apply Filter: Only show the errors with the same message
8: Undefined index: rvws
File: /home/kenkayjm/public_html/tptest2/Themes/default/languages/TPReviews.english.php (tpr_home sub template - eval?)
Line: 45

" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ken.

One full page of errors when making and then rating a Review:
http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewitem;id=3

Here's a sample of the errors:
Quotehttp://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewitem;id=3
2: Division by zero
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 348

http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=rate;id=3
2: Division by zero
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 735

http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=rate;id=3
2: Division by zero
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 735

http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=viewitem;id=3
2: Division by zero
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 348

http://www.ourfamilyforum.org/tptest2/index.php?action=tpmod;rvws;sa=additem
8: Use of undefined constant __FILE_ - assumed '__FILE_'
File: /home/kenkayjm/public_html/tptest2/tp-files/tp-modules/TPReviews/Sources/TPReviews.php
Line: 532
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

Ken, I don't know how but it looks like that zip I posted was an OLD one. Most of those errors that you are posting are errors that I fixed quite some time ago. Hold off on this and I'll try to post the right zip when I can get access to my files.

Ken.

" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Crip

I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



IchBin

Attached a new file in the first post. Give that one a whirl. I zipped it on my windows machine, so let me know if you still have problems unzipping. :)

Ken.

" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ken.

Got this on upload:
"An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted. "
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Ken.

Did the version number edit and it installed as expected, after a quick look it seems to be working fine with no errors. Will take a closer look later on.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.