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
  #42  
Old 07-29-2002, 10:24 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
if ($bbuserinfo[posts]<300 && $bbuserinfo[usergroupid] != 6) { 
  #43  
Old 07-29-2002, 10:31 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by DemiNeo0101


i get the same exact thing. I have that getinfo_custompage template and i ran the mysql querys.

im useing vb 2.2.6
did you solve that problem?
  #44  
Old 07-29-2002, 10:53 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As mentioned before, it is probably a mistake some of you are making. For some people who have installed this hack they say it works perfectly, while a few people are reporting a blank page being shown up. The instructions are quite lengthy, so just make sure you go carefully through it. I have it installed and it works fine.

I'll go through the instructions again to insure nothing is missing.
  #45  
Old 07-29-2002, 11:11 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could anybody who is recieving the blank page tell me if it is a complete blank page (pure white), or if the blank page consists only of the $header, and $footer visible elements.
  #46  
Old 07-29-2002, 11:15 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
Could anybody who is recieving the blank page tell me if it is a complete blank page (pure white), or if the blank page consists only of the $header, and $footer visible elements.
just a blank page, no header, no footer, not even a page TITLE
  #47  
Old 07-30-2002, 03:07 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange...I couldn't find anything wrong with the instructions either, so I'm blank on what the problem could be right now.
  #48  
Old 07-30-2002, 03:12 AM
Jalrock Jalrock is offline
 
Join Date: Dec 2001
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just a dummy point of view but what happens if you dont remove the space from the first and second color thing?
  #49  
Old 07-30-2002, 03:13 AM
Mithan Mithan is offline
 
Join Date: Apr 2002
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Now for the somewhat annoying parts. Find:

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


And place below it:

PHP:

$cpnav[8]="#1C5780";
Sorry, bud, but I cant find a any #1c5780 in my members.php file.

This is what my one area looks like:
// draw cp nav bar
$cpnav[1]="{secondaltcolor}";
$cpnav[2]="{secondaltcolor}";
$cpnav[3]="{firstaltcolor}";
$cpnav[4]="{secondaltcolor}";
$cpnav[5]="{secondaltcolor}";
$cpnav[6]="{secondaltcolor}";
$cpnav[7]="{secondaltcolor}";
$cpmenu[9]="class=\"fjsel\" selected";
eval("\$cpnav = \"".gettemplate("usercpnav")."\";");


All mentionings of CPNav are with that secondaltcolor.

So what do I do?
Put $cpnav[8]="#1C5780"; UNDER the $cpnav[7]="{secondaltcolor}"; lines?

Thanks.
  #50  
Old 07-30-2002, 03:40 AM
Mithan Mithan is offline
 
Join Date: Apr 2002
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

++++, nevermind... I see what you meant lol
  #51  
Old 07-30-2002, 04:22 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll make a reminder to myself to change the instructions and make those hexidecimal values to {secondaltcolor }

See if you type {secondaltcolor } without the space in a post on vB.org, and any vBulletin forum, it will replace it with whatever color is in the replacement thingy.

As for leaving {secondalotcolor } that way, it will just screw the colors up, usually making it a neon green or something, I can't remember. So be sure to remove that space.
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 11:08 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.07147 seconds
  • Memory Usage 2,308KB
  • 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
  • (1)bbcode_php
  • (3)bbcode_quote
  • (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
  • (11)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