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)

AndreaBash 10-01-2003 01:16 AM

I have read the entire thread now.. and have also searched it. I am trying desperately to add $vbcode_buttons to my QR box... but no matter where I put it or how I add it, nothing shows up.

I looked at another template and confirmed that $vbcode_buttons is working and showing the correct thing on other templates. What could I possibly be doing wrong?

Scott-E 10-01-2003 07:38 AM

I'm not sure if this was covered at all but I have installed the hack and it's running fine, but I also installed the ability to turn off the quick reply box.

However after making the changes needed it won't show up in Edit Options.

Dean C 10-01-2003 03:38 PM

Ok i'm making this post to link to in the first post of this thread as it's such a frequently asked question.

To add smilies to your quick reply box do the following:
.................................................. ....................................

In showthread.php find:

PHP Code:

$textareacols gettextareawidth(); 


Right below it add:

PHP Code:

$clickysmilies getclickysmilies(); 


Then in your 'showthread_replybox' template add the following right at the top of the template:

Code:

<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

Then find again in your 'showthread_replybox' template:

Code:

<normalfont><b>Your Reply:</b></normalfont>
Replace it with:

Code:

<normalfont><b>Your Reply:</b></normalfont><br />$clickysmilies

Gary King 10-01-2003 08:19 PM

Good idea mist ;)

klaattu 10-01-2003 08:21 PM

I was lazy to implement the smilies but after seeing the previous post, oh man...In 3 minutes it was intalled !!
THANKS A LOT

Dean C 10-02-2003 02:16 PM

Quote:

Originally Posted by klaattu
I was lazy to implement the smilies but after seeing the previous post, oh man...In 3 minutes it was intalled !!
THANKS A LOT

Yep it was easy to do just that it wasn't made clear at any point during the thread along with some other issues. This being such a popular hack I thought it was time to make it clear for new users in the first post what to do about a few issues :)

RandyP3 10-02-2003 08:54 PM

I get a problem after downloading this. Attached the screen shot.

klaattu 10-02-2003 10:15 PM

Quote:

Originally Posted by Gary W
Add the quick reply variable to the bottom of the showthread template, to the second instance of where you're supposed to put it.

same thing happened to me YOU inserted the $reply (variable) in the first occurence of the template not the second (the example in this thread happens TWICE in the template) so....check the template and youll see that the template has the same code at the beginig and att the end,,,DO IT AT THE END then It will appear at he bottom... (the Qreply box)

stark427 10-05-2003 05:37 PM

I don't know how this could be related but I have noticed that with the last 2-3 versions of 2.x.x , after I apply the Quick Reply hack, I have problems with the "Go to first unread post".

If I remember well the probs started after 2.3.0.
Clicking on the "got to first unread post" does not always get you to the earliest unread post, but it leads to 2-3 later "new" posts.

This has been confirmed by several members of my forums.
I tried to see what happens and removed the QR hack. Now the "go to first unread post" seems to work ok (as far as I have tested it).

Not sure if there is any "conflict" but I have also read references to this prob and its connection with the Quick Reply hack at the VBulletin.com board. Meaning that there are other members who have said that they had the prob after they applied the hack.

Anyone else with the same prob?

thanx

ViewMy.biz 10-07-2003 06:06 PM

Quote:

Originally Posted by Chen
...NOTE: For the vB 2.3.2 version please see this post....

Thanks! For a really quick (no bells) quick reply box (which I sorely needed) for 2.3.2

It is working flawlessly.

buurman 10-09-2003 06:58 AM

This works absolutely great, and easy install :)

thx, you are my hero :)

gldtn 10-13-2003 05:57 AM

Quote:

Originally Posted by 4326692027f8
If I can't find the second part in showthread what do I replace?

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

if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {
$pagenumber=1;

The same here, I'm using 2.3.2.. in showthread.php there is:

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

$bbcodeon=iif($forum[allowbbcode],$ontext,$offtext);
$imgcodeon=iif($forum[allowimages],$ontext,$offtext);
$htmlcodeon=iif($forum[allowhtml],$ontext,$offtext);
$smilieson=iif($forum[allowsmilies],$ontext,$offtext);

and another line:

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'";
}


So what should I replace the code given on quickreply.txt with under showthread.php?

Anyone that got it going under 2.3.2 can help?

Thanks

Gary King 10-13-2003 01:42 PM

Chen has a link to the modifications you have to make if you're running 2.3.2 in the first post of this thread I believe.

gldtn 10-13-2003 05:17 PM

Sorry guys, I can't believe I missed that in plain BOLD writing :P

Gary King 10-13-2003 05:55 PM

Quote:

Originally Posted by gldtn
Sorry guys, I can't believe I missed that in plain BOLD writing :P

np

Ajay 10-15-2003 12:18 AM

I have 2.3.2 and I did everything that the instructions said to do and the reply box doesn't work. Yes, I did look at the new instructions for 2.3.2, those are the ones I followed.

ViewMy.biz 10-15-2003 08:39 AM

IT works perfect you hav to replace the third reference to the subject

Ajay 10-16-2003 01:36 AM

Huh?

wvvwnet 10-16-2003 01:47 PM

Tyro Hacker

Joined: May 2002

Style: Dark Blue IT works perfect you hav to replace the third reference to the subject


the same problem I have, what do you mean ?

X-Sector 10-17-2003 06:09 PM

Hiya, I have installed this hack and l did following the insulations. Awhile later.. I tried to view my showthread but the only problem l got,

Parse error: parse error in /home/x-sector/public_html/forums/showthread.php on line 505

Can anybody help me? thanks

Josh Combs 10-18-2003 01:42 AM

Hi I am trying to install this feature to my forum, and I am having an error thrown out to me :(

/home/gmpt/public_html/forums/showthread.php on line 90

and I have 2.3.2 and I followed Chen's instructions and to no avail not able to work.... Can some one please help..

Josh Combs 10-18-2003 01:48 AM

nevermind I got it, :) I forgot to get the } ad the end :) thanks anyways

LukeC 10-18-2003 09:05 PM

Parse error: parse error in /home2/jagged/public_html/forums/showthread.php on line 89

Thats the error I got :(

Gary King 10-18-2003 09:09 PM

Quote:

Originally Posted by LukeC
Parse error: parse error in /home2/jagged/public_html/forums/showthread.php on line 89

Thats the error I got :(

Show us line 89.

LukeC 10-18-2003 09:21 PM

K, I fixed the error, but its showing up above my posts rather than on the bottom :( Also, I have version 2.32

LukeC 10-18-2003 09:31 PM

I just had to find the place in the showthread template and move $replybox down further below the submit reply buttons, thanks anyhow Gary ;)

xxxsaint 10-19-2003 11:22 PM

has anybody successfully added smilies to the 2.3.2 replybox ? I've tried the directions that Mist posted , but they don't show up.

tsmith025 10-19-2003 11:54 PM

I made a post for some help over 3 weeks ago and nobody replied. Is there anybody here who can help me????

Slybone 10-21-2003 10:39 PM

Hmmm, when I added the Smiles it didnt show up on 2.3.2 do the smiles not work on it?

hexonxonx 10-22-2003 09:35 AM

As stated in prvious page find the second instance of

$textareacols = gettextareawidth();

then add:

$clickysmilies = getclickysmilies();

The smilies will then show on 2.3.2.

xxxsaint 10-22-2003 07:50 PM

Quote:

As stated in prvious page find the second instance of

$textareacols = gettextareawidth();

then add:

$clickysmilies = getclickysmilies();

The smilies will then show on 2.3.2.

um , no , no it won't , that's why we're asking for someone that has it running on a 2.3.2 board to lend a hand and tell how it's done.

hexonxonx 10-22-2003 08:01 PM

I am running a 2.3.2 board. After I did this:

As stated in previous page find the second instance of

$textareacols = gettextareawidth();

then add:

$clickysmilies = getclickysmilies();

All worked fine.

hexonxonx 10-22-2003 08:01 PM

look at any thread on my board
http://forums.stairsandflowers.com/index.php?s=

Gary King 10-22-2003 09:34 PM

Quote:

Originally Posted by hexonxonx

Looks like you need to be registered to see the quick reply.

hexonxonx 10-23-2003 05:26 AM

Quote:

Originally Posted by Gary W
Looks like you need to be registered to see the quick reply.

Oops sorry about that. I guess it's by default so there is nothing I can do to make it show for non registered.

xxxsaint 10-23-2003 03:16 PM

k , got it now , thanks for the help, I had it stuck after the FIRST instance , not the second. Benefits of a 5 day marathon to restore a hacked forum.

Gary King 10-23-2003 06:49 PM

Quote:

Originally Posted by hexonxonx
Oops sorry about that. I guess it's by default so there is nothing I can do to make it show for non registered.

You can allow guests to be able to reply to threads if you want to show quick reply to guests ;)

Destiny Islands 10-24-2003 04:07 PM

The vB2.3.2 version was just as easy to install as the orignal great job!

/me Clicks Install

myst1333 10-28-2003 12:47 AM

Does any one know what i have to adjust in the showthread.php to get my vB buttons and smilies and such to appear on a quick reply box? (for v2.3.2)

myst1333 10-28-2003 01:15 AM

nvmd, i figured it out, btw hexonxonx's hack for smiles works except he changed the smily variable to $clickysmiles thats why none of yours work and the line for vB buttons (if anyone wants to know) is:

$vbcode_buttons = getcodebuttons();

and can be placed right after the smiles code


All times are GMT. The time now is 07:23 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.02634 seconds
  • Memory Usage 1,825KB
  • 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
  • (3)bbcode_code_printable
  • (2)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