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.

mcyates 08-17-2003 08:13 AM

yes that would be a good idea!!! I have 2.3.2 and it does not work (well the smiles anyway)

asasi 08-17-2003 10:22 AM

I have VB 2.2.9 ... what is this error?:

Parse error: parse error in /home/ziafatco/public_html/forums/showthread.php on line 3

please help me please please please ...

j0ncc 08-18-2003 01:12 AM

nice hack :):)

AmericanWoman 08-19-2003 12:36 AM

OK, I've got nothing showing up. Nada. Zilch. I've tried to put debugging into the if..else statements to see which one it's getting hung up on, but not catching ANY of them. :(

I think I need to just give up and go home.

seanf 08-19-2003 03:13 PM

Thank you for this

Sean :)

Xyphen 08-20-2003 01:16 AM

Upgraded to vb2.3.2 and installed quick reply successfully once again!

MaDCaT75 08-20-2003 09:13 PM

Too bad I cant get this to work :cry:

It doesnt show up and I got 2.3.0 :cry:

But the other version of this hack worked fine :p

memobug 08-21-2003 07:02 AM

I understand it might not work, but how could it not show up? That part is just a template modification!

Regards,

Matt

JeffyJoe 08-22-2003 05:50 AM

Quote:

08-17-03 at 10:12 AM Cal Poly Forum said this in Post #1090
Hmmm.. maybe the author or someone can edit the download text so that it is compatible with 2.3.2.

Here ya go.


This is for VBulletin version 2.3.2 only
(I have not tested it with 2.3.0)

MaDCaT75 08-22-2003 06:22 AM

Quote:

Yesterday at 09:02 AM memobug said this in Post #1098
I understand it might not work, but how could it not show up? That part is just a template modification!

Regards,

Matt

I dunno I followed the instructions to the letter and the box wont show up in the threads :ermm:

[BA]Techie 08-23-2003 06:31 PM

I want to know if this can be installed fresh on vB 3.00 beta 5 . My friend has it installed on beta 5 but i really dont know how to install it from scratch on beta 5 since the code is different . Any help is appreciated

SVTBlackLight01 08-23-2003 10:17 PM

Quick reply is a standard feature of vB 3.

Cal Poly Forum 08-24-2003 05:02 AM

Quote:

08-21-03 at 11:50 PM JeffyJoe said this in Post #1099
Here ya go.


This is for VBulletin version 2.3.2 only
(I have not tested it with 2.3.0)


Thanks.
I am almost finished with the hack but ... I can't seem to find "showthread_replybox" anywhere?
Is there one? I am using 2.3.2.

edit: I found it on the text , on the first page. :bunny:

Cal Poly Forum 08-24-2003 11:58 PM

Quote:

08-21-03 at 11:50 PM JeffyJoe said this in Post #1099
Here ya go.


This is for VBulletin version 2.3.2 only
(I have not tested it with 2.3.0)


PHP Code:

eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");"); 

This code is not present in Step 4 of newthread.php

memobug 08-25-2003 09:48 AM

Quote:

08-22-03 at 08:22 AM MaDCaT75 said this in Post #1100
I dunno I followed the instructions to the letter and the box wont show up in the threads :ermm:
Getting the box to show is a template mod, so maybe you inserted the right variable in the wrong template, or in the middle of a <!-- comment --> or the wrong variable.

It should be inserted in the showthread template, reading something like:

<!-- START SHOWREPLYBOX HACK -->
$replybox
<!-- END SHOW REPLYBOX HACK -->

And located, in my forum immediately after

<!-- first unread and next/prev -->

If it isn't coming up for you, you can try replacing the word $replybox with a tag line like:

GOSH DARN I CAN'T TELL WHY THIS BOX DOESN'T SHOW

And if you don't see that, well you are tweaking the wrong template or template set.

If you do see it, maybe you didn't create the showthread_replybox template properly or have a typo in one of the names somewhere.

Good luck!

Matt

Michael 08-26-2003 12:27 AM

Is there a version out there for 2.3.2 ?

MaDCaT75 08-26-2003 05:13 AM

Quote:

Yesterday at 11:48 AM memobug said this in Post #1105
Getting the box to show is a template mod, so maybe you inserted the right variable in the wrong template, or in the middle of a <!-- comment --> or the wrong variable.

It should be inserted in the showthread template, reading something like:

<!-- START SHOWREPLYBOX HACK -->
$replybox
<!-- END SHOW REPLYBOX HACK -->

And located, in my forum immediately after

<!-- first unread and next/prev -->

If it isn't coming up for you, you can try replacing the word $replybox with a tag line like:

GOSH DARN I CAN'T TELL WHY THIS BOX DOESN'T SHOW

And if you don't see that, well you are tweaking the wrong template or template set.

If you do see it, maybe you didn't create the showthread_replybox template properly or have a typo in one of the names somewhere.

Good luck!

Matt

Nope I did it right..... I had 4 admins check the code even.... it just didnt show up... besides the other version of this hack was much easier to install :rolleyes:

Cal Poly Forum 08-26-2003 06:02 AM

Quote:

Yesterday at 06:27 PM Michael said this in Post #1106
Is there a version out there for 2.3.2 ?

JeffyJoe (above) released the hack for version 2.3.2 but the codes could not found in certain steps. :ogre:

EVO VIII Chris 08-26-2003 05:16 PM

Quote:

Yesterday at 01:58 AM Cal Poly Forum said this in Post #1104
PHP Code:

eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");"); 

This code is not present in Step 4 of newthread.php

Yes it is, check line 255 and you should see it. I see it just fine.

99SIVTEC 08-26-2003 06:13 PM

Quote:

Today at 07:13 AM MaDCaT75 said this in Post #1107
Nope I did it right..... I had 4 admins check the code even.... it just didnt show up... besides the other version of this hack was much easier to install :rolleyes:
Same thing is happening with me. I've installed this hack on other vb versions probably 20 or 30 times. The darn thing just isn't showing up on my forums.

Why were there so many more file edits for this version?

Cal Poly Forum 08-26-2003 07:33 PM

I mean in newreply.php.


It isn't there. If any finds it, please direct me. Middle of the hack.



EDIT: I just realized that I have done that hack, where it deletes the "thanks for posting- redirecting" , therefore the
PHP Code:

eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");"); 

is deleted.

How would these work then?

Cal Poly Forum 08-26-2003 07:56 PM

I've uploaded the old files just so that I can do this hack.
In the end, the reply box did not show up either.

Megadeuce 08-26-2003 08:29 PM

Hello,
I installed the hack but I noticed that it only works for forums with the default style. All forums with the custom styles don't have the quick reply box.

99SIVTEC 08-26-2003 10:11 PM

you need to make sure you add the $replybox variable to all of your custom styles as well.

memobug 08-26-2003 11:34 PM

Quote:

Yesterday at 07:13 AM MaDCaT75 said this in Post #1107
Nope I did it right..... I had 4 admins check the code even.... it just didnt show up... besides the other version of this hack was much easier to install :rolleyes:
I understand your frustration, but I still think if you are interested in debugging this, you should go about it systematically, rather than throw up your hands and say it doesn't work. Of course you could always use another hack if that is preferable.

If you do want to figure out what's wrong...

First step would be to plug a text placeholder into the showthreads template, as recommended earlier, and make sure you can see it where you want the replybox to appear.

Next step, if that works okay is to see if it can pull in that $replybox template. If not there is a template problem, or maybe your version of vB is overwriting the $replybox somehow.

I think they had a three or four guys checking the Hubble mirror specs before it went up, too. They were probably rocket scientists transferred over from Space Shuttle O-ring duty.

Regards,

Matt

Dodger21 08-27-2003 06:45 PM

Quote:

08-22-03 at 07:50 AM JeffyJoe said this in Post #1099
Here ya go.


This is for VBulletin version 2.3.2 only
(I have not tested it with 2.3.0)



I tried this, it worked fine, but the freakin quickreply box is surrounded by a very neon green box. Its very difficult to look at.

EVO VIII Chris 08-27-2003 07:42 PM

That means you forgot to remove the spaces in front of all the variables in the code. Make sure you do it as it mentions in the install directions. I gaurantee that will fix it.

Dodger21 08-28-2003 12:55 AM

Which variables? I followed exactly like the instructions and its still green. Arg!

MaDCaT75 08-28-2003 01:34 AM

Quote:

Yesterday at 01:34 AM memobug said this in Post #1115
I understand your frustration, but I still think if you are interested in debugging this, you should go about it systematically, rather than throw up your hands and say it doesn't work. Of course you could always use another hack if that is preferable.

If you do want to figure out what's wrong...

First step would be to plug a text placeholder into the showthreads template, as recommended earlier, and make sure you can see it where you want the replybox to appear.

Next step, if that works okay is to see if it can pull in that $replybox template. If not there is a template problem, or maybe your version of vB is overwriting the $replybox somehow.

I think they had a three or four guys checking the Hubble mirror specs before it went up, too. They were probably rocket scientists transferred over from Space Shuttle O-ring duty.

Regards,

Matt

What does it matter anyways? I got the origional version of this hack installed on my forum instead of Chen's.... I dont see the difference why I would have to go thru all that trouble.

Cal Poly Forum 08-28-2003 06:58 PM

Can you guys post your username if you have successfully installed the hack on version 2.3.2, using JeffyJoe's code ( https://vborg.vbsupport.ru/showthrea...&pagenumber=74 )?


I want to know who completed the mod and who didn't.


All times are GMT. The time now is 12:19 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.05865 seconds
  • Memory Usage 1,846KB
  • 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
  • (18)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