The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBi-Gallery for vB 3.6.X Details »» | |||||||||||||||||||||||||
This is the 3.6.X-Version of my vBi-Gallery for vBulletin.
It's an update to this hack: https://vborg.vbsupport.ru/showthread.php?t=92875 This gallery-system integrates completly into vB, because it's a modification of the forum itself and uses the attachment-system of vb. Therefore, it's neccessary to be sure, that the attachment-system is working and it's possible to create thumbs. Otherwise, the gallery won't work. Btw, I want to thank all the people here, which are using this gallery. Show Your Support
|
Comments |
#62
|
|||
|
|||
@Hades: I don't have much freetime, as i have a job and a family also. The problem with the permissions. Give guests the permission to download attachments, this should help.
As soon as i get the time for it, i will update the FAQ on the first page. If you get messages displaying that there missing columns in the SQL-Database try to reinstall the product (and overwrite the old version). Or check out for sure, that you have the rights to run queries. |
#63
|
|||
|
|||
Tried overwriting the product again, every other product I have installs/upgrades fine. But as soon as I enable the gallery again the boards totally break and all I get is:
Code:
Database error in vBulletin 3.6.2: Invalid SQL: SELECT gallery, threadid, firstpostid, thread.title, attachmentid, attachment.dateline FROM attachment, thread, forum WHERE gallery='1'AND thread.featured!='1' AND thread.forumid=forum.forumid AND thread.firstpostid = attachment.postid AND attachment.dateline < 1161018334 ORDER BY RAND() LIMIT 5; MySQL Error : Unknown column 'thread.featured' in 'where clause' Error Number : 1054 |
#64
|
|||
|
|||
By the way, the 3.5.4 Version of this Hack lists itself on the post as version 1.23. Where here on this thread you list the version as 1.30 for 3.6.2 vBulletin. But when I upgrade with the download here on this thread the product lists itself in the Product manager section as 1.23:
vBI-Gallery 1.23 A gallery-system integrated in the forum |
#65
|
|||
|
|||
well can u please tell me how to show the image at original size not 3x to large???
|
#66
|
|||
|
|||
Edit "gallery-attachment"-Template
Replace it with: Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>> <if condition="$attachment[filename]!=$vboptions[gal_feat_name]"> <img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=0&d=$attachment[thumbnail_dateline]" border="0" align="center"></a> <if condition="$show['br']"><br /><br /></if> </if> |
#67
|
|||
|
|||
@Antiblank:
Try this one. Replace the code for random_thumbs in the plugin "gallery_images_forumhome" with this one: Code:
if ($vbulletin->options['show_random']) { $random_thumbs = $db->query_read("SELECT gallery, threadid, firstpostid, ". TABLE_PREFIX . "thread.title,". TABLE_PREFIX . "thread.featured, attachmentid, ". TABLE_PREFIX . "attachment.dateline FROM ". TABLE_PREFIX . "attachment, ". TABLE_PREFIX . "thread, ". TABLE_PREFIX . "forum WHERE gallery='1'AND ". TABLE_PREFIX . "thread.featured!='1' AND ". TABLE_PREFIX . "thread.forumid=". TABLE_PREFIX . "forum.forumid AND ". TABLE_PREFIX . "thread.firstpostid = ". TABLE_PREFIX . "attachment.postid AND ". TABLE_PREFIX . "attachment.dateline < " . TIME() ." ORDER BY RAND() LIMIT 5"); while ($rand_gallery = $db->fetch_array($random_thumbs)) { eval('$random_gallery .= "' . fetch_template('gallery_randompictures') . '";'); } |
#68
|
|||
|
|||
Quote:
Nearly perfect thank you for the help. The only issue now is that on my forum home page, I see a header section at the top for Random Images from the gallery, but no images appear there. But the layout is showing correctly in the gallery forum as well as on the members profile pages. So for those you get my mightest thanks. Glad to be able to turn that much back on again. |
#69
|
|||
|
|||
Now I'm starting to feel bad about posting but maybe this is related to my other issue. I just went to my forum manager and tried to update the settings on my gallery forum. (I also tried updating any of our forums and the error is along the same lines).
Code:
Database error in vBulletin 3.6.2:
Invalid SQL:
UPDATE forum SET
title_clean = 'Refridgerator of Joy',
title = 'Refridgerator of Joy',
description_clean = '',
description = '',
link = '',
displayorder = 1,
parentid = 31,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
gallery = '1',
gallery_cat = '0',
gal_thumbs = 0,
gal_statusicon = ''
WHERE forumid = 32;
MySQL Error : Unknown column 'gallery_cat' in 'field list'
Code:
MySQL Error : Unknown column 'gallery_cat' in 'field list' |
#70
|
|||
|
|||
The altering on the table "forums" is missing for the gallery_cat. Did you check your config-file if you are able to run a query? Normally this shouldn't, but you never know.
Otherwise run the query in your admin-cp. Code:
ALTER TABLE forum ADD gallery_cat TINYINT( 4 ) NOT NULL |
#71
|
|||
|
|||
Quote:
New Error: Code:
Database error in vBulletin 3.6.2:
Invalid SQL:
UPDATE forum SET
title_clean = 'Refridgerator of Joy',
title = 'Refridgerator of Joy',
description_clean = '',
description = '',
link = '',
displayorder = 1,
parentid = 31,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options - 256, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
gallery = '1',
gallery_cat = '0',
gal_thumbs = 1,
gal_statusicon = ''
WHERE forumid = 32;
MySQL Error : Unknown column 'gal_thumbs' in 'field list'
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|