Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2005, 02:50 PM
whodah whodah is offline
 
Join Date: Feb 2004
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default attempting menalto G2 integration

hello!

i'm attempting to migrate menalto's gallery (version G2) into VB3:
http://gallery.menalto.com/

i'm fairly new to VB (coming from pnphpbb), and fairly good at php.

G2 has extensive integration support and was coded w/ integration in mind.

i'm working w/ this information here:
http://gallery.menalto.com/index.php...ight=vbulletin

and a snippet states:
Quote:
Originally Posted by valiant
i don't know if VB2 has modules. if it has and if they are accessed like "index.php?module=modulename", then this wrapper would be the file that is called when the VB2 url is like index.php?module=gallery.
that's just an example, you can do pretty everything.
i've been hunting around vb.com and vb.org, but i havn't come across a module structure for VB3. even the calendar and faq seem intertwined into VB3 as opposed to a module (correct me if i'm wrong!)

does VB3 have a module structure to call 3rd party aps? if so, could you point me in the right direction of where to read up on it?

thanks!
Reply With Quote
  #2  
Old 04-22-2005, 03:07 PM
twoseven twoseven is offline
 
Join Date: Jan 2004
Location: in floris' pants
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not right now it isnt module based(as you are thinking about it) its more templated based right now
Reply With Quote
  #3  
Old 04-22-2005, 04:13 PM
whodah whodah is offline
 
Join Date: Feb 2004
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

interesting... perhaps i need to create a template then...
Reply With Quote
  #4  
Old 04-22-2005, 05:31 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its rumored that the vb 3.1 series will be a more OOP oriented and more modular for hackers. Exactly what that means hasn't been announced as of yet but it may be helpful if you really plan on trying to intergrate this. Of course a release date hasn't been announced so we dont know when this may take place either.

That said menalto's gallery is great and alot of people were interested in intergration with vb2 and 3 but it never materialized. I heard the newest version of menalto gallery would allow you to use an existing username and password table? If so that might be a start for intergration.

As an alternative, I would strongly urge you to check out alternate gallery programs.

4Images and Coppermine are free and there are intergrations with vbulletin's user directories.

Photopost is a commercial stand alone gallery that can utlize the vb user system and offers tighter intergration than Coppermine and 4images although off hand I am not exactly sure on some details.

VBAdvanced Gallery (not jelsoft affiliated) is another commerical gallery system that was built with vbulletin as the back end. I use this myself and its about as tight as you can get making use of the vb template system, permissions system, etc.
Reply With Quote
  #5  
Old 04-22-2005, 05:56 PM
whodah whodah is offline
 
Join Date: Feb 2004
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heya! thx for the info Reeve of shinra!

hrm.. i've been in the waiting game for the next release of software too many times to wait-it-out for 3.1 (watch this, because i said that, it'll release today, heh!)

i've checked out all of those aps you've mentioned, and it very well may come to that!

i'm dealing w/ a G1 menalto gallery that is gigs in size and thousands of pictures deep. VBAdvanced Gallery has a beta import script, but other then that, the others at this point have no means of importing the G1 data into their system. hence my desire to try to get G2 to work.

you heard correctly on G2 (that you can use the same user/pass tables) and it's 'generically' spelt out on how to do it too. the main thing i need from VB3 is an entry point to call the G2 wrapper. although i think i'd go the user/pass sync route rather than a single table... easier, less room for error...

in essence, this is what i'm seeking atm - an entry point for G2 from VB3 to make a few function calls which will pass session data to G2.

i've got the wrapper written (i think), just don't know how to call it from the VB3 system!
Reply With Quote
  #6  
Old 04-23-2005, 12:33 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know vbagallery could handle a gallery like yours. I am sure Brian who makes it could work with you on any importation concerns but onto the topic at hand....


Can you share some of what you've done for the wrapper? I mean if its just getting it to appear in a vb page, that in itself shouldnt be hard. Try taking a look at this tutorial on creating a vb powered page. Essentially its the basics that you would use in any custom coded vbulletin powered page.

https://vborg.vbsupport.ru/showthread.php?t=62164

You may want to also take a look at the global.php file.

I think some other threads were recently posted about passing session info that you might want to look at. You could probably modify the vb log in file to set a cookie for the gallery which might also help but I am not sure how you would sync the two user systems via thier embedder how it would run off the vb user tables.

Looking at it from that perspective, what does vb need to tell gallery in what format?
Reply With Quote
  #7  
Old 04-23-2005, 01:44 AM
whodah whodah is offline
 
Join Date: Feb 2004
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heya Reeve of shinra!

man, you are just like a couple hours of research right behind what i've been toying with! LOL!!!

i was JUST working w/ that link. and got it a good ways!

the latest is here:
http://gallery.menalto.com/index.php...wtopic&t=29270

at this point (after i got this far using that link you mentioned) i was hoping to get a little more direction from the menalto crew. i think i'm pretty far on the VB3 side... (of course i'm not 100% on that by any means!) it's gettin pretty 'geeky' in here although i'm sure he's spelled out the answer right in front of me, i just don't quite get it yet... heh!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:38 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.06724 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete