vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - vBi-Gallery for vB 3.6.X (https://vborg.vbsupport.ru/showthread.php?t=128598)

itorrents 10-13-2006 07:27 AM

I seem to be missing a few phrases??

https://vborg.vbsupport.ru/

and when I click on the featured...

https://vborg.vbsupport.ru/

Harald_T 10-13-2006 09:39 AM

Quote:

Originally Posted by Hades-1
i hope u can help me

First off this is AWESOME, i been looking for something just like it.

anyway i did the install right, TRUST ME, then i did it again because it just doesn't look right.

http://mmamedia.net/showthread.php?t=99

It works perfectly but whats wrong with the template? its breaking out of my site it looks horrible.

Also, why does it say upload at the top, and new thread at the bottom? it should be upload for both.

and 1 last thing LOL sorry, but why does it display my image 3x the size it really is? its showing that image with the link above at 680 width when the largest i allow is 500 width?

and the original size of the image is far under that!

About picture-size: This is, because i set a fix width inside the template. It can be removed.

The problem with the template-width can be depending on the fix width, i'm not sure. I will look after this problem tonight.

@itorrents: Ups, you're right. Will look after this tonight, either.

Hades-1 10-13-2006 10:38 AM

Quote:

Originally Posted by Harald_T
About picture-size: This is, because i set a fix width inside the template. It can be removed.

The problem with the template-width can be depending on the fix width, i'm not sure. I will look after this problem tonight.

@itorrents: Ups, you're right. Will look after this tonight, either.

i really hope u can help with my template issues as thats the main problem, i also have that missing phrase problem too.

Its not the fixed width either just so u know, i have a liquid version of the same style and its messed up too, u can go to my site and switch the style to see for yourself.

Quote:

About picture-size: This is, because i set a fix width inside the template. It can be removed.
How, where?

Immortal_Shades 10-13-2006 02:19 PM

Quote:

Originally Posted by itorrents
I seem to be missing a few phrases??

https://vborg.vbsupport.ru/

and when I click on the featured...

https://vborg.vbsupport.ru/


- I have the same exact Issues as above plus more!

I have the GD Library installed and it works viewing thumbnails in my portal but not in my gallery. I double checked everything but still those RED X's appear.

My User Groups / Permissions have the permissions required to download attachments. Also my GD shows a thumb image in the option/images section, but nothing within forum for the picture within the gallery.

Awesome mod, any help would be greatly appreciated!

Harald_T 10-13-2006 03:02 PM

@Immortal: Where do you get those Red X's. In the overview of the gallery or in the posting itself?

Immortal_Shades 10-13-2006 03:32 PM

I get no photos what so ever in the random images on top of the forums as well as when you click to see them in the gallery.

DrewM 10-13-2006 06:14 PM

First is your attachment settings on?
if it is on then please give a link to your website.

Hades-1 10-13-2006 09:18 PM

harold, i get the red x's in internet explorer but not FF on my site as well.

Dont know why, the file exists and is there, works on FF too.

What of my other issue's?

BTW the no picture on forumhome seems to be a permissions problem, how do we change?

Un register users cannot see images not on forum home or inthe gallery it self, once logged in you can see fine.

Antiblank 10-14-2006 01:50 AM

I use to use the 3.5 version of this hack and wanted to upgrade with my boards upgrade.

I imported the new product overwriting my old one. Added the changes listed in the install and now my boards keep getting this error:

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 < 1160793408 ORDER BY RAND() LIMIT 5;

MySQL Error : Unknown column 'thread.featured' in 'where clause'
Error Number : 1054

ninjamaster 10-14-2006 09:44 PM

Quote:

Originally Posted by complete
I've unintalled version 1.23 and reinstalled version 1.30 but the admincp still shows the version as 1.23.

Also, I'm running vBulletin 3.6.2 and before I upgraded to 1.30, I was able to see the pictures in the forumhome but not in the Gallery. Now, it's opposite. I can't see the pictures in the forumhome but the pictures show up in the Gallery.

Any idea?


1. I have the same problem i have tryed diffrent settings still is no go :( only thing i got is went i click on the Gallery button is the Threads in Forum : Main Forum showing in there or sends me back to there :(

can any 1 help me please

ninjamaster 10-14-2006 09:58 PM

Quote:

Originally Posted by complete
I've unintalled version 1.23 and reinstalled version 1.30 but the admincp still shows the version as 1.23.

Also, I'm running vBulletin 3.6.2 and before I upgraded to 1.30, I was able to see the pictures in the forumhome but not in the Gallery. Now, it's opposite. I can't see the pictures in the forumhome but the pictures show up in the Gallery.

Any idea?


1. I have the same problem i have tryed diffrent settings still is no go :( only thing i got is went i click on the Gallery button is the Threads in Forum : Main Forum showing in there or sends me back to there :(

can any 1 help me please

ninjamaster 10-14-2006 10:52 PM

Now when i press the Gallery button i get this message

Hemanth 10-15-2006 08:37 AM

Awsome hack.. Installing now!

kewl1uk 10-15-2006 09:18 AM

VB version: 3.6.2
Help please. When editing a forum in Admin CP I get:
Quote:

Database error in vBulletin 3.6.2:

Invalid SQL:
UPDATE vb3_forum SET
title_clean = 'General Discussions',
title = 'General Discussions',
description_clean = 'All discussion topics not covered in other forums.',
description = 'All discussion topics not covered in other forums.',
link = '',
displayorder = 11,
parentid = 1,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: vb3_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 - 8192, options),
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 = '',
vbbux_perview = 1,
vbbux_perthread = 15,
vbbux_perreply = 5,
### Bitfield: vb3_forum.vbpforumoptions ###
vbpforumoptions = IF(vbpforumoptions & 16, vbpforumoptions - 16, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 32, vbpforumoptions - 32, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 64, vbpforumoptions - 64, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 128, vbpforumoptions - 128, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 256, vbpforumoptions - 256, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 512, vbpforumoptions - 512, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 1024, vbpforumoptions - 1024, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 2048, vbpforumoptions - 2048, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 4096, vbpforumoptions - 4096, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 8192, vbpforumoptions - 8192, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 16384, vbpforumoptions - 16384, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 32768, vbpforumoptions - 32768, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 65536, vbpforumoptions - 65536, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 1, vbpforumoptions - 1, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 2, vbpforumoptions - 2, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 4, vbpforumoptions - 4, vbpforumoptions),
vbpforumoptions = IF(vbpforumoptions & 8, vbpforumoptions - 8, vbpforumoptions),
vbp_cangetaccesscost = 0,
vbp_cangiveaccesscost = 0,
vbp_candenyaccesscost = 0,
vbp_cangetpasswordcost = 0,
gallery = '0',
gallery_cat = '0',
gal_thumbs = 0,
gal_statusicon = ''
WHERE forumid = 3;

MySQL Error : Unknown column 'gal_thumbs' in 'field list'
Error Number : 1054

Harald_T 10-15-2006 03:04 PM

Try reinstalling the hack again. Could help. It seems, that the alterings of the database haven't been done. Do you also have the right to run queries (set in the config.php)?

@Ninjamaster: Looks like the settings for the category and the gallery is wrong. Did you set "Act as a gallery" also for the category? This isn't needed. Only for the the forums, which will be the gallery.

ninjamaster 10-15-2006 11:22 PM

HELLO Harald T i got it working thanks for the help :)

Antiblank 10-16-2006 02:47 AM

Harald_T any idea about my issue? :)

Greyshark 10-16-2006 07:53 AM

Quote:

Originally Posted by Glynn58
Just looked at your demo site www.sf-galerie.net
and I see that the gallery sub forums insteadhave custom graphics of the usual icons.
Am I right in thinking that this is done with the Gallery setting at the bottom of the forum settings?
ie> use gallery thumbnails yes/no
which graphic to use? ............

Great Job this Hack...;
please, how could I integrate a custum pic? Please give a german foolish a little help :up:

Which direction (Pfad?) should I write??

cu Christian

Hades-1 10-16-2006 01:50 PM

not much support here, my questions keep getting ignored, there seem to be some MAJOR issues still with this hack i dont know if it should even be released, maybe as BETA.

Help.......

Hades-1 10-16-2006 02:36 PM

and here is the default style.

http://upload.x-six.org/files/1/vbigallery.JPG

Some template problems here.

Harald_T 10-16-2006 04:10 PM

@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.

Antiblank 10-16-2006 04:17 PM

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


Antiblank 10-16-2006 04:20 PM

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

Hades-1 10-16-2006 04:46 PM

well can u please tell me how to show the image at original size not 3x to large???

Harald_T 10-16-2006 05:10 PM

Edit "gallery-attachment"-Template

Replace it with:

Code:

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;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]&amp;stc=1&amp;thumb=0&amp;d=$attachment[thumbnail_dateline]" border="0" align="center"></a>
&nbsp;<if condition="$show['br']"><br /><br /></if>
</if>


Harald_T 10-16-2006 05:21 PM

@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') . '";');
}


Antiblank 10-16-2006 06:35 PM

Quote:

Originally Posted by Harald_T
@Antiblank:

Try this one. Replace the code for random_thumbs in the plugin "gallery_images_forumhome" with this one:
...


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.

Antiblank 10-16-2006 06:49 PM

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'

The bit:

Code:

MySQL Error  : Unknown column 'gallery_cat' in 'field list'
appears for every forum in the error after I try to save any settings.

Harald_T 10-16-2006 08:41 PM

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
Be sure to set the the prefix for the table forum, if you have so. E.g. vb_forum

Antiblank 10-16-2006 10:51 PM

Quote:

Originally Posted by Harald_T
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
Be sure to set the the prefix for the table forum, if you have so. E.g. vb_forum

I added that in as it was missing and tried again, now it seems I'm missing another. This is leading me to believe that perhaps none of the sql queries were made. Yet I have a gallery set up on my site, it was there and seeming to run fine before this upgrade.

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'


Antiblank 10-16-2006 11:04 PM

Ok I looked through the XML product file and found the other sql queries.

I manually ran:

ALTER TABLE forum ADD gal_thumbs SMALLINT( 6 ) DEFAULT '0' NOT NULL , ADD gal_statusicon VARCHAR( 100 )
ALTER TABLE thread ADD featured TINYINT( 4 ) NOT NULL

On my database and now I'm able to save setting in the forum manager for all my forums. No idea how those didn't get run when I installed the new version of the product but that seems to have fixed things.

Hemanth 10-17-2006 06:16 AM

Hi,

How to convert it into Rig Gallery or Automobile gallery.. ie. I should be able to add custom blocks in the showthread page of a post. eg: http://www.techtalkz.com/rig-gallery...yogis-rig.html

I need a hardware block, software block etc. instead of just 'Informationen' page..

Greyshark 10-17-2006 08:05 AM

Quote:

Originally Posted by Greyshark
Great Job this Hack...;
please, how could I integrate a custum pic? Please give a german foolish a little help :up:

Which direction (Pfad?) should I write??

cu Christian

Hi there Harald,

in which directory must be the pic installed?
What?s the path I should fill in where??

Sorry about my small written englisch.

the german foolish
Christian

Harald_T 10-17-2006 04:11 PM

@Greyshark: Dann schreib es doch in unserer Sprache hierein... ;) Komme selber vom Niederrhein.

Die Grafiken m?ssen auf jeden Fall in den Images-Ordner. Die Buttons in den Button-Ordner, alle anderen sollten eigentlich in den Statusicon-Ordner geh?ren.

English: The images have to be in the images-folder. The buttons have to be upload to /images/buttons/ and the rest should be in /images/statusicon

Hades-1 10-17-2006 04:35 PM

thank harold

how bout that CMS block?

that would be great!

complete 10-17-2006 05:09 PM

I had to make sure the forum was selected as gallery. It's working well now. Thanks.

trueinnovation 10-18-2006 04:33 PM

It doesnt work for me. :(

All I get is a Gallery link in the navbar but when I click on it all I see is a blank forum thats not accepting new threads.

Any help appreciated :up:

DrewM 10-18-2006 06:07 PM

Quote:

Originally Posted by trueinnovation
It doesnt work for me. :(

All I get is a Gallery link in the navbar but when I click on it all I see is a blank forum thats not accepting new threads.

Any help appreciated :up:

This hack shouldn't effect that try re-instaling.

trueinnovation 10-18-2006 07:02 PM

Appreciate your help, but I think youve misunderstood me.

My forum is fine. Ive created a new category called Gallery and a forum called Members Gallery, but theres nothing under that. No 'upload' button or anything. I cant see any Gallery functionality. :disappointed:

LILMORA4 10-18-2006 07:08 PM

Quote:

Originally Posted by trueinnovation
Appreciate your help, but I think youve misunderstood me.

My forum is fine. Ive created a new category called Gallery and a forum called Members Gallery, but theres nothing under that. No 'upload' button or anything. I cant see any Gallery functionality. :disappointed:

Did you set the gallery as active?

If not go to forum manager/ Gallery and set;


Act as a gallery? Yes No
Gallery-Category? Yes No
Use Gallery-Thumbnails? Yes No

make sure u uploaded the images...


All times are GMT. The time now is 02:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01474 seconds
  • Memory Usage 1,873KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete