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

Michael24

Quote from: Dragooon on January 02, 2009, 11:11:59 PM



How can I fix this?

Thank you.
Post your index.template.php here.

Quote from: Michael24 on January 02, 2009, 09:18:21 PM
When you click on any member's profile, an error message states:

QuoteFatal error: Cannot redeclare mgallery() (previously declared in /home/michael2/public_html/forum/Sources/Profile.php:2928) in /home/michael2/public_html/forum/Sources/Profile.php on line 2952

It's all Greek to me!
Open your Profile.php, and remove the duplicate declaration of mgallery and other of its functions.

[/quote]

Thanks, Dragooon.  The profiles are all working now.

Dragooon

Hmm not sure whats wrong with your index.template, can you show us your site?


[unplugged]

Well....if you set up a test account, someone here may be able to help you. ;)

« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



vulcan59

Hi Michael24,

The DilberMC theme doesn't look right. Here is one forum that I set up with the DilberMC theme with the SMF Media Gallery mod install.

mrmiyagi

Quote from: vulcan59 on January 03, 2009, 12:11:06 AM
Hi Michael24,

The DilberMC theme doesn't look right. Here is one forum that I set up with the DilberMC theme with the SMF Media Gallery mod install.

Hi I am looking to do this with the Adagio theme!

vulcan59

Hi mrmiyagi,

Here is one with the Adagio theme. Change the theme to Adagio from the Themes block.

The Adagio theme has built in buttons mods for you. So all you need to do is to specify the name of the button and it's action from the Theme itself without editing the index.template.

Brilliant theme.

mrmiyagi

Vulcan I love the theme, Sorry to sound rude here but I am such a novice with SMF so could you explain a little bit further about how do edit the buttons in the Admin panel?

vulcan59

Hi mrmiyagi,

Once you install the theme, go to Admin - Current Theme.

You will then see Theme Options and Preferences and a list for custom buttons.  So in my case, for Custom 1 name, I use Gallery. Then next line specifies link/file I used ?action=mgallery"
Under type of custom button, I left it as Link.

And that's it. Regards.

mrmiyagi

Quote from: vulcan59 on January 03, 2009, 01:39:55 AM
Hi mrmiyagi,

Once you install the theme, go to Admin - Current Theme.

You will then see Theme Options and Preferences and a list for custom buttons.  So in my case, for Custom 1 name, I use Gallery. Then next line specifies link/file I used ?action=mgallery"
Under type of custom button, I left it as Link.

And that's it. Regards.

OMG you are a genius, thank you soo much!!

Something I thought looked a million miles away from possibility was done in 2 seconds :p

You see this ?action=mgallery" , can I edit this and put in for example; ?action=banlist"

hansdampf

Hey...

Unfortunately I have some issues with this great mod - maybe you can help, shouldn't be a big deal at all?!  ;)

In the logs it says:

/index.php?action=profile;u=43
8: Undefined index: mgalcoms
Datei: /Sources/Profile.php
Zeile: 300


and

8: Undefined index: mgallery_view_coms
Datei: /Sources/Profile.php
Zeile: 240


I tried to add a language string for "mgallery_view_coms" but this didn't rectify the issue...

I also tried to un- and re-install the mod.

Any hints appreciated!  :)

Nao 尚

Is this an old version of SMG, by any chance?
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 Nao.. i get this looking at the package area in admin

red is outdated correct?? and there is no uninstall for the 1.52 even tho i looked at the xml it looks the same to me..

havent applied it yet but?? hmm..  :P
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

hansdampf

I'm using 1.5.2 which should be the latest version...?!

Nao 尚

Smoky, you didn't uninstall v1.5.1 before trying to install v1.5.2...?
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.. the 1,52 isnt installed Nao, i just uploaded it via ftp.. and that is when i noticed the little red dot..

been a few since i have seen that, and i thought the 1,52 was the newer one..

sides im waiting on my host for file ownership issues.. hmmm.. he is having pc problems so..  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Nao 尚

Quote from: SmokyBlue on January 03, 2009, 08:40:30 AM
lol.. the 1,52 isnt installed Nao, i just uploaded it via ftp.. and that is when i noticed the little red dot..
I'm not too sure what the dot means, really...

Quotebeen a few since i have seen that, and i thought the 1,52 was the newer one..
Yes it is.
Actually, the newer one is 1.6 but it's not public yet ;)
I think Dragooon wants to hold on its release until we add a few more features to it. We're both taking a break (holidays etc.), so it probably won't be out before late January, or later in February.
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 it would make for a good Valentines day  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Mai Pen Rai

Could SSI be used to show the most recent pics on our mainsite?
Mai Pen Rai - means "No worries" in Thai

Mai Pen Rai.se

Dragooon

Sort of yes
Something like this will load the items into the array
require_once($sourcedir . '/Subs-MGallery.php');
loadMGal_Settings();
$items = getMediaItems(0. 10, 'm.id_media DESC');

Advertisement: