![]() |
Call Database and PHP code right from vb template
Hi guys,
I need to be able to run a custom PHP script from a seperate database table that I have. This is going into the user profile pages. What is the best way to do this? From my understanding you can't do straight PHP code in templates. Thanks everyone! |
The file that powers user's profile pages is members.php
Find a plugin that will run in that file such as member_start Enter in the php code that you want to run in that plugin. Store all data you want displayed in variables. Add those variables to the user profile templates. |
Quote:
Any suggestions? |
the same way
make a plugin at member_start which checks if the data are sent(form), if yes it should store them or make what ever you want.. and this also should show the data then build a form into the template |
All times are GMT. The time now is 01:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|