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)

MaDCaT75 08-10-2003 11:47 PM

Quote:

Yesterday at 07:49 AM MaDCaT75 said this in Post #1079
I got vB 2.3.0 and I did everything right and my quick reply box wont show up!?

Angelus1753 08-11-2003 01:39 PM

The hack won't install for version 2.3.2

I can find these lines of code:

Code:

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

But the ones after this I can't:

Code:

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

They apparantly don't exist in showthread.php for vbulletin 2.3.2 :(

[BA]Techie 08-11-2003 03:35 PM

Techie]I have version 2.3.0 and I get this error when I try to go to a post.

Quote:

Parse error: parse error, unexpected $ in /home/cncb/public_html/showthread.php on line 516

Salari 08-11-2003 07:00 PM

I hgave 2.3.0 and works perfect

[BA]Techie 08-11-2003 08:59 PM

I got it to work but I searched this thread and I could find no answer as to how to fix it because the quickreply is on top of the page ?

Oblivion Knight 08-11-2003 09:59 PM

Quote:

Today at 03:39 PM Angelus1753 said this in Post #1082
They apparantly don't exist in showthread.php for vbulletin 2.3.2 :(
This was fixed here.

MaDCaT75 08-12-2003 02:19 AM

Quote:

Yesterday at 07:49 AM MaDCaT75 said this in Post #1079
I got vB 2.3.0 and I did everything right and my quick reply box wont show up!?

mcyates 08-12-2003 09:48 AM

Quote:

01-29-02 at 07:59 PM FireFly said this in Post #21
JTMON - Add this line:
Code:

        $clickysmilies = getclickysmilies();
to showthread.php right after this:
Code:

        $textareacols = gettextareawidth();
then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines:
Code:

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

to the template right after the <form> tag. That should work. :)

Wow this is even handier than I thought... :D


I've done that. When i click on a smile it sends me back to the top of the page and it does not insert it into the box?

Bergman 08-12-2003 04:39 PM

Quote:

04-02-02 at 08:28 AM boatdesign said this in Post #259
OK - it was easier than I thought.

Just add

Code:

} elseif ($bbuserinfo['usergroupid']=="1") {
        $replybox='';

in the list of conditionals to not show the reply box to guests.

Now the only thing I can't figure out is how to only show the reply box if:
1.) it is the last page of a multipage thread, or
2.) it is a single page thread.

I can use
} elseif ($pagenumber!="1") {
$replybox='';

for example to not show it on page 1 but to show it on page 2.

I see above there is this conditional statement:
if ((!isset($pagenumber) or $pagenumber==0) and $pagenumber!="lastpage") {

Which I thought I would be able to easily adapt, but I can't seem to make it work.

Can anyone give me a hand?

Great ! That one solved my problems with not registred users. :)

Cal Poly Forum 08-17-2003 08:12 AM

Hmmm.. maybe the author or someone can edit the download text so that it is compatible with 2.3.2.


All times are GMT. The time now is 08:24 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.02341 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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