vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   using vb functions externally (https://vborg.vbsupport.ru/showthread.php?t=92313)

tRichard 07-16-2005 12:25 PM

using vb functions externally
 
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

Quote:

Originally Posted by tRichard
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

Quote:

Originally Posted by MarcoH64
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

Quote:

Originally Posted by MarcoH64
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..

HTML Code:

<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?


All times are GMT. The time now is 04:26 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
  • Page Generation 0.01110 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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