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)

Harald_T 04-21-2006 10:31 PM

In your attachment-settings.

SupremeWeapon 04-22-2006 04:27 PM

wat about deletion. theres no field to delete images. just the normal delete selected fields that appear in forums. but images dont have the selection boxes.

Harald_T 04-22-2006 05:55 PM

You can edit the post and use the normal attachment-managment, to delete pictures.

Harald_T 04-24-2006 05:53 PM

It's no problem. Just go to the Attachment-Manager of your vB and tell him to save the files on the server. There is a function for this.

Harald_T 04-24-2006 08:58 PM

Ach Du kommst ja aus Köln, sehe ich gerade.

Im Attachment-Manager hast Du eine Option "Speicherart". Diese anwählen und dem vBulletin dann den Speicherort mitteilen. Achte aber darauf, das das ausgewählte Verzeichnis beschreibbar ist.

Harald_T 04-25-2006 04:55 PM

@Mike-D: Also, es sollte eigentlich funktionieren. Du musst nur aufpassen, das Du auch den kompletten Pfad angibst (also nicht nur z. B. images/uploads oder so etwas). Den kompletten Pfad kannst Du aus der PHP-Info entnehmen. Falls es Probleme gibt, dann sag Bescheid, ich schau es mir gerne mal an.

Es freut mich natürlich, wenn es Dir gefällt. Aber ganz fertig ist es noch nicht, ein paar Sachen möchte ich schon noch realisieren (z. B. die Abmaße des Bildes, usw.).

Harald_T 04-25-2006 08:19 PM

Normalerweise sollte nur das TEMP-Verzeichnis direkt von Belang sein. Hast Du die Daten schon mal so eingefügt, wie Scott es genannt hat?

Ansonsten PM mich mal an, wenn Du magst, schau ich mir Dein ACP mal an.

Bernd 04-26-2006 12:41 PM

A couple of things I have noticed:

Bugs,
More than one image can be uploaded. The second image is shown, but it takes the same width as the previous image. If the second image is larger than the first one uploaded, it will be stretched and pixelated as a result.

Still some german phrases left that are not translated (you are not registered, for one).

Feature requests,
Either limit upload in a gallery to one attachment for the first post, or allow more images but with correct thumbnail sizes calculated per image.

Featured images. Admin can appoint specific images to be displayed on the forum home.

Thanks for this great hack btw. Well done ;)

Harald_T 04-26-2006 03:24 PM

@Bernd: I will think over the last feature. Could be interesting.

Bernd 04-26-2006 04:37 PM

I've currently created a different featured images addition for this gallery.
You can choose a forum that will be used to pull the featured images from. Forum id of the featured image forum can be changed in the admincp panel as well as the option to either choose to display featured images on forumhome or not.

An admin or mod simply move the images from the general to the featured forum, and they will be automatically posted in the featured forumhome template addition.

Only thing left is that i want to pull down the last uploaded thumbnail of the first post, instead of the first thumbnail.
Is there an easy way to do this? Currently using

Code:

$featured_thumbs = $db->query_read("SELECT featured, threadid, firstpostid, ". TABLE_PREFIX . "thread.title, attachmentid, ". TABLE_PREFIX . "attachment.dateline FROM ". TABLE_PREFIX . "attachment, ". TABLE_PREFIX . "thread, ". TABLE_PREFIX . "forum
WHERE featured='1' AND ". TABLE_PREFIX . "thread.forumid=". TABLE_PREFIX . "forum.forumid AND ". TABLE_PREFIX . "thread.firstpostid = ". TABLE_PREFIX . "attachment.postid AND ". TABLE_PREFIX . "attachment.dateline < " . TIME() ."
GROUP BY ".TABLE_PREFIX ."thread.threadid
ORDER BY ".
TABLE_PREFIX . "attachment.dateline DESC LIMIT $gal_num_rows");

while ($gallery = $db->fetch_array($featured_thumbs))
{
eval('$featuredgallery .= "' . fetch_template('gallery_featuredpictures') . '";');
}


Harald_T 04-26-2006 07:24 PM

Did you try to use :

Code:

ORDER BY ".
TABLE_PREFIX . "attachment.dateline ASC LIMIT $gal_num_rows");


SupremeWeapon 04-30-2006 02:24 AM

erm errors.

after a few weeks? of this being installed it stopped working. when you click upload it goes to
newthread.php?do=newthread&f=13

but that is BLANK.

ideas?

Harald_T 04-30-2006 09:22 AM

To be honest: No. Did you install anything new on your board? Did you an update or something? Or was anything changed on your server

I run the gallery for over a year already, and hadn't had any problems like this one.

Tyegurl 04-30-2006 09:53 AM

okay i read earlier in this thread that i get the following error for not running the query...then the updated one runs it in the xml....so...what have i done wrong?

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO forum
(title_clean, title, description_clean, description, link, displayorder, daysprune, parentid, newpostemail, newthreademail, options, styleid, password, page, showfirstpost, vbbux_perview, vbbux_perthread, vbbux_perreply, vbpforumoptions, vbp_cangetaccesscost, vbp_cangiveaccesscost, vbp_candenyaccesscost, vbp_cangetpasswordcost, accessf_nb, accesst_nb, create_nb, reply_nb, allowupdate, increase_money, gallery)
VALUES
('New Gallery', 'New Gallery', '', '', '', 1, -1, -1, '', '', 229059, 50, '', 0, '0', 1, 15, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'yes', '1');

MySQL Error : Unknown column 'allowupdate' in 'field list'
Error Number : 1054

Tyegurl 04-30-2006 09:55 AM

maybe if you tell me how to drop the query table and then i reupload the xml with overwrite?

okay so my exact problem is....i can specify a forum to add the gallery...but i can not create a new one....

i need to drop the previous version's table....how would i do that? this was the query ran....

ALTER TABLE `forum` ADD `gallery` TINYINT( 4 ) NOT NULL

SupremeWeapon 04-30-2006 01:22 PM

I havent done anything but add new posts to the forums.. and if THAT errors the mod.. then it needs some serious debugging...

defcon_420 05-01-2006 04:58 AM

AWESOME!! "clicks install"

what a great job you have done with this :D i've been looking for something like this for AGES... now if only i can display a random photo in my vbadvanced all would be complete :)

Bernd 05-01-2006 08:19 AM

Harald, here are the promised images. Still haven't figured out the correct query needed to pull the last uploaded image of the first posts. It's explained in the images too.

DrewM 05-01-2006 09:09 AM

Quote:

Originally Posted by Tyegurl
maybe if you tell me how to drop the query table and then i reupload the xml with overwrite?

okay so my exact problem is....i can specify a forum to add the gallery...but i can not create a new one....

i need to drop the previous version's table....how would i do that? this was the query ran....

ALTER TABLE `forum` ADD `gallery` TINYINT( 4 ) NOT NULL

This isn't the gallery it is another mod I would suggest disabling other hacks one by one, when the error is gone report it to that mods thread.

Harald_T 05-01-2006 09:15 AM

@Tyegurl: Normally, if you deinstall the product, the database-changes will be removed. So, just try to deinstall an reinstall.

But i'm the same meaning as Larrysw: The displayed error isn't called up through my gallery-hack.

Tyegurl 05-01-2006 10:50 AM

yes i found that out yesterday.....the allowupdate is developer's send an update pm/email mod... he had 2 products so i installed the other one and woohoo the gallery is working. thanks guys for the help ;)

Harald_T 05-01-2006 06:17 PM

@Bernd: Got it so far to display the LAST attachment of the first post. I'm now coding the rest, maybe i can update the hack tonight, if i get so far.

Bernd 05-01-2006 06:49 PM

Thanks for helping me out.
Mind posting the query you used? I'll be able to proceed if I have it.

The rest of modifications shown in the images already work.

Harald_T 05-01-2006 09:10 PM

If you don't mind i'll integrate this into the gallery, cause it's a good idea.

Bernd 05-01-2006 09:43 PM

Go right ahead, not that you need my permission ;)

Ziki 05-03-2006 07:11 PM

I can't see the picture. http://www.zikihideout.com/forums/sh...=2523#post2523

DrewM 05-03-2006 08:43 PM

Disable the code that enables that puts that for the postbit.

Ziki 05-04-2006 01:05 PM

Ermm....didn't quite get you

DrewM 05-04-2006 06:44 PM

In plugin manager disable the plugin under the hook location of Showthread_something it should be easy to find.

Harald_T 05-04-2006 07:35 PM

The problem is, that the graphics-settings on your board are wrong. Please check, if you have thumbnails enabled for attachment (you can find it in your vbulletin-options). Also read the little FAQ in the install-instruction.

bfitts 05-05-2006 07:20 PM

When I click upload...

It just takes me to a regular looking post new thread page.

Is it supposed to do something different?

DrewM 05-05-2006 07:39 PM

Quote:

Originally Posted by bfitts
When I click upload...

It just takes me to a regular looking post new thread page.

Is it supposed to do something different?

the new thread isn't affected by this mod.

cannabis-world 05-05-2006 11:49 PM

is it possible to post an upload an attachment that isn't connected to thread, so that it shows up in the members gallery but not in any post

Bubble #5 05-06-2006 01:34 AM

Quote:

Originally Posted by Bernd
Featured images. Admin can appoint specific images to be displayed on the forum home.

Was this feature ever added? :surprised:

Bernd 05-06-2006 07:37 AM

Not yet.

Still waiting for it, or the sql query i requested so I can finish it.

Harald_T 05-06-2006 08:40 AM

I'm busy on it atm.

Harald_T 05-06-2006 10:21 AM

@Bernd: It's working now. I'm working on the templates at the moment.

Ziki 05-06-2006 08:23 PM

Quote:

Originally Posted by Harald_T
The problem is, that the graphics-settings on your board are wrong. Please check, if you have thumbnails enabled for attachment (you can find it in your vbulletin-options). Also read the little FAQ in the install-instruction.


Thumbnails are enabled.

imported_magjr 05-07-2006 03:12 AM

I installed this but it slowed my board down to a crawl, to the point to where my server admin had to go in and reset the httpd.

It got so bad I had to upgrade the software and now it doesnt work at all. What is the query uninstall code I can run in the myphp area? my board is totally hosed for the time being.

Harald_T 05-07-2006 09:19 AM

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.


All times are GMT. The time now is 05:19 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.02511 seconds
  • Memory Usage 1,817KB
  • 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
  • (4)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