View Single Post
  #144  
Old 05-17-2007, 04:14 PM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello again all. My day job has been interfering with this project with 12 hour days, so the release time is being pushed back farther than I'd like. I have somethings done, though not in a releaseable package, and this is what I'm working on at present.
  1. I'm currently studying how joomla calls edit bots for a feasability study of replacing Joomla's inbuilt tinyMCE editor with the vbulletin editor. I'm not holding out too much hope for this as the vb editor seems to want to run as one instance of the editor per page - whereas joomla uses multiple instances.
  2. I have written a vbcode mambot that calls up the vbulletin parser library and parses bbcode on joomla posts.
  3. I have also written a mapping routine that runs at install time to map the vbulletin forums to a joomla menu. I'm working on the support libraries for this in vbulletin to keep that menu current, then I need to hack the joomla admin code to prevent that particular menu from being edited in Joomla aside from publishing and unpublishing the entries. This menu exists to allow joomla modules to be assigned on a per forum basis in vbulletin, so you can display one set modules in forum Y and another set in forum B
  4. I'm thinking on a way in joomla to assign vbulletin templates to specific pages. Database side I can just place a styleid code on the jos_menu table then have a vbulletin plugin load that styleid based on the current itemid on joomla pages. The trick is how to get that id there in a user friendly manner - a dropdown with a list of current vbulletin styles would be idea and there is code to build it in the vbadmincp somewhere since it exists in the forum editor, placement is what I'm pondering.
  5. General planned schema of the installer is as follows. I will hack the joomla installer and at the step where it requests db information I will replace that code with an attempt to find the forum in it's three most likely locations (one level lower in /forum, one level higher or same level). If it fails to find the forum then it will ask the user to locate the forum. It will at no point re-request the db info - instead this is pulled from the vbulletin config.php file.

    After it finds the forum db it should auto install it's product xml package into the vb plugin system, run the installer code, then ask how the user wants to map the usergroups in vbulletin to the joomla groups (this can be later changed). The system will also ask which user groups it should go ahead and map into joomla's user table (by default the admin and super admins are the only ones mapped over). Note that vJoomla only normally syncs up the user which have actually visited a joomla page while logged into vbulletin and it works just fine - it doesn't need to keep a perfect copy of the vbulletin user table and doing so (as well as maintaining it) would be a major hassle anyway.

    Once the user map is set vJoomla will conclude as normal Joomla does asking you to delete the install directory.
  6. With the above in place the only other part remaining are components, modules and mambots for joomla that will tighten it's integration with vbulletin. I have these planned:
    • Commenting mambot: This will allow you to map a joomla section, category or content item to a specific thread or a forum. If a forum then a new thread will be created when the first comment is made. On the vbulletin side the "comments" forum can be left visible or hidden.
    • recent threads module - to display recent threads. This will be similar to the ones most portal packages out there use. I will be adding the wrinkle of caching the results to a file on set intervals for big boards
    • hot threads module - as above
    • Who's online - module to show who's online overall, not just who's online in joomla. When I have the time I'll write a companion plugin for vbulletin to trace where the user is online in joomla instead of returning 'unknown location'
    • Search - Joomla has search, as does vbulletin, but long term a search module capacle of searching both simualtaneously is desireable.

Long list - very long. Still working on it. Hope to have an update soon.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01248 seconds
  • Memory Usage 1,792KB
  • 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
  • (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