09-08-2000, 12:01 AM
"myhomepage" hack for vbulletin
DESCRIPTION:
This is a simple "homepage" script that allows a registered member create a one (1) page html document that can be viewed by other people. The user must have experiance with html. This is by no means made to be an alternative for hosting, but instead an "extention" if you will, of the users "biography" in their profile. It is basically featureless as of now and is actually poorly intergrated into the forums, but I thought id release it for those that need something similar. I do plan on adding more features in the future, but if you want something added immediately please have the code needed to add the feature. I am real tied up and dont have much time to add code.
KNOWN BUGS:
Depending on how php is configured on your machine it may be possible for the user to use php code in his homepage. Same goes for SSI. Neither of these are issues on my server, but they may be on yours so please test the script before allowing users to access it. I am looking for a fix for this but I am real busy so I havent had a chance.
IN ACTION:
http://www.extremeforums.com/forums/myhomepage.php
THE DOWNLOAD:
http://www.extremeforums.com/vb/myhomepage.zip
INSTALLATION INSTRUCTIONS
Step 1:
Upload "modify_table.php" into your main forums directory (the one with index.php, memberlist.php etc) and run it from your browser. If all goes well you should see "Success!" and no errors.
Step 2:
Delete the file "modify_table.php"
Step 3:
Go to your control panel and add 2 new templates. These should be setup as follows:
a) Template name: "modifymyhomepage"
Code to use : **Contents of "modifymyhomepage.tpl"
b) Template name: "editmyhomepage"
Code to use: **Contents of "editmyhomepage.tpl"
Step 4:
Upload "myhomepage.php" into your main forum directory
Now all you have to do is access "myhomepage.php" from your browser and you will be able to login to edit your homepage. When finished you will be redirected to your homepage.
~Chris
DESCRIPTION:
This is a simple "homepage" script that allows a registered member create a one (1) page html document that can be viewed by other people. The user must have experiance with html. This is by no means made to be an alternative for hosting, but instead an "extention" if you will, of the users "biography" in their profile. It is basically featureless as of now and is actually poorly intergrated into the forums, but I thought id release it for those that need something similar. I do plan on adding more features in the future, but if you want something added immediately please have the code needed to add the feature. I am real tied up and dont have much time to add code.
KNOWN BUGS:
Depending on how php is configured on your machine it may be possible for the user to use php code in his homepage. Same goes for SSI. Neither of these are issues on my server, but they may be on yours so please test the script before allowing users to access it. I am looking for a fix for this but I am real busy so I havent had a chance.
IN ACTION:
http://www.extremeforums.com/forums/myhomepage.php
THE DOWNLOAD:
http://www.extremeforums.com/vb/myhomepage.zip
INSTALLATION INSTRUCTIONS
Step 1:
Upload "modify_table.php" into your main forums directory (the one with index.php, memberlist.php etc) and run it from your browser. If all goes well you should see "Success!" and no errors.
Step 2:
Delete the file "modify_table.php"
Step 3:
Go to your control panel and add 2 new templates. These should be setup as follows:
a) Template name: "modifymyhomepage"
Code to use : **Contents of "modifymyhomepage.tpl"
b) Template name: "editmyhomepage"
Code to use: **Contents of "editmyhomepage.tpl"
Step 4:
Upload "myhomepage.php" into your main forum directory
Now all you have to do is access "myhomepage.php" from your browser and you will be able to login to edit your homepage. When finished you will be redirected to your homepage.
~Chris