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.
I've asked how to allow non registered users to access private page - I've done what you said but still there's a LOG IN screen instead of displaying the page.
Can this be modified to use usergroups instead of post count. If so anyone want to show me how.
I am not that good with PHP but have installed many hacks with no problems. I have been trying to creat this same hack for 3 months now and all I have managed to do is destroy my user profile pages.
Thanks for answering the questions HellSatan, I had no idea this hack would fill it so quickly in just a couple days. I was on a train for 12 hours yesterday up to Mt. Shasta, so I wasn't able to provide some help then.
Quote:
Originally posted by hellsatan Hmm...
Good, except for 2 things...
Images uploads - How do we know they wont upload p*rn?
Without forum includes - how will internet niave members get back to the forum easily?
Satan
Well there is no imaging upload first of all, there is just image hotlinking from another website, but I figure that's what you meant. There is no way to prevent linking adult or offensive images, but hopefully the specific rules given on the custompage screen in the user profile will make it VERY clear. Also allowing members with a certain postcount, should be high, should allow those common with the forum rules to know whats right and wrong. Just be sure you moderate the pages, maybe create a new usergroup just for moderators that check the pages, insuring the code is safe and there is no bad content.
Quote:
Originally posted by ripman Mayby it would be good make something more than simple page - eg. everyone can make his own webpage - but the full one, including :
-Hiperlinks to other private pages within one account
-Images upload
-Without forum's includes (logo,buttons,etc)
What do you think about that ?
Having multiple pages might be a consideration for a future version of this hack, but I have no intention right now in adding that feature. Same goes with image upload, and actually I probably won't ever release image upload unless somebody else wants to code it out, only because your forum isn't meant to be a private Angelfire, or whatever..
For your third request, this can be done very simple.
Just replace the template getinfo_custompage with the following:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$bbtitle - $userinfo[custompagename]</title>
</head>
$userinfo[custompage]
</html>
All I really did was remove the $header, $headinclude, and $footer. NOTICE though that I removed the <body> and </body> tags, this means in the modifycustompage screen, your users will have to add the <body></body> tags within the body content field. If you add it default like this: <body></body>, I believe your vB will modify it to it's style replacement set value. But if you specify <body bgcolor="#345678"></body>, it will set the background color to that hexadecimal value.
-------------------------------
Those still recieving a blank page when you click on the custompage link in the user profile, I'm not too sure what to say but make sure you follow the instructions exactly doing everything as told.