vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Extending vbulletin to non-forum use? (https://vborg.vbsupport.ru/showthread.php?t=160347)

Jordban 10-16-2007 02:31 AM

Extending vbulletin to non-forum use?
 
Hello,

I'm experienced in php, mysql, and ajax. I'm very capable of creating a websites, but I'd like to be able to merge my website with vbulletin.

Basically I would like to be able to extend my session in VB to work in non vb pages, and just securely grab the username and use it in my code. I believe continuing the session and just knowing what variable to use would solve this.

My other need is to be able to use this beautiful piece of posting software (referring to the WYSIWYG text editor in VB) and place it in one of my pages, and use VBs input validation (You know BBCode / input security, etc)

How hard would this be? Once i have the input turned into a safe variable, i could handle the db stuff my self.

Any suggestions to good reads, or just solutions that you came up with would be greatly appreciated.

RobDog888 10-16-2007 03:05 AM

Adding the editor to your own page:
https://vborg.vbsupport.ru/showthread.php?t=135708

I think as long as you are on the same domain then carrying over the session var and userid etc should be no problem.

Im getting ready to create a new custom portal this way too as vBAdvanced is just not as flexiable as I need.

Reeve of shinra 10-16-2007 03:08 AM

Here are some articles which basically go over creating vb powered pages...

[How-To] vBulletin API Basics: Creating Custom Pages & Misc.
How-To] vBulletin API Basics: Variables, Functions, Objects
Using the vBulletin Database Class
Parse BBCode (in 3.5) -- would be the same for 3.6 mostly
Adding [WYSIWYG] Editor to your Mods

good luck!

Jordban 10-16-2007 03:35 AM

Thanks a lot both of you, i'll look into these resource and hopefully post back here when i have something to show.


All times are GMT. The time now is 07:05 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.00987 seconds
  • Memory Usage 1,714KB
  • 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