vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Image Gallery v1.0 (https://vborg.vbsupport.ru/showthread.php?t=21602)

eva2000 07-01-2001 01:47 PM

Quote:

Originally posted by VirtueTech
Question: Since this gallery of images is being used on the forums which uses the PHP GZIP compression agent....if the admin has it set of course....does the PHP GZIP compress the images as well?
nope.. gzip and mod_gzip only compress txt

Zamtil 07-01-2001 02:41 PM

Quote:

Originally posted by mojotim
Still same thing, no pics. By turning off Safe mode, I have gotten my other gallery script working (not connected to MySQL or vB at all) which uses ImageMagick, so I know it works and that the location is correct.

What is up with this line:



Find function acceptupload() (Line 1277):
Find (Line 1347):
$attachmentid=$DB_site->insert_id();
Change to:
$attachmentid=$DB_site->insert_id();

How come it says nothing after that? Mistake? Should we be doing something at line 1277?


Er, that block of code reads as:

Find function acceptupload() (Line 1277):
Find (Line 1347):
$attachmentid=$DB_site->insert_id();
Change to:
$attachmentid=$DB_site->insert_id();
makeThumb($attachmentid, $attachment_name, $path);

The first find function is just to get you in the correct block of code.

Zamtil 07-01-2001 03:33 PM

For mojotim and others having problems. Just put this in your forums directory, along with gallery.php. Point your web browser at it or give me a URL. Just does a bunch of debug prints of script variables to help me track down where things are going wrong.

VirtueTech 07-01-2001 04:24 PM

eva2000 - I tried using mod_gzip as per its instructions to gzp the images on my site...it didn't work....sometimes the images would load up broken....so there is a way but I'm not sure about PHP's gzip

VirtueTech 07-01-2001 04:55 PM

Does this Image Gallery hack give me the ability to decide what usergroups have the right to view the gallery(s)?

Zamtil 07-01-2001 05:22 PM

Quote:

Originally posted by VirtueTech
Does this Image Gallery hack give me the ability to decide what usergroups have the right to view the gallery(s)?
If they can view the forum, they can view the gallery for the forum. I suppose what you're looking for is a way to prevent anonymous users from viewing the gallery. It's a good idea for the future.

Znaper 07-01-2001 05:28 PM

here the link:

http://www.znapers-board.de/forum/gallerydebug.php

please help! thx!

mojotim 07-01-2001 05:32 PM

here is an image, I am using your templates.

Zamtil 07-01-2001 06:24 PM

Finally found a real problem, and it was a stupid one. I didn't escape my PHP variables in the install file, so they were interpreted as Null values and leaving blank spots in the templates.

Attached is a new galleryinstall.php, put it in your admin directory and run it. It will update the templates.

I'll update the zip file after I eat dinner and mojotim confirms this works.

First-Man 07-01-2001 07:05 PM

Can you post one *.zip File when it will be work?
thx


All times are GMT. The time now is 01:43 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.01111 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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
  • (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