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)
-   -   Web Page Gallery (https://vborg.vbsupport.ru/showthread.php?t=50934)

filburt1 03-28-2003 10:00 PM

Web Page Gallery
 
This hack allows users to view and add their own site to a master "web page gallery", a page which displays users' showcase sites along with optionally the sites' thumbnails.

This hack is fully integrated into the admin and user CP. Permissions are taken into consideration: moderators, supermoderators, and administrators can edit anybody's site. BB code with smilies is allowed in the description.

This hack, due to its complexity, is in a beta stage. However the code has now reached a level of maturity that it should only be tested for bugs at this point and should be considered release-quality.

[high]If you are updating from 0.0.1 to 0.1.0, follow the instructions in update001.txt.[/high]

Version history:
0.1.0: projected final beta test; added template caching and pagination; huge number of bug fixes
0.0.1: initial release

filburt1 03-28-2003 11:24 PM

The gallery right after installing the hack:

filburt1 03-28-2003 11:24 PM

Adding a site:

filburt1 03-28-2003 11:24 PM

After adding the site:

filburt1 03-28-2003 11:25 PM

User CP:

filburt1 03-28-2003 11:25 PM

And finally, admin CP:

Velocd 03-29-2003 12:34 AM

Awesome idea Filburt, I'm defiantly going to consider this. ;)

[high]* Velocd clicks install[/high]

Vile 03-29-2003 03:48 AM

Looks very cool, I'll test this out :)

partang2 03-29-2003 05:16 AM

Don't work when trying to attach a tumbnail...leads to a 404 page. The title of the person who submits his page is looking pretty stupid too because it doesent support html/ tags....
How do we fix this?

empreur76 03-29-2003 06:48 AM

very nice!!

Intex 03-29-2003 07:12 AM

Very nice work filburt1. Do you have an example page showing numerous pictures that have been added.

colicab-d 03-29-2003 10:19 AM

kool along with what overgrow is providing me with this will be great for my members :D

all i gotta do now is get them both on the same page lol

NuclioN 03-29-2003 11:16 AM

Great Filbert! It does not make a thumbnail though. :)

Craigr 03-29-2003 11:30 AM

Looks awesome. I think i'll install this when it's final.

What's pagination?

Thanks
Craig

colicab-d 03-29-2003 11:36 AM

yeah thumbnails dont work here either :P

would it be possible to include categorys?
and user commenting?
lastly could it be made to say thumbnail anysize image to say 150x150 ?

Dean C 03-29-2003 11:42 AM

Brilliant hack filburt :)

This doesn't use GD to check the size of the image does it?

- miSt

filburt1 03-29-2003 11:50 AM

Quote:

Today at 08:42 AM Mist said this in Post #16
Brilliant hack filburt :)

This doesn't use GD to check the size of the image does it?

- miSt


No.

Pagination: breaking up a huge amount of data into pages
404 error: what's the URL it tries to go to?

NuclioN 03-29-2003 12:35 PM

In the screendump the output (image is 200 x 200)

filburt1 03-29-2003 01:47 PM

Well that's not a 404: 404 is file not found. For some reason people now refer to every error as a 404.

What was the filetype for the image you used? I only tested mine with GIFs.

NuclioN 03-29-2003 01:57 PM

Yep, gif image works. :)

filburt1 03-29-2003 01:59 PM

But what did you try to upload? A JPG or what?

colicab-d 03-29-2003 02:32 PM

i get that error with eveything but gifs :P

filburt1 03-29-2003 03:05 PM

'Tis probably sending the HTTP headers wrong. Will investigate.

xtremeathlonxp 03-29-2003 04:06 PM

will be watching closely as I might want to try this one out.

filburt1 03-29-2003 04:14 PM

Found the problem (was assigning via == instead of = :o ), the zip is updated. Use the new wpgallery.php and overwrite the old one, should fix it.

matt[SiMVille] 03-29-2003 06:14 PM

]Very good :)

-> In German :)

cu

filburt1 03-29-2003 09:59 PM

After an hour I think I have the pagenav working. I'll add the template caching and post an updated version tonight.

It will require adding four new templates and editing one but the installer script should be able to install the new templates for you (not edit the other one, though).

GoTTi 03-30-2003 12:22 AM

is this hack needing the GD installed?

filburt1 03-30-2003 12:22 AM

No, it uses getimagesize() which doesn't need it.

Zelda-King 03-30-2003 12:23 AM

Nice hack! Installed! I only have a couple of afore mentioned issues. HTML custom ranks show as code rather than formatted text, and sometimes you aren't taken to a template properly. I can load a site and see a white page though pressing back and doing it again usually works.

filburt1 03-30-2003 12:28 AM

Quote:

Today at 09:23 PM Zelda-King said this in Post #30
Nice hack! Installed! I only have a couple of afore mentioned issues. HTML custom ranks show as code rather than formatted text, and sometimes you aren't taken to a template properly. I can load a site and see a white page though pressing back and doing it again usually works.
Titles: by design to avoid HTML injection
Other problem: if you mean a quick blank page when loading the redirector after adding/editing a site, I get it too and have no idea.

filburt1 03-30-2003 12:29 AM

Actually I coincidently found the problem now: trailing whitespace after the ?>, of all things.

Zelda-King 03-30-2003 01:06 AM

Which file's that in? I don't see one in wpgallery.php, then again it's 4am here.

filburt1 03-30-2003 01:08 AM

I'm about to upload a new version anyway now that I also found a crapload of bugs in the install script that would completely screw up updating.

Stand by.

filburt1 03-30-2003 01:12 AM

Updated. Read the big highlighted text in the first post.

Zelda-King 03-30-2003 01:26 AM

I see no update001.txt file in the zip.

filburt1 03-30-2003 01:29 AM

Try again

filburt1 03-30-2003 01:34 AM

Try now.

Zelda-King 03-30-2003 01:38 AM

I still don't see it though I had cleared out the old files.

Zelda-King 03-30-2003 09:49 AM

No, the only stuff in the zip is wpgallery.php, install_wpgallery.php, instructions.txt and the templates_gallery folder.


All times are GMT. The time now is 04:43 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.01222 seconds
  • Memory Usage 1,781KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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