Webmastersite.net
Register Log In

newposts.php
Error

Comments on newposts.php

mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Aug 12, 2005 - 8:31 PM:

Hi Paul,

I really like the new features that you added to 3.2x, including the link expire by date feature and the newposts.php. I do have one problem with the new posts.. if a guest uses the new posts (I do not have registered users other than myself) they get the following..

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/thegre2/public_html/classes/database.php on line 256

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/thegre2/public_html/classes/database.php on line 108

Is there a work around?

BTW: is the link to become active by date feature available? I have not had time to look around for it yet.

Ron
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 14, 2005 - 6:46 AM:

It isn't a visible link to guests, is it? Anyhow the issue is that the toplist uses a member template variable, last login time, by default. Guests don't have a last login time. If you edit the template it'll work, but I'll set a default value for guests in the future.
mrkarron
Experienced

Usergroup: Customer
Joined: Oct 02, 2003

Total Topics: 33
Total Comments: 97
Posted Aug 16, 2005 - 5:42 PM:

I use it as a public feature. Corrected the problem per your instruction.. thanks.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 16, 2005 - 11:36 PM:

It was fixed to work for guests in 3.24 anyhow (3.23 also I think), though the 'last login' option in the template for guests is perhaps confusing.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.