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
BlackMale Offline OP
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 [Re: BlackMale] #262717 05/25/2019 4:07 PM
Joined: Dec 2003
Posts: 5,952
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,952
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 [Re: BlackMale] #262720 05/25/2019 10:02 PM
Joined: Apr 2019
Posts: 44
BlackMale Offline OP
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 [Re: BlackMale] #262721 05/26/2019 1:00 PM
Joined: Dec 2003
Posts: 5,952
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,952
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 [Re: BlackMale] #262722 05/26/2019 4:32 PM
Joined: Apr 2019
Posts: 44
BlackMale Offline OP
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 [Re: BlackMale] #262746 06/01/2019 2:36 AM
Joined: Apr 2004
Posts: 1,517
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,517
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.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Who's On Line Issue
by Larry Miller - 09/21/2019 9:37 PM
ubb.threads 7.7.3 install error on create tables
by andrewjs18 - 09/17/2019 3:39 AM
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Who's Online Now
1 registered members (Gizmo), 79 guests, and 376 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
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.3