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
Journeyman
OP Offline
Journeyman
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)) {

Express Hosting
Re: [NotaBug] 7.7.1 /libs/triggers.inc.php [Re: BlackMale] #262717 05/25/2019 4:07 PM
Joined: Dec 2003
Posts: 5,898
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,898
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
Journeyman
OP Offline
Journeyman
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,898
Ruben Offline
Offline
Joined: Dec 2003
Posts: 5,898
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
Journeyman
OP Offline
Journeyman
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,411
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,411
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.


isaac @ id242.com [id242.com] // my forum @ CelicaHobby.com [celicahobby.com]
a current developer of UBB.threads php forum software // 7.7.2 Progress Notes

Additional Community Resources
UBB Developers
UBB Wiki
ShoutChat Box
Recent Topics
Error Messages - What to do???
by Daryl Fawcett - 06/20/2019 9:05 AM
Forum - Left Alignment / Margin?
by keysolutns - 06/19/2019 9:58 AM
Forum Not Working after Cpanel upgrade.
by doug - 06/14/2019 2:35 PM
YouTube does not display?
by BlackMale - 06/09/2019 6:34 AM
Removing a redirect?
by Baldeagle - 06/01/2019 4:50 PM
Who's Online Now
3 registered members (Gizmo, isaac, Daryl Fawcett), 56 guests, and 173 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Kelvin
Kelvin
England
Posts: 33
Joined: November 2011
Show All Member Profiles 
Forum Statistics
Forums35
Topics35,303
Posts192,575
Members11,855
Most Online978
Jun 24th, 2007
Random Gallery Image
Latest Photos
Land Rocks
Cozy Places
Trees
Retreats
Powered by UBB.threads™ PHP Forum Software 7.7.2
(Snapshot build 20190623)