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.
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.
Comments on newposts.php
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Experienced
Usergroup: Customer
Joined: Oct 02, 2003
Total Topics: 33
Total Comments: 97
I use it as a public feature. Corrected the problem per your instruction.. thanks.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.