The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Here's an easy one, it barely took 4 minutes to do. :china:
This hack will add a quick replying box at the bottom of all threads, only if the user has permission to reply, so when you need to reply to something real quickly you don't need to click the Post Reply button and wait for the page to load. Instructions are in the attached .txt file, and if you want a demo... just look below. NOTE: For the vB 2.3.2 version please see this post. Extras:
Show Your Support
|
Comments |
#92
|
||||
|
||||
Quote:
|
#93
|
|||
|
|||
This is really going down well with our users... excellent stuff - thanks again!
They are all asking for one thing though... is this possible ? Sorry to keep on Quote:
|
#94
|
|||
|
|||
is there anyway that we can make this work with the "post comprised in time" hack?
That is my only complaint is that it posts times that are screwey. Thanks |
#95
|
|||
|
|||
You the man!
Works perfect on 2.2.2 with vbportal3.0pr7 A switch for users to turn on or off in the user cp would really compliment it though, as maybe some users don't want it. |
#96
|
||||
|
||||
I just reviewed this thread and this looks very interesting. Besides, I would like to test it for a time only for Moderators and Admins.
May I change the code like this : Code:
if (($bbuserinfo['usergroupid']=="5") or ($bbuserinfo['usergroupid']=="6")) { /*if (!$getperms['canviewothers'] and $thread ['postuserid']!=$bbuserinfo['userid']) { show_nopermission(); } if (($bbuserinfo['userid']!=$thread['postuserid']) and (!$getperms['canviewothers'] or !$getperms ['canreplyothers'])) { $replybox=''; } elseif (!$getperms['canview'] or (!$getperms['canreplyown'] and $bbuserinfo['userid']==$thread['postuserid'])) { $replybox=''; } elseif (!$thread['open'] and !ismoderator($thread['forumid'],'canopenclose')) { $replybox=''; } else {*/ $textareacols = gettextareawidth(); eval("\$replybox = \"".gettemplate('showthread_replybox')."\";"); } if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") { $pagenumber=1; } (I'm tryin' very hard with php but I'm not so experienced with coding for the vb ) |
#97
|
||||
|
||||
Amasov - Yes that's fine, but if I were you I'd add an else part that sets $replybox to an empty string (like the original string). Otherwise your users can do some pretty nasty stuff!
|
#98
|
||||
|
||||
hmm...ah... you mean like this :
Code:
$textareacols = gettextareawidth(); eval("\$replybox = \"".gettemplate('showthread_replybox')."\";"); } else { $replybox='' } |
#99
|
||||
|
||||
With a ; at the end, but yeah.
|
#100
|
||||
|
||||
Many thanks for your help. |
#101
|
|||
|
|||
Hi.
In string <form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)"> java bug. How about fix this? |
#102
|
||||
|
||||
@inetd
I'm sorry, but what kind of scriptlanguage is "Java" ?? ( ) No, seriously, just a few hours ago a moderator told me that she has the same problem. I'm not very common with Java therefore I'm also looking forward to an answer for your question. @FireFly: Damned, how did you insert your personal text in "Who's online?" ??????? |
#103
|
||||
|
||||
Wonderful hack, I believe this actually save some bandwidth? or not .
|
#104
|
||||
|
||||
I am loving this one FireFly !!!
Thank You !!! |
#105
|
||||
|
||||
Nam, maybe but I'm not sure. Probably though, since you don't load newreply.php every time you want to post...
|
#106
|
||||
|
||||
FireFly, one of my users has notified me that when she uses the quick reply box to post that in her control panel it doesn't show that thread as one she has replied to. Can this be fixed?
Any help on this would be great. Thanks. :up: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|