vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   CakePHP integration working (https://vborg.vbsupport.ru/showthread.php?t=246263)

Martz 07-10-2010 10:50 AM

CakePHP integration working
 
For people interested in integrating CakePHP into their existing vBulletin installation, i've managed to get it working. I noticed there is very limited information about it on these forums and the 'net in general.

So far I've got working:
  • Rendering the vBulletin style selected in the profile or quick style switcher
  • Renders CakePHP templates inside of the vBulletin forum style ($content_for_layout)
  • $vbulletin variable available in all Controllers
  • Persistant logins
This is enough to let me use Cakes excellent MVC way of doing things, rather than nasty SQL queries in seperate PHP files.

If people are intersted (and I'm allowed to post it) I'd be happy to provide my working CakePHP 1.3.2 (stable) for download and feedback/improvements.

Martz

aussiev8 07-10-2010 01:25 PM

Hey, I'm interested!

I was about to create a connector for ruby on rails, but this might be much easier to roll out sister applications for my board.

Eric 07-10-2010 02:10 PM

I'd be interested as well.

tdev1 09-26-2010 12:47 PM

working on a cakephp application as well. I got the users working but still have no idea how to properly integrate the templating into it :-/

any help is appreciated, thanks


All times are GMT. The time now is 05:36 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.01033 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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