HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Join confirmation page tweak [Resolved]

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#92884 (In Topic #18607)
Avatar

Community saint

Hi everyone,

Sorry I have been gone for a while. I won't go through all the problems I have been having, let's just say I have been swamped.

I am setting up a new site using v9.0.2, and everything is going pretty well. The problem I am having is that after a member agrees to the rules (step1), completes their profile information (step2), step3 is a blank page. I can't for the life of me find how to modify that page. I want to enter some welcome information.

If anyone could point me to the page, or instruct me on how to add text, it would be greatly appreciated.

Thanks,
Doc
Back to the top
 
Posted
Rating:
#92892
Avatar

Hi,

By blank page, do you mean completely blank, i.e. some kind of ocPortal bug? If so please open a free support ticket (bug report) and I'll take a look.

If you just mean it is almost blank, with just some basic text, there'll be a language string you can change. It'd probably be "Thank you. You have successfully confirmed your membership and may now log in.", which is the SUCCESSFUL_CONFIRM in ocf.ini.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Fletch)  
Rating:
#92897
Avatar

Community saint

Sorry, Chris. I should have posted a screen shot. This is what I get.

I doubt this a bug with OCP.

This is the page to which I want to add text.


Back to the top
 
Posted
Item has a rating of 5 (Liked by Fletch)  
Rating:
#92899
Avatar

Ah, I can see it now, this is new in either v9 (or v8, I forget) since we added automatic login if validations aren't enabled. This is a bug, I guess nobody reported it yet because people tend to leave email address validation on.

In sources/ocf_join.php change:

Code

      if ($instant_login) // Automatic instant log in
      {
         require_code('users_active_actions');
         handle_active_login($username);
      } else // Invite them to explicitly instant log in
to:

Code

      if ($instant_login) // Automatic instant log in
      {
         require_code('users_active_actions');
         handle_active_login($username);
         $message->attach(do_lang_tempcode('OCF_LOGIN_AUTO'));
      } else // Invite them to explicitly instant log in
And paste this onto the end of lang/EN/ocf.ini:

Code

OCF_LOGIN_AUTO=You have now joined, and have been automatically logged in.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#92901
Avatar

Community saint

Thanks, Chris.  :thumbs:

I was looking in the ocf.ini, so I guess I was not that far off.  :lol:
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: