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 尚

Quote from: Dragooon on October 22, 2008, 05:15:09 AM
P.S. - The coppermine converter will only be available once 1.1 is released :).
1.5 to be more specific ;)

And it's the bridged version only. Make sure your version is bridged!
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.

crustybum

Quote from: Dragooon on October 22, 2008, 05:15:09 AM
@crustybum - Perform the installation and after that do the changed to the index.template.php manually(See the modparser on the modsite for that).

P.S. - The coppermine converter will only be available once 1.1 is released :).

Hi dragoon, tied that, still the same..... not to worried about the convertor, theres a few of us willing to shift them over one by one..(fools)

Chris

Dragooon

You have to install with the error, and then apply the changes.

crustybum

Many thanks dragoon, getting somewhere now, it worked on the second attempt!, and all seems to be ok in the admin area, but there is no "Gallery tab" on the forum and its a default theme :( any ideas?

Kindred

yes....   you need to activate it the gallery and activate permissions.

you also don't indicate what version of SMF you are using...   if you are using 1.1.x, then the failure of index.template.php pretty much indicates that you will have to MANUALLY APPLY THE MOD TO THAT FILE (as has been said 3 times so far).
Сл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."

crustybum

Its ok, there was a gap in the code where there shouldnt have been, and now its fine, although a converter from coppermine would be nice....

Andrijachi

I have problem with menu. When I am in Gallery Home button is turned on instead Gallery button ($current_action - doesn't work).

I am using this button code:
            // mgallery [mgallery]
echo '<li><a' , $current_action=='mgallery' ? ' class="chosen"' : '' , ' href="', $scripturl, '?action=mgallery"><b>' , $txt['mgallery_gallery'] , '</b></a></li>';


I have this problem in all themes, and default theme too.

Krysia

Quote from: Nao 尚 on October 21, 2008, 04:42:30 AM
Quote from: Krysia on October 19, 2008, 05:56:21 PM
Why is the pixel height/width even necessary when posting a video?
Because it can't guess the video dimensions.
Well, actually it can. That'll be in version 1.5. :P
Oh, very cool. :D

BTW, it was discovered that the reason why it had been "duplicating" the video was because the video in question was a .mov file. I changed it to a .wmv file, and it uploaded without the duplication. Go fig.

In addition, I've noticed that if I try to upload a .png file, it takes so long that I cancel it, change it to a .jpg, and upload it that way. Guess it really makes a difference as to the file types, even though it says can accept multiple file types.



Krysia

By the way, now that I've worked out those kinks, this Gallery mod is proving to be a fun addition to my forum.
Thank you.
:D



Nao 尚

Quote from: Krysia on October 22, 2008, 02:21:44 PM
BTW, it was discovered that the reason why it had been "duplicating" the video was because the video in question was a .mov file. I changed it to a .wmv file, and it uploaded without the duplication. Go fig.
I fixed the bug tonight, while working on FLV support.
The problem was with the "$done" variable which wasn't tested when printing the embed code (it was only tested for the IE-centric object code). Which means that when the $done variable was set (i.e. a special case where specific embed code was entered, not some generic solution), the script would actually embed the code a second time.

That was the second big Dragooon bug I fixed today eheh :P

We're getting close to completion...

BTW, is anyone aware of a cool Flash player for mp3, flv, maybe even mov and wmv...? I tried JW Player and it works okay on FLV, but not so much on mp3. I'm not sure what to do... I'm looking into FLVHosting's player as well. (Well, tomorrow I will.)
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.

Kindred

hmmm....   I really like the JW Player. We use that for my company's sites.
Сл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."

Claudius

Hi,
Was there any solution to locau's problem (October 18/19)? I have the same problem. When I try to install Media Gallery I get this message:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-simplemach' at line 2
File: /public_html/Packages/temp/db_mgallery.php
Line: 386

This is my server info:
MySQL client version: 5.0.67
MySQL charset: UTF-8 Unicode (utf8)
SMF 1.1.6
SimplePortal Classic 2.0.5

Any help you could give would be appreciated.

crustybum


Nao 尚

There is... in v1.5. I'm actually only using this, now :p I love seeing the progress % being updated... Even for one picture! I'm thinking in the near future I'll merge the mass upload with mass upload (since there's a fallback for non-javascript and non-flash users.)
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.

kiakanpa

QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-simplemach' at line 2
File: /public_html/Packages/temp/db_mgallery.php
Line: 386

Me too - any ideas?


Dragooon


QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-simplemach' at line 2
File: /public_html/Packages/temp/db_mgallery.php
Line: 386
Try this
Unpack the whole package, open db_mgallery.php and remove the code from line 383-396

Quote from: dimdom on October 23, 2008, 09:37:00 AM
OK, here you can see a way to handle videos in flv format!

http://www.authorway.com/SMF/index.php?action=mgallery;sa=viewalbum;id=3
Nice, you use JW player hu! :).

kiakanpa

QuoteTry this
Unpack the whole package, open db_mgallery.php and remove the code from line 383-396

Just to be a pain - i dont suppose you could paste me line 383 could you? i am at work and only have notepad (no line numbers). If not i'll try it at home - cheers for the quick responce.

dimdom

QuoteNice, you use JW player hu! :).
Me too - any ideas?

Yes...

your mod should be able to install JWplayer in a folder in root directory...

...and use the BBC code function to...

...upload the video in a specified folder and...

... correspond each uploaded video to the player...

dimdom

1. Upload video (already coded in flv format)


2. A function similar to:

[center][center][flash=512,384]http://site/videos/flvplayer.swf?file=Apachie.flv&image=http://site/videos/Apachie.jpg&logo=http://site/videos/logo.png[/flash][/center][/center]

I guess that it can be done...

Advertisement: