Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #52  
Old 07-30-2002, 04:26 AM
Mithan Mithan is offline
 
Join Date: Apr 2002
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok another question.

How would I modify the code so that this will work from the postbit template? Ie- show right up on the forums itself, without requiring a user to click on your name before he can access your site?

You can see my forums here:
http://www.ac2hq.com/forum/showthrea...&threadid=2286

What I would like to do is under a persons name on the left side, put the Custom Page link. If I do it now, nothing shows up.

Any tips?
  #53  
Old 07-30-2002, 07:31 AM
ripman's Avatar
ripman ripman is offline
 
Join Date: Jan 2002
Location: POLAND -> TARNOW (51'N/21'E)
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have any problems I suggest to reinstall whole hack :P Mayby you missed the instruction eg. REPLACE instead of BELOW.

At the second time everything works fine exept that damn non-registered users access. Blah...
  #54  
Old 07-30-2002, 09:03 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then...

You either havent removed that code, or you dont allow Guests to do much...

@Mithan...

Change this below, from yoursite.com/forums to the path to your boards...

Code:
<a href="http://www.yoursite.com/forums/member.php?s=&action=getcustompage&userid=$userid">Custom Page</a>
You can format it how you like

Then, in the posbit template, find :
Code:
$post[usertitle]
And below it add the code from above...

Satan
  #55  
Old 07-30-2002, 01:16 PM
DemiNeo0101's Avatar
DemiNeo0101 DemiNeo0101 is offline
 
Join Date: Feb 2002
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a feeling its conflicting with a hack i allready have installed. B/c i re-installed, but still a no go.
  #56  
Old 07-30-2002, 02:35 PM
Mithan Mithan is offline
 
Join Date: Apr 2002
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hellsatan:

Thanks, that didnt work though. I had to change it to this:
Quote:
<a href="http://www.ac2hq.com/forum/member.php?s=&action=getcustompage&userid=$post[userid]">Custom Page</a><br>
the $userid didnt work, needed to change to $post[userid]

Again, thanks.
  #57  
Old 07-30-2002, 06:58 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah right...

I thought that wouldnt work as just $userid...

Satan
  #58  
Old 07-30-2002, 09:07 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@mithan, use this if you want their page name to show up:

Code:
<a href="http://www.ac2hq.com/forum/member.php?s=&action=getcustompage&userid=$post[userid]">$post[custompagename]</a>
You can also use $post[custompageviews], to display that users hits for their page.


Quote:
Originally posted by DemiNeo0101
i have a feeling its conflicting with a hack i allready have installed. B/c i re-installed, but still a no go.
The major areas that a mistake could be caused is in the members.php. So by chance in one of the areas that require you to select a large amount of code then replace it with the code I gave, you could have overwrited another hack maybe. This calls for you doing it manually then, since most of the time I only added a variable or something within the code.
  #59  
Old 07-30-2002, 09:25 PM
Thewnagchung's Avatar
Thewnagchung Thewnagchung is offline
 
Join Date: Jul 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HEY VELOCD! its me Jeff

i may add this to VGT
  #60  
Old 07-30-2002, 10:42 PM
KnightDebonair KnightDebonair is offline
 
Join Date: Jul 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well, i'm a poster at his website and I've messed with that hack first hand . I know nothing about html but it wasn't too hard to get the basics through a post he made, it would be awesome if that hack had a quick FAQ link to the side, just telling the basics of HTML, it didn't but luckily velocd posted them so it was ok.

anyways, thats all ^^;
  #61  
Old 07-31-2002, 02:42 AM
Kumaro's Avatar
Kumaro Kumaro is offline
 
Join Date: Oct 2001
Location: T.O
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is just what I have been looking for, except i stilll can't use it because none of the users know any html at all. It would be great if this hack had three different sections for the user to fill out; such as an image field, a body text 1 field, and a body 2...

just a suggestion..amazing hack.
Closed Thread

Thread Tools

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 02:50 PM.


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.04591 seconds
  • Memory Usage 2,297KB
  • 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
  • (3)bbcode_code
  • (2)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