vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Gallery for vBulletin 3.5.X (https://vborg.vbsupport.ru/showthread.php?t=92875)

Ziki 05-07-2006 12:47 PM

Harald can you help me out?

imported_magjr 05-07-2006 01:16 PM

Quote:

Originally Posted by Harald_T
I never really recognized a slowdown of the board, to be honest. And which software you did have to upgrade?

The uninstall-query is integrated in the XML-File. Just uninstall the product and remove the file-edit on forumdisplay.php, that's all.

I tried upgrading from the old 3.5.0 version and it didn't work. Now, like I said, my whole board is hosed and I can't even get to the control panel! I get the error message

"
There seems to have been a problem with the yoursite.com database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience."

When I log into control panel, this is the message I get. WHen I go to my forums, the message I get. Whats the code to run in the sql section so I can uninsall this? anyone? I can't get to my control panel

imported_magjr 05-07-2006 01:22 PM

here's the exact error message I'm getting:

"Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT gallery, threadid, firstpostid, thread.title, attachmentid,
attachment.dateline FROM attachment, thread, forum
WHERE gallery='1' AND thread.forumid=forum.forumid AND thread.firstpostid =
attachment.postid AND attachment.dateline < 1147011676
GROUP BY thread.threadid
ORDER BY attachment.dateline DESC LIMIT 5;

MySQL Error : Unknown column 'gallery' in 'field list'
Error Number : 1054
Date : Sunday, May 7th 2006 @ 08:21:16 AM
Script : http://www.fubardsite.com/forums/index.php?
Referrer : http://www.fubardsite.com/forums/index.php?
IP Address : xx.xx.xx.xxx
Username : Unregistered
Classname : vb_database

Harald_T 05-07-2006 03:22 PM

You have to disable temporarily your plugins. You can do this via config.php as far as i remember or via the database. Search here at vb.org for doing this.

After you disabled the plugins you should be able to login again and remove the product.

headshotx 05-07-2006 07:22 PM

I Have a error whit Thumbails .. look mi attachment .. i use GD sistem for Thumbails .. :surprised:

Harald_T 05-07-2006 08:35 PM

@headshotx: Check at your attachment-settings, if "Generating Thumbnails" is enabled. You don't find this in your vb-options, but in your attachment-settings (where you can define the filesize for attachments, and so).

headshotx 05-07-2006 10:21 PM

Quote:

Originally Posted by Harald_T
@headshotx: Check at your attachment-settings, if "Generating Thumbnails" is enabled. You don't find this in your vb-options, but in your attachment-settings (where you can define the filesize for attachments, and so).

Sorry but i don't find this option .. you can post a image whit this option please :surprised:

DrewM 05-08-2006 09:14 AM

Just go show all settings then hit Ctrl+F and put "attachment" with out the qoutes.

dt~ 05-08-2006 11:21 AM

Hi all,

The first reply on the second page (or third,so on...) is shown as a gallery table. Screenshot as below. Kindly advise a solution for me, thanks.

http://img221.imageshack.us/img221/1814/bug0ky.jpg

Ziki 05-08-2006 04:24 PM

Please harald can you help me out!

Harald_T 05-08-2006 04:57 PM

@Ziki-Set: Can you grant me access to your AdminCP? Please contact me via PM.

@dt~: I've checked it. Yupp, you're right. This is definately a bug. I will look after it. Thanks for advice.

Harald_T 05-08-2006 05:49 PM

Bugfix for displaying the second side incorrect:

Change the code for the plugin "gallery_showthread_postbit" as followed:

Code:

if ($foruminfo[gallery] == '1'){
if ($counter == 1 AND $fetchtype == 'post' AND !$changed AND $vbulletin->GPC['pagenumber'] == 1)
{
$fetchtype = 'gallery_postbit';
$changed = true;
}
}

That's it!

headshotx 05-08-2006 06:22 PM

Harald_T help me whit thumbails please :surprised:

Harald_T 05-08-2006 06:31 PM

As i said, check in your attachment-manager if your system generates thumbs.

Check your settings:

Attachment 47146

And for sure look if the marked option is set to YES.

Attachment 47147

Those pictures are in german, but i think you can find it on your own, where to look.

Oh, and ARE you using attachments? This gallery doesn't work with [IMG]-Code at the moment.

Ziki 05-08-2006 07:14 PM

Harald,
attachment tumbs are on yes and thubnamials are enabled and it still doesn't show up!What now?

Harald_T 05-08-2006 07:27 PM

Do the thumbnails work on the rest of your board?

In your vbulletin-options you have one to define if thumbs are used or not. Please check this also.

Oh, and check the permissions for viewing attachments.

SuperKizer 05-09-2006 05:42 AM

Quote:

Originally Posted by Harald_T
Do the thumbnails work on the rest of your board?

In your vbulletin-options you have one to define if thumbs are used or not. Please check this also.

Oh, and check the permissions for viewing attachments.

I am having the same issue. Everything but the thumbnails work. I have gone over my user permissions, the attachment permissions and I even rebuilt the thumbnail data under maintainance and the thumbs still wont show. Any other suggestions? Thanks!

Ziki 05-09-2006 12:13 PM

The thumgnails work on the rest of teh board.All is set

Ziki 05-09-2006 01:11 PM

OK I got it to work.I forgot to rebuild attachment thumbnails ;)

Harald_T 05-09-2006 04:50 PM

@Superkiezer: Are you using attachments? May sound stupid, but i found out, that some people forget, that this gallery is only working with attachments yet.

Also, if you don't see any attachments: Do you enabled thumbs in your vbulletin-options?

Otherwise let me know the adress of your board.

SuperKizer 05-10-2006 03:03 AM

Quote:

Originally Posted by Harald_T
@Superkiezer: Are you using attachments? May sound stupid, but i found out, that some people forget, that this gallery is only working with attachments yet.

Also, if you don't see any attachments: Do you enabled thumbs in your vbulletin-options?

Otherwise let me know the adress of your board.

Okay, for some reason after the inital post it seems to work now. Thanks. :)

SuperKizer 05-10-2006 05:19 AM

Actually, sorry but another quick question.. Do you have a modification to make this work with vbadvance? I'm trying to get it to show up on the index page of the site but for some reason it won't show the pictures. Thanks!

Harald_T 05-10-2006 04:44 PM

I've one. But i have to check, if it still works with vbadvanced. Wait for the weekend.

Antiblank 05-12-2006 11:36 AM

Two quick questions that maybe I've overlooked:

1) Is it possible to have it not expand the images that are uploaded if they are under a specific size. Right now the thumbnails look fine but say a user uploads an image that is only 150x150 pixels the image full display shows it horribly distored and blown up.

2) Images under a certain size look fine in the thumbnail display but when I click on the thumbnail to view the full image I get an empty box with nothing I can click on or see where the image should be.

DrewM 05-12-2006 06:49 PM

Quote:

Originally Posted by Antiblank
Two quick questions that maybe I've overlooked:

1) Is it possible to have it not expand the images that are uploaded if they are under a specific size. Right now the thumbnails look fine but say a user uploads an image that is only 150x150 pixels the image full display shows it horribly distored and blown up.

2) Images under a certain size look fine in the thumbnail display but when I click on the thumbnail to view the full image I get an empty box with nothing I can click on or see where the image should be.

1) In the gallery_attachment templeat replace it with:
Code:

<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>>
<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>


jadkar 05-12-2006 09:06 PM

Does anyone have a English version of this up and running?? Specifically I'm trying to see if this is tied to the members profile, that way from the member's profile there's a link to that persons gallery.

Harald_T 05-13-2006 10:49 AM

@jadkar: This feature isn't implemented. You only can see a certain kind of pictures which has been posted of the member at last. A member-gallery is on the list, but i haven't started yet on it.

DrewM 05-13-2006 11:02 AM

Harald_T Couldn't you use the "extension" field in the attachment table to only get images for forum display?

Harald_T 05-13-2006 01:07 PM

You mean, that only images could be uploaded to the gallery?

DrewM 05-13-2006 02:11 PM

Quote:

Originally Posted by Harald_T
You mean, that only images could be uploaded to the gallery?

not quite but use it in the forum display query

SuperKizer 05-13-2006 02:42 PM

Quote:

Originally Posted by jadkar
Does anyone have a English version of this up and running?? Specifically I'm trying to see if this is tied to the members profile, that way from the member's profile there's a link to that persons gallery.

I have it up and running on mine and it does post from their gallery on the members profile. It's pretty sweet. :)

Gehanna 05-13-2006 08:40 PM

Hello :cool:

I just installed this and I think it is fantastic however, I have a couple of questions please:

1) Even tho the option to download attachments has been enabled for each user group, I find that I am still getting a red x in place of the image when I am not logged in. How can I resolve this issue?

2) I am using a green colored border and green text on the forums. This creates a problem with being able to see the text under the image in the show last pictures area on the forum home. Is there some alternative I can take to help resolve the issue as opposed to having to change my original border and text colors for the entire forum?

3) I noticed that in some places there seems to be a bit of German text here and there. This text is not found in the template areas or in the phrase manager. Can I open the xml page in a text editor, find the text and make the changes from German to English or will this mess things up?

Here is a quick link to the forums for an example of the issues I am having:

http://www.currentday.com/forums/

Your help in resolving the issues would be greatly appreciated.

Sincerely,
Gehanna

Bernd 05-14-2006 08:06 AM

Quote:

Originally Posted by Gehanna
Hello :cool:

I just installed this and I think it is fantastic however, I have a couple of questions please:

1) Even tho the option to download attachments has been enabled for each user group, I find that I am still getting a red x in place of the image when I am not logged in. How can I resolve this issue?

2) I am using a green colored border and green text on the forums. This creates a problem with being able to see the text under the image in the show last pictures area on the forum home. Is there some alternative I can take to help resolve the issue as opposed to having to change my original border and text colors for the entire forum?

3) I noticed that in some places there seems to be a bit of German text here and there. This text is not found in the template areas or in the phrase manager. Can I open the xml page in a text editor, find the text and make the changes from German to English or will this mess things up?

Here is a quick link to the forums for an example of the issues I am having:

http://www.currentday.com/forums/

Your help in resolving the issues would be greatly appreciated.

Sincerely,
Gehanna

1) You have to enable attachment download for unregistered members.
2) You can alter the gallery templates in the gallery_threadbit template. The text DateigroBe is located there too. You can replace it with a phrase by replacing it with $vbphrase[size]. Go to the phrase manager and add a phrase with the variable size, global, vbigallery.
3) That should work, or you can find the phrase manager in the languages & phrase manager and give an alternative translation there.

Gehanna 05-14-2006 11:35 AM

Hello Bernd,

Thank You for your reply. I will give suggestion #2 a try however suggestion #1 remains an issue as the attachment download for unregistered members is and has been enabled.

Sincerely,
Gehanna

Bernd 05-14-2006 12:58 PM

Are you sure you have enabled it through forum permissions\correct forum?


Something completely different.

This hack doesn't support proper resizing of gallery images yet.
I am wondering if the following code can be used?

http://www.phpbuilder.com/board/show...68&postcount=7

I have tried adjusting the gallery_attachment template, but the attached thumbnails are not correctly read.

Code:

<IMG SRC="tn_image.php?image=file.jpg">
is the code used to resize the images.
file.jpg has to be replaced with
Code:

attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]
It seems attachments are not "read" as images, so it has to be either temporarily stored or something else needs to be done..not sure.

Gehanna 05-14-2006 01:16 PM

Bernd said:
Quote:

Are you sure you have enabled it through forum permissions\correct forum?
Ahhhh ... it is fixed :banana:

Thank You Bernd very much for your help!!

I hope someone will respond to the questions you asked above as fast as you did mine.

Sincerely,
Gehanna

Harald_T 05-14-2006 04:17 PM

@Bernd: As far as i remember, there is a function for this. I'll look after it after the weekend. It's already bothering me too, this problem.

Harald_T 05-14-2006 05:54 PM

Coming soon (maybe tonight):

- new: featured gallery/forum. With the help of this you can define a special gallery or a forum and show the thread at the top of the page. I've to thank Bernd for this, he had the idea on this to do.

Here's a screenshot of it:

UtahNissans 05-15-2006 11:52 PM

Does this forum allow you to restrict access to specific usergroups?

imported_magjr 05-15-2006 11:59 PM

is there a way to get the images that are chosen as for this gallery, to show up on the control panel? I see where images can be submitted, but not where they can be put by admins


All times are GMT. The time now is 09:55 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
  • Page Generation 0.02707 seconds
  • Memory Usage 1,837KB
  • 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
  • (4)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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