![]() |
Perhaps "$vbphrase[pictures]" is not defined in phrases section?
Thanks in advance. |
Quote:
I would love it to have emtpy albums to not show...somehow. Here is a link to it. |
Quote:
SELECT album.*, picture.pictureid, picture.extension, picture.idhash, picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height, user.* FROM " . TABLE_PREFIX . "album AS album LEFT JOIN " . TABLE_PREFIX . "picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0) LEFT JOIN " . TABLE_PREFIX . "user AS user ON (album.userid = user.userid) WHERE album.state IN ('" . implode("', '", $state) . "') AND album.visible > 0 ORDER BY $sortname $sortorder LIMIT $start, $perpage "); |
I still get the error:
MySQL Error : Unknown column 'album.visible' in 'where clause' |
Is that the same error you had before? I'm using this mod on 3.7.2 and the album.visible hack worked just fine, its just another condition thrown into the query. Are you able to access your forum database and see if there is a column called 'visible' in your table named 'album'?
|
in table vb_album there is a column named visible.
All Columns: albumid userid createdate lastpicturedate visible moderation title description state coverpictureid Error Message emailed to me: Invalid SQL: SELECT COUNT(*) AS total FROM vb_album WHERE state IN ('public', 'private', 'profile') AND album.visible > 0; MySQL Error : Unknown column 'album.visible' in 'where clause' Error Number : 1054 --------------------Added to--------------- $albumcount = $db->query_first(" SELECT COUNT(*) AS total FROM " . TABLE_PREFIX . "album WHERE state IN ('" . implode("', '", $state) . "') AND album.visible > 0 "); ------------And-------------- $albums = $db->query_read(" SELECT album.*, picture.pictureid, picture.extension, picture.idhash, picture.thumbnail_dateline, picture.thumbnail_width, picture.thumbnail_height, user.* FROM " . TABLE_PREFIX . "album AS album LEFT JOIN " . TABLE_PREFIX . "picture AS picture ON (album.coverpictureid = picture.pictureid AND picture.thumbnail_filesize > 0) LEFT JOIN " . TABLE_PREFIX . "user AS user ON (album.userid = user.userid) WHERE album.state IN ('" . implode("', '", $state) . "') AND album.visible > 0 ORDER BY $sortname $sortorder LIMIT $start, $perpage "); |
Okay I think you're getting closer - since you have a table prefix of vb_ try this
$albumcount = $db->query_first(" SELECT COUNT(*) AS total FROM " . TABLE_PREFIX . "album WHERE state IN ('" . implode("', '", $state) . "') AND vb_album.visible > 0 "); but leave the second SELECT statement as album.visible don't change that one to vb_album.visible and see what happens |
Quote:
|
woohoo! glad to help, ProtoPC. :)
|
One of the most usful addons, altho this should have been default with vbulletin, go copyright it and make them pay you to use it. :)
|
sweet
|
I was thinking about asking for this feature; when low and behold; here it is!
Thanks so much! |
Thanks, installed on another forum!
|
Thanx.
Jacquii. |
I would like to list all albums without the page break "Page 1 of 2" etc.
Can this be modified to fit down one page please? TIA EDIT: Bah!! Ignore me, found it in Options!! Schoolboy error. |
I think recent picture comments should be next!
|
Will be installing... This looks nice that should be a default option :p
|
Please add search feature for the Album
|
Installed but I can't get the link to show on my Navbar. Nothing in the navbar template either other than a reference to Quicklinks. Any help would be appreciated. I'm running the default template.
I can excess from Quick Links. |
Installed, works great. One odd issue though; when using this with the link to it via Quick Links... on my vbAdvanced CMS homepage, it doesn't link properly to it. It is missing the /forums/ part of the url. And yes, I added all_albums.php to the Navbar Replacements field under the vBAdvanced Global Options section of the CMS's options. That should have done the trick but it didn't. My only guess is the file name containing an underscore _ in it maybe?
Just thought I'd mention this lil minor issue if you'd like to look into it then and possibly provide a resolution or alternative fix to it in the next update or something :). Great mod though so far... thanks for all the hard work put into it. |
Quote:
Quote:
|
Quote:
https://vborg.vbsupport.ru/attachmen...1&d=1205636277 |
The auto-template edit only does the Quick Link edit from what I remember from install.
|
thanks very nice
|
Thank you very much, nice work
|
Is it me or is everytime that page loads, the user gets logged out? But when I navigate away from it, it says "Welcome, Robert" again...?
|
I'm stressin' out. Been searching threw the code all day..can't figure out why it's not recognizing the logged in user...?
|
robertpro2a: I'm going to ask the obvious.. have you tried clearing cookies, using different browsers (firefox, ie 6, ie 7) using different computers (home, work, school) to see if the behavior is reproduced across all platforms? It seems to be working fine for me.
|
Yeah, I have. Maybe it's an install issue...is it smart to install the entire Vbulletin package on the same server but a different sub directory...that way I can test it to see if it works? Because if it does, it may just mean that I have corrupt files on the other sub directory.
|
Is it possible to hide empty albums for users?
So only the creator can see his emty album. |
Getting this message when trying to delete a picture
Quote:
|
Quote:
|
How can I get the pictures to show up in the posts?
When I use the pic code inside a post, the picture only shows for users who are logged in. I want the pictures to show for visitors who are not logged in even when I set the album folder to public (not private. What am I doing wrong? How can I do this? Thanks |
Quote:
|
I have set the usergroup unregistered/not logged in to" can view albums", and they get the "you are not logged in" page. is there a reason for this? Plus I'd rather not have to make member info publically viewable, only the album.
THANKS, OUTSTANDING MOD! |
Quote:
|
Quote:
|
Quote:
|
Anyone know how to get the Albums feature in vBulletin to go to 'slideshow' mode like most picture sharing programs out there?
|
I think I have the problem solved.
Thanks! Quote:
|
All times are GMT. The time now is 04:08 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|