PDA

View Full Version : Extending vbulletin to non-forum use?


Jordban
10-16-2007, 02:31 AM
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. (https://vborg.vbsupport.ru/showthread.php?t=98009)
How-To] vBulletin API Basics: Variables, Functions, Objects (https://vborg.vbsupport.ru/showthread.php?t=98047)
Using the vBulletin Database Class (https://vborg.vbsupport.ru/showthread.php?t=119350)
Parse BBCode (in 3.5) (https://vborg.vbsupport.ru/showthread.php?t=82693) -- would be the same for 3.6 mostly
Adding [WYSIWYG] Editor to your Mods (https://vborg.vbsupport.ru/showthread.php?t=135708)

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.