vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   attempting menalto G2 integration (https://vborg.vbsupport.ru/showthread.php?t=80374)

whodah 04-22-2005 02:50 PM

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! :)

twoseven 04-22-2005 03:07 PM

not right now it isnt module based(as you are thinking about it) its more templated based right now

whodah 04-22-2005 04:13 PM

interesting... perhaps i need to create a template then...

Reeve of shinra 04-22-2005 05:31 PM

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.

whodah 04-22-2005 05:56 PM

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! :)

Reeve of shinra 04-23-2005 12:33 AM

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?

whodah 04-23-2005 01:44 AM

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!


All times are GMT. The time now is 11:36 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.01488 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete