Version: 1.00, by Velocd
Developer Last Online: Nov 2023
Version: 2.2.x
Rating:
Released: 07-27-2002
Last Update: Never
Installs: 44
No support by the author.
vBcustomPage Version 1.0 | A hack by Velocd :ninja:
Update - 7/27/02 - Bug fix
I accidentally forgot to add the instructions on how to allow the admin to modify the custom page name and content via ACP.
Please refer to the 7-27-02fix.txt for instructions on how to fix it.
What does this hack do?
This integrated vB add-on will allow your users to have their own custom page built on simple HTML. In addition, the admin can specifiy a minimum post count that all users must achieve before they are allowed the creation of a custom page.
Why is it useful?
More creativity and ways for the users to express themselves on your forum. Users who do not match the postcount needed to create custom pages will want to post more in order to get it. Ofcourse this isn't going to happen just because it's written here, but the possibilities are unknown until you try it out.
Features:
Via the ACP users page, the admin can toggle whether a member is allowed to use custom pages.
Via the ACP users page, the admin can also modify the users custom page name, and also the content.
Javascript code filter + offensive language block
The name of your custom page will show up in the title bar of your custom page (big wow, I know )
..more creativity for your users!
WARNINGS:
As with HTML in posts and signatures, the vulnerabilities of allowing your members to create pages using HTML could be risky. Please moderate your member custom pages (view the source) on a daily basis, insuring that no malicious code is hidden away somewhere.
Screenshots?
Screenshots are included in the zip.
Bugs?
None that I know of, but if you find any please let me know!
-----------------------------------------
Attached is the hack zip. If you use this hack on your forum, please click the install!
Suggestions and comments are always welcomed
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Awesome hack, just did an installation without any problems
One question though. I changed it so that only certain usergroups have access (as opposed to the postcount). When I try to view the custom page for a user that doesnt have one or is not allowed, it still loads everything: the header and the 'body' bit, which obviously is empty. What do I need to do to add an errormessage, that the selected user doesnt have a custom page?
Also, when I do member.php?action=getcustompage (no user is selected) you get the errormessage that that users page has been disabled due to abuse. Could that be altered to show that no userid was selected?
i have installed the hack now - and I have changed a bit to that the user can only use VbCode, NOT html code. Any html code is not parsed, its displayed.... to do this, I change the updatecustom function bit....
above the insert to the DB, add the following line
Code:
//strip characters and do vB code
$custompage = bbcodeparse2($custompage,0,1,1,1);
that will turn the text the user enters in to the relevant code....
the problem is, when the text is loaded to be edited again, I cant seem to find the function to turn it back in to vbCode.... anyone know how?