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)

Chris M 07-28-2002 05:17 PM

I would prefer if it was vB code...

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

Satan

ULTIMATESSJ 07-28-2002 06:02 PM

heh i see you released it after all, nice work Velocd :)

Velocd 07-28-2002 06:23 PM

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

proxyMX 07-28-2002 09:29 PM

ill have a bash of integration but im more of a graphics person and im oretty clueless when it comes to php

DemiNeo0101 07-28-2002 10:55 PM

ok when i try to find
$cpnav[7]="#1C5780";

i get nothing. Is that still in members.php?

i have vb 2.2.6

mine show up more like this
$cpnav[7]="#1C5780";
and i allready have a $cpnav[8]="{firstaltcolor}"; and $cpnav[8]="{secondaltcolor}"; from myvbpad hack by firefly.

ripman 07-29-2002 08:49 AM

great hack :) I've installed it on 2.2.6

but the counter seems not to increment (X views)

check it out @ my test forum

http://forum.west.tarnow.pl/member.p...tinfo&userid=1

(server may be slooooow)

Chris M 07-29-2002 09:09 AM

@DemiNeo0101 -

Search for :

Code:

$cpnav[7]="{secondaltcolor }";
(Remeber to remove the space in {secondaltcolor })

That was only "#1C5780", because vB parses the code as that...

Satan

ripman 07-29-2002 11:28 AM

Ok - it increments.

But how to swith off user-checjk ? I would like this page do be avaliable to all surfers - not only to the registered users.

Chris M 07-29-2002 11:51 AM

In the member.php Modification, find (2nd instance):

Code:

  if ($bbuserinfo[userid]==0) {
    show_nopermission();
  }

And remove it...(This removal of code refers to the :
Code:

// ############################### start getinfo custompage by Velocd ###############################
part of the hack...

Satan

ripman 07-29-2002 12:01 PM

GREAT :) BIG THX :rambo:


All times are GMT. The time now is 10:40 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.01236 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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