vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   How does VB santizie/validate user inputs (https://vborg.vbsupport.ru/showthread.php?t=279412)

Azunai 03-01-2012 09:20 PM

How does VB santizie/validate user inputs
 
Hi!
Im currently writing my a shoutbox backed by python for maximum performance
im pretty new to vbulletin though and cant find how VB manages to validate userinputs agains XSS and SQL-Injection

so if anyone knows... let me know! :D

thanks

Lynne 03-02-2012 03:37 PM

Have you looked through the articles forums?
https://vborg.vbsupport.ru/showthread.php?t=110628
https://vborg.vbsupport.ru/showthread.php?t=119372
https://vborg.vbsupport.ru/showthread.php?t=154411

Azunai 03-03-2012 10:55 PM

Hi, i see VB works totaly different compared to SMF ;)
another question just poped up, in all those How-To's its always written
hook location - online_location_process
or hook location blabla,
but... how do i execute a new hook ?
guess with vBulletinHook::
but.. didnt manage how

ps: is it just me or does the search function here on vb.org suck like hell ?

edit:
ok well.. hooks are not performed inside of the new page :D
just found admincp/plugin.php?do=add

Lynne 03-04-2012 04:45 PM

Here are a couple of threads regarding Plugins/Products:
https://vborg.vbsupport.ru/showthread.php?t=82625
https://vborg.vbsupport.ru/showthread.php?t=82923

And, of course, there is info in the manual - Plugin System

Articles sections - https://vborg.vbsupport.ru/forumdisplay.php?f=184

Azunai 03-04-2012 08:01 PM

jeah found those 3 links alrdy,
forgot to update my post sorry :/
anyway its still strange somehow , but im getting further ;)
my shoutbox is finaly integrated as a new page into the theme
thanks so far!
ill keep this thread updated ;)


All times are GMT. The time now is 09:23 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.01325 seconds
  • Memory Usage 1,715KB
  • 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
  • (5)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