0 Members and 1 Guest are viewing this topic.
hello,does anybody support this mod now?it was working until I updated SMF (from 2.0.13 to 2.0.14),after that I've got error message instead of picture:MySQL error:Access denied for user ''@'localhost' (using password: NO)I`m using SMF Gallery Random Picture-ver.1.7.1 and SMF Gallery LITE 6.0
If you are using this block code use the updated on for SMF 2.0 athttps://www.tinyportal.net/index.php?topic=32358.msg278635#msg278635
Is there an updated version of this? I tried it in SMF 2.1 and it didn't work because tp_query() wasn't defined. However, it also includes several calls to mysql_ functions which won't work anymore either.
Quote from: Oldiesmann on June 12, 2019, 04:46:41 PMIs there an updated version of this? I tried it in SMF 2.1 and it didn't work because tp_query() wasn't defined. However, it also includes several calls to mysql_ functions which won't work anymore either.Think the latest modified one is here, uses $smcFunc; https://www.tinyportal.net/index.php?topic=32358.msg277437#msg277437
Quote from: lurkalot on June 12, 2019, 05:09:21 PMQuote from: Oldiesmann on June 12, 2019, 04:46:41 PMIs there an updated version of this? I tried it in SMF 2.1 and it didn't work because tp_query() wasn't defined. However, it also includes several calls to mysql_ functions which won't work anymore either.Think the latest modified one is here, uses $smcFunc; https://www.tinyportal.net/index.php?topic=32358.msg277437#msg277437That one worked, but I had to edit Subs-Db-Mysql.php to remove "ONLY_FULL_GROUP_BY" from the SQL modes list (otherwise it was throwing an error about id_picture not being in the GROUP BY clause - easier to just leave the query as is instead of adding each column it complains about or figure out how to rewrite the query...)