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)

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


All times are GMT. The time now is 05:52 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.02463 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)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