The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
In showthread.php find:
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
In includes/functions_newpost.php find:
PHP Code:
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. |
#5
|
|||
|
|||
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. |
#6
|
||||
|
||||
What Javascript error does it give? And whats around the lines it says the error is on (in the HTML source).
|
#7
|
|||
|
|||
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. |
#8
|
|||
|
|||
MacMorag did you ever find a quick reply box for guest unregistered users?
|
#9
|
||||
|
||||
Thanks.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|