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

Dragooon

I really don't appreciate someone advertise some other mod in my modification's thread for no good reason.

Nao 尚

@ke4obt> The tag is [smg id=123], replace the ID with your picture's ID, obviously. If you need some help, just follow this link (I'm puttin my website's one because it's the same help file everywhere):
http://media.noisen.com/?sa=smgtaghelp

@Dragooon> It was your choice to give the mod a name close to another existing mod, don't be surprised that there is some confusion in the process ;)
I just had a look at the SMF Gallery thread -- vbgamer45 is plagued with user questions related to SMF Media Gallery. He's forced to mention us once in a while. Do you think he appreciates that either? ^^

Anyway--it is common knowledge that SGL is made by a single user and SMG by two users, so I think he was talking about us when he said "SMF Gallery Team"... And he didn't post in the other topic in recent months (maybe never, actually), so you got your answer ;)
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.

holeski

Will this work with the Sullen Madness theme? I can't seem to find where to place the file edits.

DirtRider

When I click on my profile or any of the members in the member list I get the following error

Quote
Fatal error: Cannot redeclare mgallery() (previously declared in /home/davem/public_html/gameporthole.com/Sources/Profile.php:696) in /home/davem/public_html/gameporthole.com/Sources/Profile.php on line 720
http://www.triumphtalk.com

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

Dragooon

You must've installed twice. Open Profile.php find the instances of mgallery. There would be 2 more more, delete them and leave only 1.

DirtRider

Thanks sorted out. For some reason this bit of code was duplicated 5 times over


function mgalitems($memID)
{
global $sourcedir;
require_once($sourcedir . '/MGallery-Sub.php');
MGal_Profile_ViewItems($memID);
}

http://www.triumphtalk.com

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

Dragooon

It happens when you install a mod even if its older one wasn't removed properly(Probably because of upgrading).

Nao 尚

Dragooon, how about we reduce the number of such occurrences by adding a check?

if (function_exists('mgalitems'))
  fatal_error_something('You have installed this mod twice, oh, you silly!');

or simply

if (!function_exists....)
  define the function
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.

Dragooon

#1308
I like the second idea, the first one wouldn't even work as it would die from parse error even before it begins.

Nao 尚

The check would simply have to be added to add areas in the install files where new functions are defined. There aren't a lot, fortunately...
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.

qubbah

Quote from: qubbah on December 10, 2008, 11:14:22 PM
actually...
There is a very nice job from smf Gallery team.

Oh... soo sorry what i mean is SMF Media Gallery.

Smoky "Rider" Blue

hey Nao or Dragooon.. tell me, will there be a converter for gallery2?

i havent dug around, but i didnt notice anything on mod discription either..

got a client that would love the mod lol.. (but i doubt as much as me!)  :P
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Nao 尚

Quote from: SmokyBlue on December 11, 2008, 12:12:44 PM
hey Nao or Dragooon.. tell me, will there be a converter for gallery2?
Sort of....
- Install Coppermine (sic) and SMG on your website (along with the Gallery2 stuff)
- Run this Gallery2 -> CPG converter: http://forum.coppermine-gallery.net/index.php/topic,51300.0.html
- Run our CPG -> SMG converter.

I would love to say I'd gladly do a direct Gallery2 converter, but actually I don't want to. :P Gallery2 is an awful mess to work with, so I quickly uninstalled it. (Kudos to Oldiesmann for his cool Gallery2 bridge, though!)
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.

Smoky "Rider" Blue

mmm not what i would like to do, but knowing it can be done, is half the battle eh Nao??  ;)

lol thanks for the help and will use it if i have to.. glad you and dragooon are having fun with this..

thanks..  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Nao 尚

If you need any help, just ask... As long as it doesn't involve creating that script :D
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.

Smoky "Rider" Blue

i think i got it Nao, however, i would never run copermind.. that is one of the worse srcipts out there that someone can use..

try googling for hacking it and see what comes up ;) lol..

but still, am glad there is a way, for just in case.. and i appreciate the offer..

thanks again my friend..  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Nao 尚

Technically, you don't need to *run* Coppermine to use the converters... ;)

And yeah I agree with you, Coppermine is not too good... But it's actually the oldest script of its kind. It hasn't evolved much in the last few years, but believe me, back in 2005 I was glad to have it on my website :)
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.

Smoky "Rider" Blue

lol.. no more comments here Nao.. i will be good..

just glad that you and Dragoon have the best gallery going..

no issues, complaints but i am happy with the looks.. very nice..

now keep up the good work so i can continue to brag!!  O:) :P
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

LinK187

Is this mod made by the same person(s) who made "SMF Gallery"?

Because I'm having problems with SMF Gallery.

Should I just give up on it and use the "SMF Media Gallery" ?

RustyBarnacle

No, they are different people and differently executed mods.

Advertisement: