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)

Bernd 06-11-2006 12:45 PM

Quote:

Originally Posted by kofoid
Has anyone gotten this?

Seems to be a faulty installation to me. There is actually a gallery plugin that is needed to validate gallery database fields. It might be missing.

kofoid 06-11-2006 05:22 PM

He Bernd - thanks for your input..... I reinstalled everything and I am still getting:
Fatal error: Field gallery is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485

Is the gallery plugin you are talking about included in the package included here?

***Edited: this is only when I try to create a gallery category or galley forum

wezoo 06-11-2006 05:27 PM

Hi Harald
I noticed you been online ?

Did you manage to spot the problem ?

Harald_T 06-11-2006 06:17 PM

Quote:

Originally Posted by wezoo
Hi Harald
I noticed you been online ?

Did you manage to spot the problem ?

To me, it seems, the file-edit on forumdisplay.php is completly missing.

Bernd 06-12-2006 03:16 PM

Harald, how did you differentiate between the first attachment and the last attachment in your queries?

My current members profile gallery query displays the last attachment of a gallery post, so it links to the featured thumbnails if an image is featured. I want to prevent that from happening by altering the query to select the first attachments only.

Harald_T 06-12-2006 03:56 PM

You can prevent this, if you make a condition in your "gallery_memberprofile"-template. You have to check, if the name of the picture is unequal to the name of the featured thumbnail. If so, display the picture as normal.

I did it this way:

Code:

<if condition="$gallery[filename]!=$vboptions[gal_feat_name]">
<td align="center">
<table class="tborder" align="center">
<tr>
<td class="thead" height="100" width="120" align="center">
<a HREF="attachment.php?attachmentid=$gallery[attachmentid]">
<img src="attachment.php?attachmentid=$gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</td>
</tr>
<tr>
<td valign="center" align="center" width="120" height="40">
<br />
<a href="showthread.php?t=$gallery[threadid]">
$gallery[title]
</a>
</td>
</tr>
</table>
</td>
</if>


Bernd 06-12-2006 04:01 PM

Doesn't that simply skip the image entirely, without checking if it can display the first attachment instead?
EDIT: it seems that the if statement is in place, but it still selects the darn featured thumbnail.

Harald_T 06-12-2006 04:10 PM

Hmh, strange, it works fine for me. But i will check it.

Bernd 06-12-2006 04:26 PM

The strange thing is that it works for certain gallery images, while it doesn't for others. I have listed over 5 images in my gallery, three of them are featured. Two of them work, one doesn't. All featured images are named the same and that name is set in gallery options.

The gallery images are pulled from two different forums.

Harald_T 06-12-2006 05:04 PM

This is really strange, as the routine works fine at my page. Could you grant me access to your page? I'll check.


All times are GMT. The time now is 11:41 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.02153 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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