vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBcustompage 1.0 (https://vborg.vbsupport.ru/showthread.php?t=41616)

Velocd 07-27-2002 10:00 PM

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:
  • 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 :)

Radon3k 07-28-2002 03:33 AM

Cool hack, might use it sometime, thanks! :)

Velocd 07-28-2002 04:47 AM

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 ;)

E 07-28-2002 05:44 AM

i might edit it the code a bit too customize it for my board if u dont mind?

Lionel 07-28-2002 06:12 AM

I get a blank page when I click on the link in profile.

$userinfo[custompage] returns empty, but the info is in the database

nemesis01 07-28-2002 10:08 AM

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.

Chris M 07-28-2002 10:32 AM

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

proxyMX 07-28-2002 01:47 PM

i am a huge fan of lesanes store hack, this could be a buy feature in it

DrkFusion 07-28-2002 03:30 PM

Nice work man, isntalling this right now.

Drk

eXtremeTim 07-28-2002 04:00 PM

I might install this im just not to comfortable with allowing the html.


All times are GMT. The time now is 02:15 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
  • Page Generation 0.01242 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete