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.

Bernd 06-12-2006 08:41 PM

Editing the images and reuploading the featured thumb didn't help. I have removed the offending gallery posts and reposted them. They do show up fine now for some reason. If it happens again, I will grant you access to my website.

Code:

<if condition="$show['br']">
.

Could you explain what the above code tries to do? It's located in gallery_attachment. It seems to me like you tried to separate images with brakes when more than one has been uploaded, which doesn't appear to be working if that's the case.

kofoid 06-14-2006 02:24 PM

Regarding my issues above - the template compressor was messing things up

tienkhom 06-17-2006 08:57 PM

yeah, same here, after installing gallery, my shout box and top 10 statistics display dublicate on my forum home page, I dont know why
*also i have instlled hellcat realtime compressor and template cache system before

SIN77 06-18-2006 01:47 AM

after i create the gallery template, what code am i supposed to add to it?

tienkhom 06-18-2006 03:33 AM

How can I disable totaly the lastest 5 pictures on forumhome, because something conflict with other hack like shout box, I want only to use option act as gallery for my child forum, it is really good
Thanks

Amaranth 06-18-2006 08:36 AM

Thanks for this awesome hack, I love it! and it's freee - huzzah! :)

I've posted a feature request that involves this hack in the forum, if you're interested:
Quote:

Wouldn't it just be awesome fun to be able to Photocast from Flickr, iPhoto or Picasa to a vBulletin Gallery? I've been playing around with 3.6.0 Beta2's RSS functionality, and coupling that with something like Gallery for vBulletin 3.5.X by Harald_T , could yield some very interesting results.
I guess the functionality needed is to look for images in post, instead of only attachments.
Is this something you would be interested in doing? Is it difficult?

Harald_T 06-18-2006 08:46 AM

Quote:

Originally Posted by tienkhom
How can I disable totaly the lastest 5 pictures on forumhome, because something conflict with other hack like shout box, I want only to use option act as gallery for my child forum, it is really good
Thanks

You could do:

- Set it to disable in your gallery-options,

or, if this doesn't help:

-Remove the code for the latest pictures in the plugin "gallery_images_forumhome". Or disable the plugin.

Amaranth 06-18-2006 01:48 PM

Another question, Is there an easy way to show a thumbnail of the latest uploaded picture as the "new post" status icon on forum home for the gallery forum?

kewl1uk 06-18-2006 02:39 PM

Just downloaded and installed. *clicks Install*. Thank you for this.

Just one issue. Latest pics are not displayed in member profiles. All I get is
Quote:

Latest gallery-submission of: kewl1uk
Any ideas on how to fix this. Thank you.

Harald_T 06-18-2006 02:43 PM

Just look two or three pages before. I've posted there another XML-File, which removes this nasty bug.

Harald_T 06-18-2006 02:44 PM

@Amaranth: This is one of the things, i want to do next. I'm looking after these things, atm.

ithf 06-18-2006 03:04 PM

hey..very nice hack...one questions...I currently have coopermine gallery installed somewhere in a subdomain and have like 2000 pics in it...is there a way to import all those pics and cats and subfolders into the vb gallery? or how would I go about it doing that?

best regards

kewl1uk 06-18-2006 03:08 PM

Quote:

Originally Posted by Harald_T
Just look two or three pages before. I've posted there another XML-File, which removes this nasty bug.

The only one I could find is a long way back and is product-101.xml. Is that the one?

Amaranth 06-18-2006 07:34 PM

Cool, if you can make this gallery integrate smoothly with photocasting - well, that would simply rock hard! And seeing the latest photo as a status-icon on forumhome would be really sleek.

Being able to define photocasts, podcasts from flickr, iphoto or the next picasa release, people should be ecstastic! It would just make populating the gallery such a breeze.

daystorm 06-22-2006 12:26 AM

Hello,

I have questions that may have been answered here, but after looking through 20 pages, I figured it was smarter to just ask.

First you said in one of your ealier replies to a post to make a new template. what would that template be for?
Second, my pics are showing up in a column format and I would like them to go across the screen and to display the info I want like your screen shots. What file do I edit?
Third, is it possible to pull the featured over to the index page?

Thank you,
Ella

ntock 06-22-2006 04:30 AM

Very cool, but I won't be able to use unless there is an approval function for mods/admins (this way people don't upload porn etc.). Are you planning on this? Many many thanks :)

Harald_T 06-23-2006 04:00 PM

Quote:

Originally Posted by ntock
Very cool, but I won't be able to use unless there is an approval function for mods/admins (this way people don't upload porn etc.). Are you planning on this? Many many thanks :)

Use your vbulletin-settings for this.

@all: i have three weeks holidays now, so i have a plenty more time to work on the gallery. So, expect more soon.

Allan 06-23-2006 04:12 PM

Hey Harald :)

you will upgrade this hack for vB3.6 ?

Harald_T 06-23-2006 04:20 PM

@Alan: Yes, i will. I run vBi-Gallery already on Beta 3.6.2 and having no problems.

I just hadn't to much time in the last weeks, that's all.

Harald_T 06-24-2006 09:44 AM

Just an info: I've started making a kind of member gallery. So you can click on a link in the postbit or in the memberprofile and a new page will open and show the pictures, which has been posted by the user (as a link, so you can directly jump to the post).

For live-demo: http://www.sf-galerie.de

Bernd 06-24-2006 10:39 AM

A suggestion u might be able to use.
Use and update a custom profile field with zero\one depending on if a user has a gallery (field has to update upon attachment upload or something). That way, you can choose to search for members with a gallery through the members list.

The gallery admin sections needs a field where you can input the custom profile field number. Otherwise, the query would need a fixed profile field number, which might not be the same for all members.

Bernd 06-24-2006 04:09 PM

Another suggestion. Prevent people from using external image links, or make an image attachment a requirement (checked upon posting). I've had several people submit a gallery image from an external site.

edeline 06-24-2006 05:11 PM

hi

i've just installed the gallery in my forum.
i have 2 question or problem :

1. latest gallery submission not showing in user profile
2. can user make a comment at the gallery ??

thank you :)

Gehanna 06-28-2006 12:52 PM

How do I get rid of the black space that shows up where the thumbnail images are?

please refer to this link for an example:
http://www.currentday.com/forums/forumdisplay.php?f=87

**Disregard the first image called My Best Friend. That image is not showing up there because the image was not uploaded via the attachment function.

Is this something that can not be changed? If not then is there a way for me to change the color of the black space so that it matches the light blue background which would then give the appearance of not having any extra space around the thumbnail?

I have looked through all the templates but I am unable to figure this out on my own.

Your help would be greatly appreciated.

Sincerely,
Gehanna

Harald_T 06-28-2006 01:29 PM

This can be removed by changing the CSS-tags.

I'm a little bit out of time today, i'll check back later and help you out of this.

Gehanna 06-28-2006 01:45 PM

Sounds great! Thanks Harald_T :D

Harald_T 06-28-2006 02:34 PM

Oh, just a little preview, of what coming next:

http://www.sf-galerie.de/member_gallery.php?u=1

Have fun!

Amaranth 06-29-2006 03:13 PM

I like what I see! (Especially the Angelina Jolie pic ;))
Can you tell me what I am looking at here? It seems like a gallery without any text beneath the thumbnails, anything spectacular that I'm missing?

DrewM 06-29-2006 03:58 PM

Quote:

Originally Posted by Amaranth
I like what I see! (Especially the Angelina Jolie pic ;))
Can you tell me what I am looking at here? It seems like a gallery without any text beneath the thumbnails, anything spectacular that I'm missing?

it's that members gallary see how it has "u=" in the url?

Harald_T 06-29-2006 05:16 PM

@Larrysw: You're right. This is the first version i made of this. There are a couple of problems to solve (how to make a page break, and such things), but it is a start.

It shows all pictures the user has posted. But it will take a while till it's finished.


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