Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 06 Aug 2010, 12:34
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Real name: Jim McClain
Modify the standard error vBulletin Message

I know you've seen it before: get redirected to the no permissions page when you try to post or do something in a forum you don't have permission to do. This as a great opportunity to turn it into a combination quick registration/login forms with some text that offers the visitor some great reasons to join.

It's already a mod that's been done in various forms by the folks at SEOvB. But their mod just doesn't work. I spent 2 days trying to code the page to make it golden. It actually works in a limited fashion. It fails in checking the permissions of unregistered visitors though.

I have several forums visitors are allowed to post in. The features are very limited, but people who just want to ask a quick question without registering can do so. But then they end up doing something else and land on the standard error page about no permissions.

I want to turn those visitors into members. It would work better than the modification by SEOvB (Guest Redirect System Professional). But I can't get the human verification thing to work on it, and a couple of the phrases don't show up (the confirm password and confirm email, for some strange reason). If I could get those issues resolved, it would boost registrations.

Any help would be appreciated.

R'gards,

Jim
__________________
Always a work in progress:
The Floor Pro Community
Reply With Quote
  #2  
Old 10 Aug 2010, 00:43
Super-six's Avatar
Super-six Super-six is offline
 
Join Date: Jul 2009
Real name: zero2sixty
Would love to see this hack also. Just got the one you've referenced and it
leaves some to be desired. Doesnt cover all the bases.
Reply With Quote
  #3  
Old 10 Aug 2010, 01:57
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Real name: Jim McClain
I am actually amazed this hasn't been done before. What better way to turn a visitor into a registered member than to give them an opportunity right there on the standard error page? I've asked this question on several forums now and have gotten zero results.

I'm not smart enough to know what is required to allow registration code to display properly on the page generated by the STANDARD_ERROR template. I have coded it with valid code, but the verify password and verify email phrases don't show and the human verify (Q&A or reCaptcha) doesn't show up on the page. It would look like this on my website, if everything worked properly: http://www.thefloorpro.com/images/su...rator1280w.jpg Seems like a much better use of the standard error page to me.

I'm glad I'm not alone in thinking this anyway. Now we just have to interest someone that knows how to make the registration code work on that template.

Jim
__________________
Always a work in progress:
The Floor Pro Community
Reply With Quote
  #4  
Old 13 Aug 2010, 05:05
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
So if I'm understanding correctly, you basically just want to have the no_permission message customizable as far as text, and along with having the option to login... also have a quick register form?
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #5  
Old 13 Aug 2010, 05:32
Super-six's Avatar
Super-six Super-six is offline
 
Join Date: Jul 2009
Real name: zero2sixty
Originally Posted by SecondV View Post
So if I'm understanding correctly, you basically just want to have the no_permission message customizable as far as text, and along with having the option to login... also have a quick register form?
That pretty much sums it up in a nutshell I think.
The post above by eJM gratiously provides a screenshot of exactly
what it should look like. He's using a a product that we both have
that doesnt work well and is full of bugs. Hope Im not breaking any rules
but its www.seovb.com.
I just installed it and its causing confirmations to go haywire and only
populates about half the locations its supposed to, etc.
Reply With Quote
  #6  
Old 13 Aug 2010, 05:43
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Real name: Jim McClain
Originally Posted by SecondV View Post
So if I'm understanding correctly, you basically just want to have the no_permission message customizable as far as text, and along with having the option to login... also have a quick register form?
The STANDARD_ERROR template is easily modified, as you can see from the example shown in my image (previous post). To me, it's attractive and simple. It's also valid code. There is a conditional that allows the other error messages to appear when the error is not a no-permissions error.

The problem is, the "verify password" the "verify email" and the "humanverify" (either the Q&A or the reCaptcha) do not appear on the page. When using the login form, it asks for the user to fill in both password fields, so the script is failing there somehow.

I've seen where some people suggest that only the registration.php page can do what I want, but other pages work with the human verify script and a login form on the same page.

But what baffles me even more is how vBulletin and other coders have let this potential goldmine slip through their fingers. SEOvB tried to do it, but failed and then said they didn't have time to fix their mistakes - at least they refunded my money (except they still sell the broken product on their website). Unfortunately, although I can write valid x/HTML, I'm lousy with scripts and PHP.

Jim
__________________
Always a work in progress:
The Floor Pro Community
Reply With Quote
  #7  
Old 13 Aug 2010, 06:07
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Just messing around with HTML etc atm, but, here's what I have right now (very rough, but the register + human verify works)

This is a screenshot after trying to create a new thread as a guest (guest have no permissions).
Attached Images
File Type: jpg Forums_1281679603650.jpg (76.4 KB, 72 views)
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #8  
Old 13 Aug 2010, 06:29
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Real name: Jim McClain
Will it work on a forum you DO allow guest posting? And can the page be reduced to a simpler and quicker registration form - only name, password/password verify, email/email verify, additional required fields and human verify - and a login form.

My idea was to provide room for text that "sells" the visitor on the benefits of registration. It's a great place to put it, since the error page comes up every time a visitor (or a member who does not have proper permissions) tries to do anything on the forum they don't have permission to do. The regular error message is no kind of enticement and the long form registration is too daunting. I want to make is quick and easy to register, yet still give them the opportunity to use the long form if they want.

I appreciate you testing this out. I believe it could be a great asset to any forum that wants to turn visitors into members.

Best R'gards,

Jim

--------------- Added 13 Aug 2010 at 06:33 ---------------

PS: Here's the code I put together for the STANDARD_ERROR template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Always a work in progress:
The Floor Pro Community

Last edited by eJM; 13 Aug 2010 at 06:33. Reason: Auto-Merged DoublePost
Reply With Quote
  #9  
Old 17 Dec 2011, 14:14
kai_sey kai_sey is offline
 
Join Date: Nov 2007
Ejm, just like you, I can't believe this mod hasn't been made. Actually, it should be a vbulletin standard. That tiny "register" button is so uninviting.

I'm wondering if anyone ever managed to get a fully working STANDARD_ERROR template as suggested above?
Reply With Quote
  #10  
Old 22 Aug 2012, 19:41
doob doob is offline
 
Join Date: Dec 2009
I'm working on it right now and have everything except for the human verify working in 3.8.2.

So far my process was to edit the STANDARD_ERROR template and insert most of the register template into it.

I've been testing it for functionality against newpost.php, i.e. visiting the site as a non-logged-in-user and replying to a thread.

For testing I've inserted the require_once code from this thread: http://www.vbulletin.org/forum/showthread.php?t=182435

Where I'm at is that everything works except the recaptcha doesn't display. Hopefully I'll figure this out soon, but if anyone has a solution as to what I might be missing I'd appreciate it.
Reply With Quote
  #11  
Old 23 Aug 2012, 01:39
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Real name: Jim McClain
I don't know how to help with the reCaptcha, but I wonder if the Q&A would be easier to implement. That's what I use during my registration process now and it'd be nice if that would work in this. I appreciate you working on this.

Best R'gards,

Jim
__________________
Always a work in progress:
The Floor Pro Community
Reply With Quote
  #12  
Old 25 Aug 2012, 04:47
doob doob is offline
 
Join Date: Dec 2009
It looks like Eric pretty much solved it, but I don't know what version he's on. We're on 3.8.2

I've got the standard error looking good, but inserting the $human_verify hook doesn't do a thing. Its like that hook needs to be activated for this template, but I would have figured it was global. At least I would have thought that even if the recaptcha widget itself doesn't display, then the rest of the human_verify template would, for example the rest of the fieldset's descriptive text.

Right now I'm trying to figure out where exactly the $human_verify plugin is defined so I can see why it might not be working for use with other templates.
Reply With Quote
  #13  
Old 25 Aug 2012, 05:55
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Real name: Jim McClain
As I mentioned in my post, #3 above, I got everything working except the password verify, email verify and the reCaptcha/Q&A. Those 3 things killed it. And my code was 100% valid, no HTML or CSS errors.

So, are you saying you or Eric has password and email verifies working? Eric hasn't even replied to this thread for over 2 years. No one has supplied any actual code, except mine, which doesn't work. Unless I'm missing something.

Thanks,

Jim
__________________
Always a work in progress:
The Floor Pro Community
Reply With Quote
  #14  
Old 25 Aug 2012, 06:24
doob doob is offline
 
Join Date: Dec 2009
I stripped the normal registration page (/register.php) down to just username, password, email and human verifcation and also removed the register rules page in favor of just doing what Facebook does which is has a line of text next to the submit button that states that by registering you have read and agree to the TOS.

I dumped out on email and password confirmation in favor of just a single field with no redundancy check so that's a null issue. I suppose some folks will enter a bogus email or password by accident, but again, looking at Facebooks registration model they only have a single field to make it quick to register.

With that done, the normal registration page works as intended. I've removed every other option from the page since that crap can all be set up later in the user control panel (don't get me started on redesigning that mess).

For the standard error, I'm basically inserting what's left of the register template, which isn't very much, and everything works, except the Human Verification cell isn't loading.

If I understand correctly, simply placing $human_verify should insert a fieldset into whatever template you place that hook into, yet its not.

At the moment I'm trying to find out where that plugin is defined or otherwise figure out why its not doing anything in the template. I'm guessing its not working because whatever php file is actually defining that plugin is not being included via the standard error template.

I have no idea about Eric or that code, but Eric's screenshot sure show's human verifcation working on a standard error page.

You might try removing the email/password checks and see if that solves your first problems. Hopefully Lynn or someone else can help education me/us on why $human_verify is doing nothing when used on the standard error page as that's the only stumbling block, at least for me, on finishing this up.

--------------- Added 25 Aug 2012 at 06:26 ---------------

FYI, I also removed the login options from the Standard_Error template since users can login at the top of the page.
Reply With Quote
  #15  
Old 25 Aug 2012, 07:00
eJM's Avatar
eJM eJM is offline
 
Join Date: Sep 2004
Real name: Jim McClain
My screen shot (post 3 above) shows the Q&A working too, but it doesn't. I wish he would have graced us with the code he used to get the $human_verify working, if in fact he did.

Solving my problems is more than just removing the password/email verifications. The Q&A must work in order for this to be a viable mod. I don't understand PHP enough to do this on my own.

Jim
__________________
Always a work in progress:
The Floor Pro Community
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:40.

Layout Options | Width: Wide Color: