The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Vbjokes Details »» | |||||||||||||||||||||||||
Downloads for this modification have been removed according to Official Policy: When Security Vulnerabilities in Hacks are Found
VBjokes what is it. Well vbjokes is a jokes database system for holding all your jokes in one place. with vbjokes the user can search for a joke or just look around in the categorys. All members of the site will be able to add a joke to the database but the admin will have to approve the joke before anyone on your site can see it. The user has the option to view the jokes in a popup and by clicking the image if the joke has one to see the larger picture. The users can now rate a joke out of 5 this now uses images to show the rating. The admin can do The admin can add new categorys edit or delete them. View edit delete jokes. Approve new jokes. Turn vbjokes on or off. Phrases Fixed Have fixed the phrases and added a rate system for the jokes. Fixed the upgrade xml file as you can see there is a product-vbjokes-upgrade.xml file This is to upgrade all versions of vbjokes to 1.0.3 When you view this in the manage products it will say version 1.0.2 but if you click edit it will show that 1.0.3 has been installed. Also fixed when viewing whos online it will say viewing vbjokes with a link to the jokes. some template changes too where it only showed the newest jokes it now shows newest top hit and top rated jokes at the bottom of every page. Install notes Installation 1. Upload files as-is to board but not the product-vbjokes.xml file. 2. Log into admincp, Goto Plugin System then manage pruducts click [Add/Import Product] then inport the product-vbjokes.xml file. 3. navigate back into admincp, (might need a refresh to get nav options) 4. click vbjokes, then vbjokes settings, activate vbjokes 5. Edit navbar in navigation / breadcrumb templates ************************************************** ************ Find ************************************************** ************ <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> ************************************************** ************ Add under ************************************************** ************ <td class="vbmenu_control"><a href="vbjokes.php">VBjokes</a></td> ************************************************** ************ 6. login to admincp goto Plugin System Manage Products [Add/Import Product] EITHER upload the XML file from your computer product-vbjokes-upgrade.xml Allow Overwrite yes click inport 7. All done enjoy your vbjokes hack. Please donate to my work Click Here Show Your Support
|
Comments |
#22
|
|||
|
|||
Quote:
Your very welcome glad it can be of use to you all. |
#23
|
|||
|
|||
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. |
#24
|
||||
|
||||
hey you can use this i dunno how but maybe some code in the vbjokes.php file that finds all
Code:
' Code:
´ |
#25
|
|||
|
|||
So does this allow HTML?
I see abuse possibilities. |
#26
|
|||
|
|||
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. |
#27
|
|||
|
|||
Quote:
|
#28
|
|||
|
|||
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 |
#29
|
|||
|
|||
fixed files uploaded
|
#30
|
|||
|
|||
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. |
#31
|
||||
|
||||
its checking to see if the user is logged in / registered :P
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|