The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Reply for Guests for VB4 by BOP5 Details »» | |||||||||||||||||||||||||||||||||||
Quick Reply for Guests for VB4 by BOP5
Developer Last Online: Aug 2023
This is a port of my VB 3.8 Mod. Live Demo: Guest Forum at Qapla.com This mod allows guests to use Quick Reply. Quick Reply will only be shown in threads in which guests are allowed to post. If human verification is enabled, that too will be displayed for the guest. I have tested this on 4.1.10, I expect it should work on all 4.0.x/4.1.x versions. Although it was a simple result it was actually pretty tricky to get this mod working right. I've marked this as Beta because it is new but it is working for me without issue. v0.98 - Initial Release (for VB4) v0.981 - Bug Fix- Human Verify will only show if human verify enabled for posts v0.985 - Updated to work with SolveMedia Captcha Please Mark as Installed if you use this. Donations are always appreciated. :up: Download Now
Screenshots
Show Your Support
|
2 благодарности(ей) от: | ||
deverill2010, goxy63 |
Comments |
#52
|
|||
|
|||
Ok I'll uninstall your mod then. As the sidebar is more useful. Thanks anyway.
|
Благодарность от: | ||
BirdOPrey5 |
#53
|
|||
|
|||
great mod. two questions you can help me with. Im already trying to edit it but havent got it yet.
1. where it says Random question; how cna i make it formated like "random question: blahblahblah" insteaf of the question below? it throws off the box allignments. edit: see it makes the boxes out of line also the surrounding color is not lined up, i think due to the java link under the username box. 2. How cna I make a java so it auto fills the username if you have added your own? if you add a custom name you have to do it each time. this might lead to the same guest using multiple names. if they use one i cna combine them if they reigster pretty easily. |
#54
|
||||
|
||||
wilford-
1) There is no way to put Random Question on one line- that code is supplied by the vBulletin human verify function and it would be a lot of extra work to modify it. What you can do is add a blank line above "Guest User Name:" so the white boxes line up. To do that edit the plugin SHOWTHREAD Template Edit Find the line: Code:
$usrnmcode = '<div class="blockrow"><label for="username">'.$vbphrase['bop5qrg_guest_user_name'].':</label><input type="text" class="primary textbox" id="username" name="username" value="'.addslashes($vbulletin->options['bop5qrg_username']).'" tabindex="1" /><p class="description"><a href="javascript://" onclick="return highlight_login_box();">'.$vbphrase['click_here_to_log_in'].'</a></p><br />'; Code:
$usrnmcode = '<div class="blockrow"><br /><label for="username">'.$vbphrase['bop5qrg_guest_user_name'].':</label><input type="text" class="primary textbox" id="username" name="username" value="'.addslashes($vbulletin->options['bop5qrg_username']).'" tabindex="1" /><p class="description"><a href="javascript://" onclick="return highlight_login_box();">'.$vbphrase['click_here_to_log_in'].'</a></p><br />'; As for issue #2 I would guess something like that would have to be stored in a cookie but it's not something I intend to add to this mod. |
#55
|
|||
|
|||
ok. i fixed it. on the "humanverify_question" template
change Code:
<label for="humanverify">{vb:rawphrase random_question}:</label> <div class="rightcol"> <p class="description">{vb:raw humanverify.question}</p> Code:
<label for="humanverify">{vb:rawphrase random_question}: {vb:raw humanverify.question}</label> <div class="rightcol"> <p class="description"></p> http://i.imgur.com/SeX0L.png http://i.imgur.com/6rPbQ.png so you can see, unless you have a paragraph or soemthing for the question that it would flow across the bottom well. i think ill try to change the phrase "random question" to "human?" or something like that. i dont know how to make that store in cookies but if i can find out online ill let you know. thanks. |
#56
|
|||
|
|||
I did some edits. made it so the boxes are lined up. moved the "click to login" to right about the previous/next thread
http://i.imgur.com/KJ7yu.png I couldnt get it to work with the name of the phrase in the javescript so i just changed the code. i put Code:
<vb:if condition="$show['guest']"><center><a href="javascript://" onclick="return highlight_login_box();">Click here to login</a></center></vb:if> seems to be working. Im banging my head against the wall trying to figure out how to make the username box autofill last entry with javascript. i dont really know how to do all this ha |
#57
|
||||
|
||||
Does this mod work for Blogs as well? That's the one place where I'd like to allow guests to comment and the exiting "Leave comment" link is too easy to miss.
|
#58
|
|||
|
|||
Quote:
Code:
$replace = '<table class="formcontrols" padding="10" style="border-bottom: 0px;" border="0" width="100%"><tr><td width="234" VALIGN="top">' . $usrnmcode .'</td><td VALIGN="top">' . $human_verify . '</td></tr></table>'; |
#59
|
||||
|
||||
It does not.
|
#60
|
|||
|
|||
@BOP5 : Great Mod. In future, can you add feature so that all NON-Link post are directly accepted while Guest posting links are moderated .
Edit : I guess, if I have set rules in vbulletin, then it follows and puts in Moderation queue. |
#61
|
||||
|
||||
Quote:
Please "Mark as Installed." |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|