Noticed if you set an album as global any images added to it don't show up on the forum index.
WHERE album.album_type = "public" AND moderation = 0
WHERE ( album.album_type = "public" OR album.album_type = "global") AND moderation = 0
Also if User Album home is viewed in table format the most recent image in each category doesn't show up (See attached). If i switch it to grid view it appears ok. Anyone know how to fix?
Edit /library/XfRu/UserAlbums/Model/Images.php or just be patient Pepelac will fix it soon
Line ~ 197
Find :
PHP:WHERE `album`.album_type = "public" AND moderation = 0
Replace:
PHP:WHERE ( album`.album_type = "public" OR `album`.album_type = "global") AND moderation = 0
It's working exactly as designed.
EXCELLENT! By making the changes in EXTRA.css it can safely be implemented without unnecessary template changes. You're my hero!I wanted to make it a lil more cleaner, so I went ahead a played with the forum-list lastest images view to allow 5 images.
View attachment 24034
Although I really like what I have now, what would be really neat, is if we can get Pepelac to have the image info to show only when hovering on top of the image, sort of like when you open up a member card and if your an administrator, the Edit link shows up.
I think that would make things a lot cleaner, and save space
Anyways, if you would like my code here it is,
just add it to Xenforo EXTRA.CSS template and you should be good to go:
* WARNING * this is set to my liking and my forum skin, you'll most likely have to edit a few thing to make it work with your own. My forum is set to 976px fixed with and it looks perfectly aligned. If you have another with, it will most like not look 100% like the shot you seen above.
Code:/** * [xfr] Useralbum forum-list Latest Images */ .thumbnailHolder { float: left; width: 130px !important; } .firstImage { margin-left: -1px !important; } .thumbnailHolder .boxModelFixer { margin: 0 !important; padding: 0 !important; border: none !important; border-radius: none !important; } .thumbnailHolder .thumbnail { margin: 4px !important; padding: 4px !important; width: 120px !important; height: 120px !important; line-height: 115px; text-align: center; border: 1px none black; border-radius: none !important; box-shadow: none !important; } .thumbnailHolder .thumbnail .thumbBox { padding-right: 0; padding-top: 0; z-index: 10; position: relative; } .thumbnailHolder .thumbnail .thumbBox img { max-height: 120px !important; max-width: 120px !important; vertical-align: middle; } .thumbnailHolder .infobar { font-size: 11px; width: 120px !important; margin: 10px 8px 10px 8px !important; text-align: center; border: 1px solid @cmDarkerBorder !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); -khtml-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); border-radius: 3px; } .thumbnailHolder .infobar .item { border: none !important; border-radius: 5px; padding:3px 3px 3px 22px !important; height:16px; line-height:16px; display:inline-block; } .thumbnailHolder .infobar .posterDate { margin-top: 5px !important; }
Is this fix you just showed supposed to also fix global images showing up in the xenporta block?Edit /library/XfRu/UserAlbums/Model/Images.php or just be patient Pepelac will fix it soon
Line ~ 197
Find :
PHP:WHERE `album`.album_type = "public" AND moderation = 0
Replace:
PHP:WHERE ( album`.album_type = "public" OR `album`.album_type = "global") AND moderation = 0
It's working exactly as designed.
Is this fix you just showed supposed to also fix global images showing up in the xenporta block?
No, not directly but you can edit UserAlbumsLatestPictures.php and change php manually. Find and replace same part of php code.
Xenporta block fix http://xenforo.com/commhunity/threads/8wayrun-com-xenporta-module-add-ons.7611/page-40#post-316000
That killed my site
An exception occurred: Mysqli prepare error:
WHERE ( album.album_type = "public" OR album.album_type = "global") AND moderation = 0
Works great, thanks!Sorry, there's a small mistake
WHERE ( album`.album_type = "public" OR `album`.album_type = "global") AND moderation = 0
I fixed it
Code:WHERE ( album.album_type = "public" OR album.album_type = "global") AND moderation = 0
I wanted to make it a lil more cleaner, so I went ahead a played with the forum-list lastest images view to allow 5 images.
View attachment 24034
Although I really like what I have now, what would be really neat, is if we can get Pepelac to have the image info to show only when hovering on top of the image, sort of like when you open up a member card and if your an administrator, the Edit link shows up.
I think that would make things a lot cleaner, and save space
Anyways, if you would like my code here it is,
just add it to Xenforo EXTRA.CSS template and you should be good to go:
* WARNING * this is set to my liking and my forum skin, you'll most likely have to edit a few thing to make it work with your own. My forum is set to 976px fixed with and it looks perfectly aligned. If you have another with, it will most like not look 100% like the shot you seen above.
Code:/** * [xfr] Useralbum forum-list Latest Images */ .thumbnailHolder { float: left; width: 130px !important; } .firstImage { margin-left: -1px !important; } .thumbnailHolder .boxModelFixer { margin: 0 !important; padding: 0 !important; border: none !important; border-radius: none !important; } .thumbnailHolder .thumbnail { margin: 4px !important; padding: 4px !important; width: 120px !important; height: 120px !important; line-height: 115px; text-align: center; border: 1px none black; border-radius: none !important; box-shadow: none !important; } .thumbnailHolder .thumbnail .thumbBox { padding-right: 0; padding-top: 0; z-index: 10; position: relative; } .thumbnailHolder .thumbnail .thumbBox img { max-height: 120px !important; max-width: 120px !important; vertical-align: middle; } .thumbnailHolder .infobar { font-size: 11px; width: 120px !important; margin: 10px 8px 10px 8px !important; text-align: center; border: 1px solid @cmDarkerBorder !important; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); -khtml-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); border-radius: 3px; } .thumbnailHolder .infobar .item { border: none !important; border-radius: 5px; padding:3px 3px 3px 22px !important; height:16px; line-height:16px; display:inline-block; } .thumbnailHolder .infobar .posterDate { margin-top: 5px !important; }
Check out what your code did with mine (forum fixed width at 1050 pixels)... any suggestions on how to make it look a little better?
I removed it, it didn't look good.What's the url, i clicked on your banner but did not see anything..
That is one of the reasons I removed mine... also I could fit the 5 on the portal, but it left too much space on the right side.Your fix for making more preview images visible on forumhome is working perfectly, although it somewhat messed up the layout for the album list. Can you look into that?
View attachment 24299
Your fix for making more preview images visible on forumhome is working perfectly, although it somewhat messed up the layout for the album list. Can you look into that?
/**
* [XFR] User albums Extra Images on Forum List
*/
.forum_list .thumbnailHolder
{
float: left;
width: 130px !important;
}
.forum_list .firstImage
{
margin-left: -1px !important;
}
.forum_list .thumbnailHolder .boxModelFixer
{
margin: 0 !important; padding: 0 !important;
border: none !important;
border-radius: none !important;
}
.forum_list .thumbnailHolder .thumbnail
{
margin: 4px !important; padding: 4px !important;
width: 120px !important;
height: 120px !important;
line-height: 115px;
text-align: center;
border: 1px none black;
border-radius: none !important;
box-shadow: none !important;
}
.forum_list .thumbnailHolder .thumbnail .thumbBox
{
padding-right: 0;
padding-top: 0;
z-index: 10;
position: relative;
}
.forum_list .thumbnailHolder .thumbnail .thumbBox img
{
max-height: 120px !important;
max-width: 120px !important;
vertical-align: middle;
}
.forum_list .thumbnailHolder .infobar
{
font-size: 11px;
width: 120px !important;
margin: 10px 8px 10px 8px !important;
text-align: center;
border: 1px solid @cmDarkerBorder !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
-khtml-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
border-radius: 3px;
}
.forum_list .thumbnailHolder .infobar .item
{
border: none !important;
border-radius: 5px;
padding:3px 3px 3px 22px !important;
height:16px;
line-height:16px;
display:inline-block;
}
.forum_list .thumbnailHolder .infobar .posterDate
{
margin-top: 5px !important;
}
That is one of the reasons I removed mine... also I could fit the 5 on the portal, but it left too much space on the right side.
/**
* [XFR] User albums Extra Images on Forum List (Width: 1050px)
*/
.forum_list .thumbnailHolder
{
float: left;
width: 146px !important;
}
.forum_list .firstImage
{
margin-left: -2px !important;
}
.forum_list .thumbnailHolder .boxModelFixer
{
margin: 0 !important; padding: 0 !important;
border: none !important;
border-radius: none !important;
}
.forum_list .thumbnailHolder .thumbnail
{
margin: 5px !important; padding: 5px !important;
width: 130px !important;
height: 130px !important;
line-height: 115px;
text-align: center;
border: 1px none black;
border-radius: none !important;
box-shadow: none !important;
}
.forum_list .thumbnailHolder .thumbnail .thumbBox
{
padding-right: 0;
padding-top: 0;
z-index: 10;
position: relative;
}
.forum_list .thumbnailHolder .thumbnail .thumbBox img
{
max-height: 130px !important;
max-width: 130px !important;
vertical-align: middle;
}
.forum_list .thumbnailHolder .infobar
{
font-size: 11px;
width: 130px !important;
margin: 10px 8px 10px 10px !important;
text-align: center;
border: 1px solid @cmDarkerBorder !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
-khtml-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
border-radius: 3px;
}
.forum_list .thumbnailHolder .infobar .item
{
border: none !important;
border-radius: 5px;
padding:3px 3px 3px 22px !important;
height:16px;
line-height:16px;
display:inline-block;
}
.forum_list .thumbnailHolder .infobar .posterDate
{
margin-top: 5px !important;
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.