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)

Shazz 10-15-2006 04:16 AM

Quote:

Originally Posted by Jet231
does it work for 3.6.1?

He has released this in the 3.6 Section.

lifesourcerec 10-19-2006 09:26 AM

Quote:

Originally Posted by kofoid
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

Ever get this issue fixed?

Harald_T 10-19-2006 05:17 PM

As far as i know, this problem don't occurs.

R34GTT 10-21-2006 06:24 PM

I have just installed this, everything seems to be working fine. But I can not get the thumbnails to work for the life of me.

I have changed the following (version 3.6.0 btw)
  • Image Settings - GD on
  • Sever Settings & Optimization - Update Attachment Views Immediately - YES
  • Message Attachment Options - Thumbnail Creation - YES
  • Attachment Manager - All set to YES under Thumb
And I still get the little red cross. I did start reading the posts on here, but once I got to the end of page 20 my eyes were getting blury!

Thanks

Harald_T 10-21-2006 11:00 PM

@R34GTT: Did you check, if your Board displays thumbs also, although there is only one picture in the post? (You find it in your vbulletin options)

R34GTT 10-21-2006 11:41 PM

So far I have only added 1 test picture. Silly question, where would the setting be to make sure it displays thumbs?

ithf 10-22-2006 02:04 AM

hey, I have Coppermine Photo Gallery installed in a different subdomain than my forum, as a stand alone version; is there a way for me to display latest added pictures or say random pictures in scroll in my forum's header?

thanks

Harald_T 10-22-2006 10:16 AM

@ithf: Yes, there is a way, as far as i know. But this is not my hack, sorry.

@R34GTT: Look at vbulletin-options: Message Attachments Options. There you can also set the option to display the size under the picture.

R34GTT 10-22-2006 01:16 PM

Dont like to be annoying, but there isnt an option that I can see. There is an option to have the thumbnail to a certain size.

Harald_T 10-22-2006 06:28 PM

It's this option: View Attached Images Inline?

Set it to NO.

R34GTT 10-23-2006 06:39 PM

OK, found that and it was set to YES. No set to NO, but still no Thumbnail :(

ithf 10-24-2006 01:56 AM

Quote:

Originally Posted by Harald_T
@ithf: Yes, there is a way, as far as i know. But this is not my hack, sorry.

.

I really need to know how...someone please advise

imported_infitech 10-29-2006 02:05 AM

Quote:

Help!

godaddy shut my site down due to this mod and it's so so awesome! It seems that the following queries caused Go Daddy's CPU utilization soar to over 80% and almost brought down the entire shared server:
wow - gotta say - i am a little reluctant to install this now...

also - im currently running 3.5.4, but want to upgrade to 3.6.2. is there an import script for vbadvanced gallery?
what is the best way to go about my transition?
should i install the hack on 3.5.4 and install the 3.6.2 version when i upgrade?

R34GTT 11-01-2006 02:59 PM

Any thing else I can try in ref to my last post? 1335?

The guy im doing the forum is getting impatient :(

Any help much appreciated.

Harald_T 11-03-2006 09:49 AM

@R34GTT: Could you contact me via PM?

Harald_T 11-05-2006 10:31 AM

@R34GTT: I've changed the download-setting for unregistered users. Please check now.

R34GTT 11-05-2006 01:33 PM

Perfect, THANK YOU very much !!

Harald_T 11-05-2006 02:39 PM

No Problem.

BOSS 302 11-06-2006 11:42 AM

Some of my images on the forum home show up as red x's.

www.mustangmafia.com/index.php


Reason equals?

BOSS 302 11-07-2006 08:24 AM

Anyone? :(

Lionel 11-07-2006 08:31 AM

you need help, but one must register to investigate further.

BOSS 302 11-07-2006 08:51 AM

Sigh.

Harald_T 11-07-2006 08:39 PM

@BOSS 302: Please contact me via PM

YLP1 11-26-2006 06:41 PM

Leave it to me to break a great add on...

I am running vb 3.6.3...

The product installed, adjustments in the ACP Gallery section made (see graphic), the ACP thumbnail adjustments have been made as per instructions; all template and page modifications have been done checked and rechecked.

The only thing that I didn't change to no was using the inline images. I have to have that.

So with the above completed, when I submit a new graphic, it shows on the forum page but the topic that I created to submit the graphic doesn't show the graphic or a link to it: see graphic attached.

When I click show the lastest uploads, nothing shows. But when I click random the graphic I just uploaded shows. I have many graphics in many forums.... can we use multiple forum IDs in the Gallery ACP?

Also, I have a question: Will this add on show ALL attachments like pdf files, avi; or other media files attached or only gif; jpegs; png? I ask because what I am looking for is an addon that will show all latestest attachements regardless of the type.

Thanks in advance.

buurman 11-27-2006 01:48 PM

Quote:

Originally Posted by Harald_T (Post 827700)
O.k. i've got it.

For vertical view of the latest/random pictures:

Change in the plugin: "gallery_images_forumhome" the following code

Code:

while ($gallery = $db->fetch_array($thumbs))
{
eval('$latestgallery .= "' . fetch_template('latestgallery') . '";');
}

to this one:

Code:

while ($gallery = $db->fetch_array($thumbs))
{
eval('$adv_latestgallery .= "' . fetch_template('adv_latestgallery') . '";');
eval('$latestgallery .= "' . fetch_template('latestgallery') . '";');
}

Do the same for the random_gallery:

Code:

while ($rand_gallery = $db->fetch_array($random_thumbs))
{
eval('$adv_random_gallery .= "' . fetch_template('adv_random_gallery') . '";');
eval('$random_gallery .= "' . fetch_template('random_gallery') . '";');
}

Now, create two the following two templates:

adv_latestgallery:
Code:

<tr>
<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>
</tr>

adv_random_gallery:
Code:

<tr>
<td align="center">
<table class="tborder">
<tr>
<td class="thead" height="100" width="120" align="center">
<a HREF="attachment.php?attachmentid=$rand_gallery[attachmentid]">
<img src="attachment.php?attachmentid=$rand_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=$rand_gallery[threadid]">
$rand_gallery[title]
</a>
</td>
</tr>
</table>
</td>
</tr>

now, change the code for adv_portal_gallery (s. post of christianb):

Code:

<if condition="$vboptions['show_latest']==1">
    <tr>
          <td colspan=$gal_num_rows align="center">Latest pictures in the gallery:
</td>
</tr>
$adv_latestgallery
</if>

<if condition="$vboptions['show_latest']==1">
    <tr>
          <td colspan=$gal_num_rows align="center">Random pictures from the gallery:
</td>
</tr>
$adv_random_gallery
</if>

Of course, it could be better for handling, if you make two modules, one with the latest pictures and one with the random pictures.

Second: Forget those file-edit on vba_cmps_include_bottom.php. It's not neccessary anymore.

Thanks, this makes some things clear, but from my homepage CMPS I got red crosses, because the link needs "forum" in between.
How can I fix this?

thx!

buurman 11-30-2006 06:09 AM

Noone a answer to the last question?
to bad :confused: :D

Maybe this one is easyer, hope its poosible to fix it...

Look at the brown bars on the side in the Post where the Pictures are in.
I hope there is a way to adjust the wide settings or something, so that they dont show.

Thx in advance guys...

Harald_T 11-30-2006 04:56 PM

@buurmann: This have to do with the settings in the template "gallery_postbit". I think that the width-setting of the first table have to be changed for that.

For the CMPS-Boxes: It needs to be done in another way. I'll publish this, but not before the weekend. Hopefully i can restart working on the gallery at my holidays next week. There are a couple of things that need to be sort out urgently.

buurman 12-01-2006 10:35 AM

I deleted the "$spacer_open" from the gallery_postbit templete.
This did fix the bars on the side, what does this setting do?

Harald_T 12-02-2006 01:52 PM

This is a template, that is called by default from vb. I'm not sure about this template, i think it fixes some compability-problems with older IE's.

buurman 12-04-2006 04:20 AM

Quote:

Originally Posted by Harald_T (Post 1130015)
This is a template, that is called by default from vb. I'm not sure about this template, i think it fixes some compability-problems with older IE's.

Well, I guess to bad for them.. :)

Thx m8, really like the plugin, it needs a little tuning to customize it to your website, but then again. most do.
Its free, and it looks really nice, im very happy you made it for us!!!:up:

Harald_T 12-04-2006 05:22 PM

[Important Update]

Just to let you know:

I've started coding a new version of the gallery, which won't use the attachment system any longer. Instead of it, it uploads the pictures to a directory on the server.

Therefore it was neccessary to write the whole code new. At the moment there is no demo-version or any screen-shots. As soon, as they are, i'll show you.

Any suggestions for this new gallery?

buurman 12-06-2006 04:02 AM

I would really like a easy to use CMPS module, right now, cant get it to work.

Adjustable size of pictures would be nice, in a "banner" on top of the forum.
Like the one you made now, but then with only pictures in them, and the possibility to choose a size, so its possible to see like 20 small pictures in a row.

Also when clicking on the picture, not opening a new window, but just link to the post or gallery.

Hope you can make it work soon... :) thx.

-----
Made all of the above working, by editting some templates....
Only the CMPS I didnt try again, I will soon.

Harald_T 12-16-2006 07:42 PM

Updates:

I'm working on the beta-version right now. Hopefully, this version will come around x-mas. Till now, everything is looking fine. ;)

Citizen 12-24-2006 05:20 AM

Does this work on 3.6.+?

Harald_T 12-24-2006 11:00 AM

There is a version for 3.6.

But as i'm writing a complete new version of this gallery, the old version will not be continued.

abhimation 12-24-2006 07:58 PM

Oh this is what i needed badly but..
Do we have a upgraded Gallery for 3.6.x ?
Will it work with vB 3.6.x ?
Please help.

Harald_T 12-24-2006 08:19 PM

Yes, i'm developing the new gallery on an vB 3.6.4. This works fine.

I'm not sure, if this will still work with 3.5, but I'll test this out.

To be honest: I had several ideas, i couldn't do with the old version of the gallery, as the attachment-system of vB wasn't so usefull for this. So i decided to write all new.

squishi 01-03-2007 02:20 PM

URGENT:

My forum is dead after trying to install this modification.

Here is the error. I can no longer log into the admin panel!
Please help!

Quote:

Database error in vBulletin 3.5.7:

Invalid SQL:
SELECT vb_thread.featured, threadid, firstpostid, vb_thread.title, MAX(vb_attachment.attachmentid)AS attachmentid, vb_attachment.dateline FROM vb_attachment, vb_thread, vb_forum
WHERE vb_thread.featured='1' AND vb_thread.forumid=vb_forum.forumid AND vb_thread.firstpostid = vb_attachment.postid AND vb_attachment.dateline < 1167841117
GROUP BY vb_thread.threadid
ORDER BY vb_attachment.attachmentid DESC LIMIT;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Error Number : 1064
Date : Wednesday, January 3rd 2007 @ 04:18:37 PM
Script : /forum/login.php
Referrer : /forum/cpadmin/index.php
Username : admin
Classname : vb_database

Harald_T 01-03-2007 09:36 PM

You can try to disable the plugins via config.php.

Or, for sure, go into your phpadmin, look for the table setting, and set the value for "enablehooks" to 0, this should help.

Tommy12345 01-03-2007 11:43 PM

squishi, get photopost or write your own script, do not waste your time with amateur scripts in the end you will just waste time debugging the script or adding essential features that is MISTAKENLY omitted for no reason. This is just my past experience, i may be wrong this time. I feel sorry for all the those that screwed up their board because they were trying to install beta script. Many hrs, days, weeks.. lost


All times are GMT. The time now is 01:22 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.02606 seconds
  • Memory Usage 1,832KB
  • 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
  • (6)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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