vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Force Current Members To Fill Out Required Profile Field (https://vborg.vbsupport.ru/showthread.php?t=82756)

fyjpm 12-12-2005 09:47 PM

Quote:

Originally Posted by ConqSoft
They should get the message no matter what part of vBulletin they try to browse to. They do on mine.

You know what I almost cross posted you because I was looking at the code and it does seem that they should keep getting it...I'm thinking its because I'm using CMPS that a blank screen is happening? I'll post back my findings, anyone else have an idea please reply.

Thanks guys!

-John

P.S. Obviously I clicked *INSTALL* and I love this hack. nuff said.

fyjpm 12-12-2005 10:00 PM

How can I get the members username in the error message like this:

"Dear so-and-so, you need to fill in the required field blah blah blah..."

Anyone?

Thanks,

John

fyjpm 12-12-2005 10:45 PM

Quote:

Originally Posted by fyjpm
post back my findings, anyone else have an idea please reply.

Ok I found ok that if you are running CMPS by vBAdvanced that you will not continue to get the errror message on anything besides the CMPS homepage if you have the following enabled in your other php files:

define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');

meaning that you are running vB inside of the CMPS system. I'm suprised no one has run across this yet as I thought lots of ppl used the CMPS product. Any how I still haven't figure out the solution, but I know that if I comment out those lines in all the .php files I edited it works.

Again, if anyone has any further insight that would save me some time, please reply. And thank you very much!

-John

Kuimera 12-12-2005 11:28 PM

I know this should be kind of hard request, but sometimes we get that kind of dumb users who dont know the hell what is a profile, and when that message shows, they tend to go to the profile and leave without changing anything...
Is there a way to show in the msg what are the new profile fields or something?

fyjpm 12-12-2005 11:46 PM

Quote:

Originally Posted by Kuimera
I know this should be kind of hard request, but sometimes we get that kind of dumb users who dont know the hell what is a profile, and when that message shows, they tend to go to the profile and leave without changing anything...
Is there a way to show in the msg what are the new profile fields or something?

Go to:

vB Control Panel > Languages & Phrases > Search in Phrases >

Search for Text :"zzz_update_profile" and tick the "Phrase Variable Name Only" box.

Now you can click "Edit", then click "Copy Default Text", and edit what you want to say to your users on the screen before they click "Edit Profile".

Worked for me!

-John

(P.S. LoL now I wish someone could answer my Q's too!~)

cbr929rrerion 12-13-2005 12:25 AM

I tried the install on 3.5 and get this message after login,

Code:


Fatal error: Call to undefined function: print_portal_output() in /hsphere/local/home/crotchro/crotchrocketracing.com/includes/functions.php on line 4175

anyone have a fix?

Does it not add the phrase? Instrustion here seem vague? I installed the product and get the above error.. how do we fix this?

fyjpm 12-13-2005 12:29 AM

Looks like you are running vBAdvanced CMPS...make sure in your ./includes/functions.php file you have the code required from it...it looks like this:

Code:

        if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT'))
        {
                define('SKIP_OUTPUT', true);
 
                global $home;
 
                print_portal_output($home, $vartext);
        }

Quote:

Originally Posted by cbr929rrerion
I tried the install on 3.5 and get this message after login,

Code:


Fatal error: Call to undefined function: print_portal_output() in /hsphere/local/home/crotchro/crotchrocketracing.com/includes/functions.php on line 4175

anyone have a fix?

Does it not add the phrase? Instrustion here seem vague? I installed the product and get the above error.. how do we fix this?


cbr929rrerion 12-13-2005 12:37 AM

yes I have that

Code:


if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT'))
        {
                define('SKIP_OUTPUT', true);

                global $home;

                print_portal_output($home, $vartext);
        }

thats is in includes/functions.php

now what?

thanks for the quick reply also.

fyjpm 12-13-2005 12:41 AM

Do you have this at the top of your main forum homepage? (either forum.php or whatever you renamed it to...if you are not using CMPS as your homepage then look in index.php)

Code:

<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include

I think you need to just really go through the CMPS installation instructions and make sure everything is as it should be...this seems to be your trouble.

FWIW,

John

Quote:

Originally Posted by cbr929rrerion
yes I have that

Code:


if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('VBA_SCRIPT'))
        {
                define('SKIP_OUTPUT', true);

                global $home;

                print_portal_output($home, $vartext);
        }

thats is in includes/functions.php

now what?

thanks for the quick reply also.


cbr929rrerion 12-13-2005 12:46 AM

I have this

Code:

<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'forum');



All times are GMT. The time now is 12:55 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.01175 seconds
  • Memory Usage 1,749KB
  • 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
  • (7)bbcode_code_printable
  • (5)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