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)

Allstar DC 05-15-2002 05:46 PM

No need to thank me,

like i said i can't be any real help to you since i don't know much about php yet :(

dimitr| 05-16-2002 03:19 AM

Never mind. :lick:

HappyPike 05-19-2002 08:57 PM

Thanks FireFly! This hack also works on v2.03. (yeah, I'm still using v2.03)

What other cool hacks also work on 2.03??

chipheodeptrai 05-20-2002 01:39 AM

I dont want link on quickreplay box, only text
how do i do?
please help thanks :)

Admin 05-20-2002 11:25 AM

I know something that works on 2.0.3, it's called "Check me out I hack your board in 2 seconds!"... upgrade, for your own sake.

jucs 05-20-2002 12:33 PM

I followed the directions, but my reply box shows up at the top rather than the bottom? How do I fix this? Thanks!

jucs 05-20-2002 02:23 PM

Anyone?

Admin 05-20-2002 02:35 PM

This is a common problem, read the rest of the thread and you will find your answer.

CJi 05-20-2002 03:17 PM

Hi FireFly,

First off, great hack, thanks very much for your efforts, my users love it to death. I am however getting stick for the fact it doesn't subscribe users to threads who requested such in the UserCP. How can I make it subscribe to threads if they have the option by default in the UserCP, and not if they don't? I've tried to figure it out myself by checking the existing posting code, but couldn't see how vB have done it.

Any help appreciated. :(

solent 05-23-2002 06:39 AM

very nice hack m8.

but when you close a thread you can still reply from the quick reply box.

any ideas how to fix this

Admin 05-24-2002 07:05 AM

To subscribe users to the thread if the option is on in their profile.

In showthread.php, replace:
Code:

        eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");
With:
Code:

        if ($bbuserinfo['emailnotification']) {
                $emailbox = 'yes';
        } else {
                $emailbox = '';
        }
        eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");

Now in the showthread_replybox template, replace this:
Code:

<input type="hidden" name="email" value="">
With this:
Code:

<input type="hidden" name="email" value="$emailbox">

CJi 05-24-2002 05:29 PM

FireFly, I could kiss you :) Thanks buddy, just what the doctor ordered!

Chris M 05-24-2002 06:06 PM

@FireFly -

I saw your instructions on how to add the Smilies to the Quick Reply Box - Exactly where do you place "$clickysmilies" in the showthread_quickreply template?

I have tried several positions, and even tried putting table around it, but it just messes up the other tables of the box...

Satan

Allstar DC 05-25-2002 07:56 AM

to add the smilies do the following:


open showthread_quickreply template

find:
PHP Code:

<td bgcolor="{ secondaltcolor }" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td


and replace it with:

PHP Code:

<td bgcolor="{ secondaltcolor }" valign="top" nowrap><normalfont><b>Your Reply:</b><br>$clickysmilies</normalfont></td

That should do the trick


*Remove the spaces after { and before }

Thomas P 05-30-2002 10:48 AM

Gr8 hack m8! :bunny:

Very clean and simple to integrate :)

10x,
-Tom

moosey 05-30-2002 02:25 PM

great hack mate!

seen it on boards and thinks it is dead usefull.. thx

NSeXcellent 06-01-2002 12:53 PM

Quote:

Originally posted by Allstar DC
to add the smilies do the following:


open showthread_quickreply template

find:
PHP Code:

<td bgcolor="{ secondaltcolor }" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont></td


and replace it with:

PHP Code:

<td bgcolor="{ secondaltcolor }" valign="top" nowrap><normalfont><b>Your Reply:</b><br>$clickysmilies</normalfont></td

That should do the trick


*Remove the spaces after { and before }


This is a very simple replacement, and I attempted it, but nothing shows up. Any clue? Yes I did remove the spaces before and after the brackets....

JZarate 06-01-2002 09:00 PM

Thanks a lot FireFly! This hack worked like a charm in 2.2.5

Slynderdale 06-01-2002 09:26 PM

my quick reply box :)

Allstar DC 06-01-2002 09:32 PM

NSeXcellent: that coding was in answer to hellsatans question about how to add the smiles to the replybox.

thats how i have done it and it does work.

if it isn't working then you must have done something wrong

NSeXcellent 06-01-2002 11:15 PM

Quote:

Originally posted by Allstar DC
NSeXcellent: that coding was in answer to hellsatans question about how to add the smiles to the replybox.

thats how i have done it and it does work.

if it isn't working then you must have done something wrong

Yes that is what I was attempting to do... I installed the quick reply box, then that addition there, but i get no smilies for the quick reply box

AviationForum 06-01-2002 11:43 PM

Arrgh!

I installed everything exactly as it was supposed to be, but when I try and reply using the Quick Reply Box I get a "no thread was specified" error message. :mad:

AviationForum 06-02-2002 04:32 PM

HELLLLLLLLLLLP!

Martin CX 06-02-2002 09:51 PM

Well... if you installed everything exactly as you were supposed to, you should be flying... but the error message sounds like something you'd get if this; " <input type="hidden" name="threadid" value="$threadid">" was omitted from the "showthread_replybox" template.

:ermm:

rebirth 06-03-2002 01:44 AM

can someone do a hack that adds the signature and automaticly parse urls checkboxes to the quick reply?

desi 06-03-2002 12:37 PM

how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....

could someone pls explain me what to do now

cheers

chr@nox 06-03-2002 12:47 PM

very nice hack m8...i had an old one of this which did work on 2.2.5 but it gave a runtime error :p
thanks alot!!

and cihangir...the one at 230 is the one u need to have :)

James Cridland 06-03-2002 04:38 PM

For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.

To do this, I tried adding this at the end of the template:

<SCRIPT LANGUAGE="JavaScript"><!--
document.vbform.message.focus();
//--></SCRIPT>


...but it doesn't do the job sometimes. Wonder where I'm going wrong?

Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"... I'll go hunting for a reason.

Martin CX 06-03-2002 05:27 PM

Quote:

Originally posted by desi
how do i make this hack work in vbulletin 2.2.5 ...
i just bought the license and most of the hacks at aren't for 2.2.5 and also the older versions aren't available for download ....

could someone pls explain me what to do now

cheers

The hack works fine in 2.2.5. The code changes between the latest versions are often not very big, and thus most hacks work for 2.2.5 or 2.2.6 even though they were made for 2.2.1, for example.

Martin CX 06-03-2002 05:34 PM

Quote:

Originally posted by rebirth
can someone do a hack that adds the signature and automaticly parse urls checkboxes to the quick reply?
Basically, you need to include "<input type="checkbox" name="parseurl" value="yes" $parseurlchecked>" and "<input type="checkbox" name="signature" value="yes" $signaturechecked>" to the layout (and some text labels for the check boxes, obviously :)) and add it to the "showthread_replybox"-template where you want them. Afterwards remove "<input type="hidden" name="parseurl" value="yes">" and
"<input type="hidden" name="signature" value="yes">" from the template.

It isn't very hard. Have fun! :rambo:

James Cridland 06-03-2002 10:35 PM

Quote:

Originally posted by James Cridland
For an even quicker reply, position the cursor in the message box so your user can just start typing without selecting the box in the first place.
And the reason why we don't do this, kids, is because it then scrolls to the bottom of the page when you click on a thread to read, annoying the hell out of everyone.

Ignore me.

Bimma Boy 06-04-2002 12:08 AM

Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job! :)

James Cridland 06-04-2002 01:47 PM

Quote:

Second, one of my users says (not unreasonably) "why does it appear on every page of a thread... why not just the last one"...
This is a valid point: we argue a lot on our board, and it's easy to post a reply without reading where the argument is going...

To make your reply box always appear at the END of the conversation (which will be at the beginning if you sort your posts the other way round!)... search for the following in the hack:
PHP Code:

$textareacols gettextareawidth();
eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";"); 

Replace with:
PHP Code:

//We might have a reply box here

//Get total posts in this thread
$jrc_threadinfo=$DB_site->query_first("SELECT COUNT(*) AS posts FROM post WHERE threadid='$threadid'");

//Check post order
if (!$postorder) {
    
// newest last page
    
$jrc_wherearewe=$jrc_threadinfo[posts]-($perpage*$pagenumber);
} else {
    
// oldest last page
    
$jrc_wherearewe=($perpage*$pagenumber)-$jrc_threadinfo[posts];
}
    
// print a reply box on page containing last post
    
if ($jrc_wherearewe<=or (!isset($pagenumber) and ($jrc_threadinfo[posts]<$perpage))) {
    
    
$textareacols gettextareawidth();
    eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";");
    } 

Hope that's of use to you.

desi 06-04-2002 02:19 PM

hiya all ,
i installed this hack today this is what i get

No thread specified. If you followed a valid link, please notify the webmaster

any suggestions would be helpfull

also matinCX thankx for the info i have most of the hcaks working now


cheers :)

sidhighwind 06-04-2002 03:28 PM

Quote:

Originally posted by Bimma Boy
Has anyone installed this hack with 2.2.6? Does it work 100% with it?

Thanks hackers - you people do a wicked job! :)

Yes it works very good on 2.2.6!

:bunny:

desi 06-04-2002 10:16 PM

could someone pls help me i posted my error in the post above .....

i'm have to get my board up and running tonite so pls let me know what do i fix in order to get the quick reply box running

thankx again

jimmy mac 06-06-2002 03:00 AM

*edited out because i'm retarded*

desi 06-06-2002 02:37 PM

wow now reply .......

once again i'm using vbulletin 2.2.5 and evertime i reply through the quick rely box i get the message
==============================================
No thread specified. If you followed a valid link, please notify the webmaster
==============================================

i have reinstalled the entire board again but get the same error

if anyone can tell me how to fix this pls let me know

thankx

snakes1100 06-06-2002 03:00 PM

desi
sounds to me like u didn't do step 1 correctly...

desi 06-06-2002 04:01 PM

Snakes there are 2 files fo hack which one do i use ???

thankx


All times are GMT. The time now is 08:32 PM.

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.02409 seconds
  • Memory Usage 1,841KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_php_printable
  • (7)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