I know this would be a mod/hack, and not officially supported, but I want to know if it's technically possible, given a not ridiculous amount of effort on the part of a PHP/MySQL programmer. Or even technically possible period, without great risks of data integrity.
Basically, I'd like to use vBulletin for my site's user registration and forums, but have a couple of other PHP apps running that write to that user database. For instance, I currently have an ongoing blog that has its own user comment system, but I would like that blog to increase a user's post count every time they make a comment in my Blog (ie, outside of vBulletin's own threads).
Another example: I have a PHP job application module on my site, and when a registered user fills out a job app online, I would like to add some of the field data from the job app to vBulletin's user profile information.
Possible? Crazy? Let me know! Any help much appreciated, thanks!
I know this would be a mod/hack, and not officially supported, but I want to know if it's technically possible, given a not ridiculous amount of effort on the part of a PHP/MySQL programmer. Or even technically possible period, without great risks of data integrity.
Basically, I'd like to use vBulletin for my site's user registration and forums, but have a couple of other PHP apps running that write to that user database. For instance, I currently have an ongoing blog that has its own user comment system, but I would like that blog to increase a user's post count every time they make a comment in my Blog (ie, outside of vBulletin's own threads). Please help, how to connect two database from index.php - Zend :: 2 posts - 2 authors - Last post: May 22, 2008application/config.ini', 'general'); Zend_Registry::set('config', $config); // setup database But I can't write my code right to connect two database. Please advice You can just instantiate another Zend_Db object. [php] Designed by: Miner Skinz, Powered by vBulletin® Version 3.8.4 http://www.zfforums.com/zend-framework-components-13/databases-20/please-help-how-connect-two-database-index-php-1085.htmlHOME | No support for PHPBB [Archive] - DiscountASP.NET Forums:: 31 posts - 10 authors - Last post: Mar 26, 2008"The PHP configuration on your server doesn't support the database type that PHP is provided to allow customers to transit from PHP application to ASP. I cant find any forum package anywhere near as robust as Vbulletin or PHPBB. . You can use this backup to fall back to a default database http://forum.discountasp.net/archive/index.php/t-2838.htmlHOME |
Another example: I have a PHP job application module on my site, and when a registered user fills out a job app online, I would like to add some of the field data from the job app to vBulletin's user profile information.
Possible? Crazy? Let me know! Any help much appreciated, thanks!
Yes it can be done.
any php script can write to any myql database.
Hi k2director
If you are using vB and other php apps to write to a MySQL database, you can use the very same MySQL database without any issues at all. Just make sure that when you create new tables with a different application that they use a different suffix - that way you won't write over the top of an exising vB table.
So, you could have vB, phpAdsNew, a Blog system, and say another forum app such as phpBB all running on the same MySQL database. Obviously there would be a performance hit, and I'm sure vB would recommend that vB be run on its own database, but there's no reason why you cannot do what you want to do. "global" session for all users [Archive] - CodingForums.com:: 6 posts - 3 authors - Last post: Apr 21, 2004PHP does not have `application scope variables` in the same way that ASP text-files used this way can be useful in a `write-once The other possibility of course is the database configuration itself .. thats another story though. vBulletin® v3.8.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd. http://www.codingforums.com/archive/index.php/t-37282.htmlHOME | Writing a macro to open another application [Archive] - Access :: 4 posts - 3 authors - Last post: Sep 15, 2000[Archive] Writing a macro to open another application Macros. I am trying to add a macro to an Access database that will open another application called ScanTools and but does anyone have any advice on how I can get started? vBulletin® v3.8.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd. http://www.access-programmers.co.uk/forums/archive/index.php/t-24699.htmlHOME |
RE: Adding profile information from another apploication. I guess you'd need to make sure that a data item exists in the profile table first (which can be done easily in vB by adding a new field to that table) and then make a modification to the code in the Job App that writes to that newly created table>data item.
Hope this clarifies...
Assuming that blog is based on php and has its own unique registration system, yes it is quite possible
you mean Prefix.
Hi Josh,
Actually, I want the whole site to feature one user registration system, which would be vBulletin's. BUt I want to create other apps that can write to vBulletin's user database. Like the online job application where registered users can apply for a job online, and information they type into the job app form would be stored in their vBulletin user data. And if I decide to hire that person online, my job app application could automatically change that person's vbulletin user permissions, so, for instance, they can log onto a company-only forum.
So just to confirm: you're saying this kind of writing to vBulletin's user database would be possible? Thanks!
Get Smart About Monitoring Virtual Machines
Microsoft Gets Ex-Streamly Cozy with U.K.'s MediaWave
|