View Single Post
  #276  
Old 02-18-2008, 12:07 PM
Drew Manzella Drew Manzella is offline
 
Join Date: Jan 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I found al that stuff but I am back to getting the white screen of death - and I didn't change anything. It is exactly how it was when it was workig and all of a sudden it just stopped.



I am gonna wipe it out and try it 1 more time.

--------------- Added [DATE]1203369864[/DATE] at [TIME]1203369864[/TIME] ---------------

Ok I finally got it all working.

I figured something out - the order in which you do things MATTERS. Every edit to every file needs to be done BEFORE you hit your trigger link for the first time.

Basically my final process (which worked) consisted of:
  1. Upload Gallery to my web server
  2. Run the Gallery install
  3. Add the "user album" plugin
  4. Create my album structure down to the location where user albums will be created
  5. Configure the user album plugin to put the albums where they needed to be
  6. Set all permissions/template options and cascade them
  7. Create the gallery2.php (Or whatever you want to call it) trigger file WITH all edits including corrections and the additional code for usergroup-based creations
  8. Created the Gallery2 template. Don't make the mistake I did and confuse a template with a style. The template you need to create goes WITHIN a style.
  9. Edited the plugin xml file to correct the errors as well as make the specified changes
  10. Uploaded the plugin file to vBulletin
  11. Upload the trigger file to my vBulletin root
  12. Hit the trigger file in a browser
Instantly it created my user album. Uploads worked fine and viewing works fine. Albums are accessible to guests as well so all is working properly but I had to fight it every step of the way to get it here.

Now that it is up and running it does integrate very well. I am going to have my site staff test it for a little while and then I will release it to the masses but if my brief tests are any indication - this is a very workable option for a vB image gallery.

The thing I like the most about it is that it installs and uninstalls without touching anything in vBulletin (other than adding the plugins and template which come out easy enough).

I went through the entire process 3 or 4 times so I am familiar with its removal as well.

So for reference, here is another working install to add to the list of demos:

http://www.mazdaoca.org/community/gallery2.php
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01209 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete