Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 26 Apr 2004, 21:38
MacMorag MacMorag is offline
 
Join Date: Dec 2001
Quick Reply Box for 'guests'

I've just discovered that the Quick Reply Box which comes with vb3 does not show up for 'unregistered/guest' users. I was using Chen's hack on vb2 and it worked a treat (it sets a static 'Guest' username for all unregistered users).

Has anyone created a hack for vb3 which allows guest to see/use the Quick Reply Box? If not, any pointers on what needs modding would be greatly appreciated.

I've been testing vb3 for a couple of weeks now - and have only just realised that guests couldn't see the Quick Reply Box.
Reply With Quote
  #2  
Old 26 Apr 2004, 22:46
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
In showthread.php find:


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

Replace with:


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

Untested but should work.
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #3  
Old 26 Apr 2004, 22:57
MacMorag MacMorag is offline
 
Join Date: Dec 2001
Tried - and failed (but thanks). It fails with error:

You did not specify a username for your post. Please press your back button and enter one.

So I'm guessing that there must be a check for a username - just need to find it and remove it (I only use the Quick Reply Box, so check for username is not required anyway).

Any ideas where to look?

Thanks.
Reply With Quote
  #4  
Old 26 Apr 2004, 23:03
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
In includes/functions_newpost.php find:


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

And remove it (NOTE, the if AFTER the last else above must be left).

You really should have some sort of default username for posts so I'd suggest editing the QRB HTML and adding a hidden field with a default username in.
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #5  
Old 26 Apr 2004, 23:25
MacMorag MacMorag is offline
 
Join Date: Dec 2001
All works fine now - well almost. I get a javascript error message whenever the page with the quick search box for guests loads.

There's loads of Javascript in vb now (and I'm no expert) so I'm tempted just to leave it - I just hate seeing that little yellow triangle in the status bar though.

But guests can now post. I intend to remove guest posting eventually anyway - so maybe this is another way to get them to register. The promise of an "error free" board. They'll love that

I should add that I did add a hidden username field in the QRB.
Reply With Quote
  #6  
Old 27 Apr 2004, 00:01
NTLDR's Avatar
NTLDR NTLDR is offline
 
Join Date: Apr 2002
Real name: Lee Botley, BSc (Hons)
What Javascript error does it give? And whats around the lines it says the error is on (in the HTML source).
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator
http://www.thesistersthree.com/lee/sigs/signature.ts3
The Sisters Three Charmed Discussion Forums

WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3
Reply With Quote
  #7  
Old 27 Apr 2004, 08:55
MacMorag MacMorag is offline
 
Join Date: Dec 2001
Hi Lee,

I didn't debug the page - so don't know the exact cause. I did notice that when you logged in on any page that had a QRB, instead of tabbing to the password field you tabbed directly into the QRB. I tried messing around with "tabindex" but gave up because I couldn't get rid of the error warning in the status bar - and because I hit on a better solution.

Now whenever a guest views a thread they see the reply button. When a member views the thread they see the QRB. It just means one extra click for guests - but I'm quite happy to point out the fact that they will have 'in line' reply facility as soon as they register

Thanks for your help though.
Reply With Quote
  #8  
Old 25 Oct 2008, 11:50
luxotic luxotic is offline
 
Join Date: Dec 2007
MacMorag did you ever find a quick reply box for guest unregistered users?
Reply With Quote
  #9  
Old 05 Dec 2010, 15:38
Madlike's Avatar
Madlike Madlike is offline
 
Join Date: Jan 2008
Thanks.
__________________
MadLike
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Posting Features Guests can use quick reply Dean C vBulletin 3.7 Add-ons 30 08 Aug 2012 08:36



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 07:55.

Layout Options | Width: Wide Color: