![]() |
Hey! Heads up, I think I found a potential exploit that would allow for SQL Injection with the username. We encountered this error with a member who likes to use apostrophe's in their username:
Quote:
Luckily the user's name wasn't " justanothermember'; DROP TABLE users; -- " or similar. Is there any way to sanitize the username input without breaking the entire mod? |
Quote:
If you still encounter this mysql error, can you pm/email me the page which is causing it, thanks. |
Quote:
|
Thank again Banana :)
|
Updated and thats fixed my issues thank you!!!
|
Hi, I'm currently using this mod on vb 4.1.3 and am trying to get the custom profile field on the bracket to work.
I changed the setting in the vB Options section to allow custom profile fields in tournament brackets. I then input "{vb:raw userinfo.field5}" into the tmnt_bracket template but it doesn't show up on new tournaments or previous tournaments. Am I doing something wrong or is there a bug I'm not aware of? |
Quote:
Create vBulletin Hook in AdminCP with hook location tll_tmnt_view_post_query and the following php code PHP Code:
|
Quote:
I've tested it and it works for me... Whereabouts are you putting it in tmnt_bracket? - I would suggest around the line: HTML Code:
<a href="<vb:if condition="$team">competitions.php?do=viewteam&id={vb:raw userinfo.userid}<vb:else />{vb:link member, {vb:raw userinfo}}</vb:if>">{vb:raw userinfo.username}</a> |
Is there a way to remove Uncategorised Ladders, Uncategorised Leagues and Uncategorised Tournaments
|
Quote:
Create vBulletin plugin with hook location tll_prepare_index and php code PHP Code:
|
All times are GMT. The time now is 02:38 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|