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

TheListener

When approving a members photos the banner was bright yellow.

Can this be changed to a colour which is more pleasing to the eye?

ianus

Quote from: TheListener on July 23, 2009, 10:06:44 PM
When approving a members photos the banner was bright yellow.

Yes, horrid, isn't it?

You can change the style.css which comes with this mod.
Path: /Themes/default/mgallery/style.css
or the path to your custom theme if you have installed the mod there also.

Search for
Quote.unapproved_notice
and change the color(s) to fit your needs.

TheListener

Thanks Ianus.

All I need now is a guinea pig er I mean member to test it.

Harvester

ok I uninstalled 1.5.6 and installed 2 with no problems at all. Everything seems to work fine (except no mass upload still) however I do not see where I can use FTP to mass upload. How do I access that?

ethankcvds

@plusev  If you can access everything the gallery installed then yes everything is fine.

@Harvester When you went to use Mass Upload after Selecting the files did you click on the Upload option and then the Submit button on the bottom? If you did that extract 2.0 Beta 1 and take a look at MGallerySafeMode.php to use FTP.
No Pm's for support please!

Harvester

#3965
oh ok ... I see what you are speaking of

I always wondered... when you enter pw and username in a php file like that... what prevents someone from just reading that file and gaining access?

by the way, where does the edit MGallerySafeMode.php go once I edit it?

ethankcvds

Quote from: Harvester on July 24, 2009, 12:57:13 PM
oh ok ... I see what you are speaking of

I always wondered... when you enter pw and username in a php file like that... what prevents someone from just reading that file and gaining access?

by the way, where does the edit MGallerySafeMode.php go once I edit it?

1.PHP has a way of telling Whither or not it should be displayed or not. <?php echo 'Hello World!'; ?> <-Displayed <?php $_GET["User_name"]; ?><- Won't display unless you put an echo in there.
2. Anywhere.
No Pm's for support please!

Harvester

Quote from: ethankcvds on July 24, 2009, 01:09:58 PM
Quote from: Harvester on July 24, 2009, 12:57:13 PM
oh ok ... I see what you are speaking of

I always wondered... when you enter pw and username in a php file like that... what prevents someone from just reading that file and gaining access?

by the way, where does the edit MGallerySafeMode.php go once I edit it?

1.PHP has a way of telling Whither or not it should be displayed or not. <?php echo 'Hello World!'; ?> <-Displayed <?php $_GET["User_name"]; ?><- Won't display unless you put an echo in there.

ooo ok cool! thank you for the explanation :D

Harvester

QuoteOnce you entered your FTP account information, rename the file to
something smart, go to the Admin > SMG > Settings area, and enter
the absolute file path to this new file. You're good to go.

I dont see where to input this info...

the only place I see a path is my "Data directory path"

ethankcvds

Quote from: Harvester on July 24, 2009, 01:15:46 PM
QuoteOnce you entered your FTP account information, rename the file to
something smart, go to the Admin > SMG > Settings area, and enter
the absolute file path to this new file. You're good to go.

I dont see where to input this info...

the only place I see a path is my "Data directory path"

I was looking at that also. Now I'm looking at the files to see what I can find there.
No Pm's for support please!

Harvester

Quote from: ethankcvds on July 24, 2009, 01:53:07 PM
Quote from: Harvester on July 24, 2009, 01:15:46 PM
QuoteOnce you entered your FTP account information, rename the file to
something smart, go to the Admin > SMG > Settings area, and enter
the absolute file path to this new file. You're good to go.

I dont see where to input this info...

the only place I see a path is my "Data directory path"

I was looking at that also. Now I'm looking at the files to see what I can find there.

any luck yet?

ethankcvds

Yeah I think I figured out where the problem is at when your in the settings area there should be a place to put the location of where the MGallerySafeMode.php is supposed to be, but its no there from what I'm seeing of the code.
No Pm's for support please!

Harvester

maybe dragoon or nao can clear this up for us :D

Soms

I have finally upgraded to SMF Media Gallery (SMG) - 2.0 beta 1. Now I keep getting these in the error log every time someone visits the forum. I woke up this day to find 2000 pages (!) of these.  Did I miss something?

Quote2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
File: /mnt/web4/21/50/51458650/htdocs/Sources/BoardIndex.php
Line: 293

And this
Quote8: Undefined index: view_only_boards
File: /mnt/web4/21/50/51458650/htdocs/Sources/BoardIndex.php
Line: 293

ethankcvds

Quote from: Soms on July 25, 2009, 05:36:01 AM
I have finally upgraded to SMF Media Gallery (SMG) - 2.0 beta 1. Now I keep getting these in the error log every time someone visits the forum. I woke up this day to find 2000 pages (!) of these.  Did I miss something?

Quote2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
File: /mnt/web4/21/50/51458650/htdocs/Sources/BoardIndex.php
Line: 293

And this
Quote8: Undefined index: view_only_boards
File: /mnt/web4/21/50/51458650/htdocs/Sources/BoardIndex.php
Line: 293

Did you recently uninstall any other mods?
No Pm's for support please!

Soms

Quote from: ethankcvds on July 25, 2009, 08:00:21 AM
Did you recently uninstall any other mods?

No. The only only one I uninstalled was the previous version of SMG.

ethankcvds

Quote from: Soms on July 25, 2009, 11:30:52 AM
No. The only only one I uninstalled was the previous version of SMG.

The second one is an error with the view only boards mod.
The first I'm sure has something to do with an other mod also.
No Pm's for support please!

Soms

Do you think SMG permission system is conflicting with an existing mod or set of permissions?

Harvester

just installed SMG 2 on SMF 1.1.10 yesterday... cant vote on any items any longer. I can drop down to select the vote but when I hit vote nothing happens.

dont knwo if any of the following info helps but....

IE7's status bar says "Error on Page."

I see no errors in my Forum Error Log.





Harvester

Also, any chance on getting some help getting the FTP feature to work? I edited the proper php file... but see nowhere to enter the path so SMG knows.

When I go to FTP I see all my albums in the drop down... but when I highlight one and click "Submit" it does nothing and then errors are generated in the forum error log.

the errors generated are:

2: mysql_real_escape_string() expects parameter 2 to be resource, null given
File: /..../..../.../...../...../myforums/Sources/Subs-MGallery-Vital.php
Line: 328

and

8: Undefined variable: connection
File: /..../..../.../...../...../myforums/Sources/Subs-MGallery-Vital.php
Line: 328

im guessing these have to do with the fact that SMG doesnt know where my php with the user and pw for my ftp are located?

Advertisement: