vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Menalto's G2 integration into VB3 (https://vborg.vbsupport.ru/showthread.php?t=80478)

ZED28 05-06-2005 10:39 PM

I've been looking for a Menalto Gallery integration for vBulletin and this was great news! Right now I'm just running a test board to see how it works and have the intention of migrating an existing board over to it after testing.

Regarding the side-bar missing when integrated, I don't ever seem to be able to get it to show. My install is as vanilla as it can be, no mods, out of the box install for both Gallery2 and vBulletin.

Just wondered if you could shine any light on it at all. I noticed it works like a champ on your site AND with the CMS addon, this is exactly what I'm hoping to achieve.

whodah 05-06-2005 10:59 PM

as for issue:
b) the 'missing side bar' was a line of code i overlooked. not a bug, a feature!

i'm actually quite embarassed i missed it...

see the lines in the gallery2.php file in the first post:
Code:

// user interface: disable sidebar in G2 and get it as separate HTML to put it into a block
    GalleryCapabilities::set('showSidebar', false);

well, if u comment out that showsidebar false, it works.. heh!

i.e., change it to:
Code:

// user interface: disable sidebar in G2 and get it as separate HTML to put it into a block
    //GalleryCapabilities::set('showSidebar', false);

what's going on there is that i saw a sample code using that and they are not showing the side bar so they can make it a block in their CMS manager.

for instance, i'm using vBAdvanced and eventually plan on making the 'sidebar' controls a block on the left hand menu.

why? real estate... i'll get my left hand VB menu, PLUS my gallery2 left hand menu. (only on the G2 pages of course!)

i havn't figured out how to do that just yet (havn't messed w/ it much) so in the interim, i've just commented out that line and you'll instantly get the side G2 'bar'.

revisiting issue:
a) mod_rewrite

G2 'holy hand grenade' has integration mod_rewrite issues. it has already been corrected according to the G2 developers, and u can grab it via the CVS if u like.

i'm going to wait about a week or so and hope that the next beta release of G2 comes out. looking at their timeline, they have seemed to release udpates about every 4-5 weeks. if this pattern holds, we should have a release soon!

if not, i'll go the CVS route.

as for the other known issue, the VB salt pw vs. G2's 'regular' pw, no news on that front. but... as long as your users enter through the VB site, all is well! :)

HTH! :)

and lmk if u guys come across any other bugs!! :) once i get around to putting the G2 sidebar into vBAdvanced, i'll post that too! (no ETA, it's low priority compared to the other gazillion things i need to do to the site from the migration of postnuke)

RichieBoy67 05-06-2005 11:00 PM

This is great!!

How hard would it be to get 3 random images to show up on forum home??? I know..... this belongs in the hack request forum but I would love that hack intergrated with this one...... Nice work!!

whodah 05-06-2005 11:06 PM

very doable! :)

there are random block and newest pic and random album and newest album and....... blocks built into G2 which INCLUDE integration blocks!

i've started to research this a bit, and don't quote me 100% because i got distracted during the research (pretty butterfly!!) but i believe that similar to issue a), there were some integration block issues that have been sorted out and are on the CVS.

i plan on revisiting this once i do the next G2 update, so i'll post that too (unless of course someone beats me to it! ;) )

but oh man, u just GOTTA have a random pic block or four, heh! :D

RichieBoy67 05-06-2005 11:08 PM

Awesome!!! I will be waiting for that!!!

Thanks again,

Rich

whodah 05-06-2005 11:14 PM

notta prob, glad ya like it!

:)

ZED28 05-06-2005 11:23 PM

Wodah, thanks so much for the VERY quick reply!!! This is a superb integration and it's also nice that we don't have to hack the snot out of vBulletin! Makes future upgrades a breeze! Kudos on this and I will be re-visiting. posting and watching your progress with baited breath! :)

whodah 05-06-2005 11:29 PM

np!

big kudos to the folks at menalto!! coding from the ground up w/ a integration as a core feature has really shown it's strength!

i too love the fact that you don't have to hack into your vB install to get it to work! :)

kompakt 05-11-2005 02:13 AM

Thanks guys, I was really looking for this mod as well. I beleive I followed the noted steps correctly, but I'm getting this error...

Quote:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 84 bytes) in /home/hagasny/public_html/gallery2/lib/smarty/Smarty_Compiler.class.php on line 35
The (tried to allocate) number and the file (name/line number) keep changing if I try to refresh.. any ideas?

whodah 05-11-2005 04:07 AM

ya, u need to up the:
memory_limit

in your php.ini file

or request that your admin does... looks like it's set to 8M. i had to REALLY increase mine on my G1 to G2 import...


All times are GMT. The time now is 04:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01681 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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