![]() |
Quote:
|
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 |
Hi Harald
I noticed you been online ? Did you manage to spot the problem ? |
Quote:
|
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. |
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]"> |
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. |
Hmh, strange, it works fine for me. But i will check it.
|
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. |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|