![]() |
Quote:
Your very welcome glad it can be of use to you all. |
Isn't there a way to change that to html marks like the & or whatever that the database uses for apostrophes?
Ideas for future versions - Usergroup permissions to view jokes. |
hey you can use this i dunno how but maybe some code in the vbjokes.php file that finds all
Code:
' Code:
´ |
So does this allow HTML?
I see abuse possibilities. |
Quote:
All jokes have to be approved be for any joke is viewable by the members. The joke is only inputted as text to the database. So you are limited on the tags you can use. |
Quote:
|
Hi all i have found a fix for the inputting of a joke.
Find this in vbjokes.php PHP Code:
PHP Code:
I will upload the fixed files in about 10 mins |
fixed files uploaded
|
I would have used the addslashes function myself.
Also what are you doing with this lol. Code:
$areyouamember = $db->query("SELECT userid FROM " . TABLE_PREFIX . "user WHERE userid = '" . $userid . "'"); Looks to me like its some kind of reminents of the league hack. Also this allows users to add jokes and then admin approval. Only problem is it looks to me like you let them use html which is a bad thing. I also am not seeing any data validation here. Meaning I could easily take over any site using this hack. Please use data validation. If you need help with it please contact me. This hack has potential but it needs work. Please contact me so I can help you get this all cleaned up. ;) |
its checking to see if the user is logged in / registered :P
|
All times are GMT. The time now is 04:47 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:
|