PDA

View Full Version : using vb functions externally


tRichard
07-16-2005, 12:25 PM
i dont really think this is possible but hey..does anyone know if you can include vb functions in a website not part of vb, to display login/private messages etc?
Thanx in advance, peace rich

tRichard
07-17-2005, 08:49 PM
i dont really think this is possible but hey..does anyone know if you can include vb functions in a website not part of vb, to display login/private messages etc?
Thanx in advance, peace rich

is this at least possible?

Marco van Herwaarden
07-17-2005, 08:53 PM
As long as they are on the same server this can be (and is) done. If on multiple servers it is still possible but a lot more work.

tRichard
07-17-2005, 08:53 PM
As long as they are on the same server this can be (and is) done. If on multiple servers it is still possible but a lot more work.

thanx MarcoH64. Do you know of any how to's tutorials on how to do this?

Marco van Herwaarden
07-17-2005, 08:59 PM
Well basicly it is a chdit to your forumhome and then a call to global.php. After that the vB environment is initialized and you can do what you want.

There are many threads on this subject explaining how to do it, there are even some hacks that offer some of the most used functions out-of-the-box.

Sorry have no link ready atm.

tRichard
07-18-2005, 02:47 PM
Well basicly it is a chdit to your forumhome and then a call to global.php. After that the vB environment is initialized and you can do what you want.

There are many threads on this subject explaining how to do it, there are even some hacks that offer some of the most used functions out-of-the-box.

Sorry have no link ready atm.

does anyone else have a link of where i can learn to do this?

tRichard
07-23-2005, 03:59 PM
http://www.vbulletin.com/forum/showthread.php?t=81549

Ok i found out how this can be done with the link above but now i was wondering where i can find the functions?
This is the code I want to include in my website..

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase>

how can i do this?