vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Joomla for vBulletin (IMPORTANT UPDATE) - Bridge to the World's Most Popular CMS (https://vborg.vbsupport.ru/showthread.php?t=145781)

Michael Morris 05-03-2007 06:43 PM

Quote:

Originally Posted by paul_c (Post 1240730)
Can Joomla modules be targeted to individual vBulletin forums? If so, is this handled through the Joomla menu system using link URL?

I'm not sure what you're asking here. It would depend on the modules - but any module that worked with the vbulletin forums would have to be custom written.

Quote:

Originally Posted by pxd (Post 1240737)
That's what I first thought when I got the error so I went ahead and installed a clean joomla + a clean vBulletin on my localhost, same error popping up. What else can I do to help track this down, please?

At this point I don't know what could be triggering it unless...

Did you remember to install the vJoomla product file? If you don't the joomla templates wouldn't be loaded in and you'd get an error when they are called.

pxd 05-03-2007 06:55 PM

Quote:

Originally Posted by Michael Morris (Post 1240769)
At this point I don't know what could be triggering it unless...

Did you remember to install the vJoomla product file? If you don't the joomla templates wouldn't be loaded in and you'd get an error when they are called.

Yes, I did.
- Installed Joomla 1.0.12
- Installed vBulletin, inside /forum, using the same database, different table prefix though (not sure if that matters)
- Installed the vJoomla plugin using the xml file
- Overwritten the joomla files
- Copied the required vb folders to joomla directory as per your instructions

Anything missing?

Your help is so much appreciated, Michael. I am keen to use this on my production site that will go live soon, and your mod does exactly what I need, too sad I can't get it installed. Hopefully you can help me out, thanks!

P.S. Do you mind putting up an older version of the beta for me to make a quick test? Also, could filepath be an issue here? I'm running the scritpts on XAMPP server locally.

Michael Morris 05-03-2007 07:19 PM

I'll look into it further when I get the chance but it might be a couple days.

imported_hbs 05-03-2007 07:42 PM

I had version 0.0.2 working just great and just updated to 0.0.4 and getting
Quote:

Warning: Wrong parameter count for get_defined_constants() in /home/hbscoi/public_html/new/index.php on line 229
on the top of my pages. was I missing anything?

paul_c 05-03-2007 11:29 PM

Quote:

I'm not sure what you're asking here. It would depend on the modules - but any module that worked with the vbulletin forums would have to be custom written.

Allow me to clarify. I've been using Mambo/Joomla a long time so I'll see if I can explain:

In Joomla you can create modules that can be placed based on their Module Position using code like - <?php mosLoadModules ( 'user7', 'true' ); ?> - placed in a template.

You can then assign a Joomla module to this position and also assign it to show only for certain pages. These pages are determined by the menu structure that is set up. So even though many pages follow the same template that all have the "user7" module position, the only pages that will actually show the module are those that have been selected to display it (this is done when configuring the module).

I assume even though your plugin is using the vBulletin templating system that I will still be able to assign Joomla modules (as noted above). If so, then back to my original question, can I assign Joomla modules to a specfic Forum so that for example in Forum1 I can show a specific Joomla module (e.g., in "user7" position) and in Forum2 not show the module.

blackgem 05-04-2007 12:43 AM

Are you able to place Joomla modules on forum pages at all, even with this bridge?

Michael Morris 05-04-2007 03:00 AM

Not yet - Hadn't actually thought of doing that. Hmmm...

Michael Morris 05-04-2007 04:19 AM

Ok, it only took about 5 minutes to write the plugin to allow joomla modules to be called from vbulletin templates. I agree that this should be part of the final bridge but since it's something I just tossed in and haven't tested I'm keeping the xml plugin separate from the rest of the download for the moment.

To get a module to show up on a forum template with this plugin you'll need to place $module[position] at the spot the module contents should display. I did this to get my joomla main menu to show up on the forum pages.

It appears to work, but again I just tossed this in. I'm currently working on the templates and trying to find the source of the two bugs noted in the thread.

Completing this aspect of the bridge will need to be a little trickier. The approach I'm considering is this - the installer program will read over the list of forums vbulletin has and create a menu that holds all the vbulletin forums. These menu id's will be the keys off which the modules work. This particular menu will need to be updated via plugin any time vbulletin adds or subtracts a module. The advantage of this approach is it will incidentally create a forum menu that can be displayed on joomla pages with a minimum of fuss.

Michael Morris 05-04-2007 05:42 AM

Quote:

Originally Posted by maxicep (Post 1240476)
your demo looks great but giving error on your page with this linked:
http://www.s7v7n.com/index.php?optio...&id=1&Itemid=2

Spotted source of error - will be fixed next version.

Michael Morris 05-04-2007 05:43 AM

Quote:

Originally Posted by imported_hbs (Post 1240810)
I had version 0.0.2 working just great and just updated to 0.0.4 and getting

on the top of my pages. was I missing anything?

Found a workaround. Apparently that function can't take an argument in versions of PHP prior to 4.4.2. Will be fixed next version.


All times are GMT. The time now is 02:34 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.01311 seconds
  • Memory Usage 1,746KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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