vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?t=34597)

Gary King 12-04-2003 01:43 AM

Quote:

Originally Posted by xHollywoodx
does this not work with 2.3.3, cause i cant get it to work, it wont show up????

It doesn't work with 2.3.3

Bulleh 12-06-2003 10:21 AM

gr8 hack, got it installed and working, but just a question
when thy reply VIA Quick reply, there signature does show up, have i installed it wrong, or?

SVTBlackLight01 12-06-2003 11:36 AM

You can add the option to the quick reply template, but with the original hack, the user will have to have signature included by default selected in their control panel.

Bulleh 12-07-2003 06:04 AM

how..can i add the option...?

SVTBlackLight01 12-07-2003 07:09 AM

Add this

Code:

<input type="checkbox" name="signature" value="yes"
checked="$signaturechecked"><b>Attach Signature</b>

to the showthread_replybox template where you want the check box to appear. This will have it checked by default.

Or if you want it to attach the signature automatically for all users and not have it optional with the check box, just add

Code:

<input type="hidden" name="signature" value="yes">
to the list of hidden inputs at the beginning of the form.

Bulleh 12-07-2003 02:47 PM

i did the second one, but signature still doesnt show up on the threads using quick reply? sorry im a bit stupid :(

Gary King 12-07-2003 04:00 PM

Quote:

Originally Posted by Bulleh
i did the second one, but signature still doesnt show up on the threads using quick reply? sorry im a bit stupid :(

That's strange, it should work. Where did you put the code?

DaTeX 12-07-2003 07:22 PM

Quote:

Originally Posted by midnightz
Everybody is right, this hack doesn't work in 2.3.3 even with the changes in the update.

Search in showthread.php for
PHP Code:

if (!$getperms['canviewothers'] and ($thread['postuserid']!=$bbuserinfo['userid'] or $bbuserinfo['userid']==0)) {
  
show_nopermission();
}

if (
$noshutdownfunc) {
  
$DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
} else {
  
$shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";
}

if (
$bbuserinfo[cookieuser]) {
  
set_bbarraycookie('threadview'$threadidtime());


replace it with
PHP Code:

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 (
$noshutdownfunc) {
  
$DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
} else {
  
$shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";
}

if (
$bbuserinfo[cookieuser]) {
  
set_bbarraycookie('threadview'$threadidtime());


Than add the template und make the showthread template edit and it works.. ;)

SEShady 12-08-2003 08:39 AM

GG DaTex.

works in 2.3.3 now!

Thanks,
SE|Shady

Silverstangs 12-10-2003 05:52 AM

Quote:

Originally Posted by movielist
edit: got it to work with 2.3.2


Thank you!!!!!!!!!!!!!!!!!!!!
I been beating myself up for 9 days trying to get it to work!!!!!

2.3.3 works with your change!

M@rkus 12-11-2003 01:35 PM

Hello there.

Very nice hack. My userer appreciate that very much. Thnx for that. But now my question. I didn`t finde any posting in this thread about how to put the option to "Quote a message" in that box. Same as on this board.

Any help!?

Zachery 12-11-2003 01:46 PM

this board is not vb2 and in vb3 there is a whole quick reply system built in

M@rkus 12-11-2003 01:58 PM

yes, but there should be a possibility to built that in, or not`?

Zachery 12-11-2003 02:13 PM

i belive somthing liek what was done was done as an addon, search though the forums

SVTBlackLight01 12-11-2003 09:39 PM

I believe this is it.

https://vborg.vbsupport.ru/showthread.php?t=54939

spiritmage 12-22-2003 04:59 PM

Okay, I put this on my boards (which is version 2.3.2) and it appeared on top of the thread instead of at the bottom... I'm a newbie at this so I'm not sure what I did wrong, can someone help me?

]|fre$h-LoRd|[ 12-22-2003 10:12 PM

Ähm, i have a little problem. The replay box is on the top of the site, but i will find it better, if the box would be on the bottom. Can you give me a tip how i can change this!?

Gary King 12-23-2003 02:30 AM

If I remember the instructions correctly, find the second instance of the code you are supposed to find in the showthread template, and then put the $ variable there instead of the first instance.

spiritmage 12-23-2003 03:06 AM

My first sucessful hack! Hehehe, thank you Gary W! It's now on the bottom :nod:.

]|fre$h-LoRd|[ 12-23-2003 04:44 AM

Uh, I am an german and I try to follow you, but i think I did something wrong. Can you show me, what you mean!?

DaTeX 12-23-2003 07:05 AM

]|fre$h-LoRd|[
Du musst im showthread template nach
Code:

<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
<tr>
        <td><smallfont>$pagenav&nbsp;</smallfont></td>
        <td align="right"><smallfont>
        <img src="https://vborg.vbsupport.ru/images/prev.gif" alt="" border="0">
        <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
        &nbsp;
        <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
        <img src="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
        </smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->

suchen. Des ganze gibts aber 2 mal. Einmal weit oben und einmal weiter unten. Nachdem unteren musst du suchen und danach die variable $replybox einsetzen.
Danach ist die quick reply unter den post und nicht dar?ber.

Die anweisungen in der txt sind etwas falsch gemacht weil dort wird nur auf die erste instanz hingewiesen ;)

]|fre$h-LoRd|[ 12-23-2003 10:08 AM

Thank you very much, now it is right.

jaliam 12-24-2003 12:45 AM

How do I put a title in my Quick Reply hack? Right now I can only post a message but I would really love to have a title block above the message table. Your prompt response would be greatly appreciated. Thanks!

LukeC 12-25-2003 12:35 PM

Jaliam, I would imagine just a little html in your showthread template would do the trick up above your quick reply variable.

jaliam 12-25-2003 10:21 PM

Quote:

Originally Posted by LukeC
Jaliam, I would imagine just a little html in your showthread template would do the trick up above your quick reply variable.

Thanks very much, LukeC! I should have realized that. I was too tired installing other hacks when I posted that. I appreciate your response though. :tired:

hichew 12-31-2003 06:51 AM

I'm looking quick reply for vB 2.3.3 , how come when I download the file from chen it said for 2.3.2 ?

DaTeX 12-31-2003 10:27 AM

<a href="https://vborg.vbsupport.ru/showpost.php?p=450945&postcount=1288" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1288</a>
That works with 2.3.3

hichew 01-01-2004 04:37 PM

still can't use that one.. i think that because vB updated the software.
is there any other site than vbulletin.org
I found out it's really hard to find vB hacks in here.

Gary King 01-01-2004 05:02 PM

Quote:

Originally Posted by hichew
still can't use that one.. i think that because vB updated the software.
is there any other site than vbulletin.org
I found out it's really hard to find vB hacks in here.

Are you mad? :eek: Unless you are not a legal owner of a vBulletin license, this is the largest database of vBulletin hacks.. ever! :D

MindTrix 01-01-2004 05:52 PM

Hacks for vB2 are officially released here, and is the place for them on the internet.

As for vB3, you will not find any vB3 hacks here UNTIL the release of RC1 because that is classed as the first stable release. It was the wish of the vbulletin.com staff that vb.org did not allow vB3 hacks until RC1 so thats why you will not find them here.

Note if you would like hacks for any other the vB3's that have been released so far, then check out www.vbulletin.nl

Just remember vB3 hacks ARE released here when RC1 is out

The End :p

enginethatcan't 01-02-2004 03:08 PM

I have a problem...it says to find
Quote:

3. In the "showthread" template add $replybox right after the following:
with XXX

but I don't have the code it says to look for.. this is what I have in my showthread tamplate:

Quote:

{htmldoctype}
<html>
<head><title>$bbtitle - $thread[title]</title>
$headinclude
<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=n o,location=no,menubar=no,scrollbars=no,width=175,h eight=275,resizeable=yes,status=no")


}
// -->
</script>
</head>
<body>
$header

<!-- breadcrumb, nav links -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td>$navbar</td>
$ratingdisplay
</tr>
</table>
<!-- /breadcrumb, nav links -->

<a name="posttop"></a>

<!-- End content area table (CREATED IN HEADER!!) -->
</td>
</tr>
</table>

<!-- spacer -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- /spacer -->

$poll

<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td><smallfont>$pagenav $firstunread&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="{imagesfolder}/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&amp;threadid=$threadid&amp;goto=nextoldest">La st Thread</a>
&nbsp;
<a href="showthread.php?s=$session[sessionhash]&amp;threadid=$threadid&amp;goto=nextnewest">Ne xt Thread</a>
<img src="{imagesfolder}/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" width="175" nowrap><smallfont color="{tableheadtextcolor}" class="thtcolor"><b>Author</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="100%">
<!-- Thread nav and post images -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><smallfont color="{tableheadtextcolor}" class="thtcolor"><b>Thread</b></smallfont></td>
<td><a href="newthread.php?s=$session[sessionhash]&amp;action=newthread&amp;forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a></td>
<td><normalfont>&nbsp;&nbsp;</normalfont></td>
<td><a href="newreply.php?s=$session[sessionhash]&amp;action=newreply&amp;threadid=$threadid"><i mg src="$replyclose" border="0" alt="Post A Reply"></a></td>
</tr>
</table>
<!-- /Thread nav and post images -->
</td>
</tr>
</table>
</td></tr></table>

<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->

$postbits

<!-- spacer -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%">
<!-- spacer -->

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{tableheadbgcolor}" width="100%">
<!-- time zone and post buttons -->
<table border="0" cellspacing="0" cellpadding="0" bgcolor="{tableheadbgcolor}">
<tr>
<td width="100%"><smallfont color="{tableheadtextcolor}"><b>$timezone</b></smallfont></td>
<td><a href="newthread.php?s=$session[sessionhash]&amp;action=newthread&amp;forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a></td>
<td><normalfont>&nbsp;&nbsp;</normalfont></td>
<td><a href="newreply.php?s=$session[sessionhash]&amp;action=newreply&amp;threadid=$threadid"><i mg src="$replyclose" border="0" alt="Post A Reply"></a></td>
</tr>
</table>
<!-- /time zone and post buttons -->
</td>
</tr>
</table>
</td></tr></table>

<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td><smallfont>$pagenav&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="{imagesfolder}/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&amp;threadid=$threadid&amp;goto=nextoldest">La st Thread</a>
&nbsp;
<a href="showthread.php?s=$session[sessionhash]&amp;threadid=$threadid&amp;goto=nextnewest">Ne xt Thread</a>
<img src="{imagesfolder}/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->

<!-- /spacer -->
</td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<!-- /spacer -->

<!-- restart content table from header -->
<table cellpadding="10" cellspacing="0" border="0" width="{tablewidth}" bgcolor="{pagebgcolor}" align="center">
<tr>
<td>

<!-- thread options links -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{firstaltcolor}" align="center"><smallfont>
<img src="{imagesfolder}/printer.gif" alt="" border="0" align="absmiddle">
<a href="printthread.php?s=$session[sessionhash]&amp;threadid=$threadid">Show Printable Version</a> |
<img src="{imagesfolder}/sendtofriend.gif" alt="" border="0" align="absmiddle">
<a href="sendtofriend.php?s=$session[sessionhash]&amp;threadid=$threadid">Email this Page</a> |
<img src="{imagesfolder}/subscribe.gif" alt="" border="0" align="absmiddle">
<a href="member2.php?s=$session[sessionhash]&amp;action=addsubscription&amp;threadid=$threadid ">Subscribe to this Thread</a>
</smallfont></td>
</tr>
</table>
</td></tr></table>
<!-- /thread options links -->

<br>

<!-- forum jump and rate thread -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td>$forumjump</td>
<td align="right">$threadrateselect</td>
</tr>
</table>
<!-- /Rate this thread -->

<br>

<!-- forum rules and admin links -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="bottom">
<td><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td>
<td align="right">
$adminoptions
</td>
</tr>
</table>
<!-- /forum rules and admin links -->

$footer

</body>
</html>
what do I do???

MindTrix 01-02-2004 04:07 PM

It tells you to find this code

PHP Code:

<!-- first unread and next/prev -->
<
table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
<
tr>
 <
td><smallfont>$pagenav&nbsp;</smallfont></td>
 <
td align="right"><smallfont>
 <
img src="[url="https://vborg.vbsupport.ru/images/prev.gif"]https://vborg.vbsupport.ru/images/prev.gif[/url]" alt="" border="0">
 
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
 &
nbsp;
 <
a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
 <
img src="[url="https://vborg.vbsupport.ru/images/next.gif"]https://vborg.vbsupport.ru/images/next.gif[/url]" alt="" border="0">
 
</smallfont></td>
</
tr>
</
table>
<!-- 
first unread and next/prev --> 

and i can clearly see it in the template you just showed us ;)

Look again mate ;)

Infopro 01-03-2004 10:26 AM

LOL..

Upgrade to VB3

MindTrix 01-03-2004 11:27 AM

No need to free post mate ;)
And not everyone wants to upgrade to vB3 yet.

KAC 01-03-2004 03:53 PM

Ok heres my question. I tried to install this on version 2.3.2. I did not install the VB. I was just asked to install the hack. When in the FTP I see a showthread.php file and a showthread.php3 file. Is this normal as I have never worked with this version. Also in the showthread template it calls out to this php3 file but yet in the txt doc for this version it says nothing about it. Any help would be greatly appreciated.

Keith 01-08-2004 04:50 AM

From Post 273 found here


Quote:

Originally Posted by Chen
Good addition, only one thing.
You should really replace this:
Code:

if (trim($bbuserinfo[signature])!= "")  $signaturechecked="checked";
    if ($bbuserinfo[emailnotification]!=0)  $emailchecked="checked";

With this:
Code:

    if (trim($bbuserinfo[signature]) != '') {
        $signaturechecked = 'checked';
    } else {
        $signaturechecked = '';
    }

    if ($bbuserinfo['emailnotification'])
        $emailchecked = 'checked';
    } else {
        $emailchecked = '';
    }

So people can't add stuff to the $emailchecked variable through the URL (this is why 2.2.5 was released). :)

Generates a parse error. Looks like it's missing a { after emailnotification. Made this change to get it working.
Code:

if ($bbuserinfo['emailnotification']) {
Great hack Chen, one of my favorites.

jaliam 01-09-2004 06:15 AM

I followed all the steps in adding smilies but nothing showed up. Can anyone help me with this problem? Thanks, guys!

tHe Rk 01-14-2004 02:34 PM

Terrific, Super easy to install hack, even for us vB and html n00b's:D

tHe Rk 01-14-2004 02:37 PM

Quote:

Originally Posted by jaliam
I followed all the steps in adding smilies but nothing showed up. Can anyone help me with this problem? Thanks, guys!

Did you put:

$clickysmilies = getclickysmilies();

in twice on showthread.php?

" $textareacols = gettextareawidth(); "shows up twice in the script (for newer vB versions anyway). You have to add "$clickysmilies = getclickysmilies(); " after both of the times its in the script. Hope that helps, it worked for me on 2.3.4

jaliam 01-15-2004 03:55 AM

It's working now. Thanks, Rk!


All times are GMT. The time now is 12:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05619 seconds
  • Memory Usage 1,882KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (3)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete