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

PfalzNacht

Oh, many thanks.

I didn't know that aeva must be installed, but now everything is clear.

Thanks for this great mod.  ;D


PS: SMG works without any issue, everything works correct. *Thumbs up*

Akyhne

Quote from: mark7144 on February 09, 2009, 04:06:05 PM
akyhne: Did you create the smileys in your signature? Do you realise the wink is incorrect? The smile should be more prominent on the side of the face that has the closed eye, not the other way around - it's humanly impossible! :)



My smileys can do anything ;) They are not human.

Edit: I just tried it. It is possible...

Yeah, they are part of the LightB and darkB mods you can find a link to in my signature.

LinK187

#2422
These are all the .css files in the themes/default/mgallery folder:

hs.css
.highslide-wrapper div {
font-family: Verdana, Helvetica;
font-size: 10pt;
}
.hs {
cursor: url(hs/zoomin.cur), pointer;
outline: none;
text-decoration: none;
}
.highslide-active-anchor img {
visibility: hidden;
}
.highslide-maincontent {
display: none;
}
.highslide-wrapper, .rounded-white {
background: white;
}
.highslide-image-blur {
}
.highslide-caption {
display: none;

border: 2px solid white;
border-top: none;
font-family: Verdana, Helvetica;
font-size: 10pt;
padding: 5px;
background-color: white;
}
.highslide-loading {
display: block;
color: black;
font-size: 8pt;
font-family: sans-serif;
font-weight: bold;
text-decoration: none;
padding: 2px;
border: 1px solid black;
background-color: white;

padding-left: 22px;
background-image: url(hs/loader.white.gif);
background-repeat: no-repeat;
background-position: 3px 1px;
}
a.highslide-full-expand {
background: url(hs/fullexpand.gif) no-repeat;
display: block;
margin: 0 10px 10px 0;
width: 34px;
height: 34px;
}


.highslide-html {
background-color: white;
}
.highslide-dimming {
background-color: black;
}
/* Styles for the popup */
.highslide-wrapper .highslide-html-content {
width: 400px;
padding: 5px 10px 10px 10px;
}
.highslide-wrapper .highslide-header {
padding-bottom: 5px;
}
.highslide-wrapper .highslide-header ul {
margin: 0;
padding: 0;
text-align: right;
}
.highslide-wrapper .highslide-header ul li {
display: inline;
padding-left: 1em;
}
.highslide-wrapper .highslide-header ul li.highslide-previous, .highslide-wrapper .highslide-header ul li.highslide-next {
display: none;
}
.highslide-wrapper .highslide-header a {
font-weight: bold;
color: gray;
text-transform: uppercase;
text-decoration: none;
}
.highslide-wrapper .highslide-header a:hover {
color: black;
}
.highslide-wrapper .highslide-header .highslide-move a {
cursor: move;
}
.highslide-wrapper .highslide-footer {
height: 11px;
}
.highslide-wrapper .highslide-footer .highslide-resize {
float: right;
height: 11px;
width: 11px;
background: url(hs/resize.gif);
}
.highslide-wrapper .highslide-body {
}
.highslide-move {
cursor: move;
}
.highslide-resize {
cursor: nw-resize;
}


style.css
.vam {
vertical-align: middle;
}
.mgra {
text-align: right;
}
.smgbutton_ok, .smgbutton_cancel {
font-size: 8pt;
line-height: 8pt;
border: 1px solid black;
padding: 3px 3px 3px 21px;
margin: 0;
background: #DEF url(../images/mgallery/accept.png) 1px 2px no-repeat;
}
.smgbutton_cancel {
background: #DEF url(../images/mgallery/cancel.png) 1px 2px no-repeat;
}
ul.pics {
padding: 0;
margin: 0 0 0 -8px;
}
ul.pics li {
display: inline;
overflow: visible;
float: left;
margin: 8px 0 0 8px;
text-align: center;
padding: 6px;
}
div.smg_extbox ul.pics li {
margin: 0;
}
div.smg_extbox {
padding: 8px;
text-align: center;
}
div.smg_extbox img.smg_ext {
padding: 4px;
border: 1px solid black;
}
.comments {
padding: 10px;
}
.comments:after {
clear: both;
content: ".";
display: block;
height: 0pt;
visibility: hidden;
}
#viewitem .info_list {
padding: 0;
margin: 0;
}
#viewitem .info_list li {
display: inline;
float: left;
width: 100%;
padding: 0 6px 3px 6px;
}
#viewitem h4 {
padding: 3px 6px 1px 6px;
}
.sort_options {
margin-top: 8px;
text-align: right;
padding: 6px;
}
.page_index {
padding: 6px;
}
.notice {
padding: 6px;
text-align: center;
width: 100%;
}
#albums .data {
padding: 6px;
}
#home .header {
padding: 6px;
}
div.item_heading {
padding: 6px;
vertical-align: middle;
text-align: center;
margin-top: 20px;
}
.item_heading a {
text-decoration: underline !important;
}
#home .recent_comments {
float: left;
width: 50%;
}
#home .random_comments {
float: right;
width: 50%;
}
#viewitem .info {
padding: 3px;
}
#viewitem td.info {
vertical-align: middle;
}
#viewitem .header {
padding: 6px;
}
#viewitem .comment_sort_options {
float: right;
}
#viewitem .page_index {
padding: 5px;
}
#itembox {
text-align: center;
padding: 16px 8px 0 8px;
}
td.mgabs img {
padding: 0 2px;
vertical-align: text-bottom;
}
td.mgabs a {
text-decoration: none;
}
.selected {
border-bottom: 2px dotted black;
}
#viewitem .images {
height: 20px;
}
#viewitem .images a {
margin-right: 4px;
font-weight: bold;
text-decoration: none;
line-height: 18px;
}
#viewitem .images img {
vertical-align: middle;
}
.text_margins a {
margin: 0 2px;
}
.mg_subtext, .mg_desc {
color: #666;
font-size: 0.85em;
line-height: 1.1em;
font-style: italic;
padding-top: 4px;
}
.unapproved_notice, .unapproved_yet {
background: #FEEE00;
text-align: center;
padding: 10px;
}
.unapproved_yet {
margin: 6px;
border: 2px dashed #cc3344;
background: #FFDCE0;
font-weight: bold;
}
.unapp {
background: #FFD0D0;
}
.mg_prev {
float: left;
text-align: left;
padding: 4px 4px 10px 4px
}
.mg_next {
float: right;
text-align: right;
padding: 4px 4px 10px 4px
}
.mg_large {
font-weight: bold;
font-size: 11pt;
letter-spacing: -0.5px;
}
.mg_pb4 {
padding-bottom: 4px;
}
.currentbutton {
font-weight: bold;
}
.mgc_main, .mgc_last_edit, .mgc_icons {
font-size: 8pt;
padding: 1px;
}
.mgc_post {
clear: both;
font-size: 9pt;
padding: 8px;
margin: 0;
}
.mgc_main {
border-bottom: 1px dotted #999;
margin: 5px 5px 1px 5px;
float: left;
}
.mgc_last_edit {
border-top: 1px dotted #999;
margin: 1px 5px 5px 5px;
font-style: italic;
}
.mgc_icons {
text-align: right;
margin: 5px 5px 1px 5px;
float: right;
}
#mg_coms .mgc_icons a {
text-decoration: none;
line-height: 18px;
}
#mg_coms .mgc_icons img {
vertical-align: middle;
}
.comment_preview {
color: #666;
border: 1px dashed #666;
margin: 8px 16px 0 16px;
padding: 8px;
font-size: 1em;
line-height: 1.4em;
}


style-up.css
#mu_items {
display: none;
}
#mu_items ul {
padding: 0;
margin: 0;
}
#mu_items ul li {
display: inline;
overflow: auto;
float: left;
margin-right: 8px;
border: 1px solid;
padding: 4px;
margin-top: 8px;
}
#mu_items_error {
display: none
}
#upload_form .progress {
background: white url(../images/mgallery/progress.png) no-repeat -250px 0;
margin-right: 0.5em;
}
#upload_form .progress2 {
background: white url(../images/mgallery/progress2.png) no-repeat -250px 0;
margin-right: 0.5em;
}
#upload_form .progress-text {
font-size: 0.9em;
font-weight: bold;
}
#upload_form {
padding: 10px 15px;
}
#current_list {
list-style: none;
}
#current_list li {
width: 420px;
display: inline;
border: 1px solid;
float: left;
padding: 6px;
margin: 10px;
}
#current_list li.file {
background: #D9DDE9;
}
#current_list li.file-uploading {
background: url(../images/mgallery/uploading.png) no-repeat 4px 4px;
background-color: #F9F7ED;
}
#current_list li.file-success {
background: url(../images/mgallery/tick.png) no-repeat 4px 4px;
}
#current_list li.file-failed {
background: url(../images/mgallery/failed.png) no-repeat 4px 4px;
}
#current_list li.file .file-name {
font-size: 1.2em;
margin-left: 44px;
display: block;
clear: left;
line-height: 40px;
height: 40px;
font-weight: bold;
}
#current_list li.file .file-size {
font-size: 0.9em;
line-height: 18px;
float: right;
margin-top: 2px;
margin-right: 6px;
}
#current_list li.file .file-info {
display: block;
margin-left: 44px;
font-size: 0.9em;
line-height: 20px;
}
#current_list li.file .file-remove {
clear: right;
float: right;
line-height: 18px;
margin-right: 6px;
}
#current_list li.file .file_error {
color: #FF0000;
text-align: center;
}
#current_list li.succ_item {
text-align: center;
border: 0px;
}


Which file and which value needs to be changed so that the text outlined in red in the attached screen shot will be darker, or so that the background will be darker?


-edit by Kindred-  PLEASE! use code tags, not quote tags


Akyhne

Seems to be #current_list you are going to edit the different colors.

Akyhne

#2424
// Overall background
#current_list li.file {
background: provideYourColor

// The filename properties
#current_list li.file .file-name {
color: provideYourColor

// The color of the filesize
#current_list li.file .file-size {
color: provideYourColor


Edit: The Remove link seems to just use your forums color. You should be able to change it by adding
#current_list a {
   color:provideYourColor
}

... where provideYourColor is the color you want.

LinK187

Quote from: akyhne on February 09, 2009, 07:19:38 PM
// Overall background
#current_list li.file {
background: provideYourColor

// The filename properties
#current_list li.file .file-name {
color: provideYourColor

// The color of the filesize
#current_list li.file .file-size {
color: provideYourColor

Cheers :)

Quote#current_list li.file {
   background: #202020;
}

did the trick nicely :)

kopijun

Dragoon, you're amazing....Thank you very much....My problem with thumbnail and uploading images has gone....
Thank you very  much again.....
mud volcano [nofollow]

Xavi-Nena

Quote from: Nao 尚 on February 09, 2009, 04:07:25 PM
As a sidenote--sorry, I don't use permissions a lot. It's more of Dragooon's territory so I'll leave it up to him if you don't find a solution in the meantime.

@mark> lol, you're right! Never tried that on my own face ;)

Thank you :) so far so good with my last update...i had to allow them to moderate the gallery in order for them to see it...strange.

Xavi-Nena

Quote from: akyhne on February 09, 2009, 06:28:54 PM
Quote from: mark7144 on February 09, 2009, 04:06:05 PM
akyhne: Did you create the smileys in your signature? Do you realise the wink is incorrect? The smile should be more prominent on the side of the face that has the closed eye, not the other way around - it's humanly impossible! :)



haha now were all on here doing this...i agree it is possible :) sorry couldnt resist.

My smileys can do anything ;) They are not human.

Edit: I just tried it. It is possible...

Yeah, they are part of the LightB and darkB mods you can find a link to in my signature.

Nao 尚

@akyhne> there are only two pixels to change in your animated gif to make it anatomically possible ;)

Quote from: NenaGb on February 09, 2009, 10:54:13 PM
Thank you :) so far so good with my last update...i had to allow them to moderate the gallery in order for them to see it...strange.
You shouldn't have to do this -- and you shouldn't do this at all...
Can you pm me an account with admin access? as well as your URL?
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

Quote from: amg944 on February 09, 2009, 05:01:42 PM
Quote from: Dragooon on February 09, 2009, 11:56:35 AM
Quote from: Dragooon on February 09, 2009, 11:46:39 AM
Quote from: amg944 on February 09, 2009, 11:22:22 AM
Quote from: Dragooon on February 09, 2009, 11:15:26 AM
Quote from: amg944 on February 09, 2009, 11:04:20 AM
Hi,

I tried the fix
"@Images not showing issue
Try this one
Open MGallery.php(This would be at the end)."

And it didn't work.
As a recap.
I was running fine on SMF 1.1.7 and SMF Media 1.5.2 with close to 3,000 pics loaded and Slideshow.
I upgraded to SMF 1.1.8 without problems.
I created another albums => no problems
I tried to load pics in the album => no pics would load
I uninstall Slideshow then Media 1.5.2
I installed Media 1.5.4 => thumbnails don't show, tried to run "Find errors" => no errors reported
I tried to regenerate thumbnails => error
"Error, file not found! (/homepages/17/d172373739/htdocs/forum/mgal_data/albums/Porsches_et_autres_belles_!/Dir_1/528__MG_1733_4_5_jpge604e555384b40a1ec6fd3ec0322ee4e_extjpg)"
Uninstall 1.5.4 then re-install 1.5.2 => same error

Please help! If you want an FTP access, I'll PM one.

The site is http://www.rennsport.ca/forum/index.php?action=mgallery

Tx.


Tried clearing your browser's cache? Can you enable guest access?
Yes, I cleared the cache and I sent you an email with the accesses.
Tx.

Eh..Your gallery works fine to me?
Your issue is not with the image's not displayed, you're gallery is screwed up as in mgal_data is not chmodded to 777 as well as its sub-albums and it is not able to create the album's folders. You ned to flush your gallery out and start all over again, make sure that you chmod mgal_data and its sub-folders to 777.

@qubbah - what are you talking about?
Well, I have an update.
Here's what I did after this post:
- deleted all my Albums (60 of them!)
- Uninstall Slideshow
- Uninstall Media 1.5.4
- Re-install Media 1.5.4
- Recreated about 10 Albums
- CHMODDed mgall and Sub dir to 777
- Loaded  about 1,000 pics
- Created 2 more albums
- Deleted these two albums
Then Paff no more thumbnails and the erorrs search gives me this message on almost all my file. 
The following errors were discovered when searching for errors

    * The physical file #12488, used with item #4347, is missing.
    * The physical thumbnail #12489, used with item #4347, is missing.
I tried the fix on Mgallery.php without success.

Anybody can help?
Make sure you also dumped the mgallery tables(They'll be prefixed with <your_prefix>_mgallery).Make sure to backup your DB before doing that.

mark7144

Quote from: akyhne on February 09, 2009, 06:28:54 PM
Quote from: mark7144 on February 09, 2009, 04:06:05 PM
akyhne: Did you create the smileys in your signature? Do you realise the wink is incorrect? The smile should be more prominent on the side of the face that has the closed eye, not the other way around - it's humanly impossible! :)



My smileys can do anything ;) They are not human.

Edit: I just tried it. It is possible...

Yeah, they are part of the LightB and darkB mods you can find a link to in my signature.
You won't find many people who want a mentally retarded wink so I'd correct it if I was you.

Nao 尚

Quote from: mark7144 on February 10, 2009, 04:46:34 AM
You won't find many people who want a mentally retarded wink so I'd correct it if I was you.
That's not a very nice thing to say.

(And believe me, I'm starting to get the hang of it O:))
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.

mark7144

Quote from: Nao 尚 on February 10, 2009, 05:34:02 AM
That's not a very nice thing to say.
If that stupid wink emoticon is within a really decent package of smileys then I feel bad for akyhne if that is deterring people from downloading it. I'm just trying to help :)

Quote from: Nao 尚 on February 10, 2009, 05:34:02 AM
(And believe me, I'm starting to get the hang of it O:))
I'll believe it when I see it! :D

nosferatu

Strangely, this invisible link issue has come up again. Now back in work and the IE7 I have doesn't show the thumnail in the recent items list. However, Firefox does. I've cleared the IE browser history and reset the default settings in the advanced options panel. Perhaps the cache isn't being cleared properly as it works fine in Firefox and it worked last night at home on IE7 and Firefox.
There's a certain joy in being mad that only madmen know

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.

PfalzNacht

Is it possible that the rating goes from 1 to 10 instead 1 - 5. What have i to change and which files?

I want to use the gallery for a little picture competition.

Perhaps anybody can make an addon for the gallery?  ;)

Nao 尚

No, it's complicated. 1-5 is the most widely accepted rating system for Web 2.0 sites, AFAIK. And IMHO it's also the most logical.
"It sucks - I'm not too fond - It's okay - I like - I love"
What more do you need? You think people will mostly rate 4 or 5 when they like something, and they won't rate at all when they don't? Well, do you think it would change if it was a 1-10 rating system?
Check out the link in my sig (click on "scientific"), you'll see that a 1-5 rating system works just fine when people know how and why to rate in the first place.
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.

PfalzNacht

Thanks for the link, but i can't speak french!  ;D

I think i introduce my members how it works with the rating system, and then here we go!  :P

Thanks!  :)

Akyhne

Quote from: Nao 尚 on February 10, 2009, 05:34:02 AM
That's not a very nice thing to say.

(And believe me, I'm starting to get the hang of it O:))

Ha ha ha, nice to hear ;)

How to behave in a forum: http://www.simplemachines.org/community/index.php?topic=291603.0  :P

Advertisement: