![]() |
vBcustompage 1.0
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:
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 :) |
Cool hack, might use it sometime, thanks! :)
|
I just updated the zip, fixing a small typo in the end of the install.htm, where NEW TEMPLATES was mentioned twice :rolleyes:
There are also some area's that have strange hexademical values for the colors, this is because I accidentally left { secondaltcolor} in them and it got translated by vB accidentally. But hopefully there should be no problem in figuring it out ;) |
i might edit it the code a bit too customize it for my board if u dont mind?
|
I get a blank page when I click on the link in profile.
$userinfo[custompage] returns empty, but the info is in the database |
It's a good idea, but I think it would be better if it was based on a regular vbulletin page and editable by filling in set fields at the 'create page' stage, rather than having the user be allowed to use html. I'm sure it would be possible to do that, replacing the html part for the more limited but 'safer' VBcode. For a big board with a lot of regular users it would be very time consuming to check each members page to make sure the content was non-malicious.
|
Great hack Velocd!
I was thinking of making this myself, but you saved me the trouble;) Hmmm... Why dont you make it so that Admins can make one without needing to get a certain amount of posts? Satan |
i am a huge fan of lesanes store hack, this could be a buy feature in it
|
Nice work man, isntalling this right now.
Drk |
I might install this im just not to comfortable with allowing the html.
|
I would prefer if it was vB code...
Also - I would prefer if Admins could use it without needing 300 posts... Satan |
heh i see you released it after all, nice work Velocd :)
|
Quote:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> Quote:
Quote:
Quote:
Quote:
Quote:
To use vBcode would seem like the most ideal way of making this hack, but then I would have to create vBcode tags for all those HTML tags, such as creating tables, embed tag, etc. And I don't have the coding experience, nor the time, to do it right now. Another way would be to have it check the HTML making sure nothing bad was being put in, but this is another thing I'm not quite sure of how to do. It has a basic checker that eliminates javascript and any other language but HTML, and thats it. For my forums I can trust my members, mainly because my forum is relatively small, and I know all the members pretty well. Although for a forum with many many members, I know this would become a problem. You could set the enablecustompage to default off, and then if a member would like a custom page you check with them first and switch them to on. This seems even more time consuming though. Quote:
|
ill have a bash of integration but im more of a graphics person and im oretty clueless when it comes to php
|
ok when i try to find
$cpnav[7]="#1C5780"; i get nothing. Is that still in members.php? i have vb 2.2.6 mine show up more like this $cpnav[7]="#1C5780"; and i allready have a $cpnav[8]="{firstaltcolor}"; and $cpnav[8]="{secondaltcolor}"; from myvbpad hack by firefly. |
great hack :) I've installed it on 2.2.6
but the counter seems not to increment (X views) check it out @ my test forum http://forum.west.tarnow.pl/member.p...tinfo&userid=1 (server may be slooooow) |
@DemiNeo0101 -
Search for : Code:
$cpnav[7]="{secondaltcolor }"; That was only "#1C5780", because vB parses the code as that... Satan |
Ok - it increments.
But how to swith off user-checjk ? I would like this page do be avaliable to all surfers - not only to the registered users. |
In the member.php Modification, find (2nd instance):
Code:
if ($bbuserinfo[userid]==0) { Code:
// ############################### start getinfo custompage by Velocd ############################### Satan |
GREAT :) BIG THX :rambo:
|
thanks hellsatan.
|
Np...:)
Satan |
a big hole - css etc...
can somebody code a blacklist for the html code? so you can lock abject html code... |
Quote:
im useing vb 2.2.6 |
Thats strange...
I am running vB 2.2.6 and everything is running fine... Satan |
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 ? |
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 |
Very nice hack. I will be using this in the future.
|
Hmmmmmm - I've removed that part of code but the problem's still there :surprised:
------member.php-------- PHP Code:
|
Quote:
1. Image upload after X posts - that should prevent most people from "chating" 2. I ment that includes should be very small like a table with a theme chosen by user 3. One more thing. Every user can have pre-installed web page like. Quote:
|
Im not sure I follow...
Satan |
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.
|
Then you obviously dont allow Guests to view User Profiles...
Satan |
hmmm
Can view members info (including other's profiles and members list) (*)Yes ()No Ill take a look at it tommorow - now i'm to tired :P |
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. |
Would this work?
Replace: if ($bbuserinfo[posts]<300) { With: if ($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==8) { |
No...
This : PHP Code:
|
Thank You.
|
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:
Quote:
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"> ------------------------------- 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. Thanks for all the feedback :) |
Any news on the Admins dont need 300 posts front?
Satan |
All times are GMT. The time now is 10:31 PM. |
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:
|