SMF Media Gallery (SMG) - 2.0.5 is out! (December 2)

Started by SMGTeam, September 09, 2008, 03:14:05 PM

Previous topic - Next topic

Arantor

The problem is that one or other of those mods handles $smcFunc, which causes SMG to think it's using 2.0, hence it loads the 2.0 version.

I wouldn't delete that line, it'll break SMG entirely...
Holder of controversial views, all of which my own.


Kreator

hmm, now you have me thinking .... the last mod i installed before media gallery was  the twitter/facebook  mod  from 2by2host
Ill uninstall it see what happens.



Kreator

Yep thats the offender .... No Loss hate facebook and twitter thanks for your time.

Arantor

I did have a feeling it might have been that one actually. I seem to recall they did that a little bit back to 'simplify' the code.
Holder of controversial views, all of which my own.


Nao 尚

I've tried to download their mod and indeed -- in twitter.php they have this:

    if (empty($smcFunc) && !empty($func)) {
        $smcFunc = $func;
    }

Which basically will break a lot of mods that rely on $smcFunc to determine whether SMF2 is installed... Very bad idea.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Arantor

While there is a certain logic to that; there are other functions in $func / $smcFunc, I don't personally agree with that.

In the interim you could actually check for $smcFunc['db_query'] and base it off that.
Holder of controversial views, all of which my own.


Nao 尚

* Nao/Gilles is starting to wonder if he shouldn't use the opportunity of rebranding SMG into Aeva Media to limit it to SMF2...
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Baloch

Hi there,

Just few days ago I have upgraded SMG  from 1.5.6 to 2.0.2 everything was okay but no any group member was able to ADD NEW Picture in gallery. I have checked administrator Panel but could not found any option that may control ADD ITEM/ COMMENT ITEM.


SMF Media Gallery only contains following options:
   

   Access Gallery   
   Moderate Gallery   
   Administrate Gallery   
   Access unseen area   
   Search in Gallery   
   Add User Playlists   
   Add User Albums   
   Auto-approve User Albums   
   View anyone's Gallery profile

Please advice what to do.

Thanks in advance for your prompt response.

With regards
Raji

Nao 尚

Please don't post the same question over two different boards. I read every SMG-related board (smf media, here and the foxy board at noisen) at the same time.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

testlab

#5069
Hello, All

First I have to say very nice forum script.

I was able to install the Gallery and see it, but to see it I have to go direct to it by browsing to it Example :hxxp:smf-media.com/community/index.php?action=mgallery, [nonactive]

I want it to say Gallery in the index. I have everything else exept that.

I need to know how I can add the gallery link to the theme Siyah inci. Im new to all this so I need help on the code and where should I add it.

Thank You for you help. :)

whitehaint

#5070
Got this little warning on my live site, installed great on my home dev site though?

This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums are chmodded to 0777

I checked and the directories are at 0777.  Oh, running RC2.

Nao 尚

Try chmodding them to 0755.
Is PHP Safe Mode enabled? Check the admin area for that.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

whitehaint

#5072
I tried 0755 and no go, and looked on the server settings and php safe mode is disabled.

Tiribulus

Quote from: Nao/Gilles on November 15, 2009, 03:08:45 PM
* Nao/Gilles is starting to wonder if he shouldn't use the opportunity of rebranding SMG into Aeva Media to limit it to SMF2...

I vote no on limiting it to SMF2, but I'm not the one who has to do the work and of course it is your decision.

Soms

I am with Tiribulus on this. I think so long SMF2 is not final, many will want to stick with SMF1. Like Tiribulus also indicated, you are the one who has to do all the coding. The decision is ultimately yours to make.

Nao 尚

Yesterday was a horrible day in terms of maintaining SMF1 support... I did my best but in the end I have absolutely no idea whether Aeva Media's early alphas will work on SMF1 at all. If it's too much of a hassle to support, I'll give up on it.
Basically, SMF1 users still have the SMG 2.0.x line and Aeva 7.0.x. I will release updates for these when needed.

So: currently, I'm planning to keep support for SMF1, but I'm not promising anything. That's all. SMF2 is way, way better and more stable than SMF1 as of now. I see absolutely no reason to keep supporting an old version of the software. I think that if someone stays with an old version of SMF, they're unlikely to update their mods as well...
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Bec

#5076
not sure if the support is here but I am using smf 1.1.10 and media gallery 1.5.5 (i know there is newer but for the moment it is heavily modified so ive been sticking with it) just noticed that when i click on my gallery i am getting the following error :

Fatal error: Function name must be a string in /home/buctai8/public_html/Sources/Subs-MGallery.php on line 344

line 344 is the following -       return $smcFunc['db_query']('', $db_string, $db_values);

would someone mind please telling me how to get my gallery back... please let me know if you require the full file... hope the support is still here I dont wish to update (both smf and media gallery) at the moment only cause it is heavily modified and i havent had the time

should also add that no changes have been made for a while now and was working fine a few days ago... forum error log shows

8: Undefined index: db_query
File: /home/buctai8/public_html/Sources/Subs-MGallery.php
Line: 344


Update - just discovered that the twitter/facebook mod is conflicting with the gallery, uninstalled the other mod and everything is now fine!.... :)

Nao 尚

I'm afraid I don't support the SMG 1.x line anymore. What did you modify? The template?

Edit-- ah, you fixed it? Yes, I see... It's the same problem I mentioned a few messages above.
http://www.simplemachines.org/community/index.php?topic=260821.msg2359590#msg2359590
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Bec

oops sorry missed that! but yeah its all good now :)

DirtRider

http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

Advertisement: