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

digger

Quote from: Nao 尚 on August 10, 2009, 01:06:49 PM
Took a few minutes to release beta 4 :)

! Fixed some ffmpeg library's incompatibility with the resize() method, by replacing it with a GD resize. Needs some testing! I don't have ffmpeg myself...

Fatal error: Call to a member function getFrameWidth() on a non-object in /usr/local/www/forums/Sources/Subs-MGallery-Vital.php on line 1056

Nao 尚

Well Mr. Digger, I told *you* I needed you to test my tentative fix ASAP. Since you didn't reply, I assumed it was working and all. Now you'll have to wait for beta 5, and I'm not going to rush it out because of that. Blame yourself.

Anyone else -- feedback on Beta 4 please :) Positive or negative alike.
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.

Petee

SMF 1.10 rating now works, for the most part. Woo hoo!  When giving a rating of "0", the "in progress" icon does not go away. If you refresh the page, you see that the rating worked though.

LHW

When I first tried the rating system on v1.1.10, it didn't seem to work.  I figure it was the cached code, because once I reloaded the page, it worked fine.


Harvester

Im loving being able to vote again!

Thank you so much for your hard work Nao and Dragoon! SMG just keeps getting better and better.

Bigguy

Has there been any testing or workarounds done for making this work on a site that uses the port address in the url. Just thought I would see if anyone had any ideas. :)

thatguy

Is there any chance I can a person familiar with this plug in for hire? I really don't want to give up on this mod. However, I have not been able to get the full benefit of this mod because I could not get it work properly. I can't upload any videos of any size and it the logs this error is persistent:

Unable to load the 'MGallery.english-utf8' language file.

I Don't think that has anything to do with my issue, however. If you have Paypal let me know.

Thanks
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

Nao 尚

Rename MGallery.english.php to MGallery.english-utf8.php in your languages folder...
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.

thatguy

Quote from: Nao 尚 on August 11, 2009, 09:53:12 AM
Rename MGallery.english.php to MGallery.english-utf8.php in your languages folder...

Will that fix the other issues?

Thanks
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

Nao 尚

Well, for the video issue, just read the docs, okay? mod_security, crossdomain, php.ini, all that stuff...
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.

thatguy

Quote from: Nao 尚 on August 11, 2009, 10:12:43 AM
Well, for the video issue, just read the docs, okay? mod_security, crossdomain, php.ini, all that stuff...

OK, I will.

Thank you.
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

Nao 尚

Your php.ini settings are indicated in the admin area (gallery > settings). If you're using v2.
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.

thatguy

I can't mess around with this now. I don't have FTP access here however, when updating to either 2.0 beta 3 or 4 I get this error:

Execute Modification     ./Sources/Load.php     Test failed

I'll try again when I get home. In the mean time could some direct me to the documentation for this mod? I am using 2.0 beta 1

Thank you.
The statements above have not been evaluated by the Food and Drug Administration.
These statements are not intended to diagnose, treat, cure or prevent any disease.

Petee

Quote from: thatguy on August 11, 2009, 10:25:20 AM
I can't mess around with this now. I don't have FTP access here however, when updating to either 2.0 beta 3 or 4 I get this error:

Execute Modification     ./Sources/Load.php     Test failed

I'll try again when I get home. In the mean time could some direct me to the documentation for this mod? I am using 2.0 beta 1

Thank you.


You removed the old version before installing this version, right?

MUSTAfaINE

is there anyone send me the phpmyadmin albums database table... 

cause it has an error : This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums are chmodded to 0777 

please send me one..

INSERT INTO `metalfrm_smf_mgallery_albums` (`id_album`, `album_of`, `member_name`, `type`, `name`, `description`, `icon`, `passwd`, `directory`, `parent`, `access`, `approved`, `a_order`, `child_level`, `id_last_media`, `num_items`, `options`, `id_perm_profile`, `id_quota_profile`, `hidden`, `allowed_members`, `denied_members`, `id_topic`) VALUES
(1, 0, '1', '', 'Megadeth', 'Megadeth Klipleri ve Konserleri', 0, '', '0', 0, '0', 1, 0, 0, 0, 0, 'a:7:{s:8:"lightbox";s:3:"yes";s:7:"outline";s:11:"drop-shadow";s:8:"autosize";s:3:"yes";s:6:"expand";i:250;s:9:"fadeinout";i:0;s:4:"sort";s:15:"m.id_media DESC";s:4:"view";s:6:"normal";}', 2, 1, 0, '', '', 0),


i did a folder with this sql but i couldnt the 2nd one.. please send me the yours..


Harvester

Quote from: thatguy on August 11, 2009, 10:25:20 AM
I can't mess around with this now. I don't have FTP access here however, when updating to either 2.0 beta 3 or 4 I get this error:

Execute Modification     ./Sources/Load.php     Test failed



That is because your Load.php has been edited before. Just go ahead and install it anyway. Then go to the parser and manually edit your Load.php
parser = http://custom.simplemachines.org/mods/index.php?mod=1365 

Nao 尚

Quote from: MUSTAfaINE on August 11, 2009, 11:39:36 AM
is there anyone send me the phpmyadmin albums database table... 

cause it has an error : This album's directory couldn't be properly created, please make sure mgal_data and mgal_data/albums are chmodded to 0777 
That's not a database/mysql error...
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.

midiof[f]

i use SMF bridge for CMS mambo ..
could be i make an external script with 1 random image into the mambo template?
its not problem with another functions?
Yaarar clan Azure L2 [nofollow] Admin

noaccess

#4138
For those wondering about how to get the gallery to show random images on your main page, this is what I did:

Open up BoardIndex.template.php
find
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

if ($context['user']['is_logged'])
{


and add after

global $sourcedir, $galurl;

require_once($sourcedir . '/Subs-MGallery.php');
loadMGal_Settings();

if (loadlanguage('MGallery') == false)
  loadLanguage('MGallery', 'english');

$items = getMediaItems(0, 6, 'rand()');

echo '
<div class="tborder" style="margin-top: 0;">
<table border="0" BORDERCOLOR=BLACK width="956" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 0px;">
<tr class="catbg" width="960">
<td><a href="/index.php?action=mgallery">Random Gallery Images</a></td>
</tr>

<table border="0" BORDERCOLOR=BLACK width="956" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 0px;">
<tr class="titlebg">';

foreach ($items as $item)
  echo '
    <td class="windowbg">
    <div class="smalltext" style="text-align: center;">
    <a href="',$galurl,'sa=item;id=',$item['id'],'"><img alt="" src="',$galurl,'sa=media;id=',$item['id'],';thumb" /></a><br /> 
</div>
</td>';
echo '
</tr>
</table>
</table>
</div>';
}


This will show random gallery images below the buttons on your main forum page. The number of images it shows can be set in this line, "$items = getMediaItems(0, 6, 'rand()');" change 6 to whatever number of images you want. Also notice the width size, you can set it to "100%" if you have it standard.

noaccess

Anyway, like many others I can't use mass uploader. I checked phpmyinfo, but it has no references to mod_security, so im guessing I don't have it. I've created a crossdomain.xml in my main root folder with the following code:

<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>

<allow-access-from domain="*"/>

<site-control permitted-cross-domain-policies="master-only"/>

</cross-domain-policy>


Any idea what else it could be?

I checked the folder it uploads to via ftp, unfortunately everything seems to be renamed, so uploading directly via ftp seems to be a no go either, lol....

Advertisement: