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

Quote:
Originally posted by Lionel
I get a blank page when I click on the link in profile.

$userinfo[custompage] returns empty, but the info is in the database
Make sure you have created the template getinfo_custompage, and that it contains the following:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$bbtitle - $userinfo[custompagename]</title>
$headinclude
<body>
$header
<br>

$userinfo[custompage]

<br>
$footer

</body>
</html>
Quote:
Originally posted by proxyMX
i am a huge fan of lesanes store hack, this could be a buy feature in it
Feel free to integrate this if you like, I personally don't use Lesane store hack, but when making this hack I also thought it would make a good addition.

Quote:
Originally posted by ULTIMATESSJ
heh i see you released it after all, nice work Velocd
Thanks


Quote:
Originally posted by hellsatan
I would prefer if it was vB code...

Also - I would prefer if Admins could use it without needing 300 posts...

Satan
Quote:
Originally posted by eXtremeTim
I might install this im just not to comfortable with allowing the html.
Quote:
Originally posted by nemesis01
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.
I know the idea of allowing HTML worries alot of people, and I'm personally not too fond of it, but I can never know how things turn out until I try them myself. I have it running on my forums, and those with the minimum 300 post count seem to think it's a great idea, funny thing is most these members don't even know HTML. :cheeky:

To use vBcode would seem like the most ideal way of making this hack, but then I would have to create vBcode tags for all those HTML tags, such as creating tables, embed tag, etc. And I don't have the coding experience, nor the time, to do it right now. Another way would be to have it check the HTML making sure nothing bad was being put in, but this is another thing I'm not quite sure of how to do. It has a basic checker that eliminates javascript and any other language but HTML, and thats it.

For my forums I can trust my members, mainly because my forum is relatively small, and I know all the members pretty well. Although for a forum with many many members, I know this would become a problem. You could set the enablecustompage to default off, and then if a member would like a custom page you check with them first and switch them to on. This seems even more time consuming though.

Quote:
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
I'm not too sure what you mean by this, could you explain alittle further nemesis01?
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01241 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete