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') . '";');
}



All times are GMT. The time now is 04:23 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.03241 seconds
  • Memory Usage 1,734KB
  • 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
  • (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