News:

Want to get involved in developing SMF, then why not lend a hand on our github!

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

Succubus Evaligan

What happen with the official pafe of SMF-Media?
well I think that I have the last version 1.5
Yuri Goddess

Dragooon


LinK187

#1342
Quote from: mforum on December 13, 2008, 08:55:46 AM
you can install manually => http://custom.simplemachines.org/mods/index.php?action=parse;mod=1365;attach=78795;smf_version=1.1.7

db_mgallery.php
This file should be able to execute standalone.

So I can just upload it to where it's supposed to be and that's the end of it? Or do i have to view the file in my webbrowser to execute it?

edit: sorry I didn't notice dragoon's response answering this question.

LinK187

cheers  :D

got it installed and working (manually).

Alpay

hi..
Database error..

Table 'xxx_smf3.members' doesn't exist

my table :  'xxx_smf3.forum_members'

Line : db_mgallery.php

$mem_columns = $smcFunc['db_list_columns']('members', false);

('members', .. Before  {db_prefix} ?
&
two members..

if (!in_array('mgal_total_items', $mem_columns))
   {
      $smcFunc['db_add_column']('members', array('name' => 'mgal_total_items', 'type' => 'INT', 'null' => null, 'default' => '0'));
      $altered_mem_table_1 = true;
   }
   if (!in_array('mgal_total_comments', $mem_columns))
   {
      $smcFunc['db_add_column']('members', array('name' => 'mgal_total_comments', 'type' => 'INT', 'null' => null, 'default' => '0'));
      $altered_mem_table_2 = true;
   }


aidy_d_uk

Quote from: aidy_d_uk on December 12, 2008, 05:34:04 PM
hi

great mod btw

but i have 1 problem i use alot of pictures and i tried to emebed them in a post on the forum and got the limit reach so i changed it to 50 tags but it still says limit reached any ideas?

can you help me on this??

Burke ♞ Knight

Just how many pictures are you trying to put into one post?

That is more of a SMF problem, not the Gallery's problem.

May want to ask in the support board for the version of SMF you are running.

Dragooon

Quote from: Alpay on December 13, 2008, 04:19:49 PM
hi..
Database error..

Table 'xxx_smf3.members' doesn't exist

my table :  'xxx_smf3.forum_members'

Line : db_mgallery.php

$mem_columns = $smcFunc['db_list_columns']('members', false);

('members', .. Before  {db_prefix} ?
&
two members..

if (!in_array('mgal_total_items', $mem_columns))
   {
      $smcFunc['db_add_column']('members', array('name' => 'mgal_total_items', 'type' => 'INT', 'null' => null, 'default' => '0'));
      $altered_mem_table_1 = true;
   }
   if (!in_array('mgal_total_comments', $mem_columns))
   {
      $smcFunc['db_add_column']('members', array('name' => 'mgal_total_comments', 'type' => 'INT', 'null' => null, 'default' => '0'));
      $altered_mem_table_2 = true;
   }


Whats your SMF version?

aidy_d_uk

Quote from: BurkeKnight on December 13, 2008, 08:35:07 PM
Just how many pictures are you trying to put into one post?

That is more of a SMF problem, not the Gallery's problem.

May want to ask in the support board for the version of SMF you are running.

not really its using bbc code and it was set at 10 i set it to 50 but it never goes past 10 just says limit reached where the other tags where.

aidy_d_uk

well i sorted it myself by changing this from 10 to 50

function smg_show_thumbnail($data)
{
global $scripturl, $txt, $mgalSettings, $sourcedir;
static $counter;

if ($counter++ >= (isset($mgalSettings['max_thumbs_per_page']) ? $mgalSettings['max_thumbs_per_page'] : 50))
return $txt['mgallery_max_thumbs_reached'];

taha116

#1350
What has been updated? this mod shows up in recently updated but i dont see a version change, i have 1.5 and its says newest is 1.5 but i had that installed for a while now....

edit

I need help with something... I set max file size to 1MB but as admin i uplaoded a 14 MB .flv file. The first time i visited the page it worked then i refreshed and the video wont show but its other data will... What is the problem?

The embed tags seem to work fine though...

edit

IDK why but it seems to have started to work again...
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

darkon

Quote from: Dragooon on December 13, 2008, 08:58:39 AM

Quote from: darkon on December 13, 2008, 01:52:50 AM
Quote from: darkon on December 08, 2008, 09:45:14 PM
The CHMOD for the folders "mgal_data" and all the folders included in that are set to 777.
Since i have to install my mods manualy (somehow the package manager won´t work on my vServer) i had to guess how to set the CHMODs, because there was no instruction on permissions.

Just a reminder.
I still get that annoying Error-Message mentioned before, when trying to upload something.

Are these all the permissions i have to set or are there more?
Any other ideas, where the problem could be?


Make sure that mgal_data and all of its sub-folders and there folders are so on are chmodded to 777.

Like i posted, the permissions for mgal_data and all its subfolders are 777



TheDisturbedOne

I have a suggestion for this MOD.  Have the comments be posted in a forum (ex I comment on Picture 1 and my comment is a reply to a topic called "Picture 1".  Once a picture is uploaded a new topic will be made).

Anybody like my idea?

holeski

I have the gallery installed and working. Looks good.

Does anyone know if there a way to give the Admin access to all the albums including others user albums? I had to save all our forums old photos and now need to set up our members albums. The Admin need to be able to add user albums for other members and photos to those albums. What we had hoped to do is have a general album that any paying member could add their user album to. This giving one album to look in for all club members albums.

Also the icons for albums are being intermediately generated and when I go back to add one they never show up.

taha116

Quote from: TheDisturbedOne on December 14, 2008, 03:55:44 PM
I have a suggestion for this MOD.  Have the comments be posted in a forum (ex I comment on Picture 1 and my comment is a reply to a topic called "Picture 1".  Once a picture is uploaded a new topic will be made).

Anybody like my idea?

Great idea sorta like the way the calender feature works, just adopt a similar mthod, shouldnt be too hard
"The man who smiles when things go wrong has though of someone to blame things on"
I forgot the name
BUY electronic cigarettes with rechargeable batteries as well as flavored refills for cheap prices and only 1-2 dollars of shipping!
http://www.ngcigarettes.com/
~Taha116

Nao 尚

Quote from: aidy_d_uk on December 14, 2008, 07:47:32 AM
well i sorted it myself by changing this from 10 to 50

function smg_show_thumbnail($data)
{
global $scripturl, $txt, $mgalSettings, $sourcedir;
static $counter;

if ($counter++ >= (isset($mgalSettings['max_thumbs_per_page']) ? $mgalSettings['max_thumbs_per_page'] : 50))
return $txt['mgallery_max_thumbs_reached'];

Could you try to set it back to 10, and add = 0; right after "static $counter"? Maybe it's where the problem is... (I applied this to the svn, just in case. BTW Dragooon, I also added some Javascript (wow! Miracles happen sometimes!) to convert the news dates in the admin area to something readable in one's own language/locale.)
Other than that, my max thumbs is set to 15 and it does work...

TheDisturbedOne> Sorry but this isn't exactly an original idea... ;) This has been requested a LOT... And I mean a LOT (both on this topic, and over at smf-media.com). And although I'll definitely work on some stuff like that in the future, I just want to remind you that the separate comments table is how Dragooon made it up in the first place, and having comments posted in the messages table instead is only likely to increase the size of the messages table... If there are lots of messages and comments, it will slow down both your board and your gallery. Is that really what you want?

I have two ways of doing it:
- a single, closed, topic per user album/general album. Every time a picture is posted, a new message is automatically posted to the related topic.
- a new topic is posted for every picture... That could mean an awful lot of new topics....
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.

TeaTephi

#1356
Used the Mass upload option which worked awesome, but I don't know where the file I uploaded went!  I looked all over, it's not in the albums and I looked on my server,

What am I missing?

Thanks!
Tea
SMF 2.0.2 | TinyPortal 1.107 Veterans day theme Opera 11.50
Mods:Profile Comments.....AEVA Media 2.10.....Activity in profile.....join-reason....Bookmarks 2.3.....SA Chat    Beta 4-1 Rev43....Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.1.....SMFPacks Likes Lite Mod

Thank you guys for all your support and development that you do.  I love my forum, and am so thankful to have a place to ask my questions.  I do love SMF 2.0 it's smoother and all my members love it!

Dragooon

@TeaTephi - Please try applying cross domain security XML file(Google it) then try using mass upload.

Nao 尚

@Dragooon> he said he was able to use it...

@TeaTephi> did you look in the twilight zone as well, 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.

Dragooon

@Nao - The image clearly shows that the server didn't give any response, I've experienced this whenever crossdomain.xml wasn't there. Although it might not be the reason.

Advertisement: