View Single Post
  #187  
Old 10-18-2006, 12:18 PM
SilVert SilVert is offline
 
Join Date: Oct 2003
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Chet T16
I'm using the gallery as a database for scans from magazines and newspapers etc so i only need 1 user to be able to upload and be admin, all of the other existing vB members only need access as a guest.

Since posting this question i have managed to get it working the way i wanted, even tho accounts are being created the users can't add or edit to the gallery. Originally i was importing users from phpBB and that was leading to admin conflicts etc
somewhere in this thread i put some code inplace that will only create user accounts if they are in X VBB group... if they are not in the group they will only view as guest

Quote:
Originally Posted by xitrum
Thanks Silvert. I got my gallery working ok now. I think it's the path that's not correct. My only problem is that when the user access gallery2.php the first time. The embeded script create a user in the gallery2 database but the password isn't correct. Using the same password, user can't login to the standalone gallery. This is not a big deal since user can access the gallery after login to the forum.
Another note, is there a mod to display the most recent added albums or most view images, etc... I thought I saw it somewhere but couldn't find it. That would be a nice feature especially when you have a lot of nested albums.
Great mod and great work. Thanks a million.

-xitrum
sure thing. sorry it took me so long to get back to you(been SLAMMED at work) if i even helped at all

the standalone password is explained somewhere. when VBB assignes the password it injevts "salt(<password>)" or something like that into the password. so it will work fine embed, but when you goto the standalone version, you would have to enter salt(insertpasswordhere). im 99% sure that is the right "frase" but i cant remember EXACLTY what it is. it has been documented somewhere. it might be in the gallery integration script for versions prior to 3.5(aka 3.0)

thereis somethign inside of gallery called ?imageblock? i think that allows you to view a random image etc. there is also a way to point to a gallery image or gallery via an external site. i have not messed with this at all, but i knwo it exists. now if it wil do the most recent images etc, i do not know. sorry, i dont have all the anwsers
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 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
  • (2)bbcode_quote
  • (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