News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

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 尚

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.

tfs

Quote from: Nao 尚 on August 06, 2009, 03:31:30 PM
To beta testers -- still looking for people to test rev 999! I'd like to make sure Daydreamer's failure to get it to work is due to a problem on his server, not in my code.

I've never been able to install mods via a TGZ file.  I tried converting it to a ZIP file, retaining the exact same internal directory structure, but my SMG still doesn't like it, though your official beta releases install just fine.  Not sure what the problem is.
A good tree cannot bring forth evil fruit, neither can an evil tree bring forth good fruit.

Nao 尚

Try recompressing with winrar?
Make sure the mod's root is the root of the zip file (when you open the zip, it should show a package-info.xml file somewhere.)
You can also install manually (boring, I know!)
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.

digger

Quote from: paulfrance on August 02, 2009, 12:07:57 PM
hello to all
I have an error message when i try to upload a video
Fatal error: Call to undefined method ffmpeg_frame::resize() in /home/tubeycom/public_html/malesblackgay.com/forum/Sources/Subs-MGallery-Vital.php on line 1014
Can you help me please
Thanks to all

http://groups.google.com.ua/group/ffmpeg-php/msg/ad9a61182fe9d5da

duder673

Ok, I had a problem recently.  My host just deleted EVERYTHING that I built over the course of 6 months and now I am trying to get SMG working off of a 2month old database.

The problem originally was that thumbnails weren't showing up, so I tried all of the maintenance things and got them to where they said they were working eventually (but I had to delete all of the videos off of SMG in the meantime).

Then I deleted all of the folders and tried to start from scratch.
Now it will not let me add new folders, let alone items or thumbnails.

It said that it couldn't find the sources folder, which I checked and recheck several times with different ways to show SMF where my files were and it didn't work.  I think it thinks Subs-MGallery.php wasn't the right size.

So here is where I am now:
I have nothing, so I wouldn't mind just starting from scratch, but don't know how.
I uninstalled SMG from SMF and deleted it from SMF, but it seems to keep the same settings in the database for some reason.

I would like to remove it completely so that I can reinstall it, I guess.
Unless there is an easier way to fix it.

Any info is appreciated.

-duder673

Harvester

#4105
Need a little help please

I have the latest  2b3 installed. It works fine...

I still can not get voting to work anymore tho.

it worked before I went from 1.5.6 to 2b and now I cant get it to work anymore.

I know you say it works for you but I really need some help getting the votin to work again for my gallery

I have done everything I know of which is:


  • check, double check, triple check all edits in sources, themes and root, using a parser... I did this by copying what she be added to the file to the search feature in Dreamweaver CS3 and then searching the file to be sure it existed.. I searched for the entire chunk of code too  not just a portion of it to be sure there was nothing missed...
  • moved all mgallery files from default theme to my custom  theme... after the 2b3 install was completed successfully
  • moved the mgallery folder from default theme to my custom theme... after the 2b3 install was complete successfully

and still, when I select a rating and click on submit nothing happens...

btw Forum Error Log is empty

what else can I check?

please help me solve this...

thank you

.... just read this in the changelog.txt "+ Added AJAX ratings, so that the page doesn't need to reload when you rate an item"   could this have anything to do with my problems? since this was added in 2.0 beta 1 and wasnt there in 1.5.6      1.5.6 was when the ratings last worked for me.

Nao 尚

@duder> Well, I'm guessing SMG isn't exactly designed for this kind of catastrophy... You really should have up-to-date backups, is all I got to say... Can't say more without access to your FTP & db anyway. And I don't have time for that these days.

@harvester> Don't you ever read the smf-media.com forum? This issue only happens in SMF1, it was fixed last week and will be in beta 4. Which is currently stalled because I'm busy with a completely disastrous upgrade of SMF2's latest revision.

@digger> Please try this, then.

Open Subs-MGallery-Vital.php

Search for: (should be at line 895 or so)

if ($ext == 'png' || $ext == 'gif')

Replace with:

if (($ext == 'png' || $ext == 'gif') && $source != null)

Now remove this line:

$frame->resize($width, $height);

Search for: (it's just a couple of lines below)

$created = imagejpeg($gd_img, $dest);
return $created;


Replace it with:

imagejpeg($gd_img, $dest);
return !$this->resizeJpgImage($gd_img, $dest, imagesx($gd_img), imagesy($gd_img), $width, $height, null);


This SHOULD work... But it's been a long time since I've used resizeJpgImage, so it just might not as well, lol. Please keep me posted.
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.

Akyhne

Quote from: Alex@ on August 06, 2009, 07:01:08 AM
SMG 1.5.6 - SMF 1.1.10
I have a user who created some albums. Only one of those is visible when using the link "User albums" in the gallery.
Any help on this one?

LHW

Is "Regular Members" checked in the Gallery Profile for those albums?


Akyhne

In SMG 1.5.6, there are no per user album permissions. Even admins can't see the albums in the gallery.

LHW

My bad.  I thought I remembered them...been messing with v2b3 too much.  Sorry.


Akyhne

Wen I click the "owner: [name]" in the user albums list, all that users albums shows as expected  ::)

Harvester

Quote from: Nao 尚 on August 09, 2009, 04:57:39 AM
@harvester> Don't you ever read the smf-media.com forum?
Apparently not enough lol Woops
guess I need to change that :D


Quote from: Nao 尚 on August 09, 2009, 04:57:39 AM
This issue only happens in SMF1, it was fixed last week and will be in beta 4. Which is currently stalled because I'm busy with a completely disastrous upgrade of SMF2's latest revision.

ok thats great news! :D


duder673

#4113
Quote from: Nao 尚 on August 09, 2009, 04:57:39 AM
@duder> Well, I'm guessing SMG isn't exactly designed for this kind of catastrophy... You really should have up-to-date backups, is all I got to say... Can't say more without access to your FTP & db anyway. And I don't have time for that these days.

Can you tell me what I am looking for?
Or would it be too much work for high risk?

I would assume there is a way to just delete all sections for SMG in a database somewhere.

I just don't even know where to look.

Harvester

do you have access to phpmyadmin?

looks like all the SMG tables are named:  smf_mgallery_(somethingorother)
the ones I see are called:

smf_mgallery_albums
smf_mgallery_comments
smf_mgallery_fields
smf_mgallery_field_data
smf_mgallery_files
smf_mgallery_log_media
smf_mgallery_log_ratings
smf_mgallery_media
smf_mgallery_perms
smf_mgallery_quotas
smf_mgallery_settings
smf_mgallery_variables

im guessing if you went into you PHPMyAdmin and deleted those tables, you should wipe out all traces of your old gallery and be able to reinstall it.

Also, Id check the parser and see what files SMG places on your server and go find em all and remove em all (back em up before you delete them) except your albums. mgal_data

then Id reinstall.

this is just what I would do... cant say that it is the best method but Id gamble on it working. :D

Harvester

ok I goofed up lol

I installed 2b3 and in an effort to fix a problem I had, I removed all files that had to do with SMG and did all my manual edits again.

What I ended up doing was losing the mod that I had that showed the most recent items on my forums front page above the recent posts area.

Now I cant find that mod. I know I read it in this thread.. I know I even told someone else in this thread how to find it after I did... but now I cant find it... it looks like someone removed that post of mine?

anyway... I want to be able to show the recent items added to the gallery on my forums index above my recent posts but I cant find the mod... someone help me?

I checked here and on smf-media.com but I cant find it.

im running 2b3 and 1.1.10


Harvester


duder673

Quote from: Harvester on August 09, 2009, 11:28:09 PM
sweet! thank you Duder! thats the one i wanted :D
Cool man, and I did what you told me to do and it worked.

I kinda figured that I had to do that, but I don't think I would have had the balls to try it without someone saying something lol.

But anyway, it has worked so far.
I simply trucated all data inside those areas and they were empty.

I'll update if something happens later in case anyone needs this info in the future, but I think it should be straight.

Thanks

Nao 尚

Took a few minutes to release beta 4 :)

Link to the mod's download page

From the changelog :
Version 2.0 beta 4                                August 10, 2009
-----------------------------------------------------------------
! Ajax rating was broken in SMF1
+ Added number of unseen items in menu, next to the Gallery link. The number is updated automatically.
! 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...
* Moved "mark as seen" to its own function which has a 20% chance of doing a table optimize (otherwise it often gets unused space quickly)
+ Call mark as seen function if current user has no outstanding unseen item and hasn't clicked the "mark as seen" button by him/herself
! Item pages wouldn't validate because w3c wants textarea's to have the cols tag in them, even if empty
* Removed "Your albums" header from "My albums" section -- it was a bit unneeded
* Added a border to subheader divs so that they look more like the admin area's
* Use max title length to limit album length in smg_item_list as well
* Added an id to the tabs, if you want to style it to your taste
! Album name wasn't being shown on the recent items list
! Embedded mp3's had layout slightly broken
! Fixed potential css glitch on Core themes
* Don't allow guests in the Unseen area
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.

Advertisement: