News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

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

Nao 尚

Okay, err... Then redownload v1.5.1 and tell me to go there when it doesn't work ;)
Don't forget to give us (here or by PM) an account to go there... We're not registering just for tests :P
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.

SgtMic

SMF Beta4

I am getting this error when I go to delete a member from the forum:

Fatal error: require_once() [function.require]: Failed opening required '/home/xxxx/public_html/gallery/embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xx/public_html/forums/Sources/Gallery.php on line 368

Any ideas on a fix?
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Dragooon

This is not SMF Gallery lite, this is a different gallery. Please ask SMF Gallery's question on there topic/support forum.

smurfyforum

Quote from: Skargon on December 18, 2008, 03:37:19 PM
I just loaded this mod, I'm having a couple of problems.

The first, I don't have a button for the gallery in either the custom theme I use  (Blue Rose) or the smf default theme.

I altered the index.template.php to try to get the button to show up, and I still get nothing.

**************

Also, I attempt to use the "Mass upload" function, and it gives me this error: 

Line: 1
Char: 132
Error: 'yuigen0' is undefined
Code: 0
URL: ***REMOVED***

I can upload picture singularly with no issues.

If your button isn't showing up - look in the default theme files for index.template.php
search for this


if ($context['current_action']=='mgallery')
$current_action = 'mgallery';




if that isn't there, add it right under this code -


if (isset($_GET['board']) || isset($_GET['topic']) || $context['current_action']=='forum')
$current_action = 'forum';




then scroll down to buttons and add in his code where you want the button to appear if it is not already in the buttons codes (usually it is after the Calendar button code) -



// [SMF Media Gallery]
if (allowedTo('mgallery_access'))
echo ($current_action == 'mgallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mgallery' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mgallery">' , $txt['mgallery_gallery'] , '</a>
</td>' , $current_action == 'mgallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';




NOW - with a theme other than default, you have to go into it's index.template.php file and look for this line -



if (in_array($context['current_action'], array('forum', 'contact', 'links', 'search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))




add in this code - 'mgallery' - at the front of the line, or anywhere really, as long as you add it in the same way the others are listed.

then to add the button goto the buttons and add the button in this way -



if (allowedTo('mgallery_access'))

echo '<li><a' , $current_action=='mgallery' ? ' class="current"' : '' , ' href="', $scripturl, '?action=mgallery"><span>' , $txt['mgallery_gallery'] , '</span></a></li>';



"Smurfs, Smurfs, and More Smurfs!"

[unplugged]

Quote from: Dragooon on December 21, 2008, 03:22:40 AM
This is not SMF Gallery lite, this is a different gallery. Please ask SMF Gallery's question on there topic/support forum.

Wow. You may want to put "This is not SMF Gallery." in bright bold letters in your signature. ;)

I have a question. I was wondering if there was a way to alter the number of pictures shown per page.



Every page of an album looks like that, with the space at the end instead of one last picture, even if there is another page of pictures to follow. I know it's a small detail in an already fantastic mod, but it's the small details that annoy me the most.  :P

Also, I looked but could not find how to change the number of pictures displayed under the "Recent Items" section. Is there a way to set this as well?

Thank you very much for your time.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Kindred

you set the number displayed per screen in the gallery admin section.

realize that if you change the window size, the layout will also be different.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

[unplugged]

Thanks! I swear those three tabs weren't in the admin section the 317 times I was in there.  :P
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Nao 尚

Quote from: SunKing on December 21, 2008, 08:25:57 AM
Wow. You may want to put "This is not SMF Gallery." in bright bold letters in your signature. ;)
Why? They couldn't be any more different...
And it's not like it's on the same topic. Or the same authors. Or that SMF Gallery supports Media (= also video and audio). Etc, etc.
What is it with the name?
Both are mods to add a gallery to your website. It's only logical that they both have the name Gallery in it. Should we rename it to something else, just to avoid confusion?
I can only think of "Santa's Little Independent Picture Shop" (SLIPS), but that only works well in French of course.

QuoteI have a question. I was wondering if there was a way to alter the number of pictures shown per page.
Yes, and for those asking "can we center the random/recent pics?", the answer is no, I've already tried, and I have yet to find a solution that is compatible with Dragooon's float-based implementation. If anyone pulls one together, please share.
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.

magarto

#1448
Thanks Nao,  you have a PM with the account and pwd.
I am translating SMG into spanish.
Also check that if you make click on any user profile and then in summary of SMG stats, data is not displayed, you cannot see how many elements the user uploaded and so on...

[unplugged]

Quote from: Nao 尚 on December 21, 2008, 09:15:59 AM
Yes, and for those asking "can we center the random/recent pics?", the answer is no, I've already tried, and I have yet to find a solution that is compatible with Dragooon's float-based implementation. If anyone pulls one together, please share.

It's almost as if you can read minds........that was my next question.

I guess I am all set then! Thanks again for a brilliant mod!
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



ke4obt

Hey Guys,

How about SMF Media Studio or the SMF Media Center?
Just the one and a half cents worth of your biggest blind fans thoughts, for what thats worth.

!!! OUCH!!! Nao, Mickey just popped me in the head realy hard and said not to lisen to a thing I say so I guess ya'll shouldn't  lisen to me, (just disreguarde my last thoughts)
Thanks Much

Flip - KE4OBT
     The Blind Ham
Helping other blind hams
get on the air!


Yes I am really a BLIND user!

So, if a mod doesn't install properly, and I can't get help from your part of the forum,
I will come begging for YOUR help since you wrote it and know how it works
um, uh, well,
At least I would really, really hope you do!
HEE-HEE-HEE

SgtMic

Quote from: Dragooon on December 21, 2008, 03:22:40 AM
This is not SMF Gallery lite, this is a different gallery. Please ask SMF Gallery's question on there topic/support forum.

Sorry, I disabled that mod because I'm using yours. I should have read the error more closely.

*crawls back into my hole highly embarrassed*
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Smoky "Rider" Blue

hmm..  :o  hands micky a blankie.. rofl 8) he might just need it.

lol.. Nao seems like this is a hot topic.. and we all know the reason why.. ;)

no issues and looking forward for more toys from you and Dragooon..

Smoky wants a peep!!  :D O:)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

SgtMic

As long as there is no snot on that blanky I can use it. :)

This mod is great and so far haven't had any problems (related to this mod). LOL
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Smoky "Rider" Blue

brand new Mic.. tags just came off it..  O:)

and yeps i like the mod too.. pretty nice..  :P
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

ccraciun

Quote from: pvcblue™ on December 21, 2008, 05:19:13 AM
Quote from: Skargon on December 18, 2008, 03:37:19 PM
I just loaded this mod, I'm having a couple of problems.
The first, I don't have a button for the gallery in either the custom theme I use  (Blue Rose) or the smf default theme.
I altered the index.template.php to try to get the button to show up, and I still get nothing.
...
If your button isn't showing up - look in the default theme files for index.template.php
search for this
...
I have the same problem (the gallery button didn't show up, no matter i tried so far), but with Dilber MC theme. Someone could help me please?
I attached "index.template.php" file.

Nao 尚

@ccraciun> this is going to be the same for all mods, if you're using SMF 1.x... Only SMF 2.x can automatically add the button in all themes. There are tutorials out there that explain how to add a button manually.

@SmokyBlue> the topic is hot but it could be even hotter... Give Dragooon something to work on! ;D

@magarto> I don't understand your question! Oh, and the Spanish version -- please check out smf-media.com, dannbass is the current translator. He's always posting updates there for the latest versions ;)
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

Nao.. do you really want me to do that?? :o  hmm??

poor Dragooon.. lol.. will do, but i expect the great Nao to be there to spot him if needed..  O:)


hehehe!!! Merry Christmas you guys..  ;)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

vulcan59

QuoteI have the same problem (the gallery button didn't show up, no matter i tried so far), but with Dilber MC theme. Someone could help me please?
I attached "index.template.php" file.

Hi ccracium,

I am using the DilberMC theme on one of my sites. Try the attached index.template

Regards.

SgtMic

OK, ran into something odd. I have 2 sites running off my dedicated server. Both Beta4.
I also have GD, ImageMagick and FFmpeg installed and working.

One site shows 2 out of 3 available and the other shows 1 out of 3 available.
What is the fix for this?
There is nothing more deadly than a US Marine and his rifle.
A close second is a US Marine and his K-BAR.
2/5 Fox Co.  (BlackHearts)
FAST Co. 5th Plt. (FIDO)

Advertisement: