Previous Thread
Next Thread
Print Thread
Hop To
[NotaBug] 7.7.1 /libs/triggers.inc.php
#262716 05/24/2019 1:52 PM
Joined: Apr 2019
Posts: 44
Newbie
OP Offline
Newbie
Joined: Apr 2019
Posts: 44
miss '$sth = '

$sth = $dbh->do_placeholder_query($query, array($html->get_date()), __LINE__, __FILE__);
while (list($userid, $groupid, $sub_name) = $dbh->fetch_array($sth)) {

Re: [NotaBug] 7.7.1 /libs/triggers.inc.php
BlackMale #262717 05/25/2019 4:07 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Offline
Joined: Dec 2003
Posts: 6,144
Likes: 21
Okay,
Like I said nobody else is complaining about issues but just you.

So I need to ask are any of your modifications fixing anything for you or are you just pointing out what your think is wrong..And how it should be.

Everybody knows there is more to correct in the program.
It will take time to get to all of it.

But nobody else is posting they are having a problem with the current release.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: [NotaBug] 7.7.1 /libs/triggers.inc.php
BlackMale #262720 05/25/2019 10:02 PM
Joined: Apr 2019
Posts: 44
Newbie
OP Offline
Newbie
Joined: Apr 2019
Posts: 44
It is difficult for ordinary users to find these obvious errors.

I look at the original code every time I try a function.

No one found that I can't be the first one?


$dbh->do_placeholder_query($query, array($html->get_date()), __LINE__, __FILE__);
while (list($userid, $groupid, $sub_name) = $dbh->fetch_array($sth)) .....



Already very obvious missed...

As you open the original php file, you can see what it is.... miss '$sth = '

Re: [NotaBug] 7.7.1 /libs/triggers.inc.php
BlackMale #262721 05/26/2019 1:00 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Offline
Joined: Dec 2003
Posts: 6,144
Likes: 21
I am not a expert in php code.

I do not use subscriptions myself so I have no way to test it.
And I don't think subscriptions have been addressed yet, for many years.
other than some minor cleanup, not very many people use the feature.

But the language variable in that case appears to be for if you use a different language pack wherever the word "month" appears.
For example If I had a Spanish forum I would change that variable to "Mes" in the language file.

But presently it appears that there is not a need for it probably in the past there was.

So right now it is not used nor breaking anything as far as I can see..

Should it be corrected yes

Is it urgent, probably not yet.

As stated by the people that are now coding the program they are still working on issues that break the forum and try to clean up not needed code as they find it.
They know there are still items wrong, but making the forum work for everyone must be first..

Remember over 13 years there has been several people working on the ver 7 program and each person had different ideas and methods they used.

I would suggest you request to be a beta tester
That would be helpful to everyone

Last edited by Ruben; 05/26/2019 1:03 PM. Reason: added comment

Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: [NotaBug] 7.7.1 /libs/triggers.inc.php
BlackMale #262722 05/26/2019 4:32 PM
Joined: Apr 2019
Posts: 44
Newbie
OP Offline
Newbie
Joined: Apr 2019
Posts: 44
Thank you for your reply😍

how can I apply request to be a beta tester?

Re: [NotaBug] 7.7.1 /libs/triggers.inc.php
BlackMale #262746 06/01/2019 2:36 AM
Joined: Apr 2004
Posts: 1,700
Likes: 50
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,700
Likes: 50
Originally Posted by BlackMale
miss '$sth = '

$sth = $dbh->do_placeholder_query($query, array($html->get_date()), __LINE__, __FILE__);
while (list($userid, $groupid, $sub_name) = $dbh->fetch_array($sth)) {

Thank you for reporting this PHP 7 error.

It has been fixed for UBB.threads 7.7.2


I had to revert this back to our current code.

Your suggested fix broke the trigger system, spamming Email and Private Messages to anyone with an expired subscription every time general post counters get updated.


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
[NOTABUG] Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Error on Inert into POSTS
by jjjjj - 06/07/2020 8:09 PM
Who's Online Now
2 members (Morgan, JAISP), 82 guests, and 61 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4