Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
vBcustompage 1.0 Details »»
vBcustompage 1.0
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

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.

Comments
  #82  
Old 01-26-2003, 06:05 AM
rootnik rootnik is offline
 
Join Date: Jun 2002
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Velocd,

Great idea! Installation was easy, thanks for the hack
  #83  
Old 02-02-2003, 12:16 PM
Jmonto Jmonto is offline
 
Join Date: Jan 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One questions did any one get an error with the first query?

alter table user
add custompageviews int(20) not null default'0'

Mine comes back saying the 0 isnt valid.

thanks
  #84  
Old 02-02-2003, 10:41 PM
forumsinfo forumsinfo is offline
 
Join Date: Dec 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Velocd,
you helped me a lot.
  #85  
Old 02-03-2003, 04:31 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok im getting confused...

in the help file...this info here...

PHP Code:
Now for the somewhat annoying partsFind:

PHP:  

$cpnav[7]="#1C5780";


And 
place below it:

PHP:  

$cpnav[8]="#1C5780";


Wherever $cpnav[7]="#1C5780"shows upyou need to add the $cpnav[8bit.

Do 
this also for MEMBER2.PHP, PRIVATE.PHP, and USERCP.php (which should all be alittle easier). 
and after making the modifycustomimage_bit

PHP Code:
MAKE SURE you modify the above templatesuch as the description and restrictionsto your own preferenceAlso where each and every secondaltcolor} and { firstaltcolorisyou will want to remove that spaceI currently use custom replacement setsso you will have to modify these colors to your likingbecause I'm sure the default look will look very bland. 
Please clear it up for me...I am not understanding what to do with these instructions..

Might be cuz I haven't got enough sleep or soemthing in past week, but it is throwing me off...lol
  #86  
Old 02-05-2003, 01:40 AM
Colon33
Guest
 
Posts: n/a
Default

Hey Velo Cd. Any word on making the pages updated via Custom Fields? or something like that? 1 Image field.. an intro field and maybe a body field? With one MAIN template to edit? Doesnt matter if they all look alike. But i would really think this would go over even better.
  #87  
Old 02-06-2003, 07:57 PM
leviw leviw is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like almost exactly what I have been looking for, does anyone have it up and running that I could preview?

Im also very concerned about allowing users full html access, so if anyone has modded this to prevent certain malicious code, or more importantly to me if they have made it easier for non-code savvy users to input info, please let us know. =)
  #88  
Old 02-07-2003, 01:46 PM
cklaszlo cklaszlo is offline
 
Join Date: Nov 2001
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to see what it looks like too? Thanks
  #89  
Old 02-13-2003, 02:33 PM
leviw leviw is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, downloaded it and checked the pics in the zip. For anyone else wondering what the finished board looks like, here are some examples:

www.sightunseen.org/temp/acp_shot.gif
www.sightunseen.org/temp/custompage_shot.gif
www.sightunseen.org/temp/custompage_shot2.gif
www.sightunseen.org/temp/interface_shot.gif
www.sightunseen.org/temp/userprofile_shot.gif

Any word on upgrading to vb code instead of html, or a more friendly user interface? aranoid:
  #90  
Old 02-13-2003, 03:57 PM
cklaszlo cklaszlo is offline
 
Join Date: Nov 2001
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for posting these!!! Big help.
  #91  
Old 03-02-2003, 08:40 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One downside to this hack, the attachment feature is not used to let users upload their images to the server, and then use $custompage_image anywhere in their text. Now they are still required to upload it some place else :/

Or am I missing something ?
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:59 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05325 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete