News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 22, 2019, 08:51:10 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 188947
  • Total Topics: 20756
  • Online Today: 113
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 58
Total: 58

Author Topic: [Discuss] SMF Gallery Block for SMF2  (Read 69121 times)

0 Members and 1 Guest are viewing this topic.

Offline vbgamer45

  • Jr. Member
  • **
  • Posts: 6
Re: [Discuss] SMF Gallery Block for SMF2
« Reply #90 on: November 30, 2017, 07:00:34 PM »
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 at
https://www.tinyportal.net/index.php?topic=32358.msg278635#msg278635

Offline VladTepes

  • Jr. Member
  • **
  • Posts: 78
Re: [Discuss] SMF Gallery Block for SMF2
« Reply #91 on: December 01, 2017, 12:03:04 AM »
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

While it's unlikely to be this, if the rest of your forum is working - make sure that your server is using the appropriate version of PHP - for SMF 2.0.14 it needs to be 5.4 or higher.

Offline Ramzesito

  • Newbie
  • *
  • Posts: 2
Re: [Discuss] SMF Gallery Block for SMF2
« Reply #92 on: December 12, 2017, 12:49:35 PM »
If you are using this block code use the updated on for SMF 2.0 at
https://www.tinyportal.net/index.php?topic=32358.msg278635#msg278635

thank you, this update is working!)

Offline Oldiesmann

  • Jr. Member
  • **
  • Posts: 27
    • Cincy Space
Re: [Discuss] SMF Gallery Block for SMF2
« Reply #93 on: June 12, 2019, 04:46:41 PM »
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.

Offline lurkalot

  • Administrator
  • *
  • Posts: 6236
    • Camera Craniums
Re: [Discuss] SMF Gallery Block for SMF2
« Reply #94 on: June 12, 2019, 05:09:21 PM »
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.

Think the latest modified one is here, uses $smcFunc;

https://www.tinyportal.net/index.php?topic=32358.msg277437#msg277437

Offline Oldiesmann

  • Jr. Member
  • **
  • Posts: 27
    • Cincy Space
Re: [Discuss] SMF Gallery Block for SMF2
« Reply #95 on: June 13, 2019, 09:15:28 PM »
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.

Think the latest modified one is here, uses $smcFunc;

https://www.tinyportal.net/index.php?topic=32358.msg277437#msg277437

That 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...)

Offline lurkalot

  • Administrator
  • *
  • Posts: 6236
    • Camera Craniums
Re: [Discuss] SMF Gallery Block for SMF2
« Reply #96 on: June 14, 2019, 12:07:54 AM »
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.

Think the latest modified one is here, uses $smcFunc;

https://www.tinyportal.net/index.php?topic=32358.msg277437#msg277437


That 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...)

Glad you got something out of it at least.  :) 

Unfortunately quite a few of the block codes need updating as they are very old. we don't have anyone working on these atm.