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-29-2002 04:02 PM

Im not sure I follow...

Satan

ripman 07-29-2002 04:06 PM

I've asked how to allow non registered users to access private page - I've done what you said but still there's a LOG IN screen instead of displaying the page.

Chris M 07-29-2002 06:35 PM

Then you obviously dont allow Guests to view User Profiles...

Satan

ripman 07-29-2002 06:51 PM

hmmm

Can view members info (including other's profiles and members list) (*)Yes ()No


Ill take a look at it tommorow - now i'm to tired :P

Jalrock 07-29-2002 06:54 PM

Can this be modified to use usergroups instead of post count. If so anyone want to show me how.

I am not that good with PHP but have installed many hacks with no problems. I have been trying to creat this same hack for 3 months now and all I have managed to do is destroy my user profile pages.

Jalrock 07-29-2002 06:58 PM

Would this work?

Replace:
if ($bbuserinfo[posts]<300) {

With:
if ($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==7 || $bbuserinfo[usergroupid]==5 || $bbuserinfo[usergroupid]==8) {

Chris M 07-29-2002 07:26 PM

No...

This :

PHP Code:

if ($bbuserinfo[usergroupid]!=and $bbuserinfo[usergroupid]!=and $bbuserinfo[usergroupid]!=and $bbuserinfo[usergroupid]!=8) { 

Satan

Jalrock 07-29-2002 08:23 PM

Thank You.

Velocd 07-29-2002 08:24 PM

Thanks for answering the questions HellSatan, I had no idea this hack would fill it so quickly in just a couple days. I was on a train for 12 hours yesterday up to Mt. Shasta, so I wasn't able to provide some help then.

Quote:

Originally posted by hellsatan
Hmm...

Good, except for 2 things...

Images uploads - How do we know they wont upload p*rn?

Without forum includes - how will internet niave members get back to the forum easily?

Satan

Well there is no imaging upload first of all, there is just image hotlinking from another website, but I figure that's what you meant. There is no way to prevent linking adult or offensive images, but hopefully the specific rules given on the custompage screen in the user profile will make it VERY clear. Also allowing members with a certain postcount, should be high, should allow those common with the forum rules to know whats right and wrong. Just be sure you moderate the pages, maybe create a new usergroup just for moderators that check the pages, insuring the code is safe and there is no bad content.

Quote:

Originally posted by ripman
Mayby it would be good make something more than simple page - eg. everyone can make his own webpage - but the full one, including :

-Hiperlinks to other private pages within one account
-Images upload
-Without forum's includes (logo,buttons,etc)

What do you think about that ?

Having multiple pages might be a consideration for a future version of this hack, but I have no intention right now in adding that feature. Same goes with image upload, and actually I probably won't ever release image upload unless somebody else wants to code it out, only because your forum isn't meant to be a private Angelfire, or whatever..

For your third request, this can be done very simple.
Just replace the template getinfo_custompage with the following:
Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$bbtitle - $userinfo[custompagename]</title>
</head>

$userinfo[custompage]

</html>

All I really did was remove the $header, $headinclude, and $footer. NOTICE though that I removed the <body> and </body> tags, this means in the modifycustompage screen, your users will have to add the <body></body> tags within the body content field. If you add it default like this: <body></body>, I believe your vB will modify it to it's style replacement set value. But if you specify <body bgcolor="#345678"></body>, it will set the background color to that hexadecimal value.

-------------------------------

Those still recieving a blank page when you click on the custompage link in the user profile, I'm not too sure what to say but make sure you follow the instructions exactly doing everything as told.

Thanks for all the feedback :)

Chris M 07-29-2002 08:33 PM

Any news on the Admins dont need 300 posts front?

Satan


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

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.01054 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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