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)

Gary King 09-25-2003 11:22 PM

Quote:

Originally Posted by patriciafrankie
I have a question... I don't know if it has been answered or not as I haven't looked through the entire thread.. lol, but where it says:

1. In showthread.php find this bit of code:
// ##################################################
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;
}
// ##################################################


I cannot find the second part in the php file. Will this work with v2.3.2?

TIA
Patricia

Yes, should work with 2.3.2

patriciafrankie 09-25-2003 11:28 PM

Thank you :)

Another question, if you don't mind.

3. In the "showthread" template add $replybox right after the following:
// ##################################################
<!-- first unread and next/prev -->
<table cellpadding="2" cellspacing="0" border="0" width="95%" align="center">
<tr>
<td><smallfont>$pagenav&nbsp;</smallfont></td>
<td align="right"><smallfont>
<img src="https://vborg.vbsupport.ru/images/prev.gif" alt="" border="0">
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextoldest">Last Thread</a>
&nbsp;
<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid&goto=nextnewest">Next Thread</a>
<img src="https://vborg.vbsupport.ru/images/next.gif" alt="" border="0">
</smallfont></td>
</tr>
</table>
<!-- first unread and next/prev -->
// ##################################################

What 'showthread' template is this referring to?

Thanks,
Patricia

Gary King 09-25-2003 11:43 PM

The template in the admin cp, named showthread :rolleyes:

patriciafrankie 09-25-2003 11:56 PM

n/m I got it :)

lol.. I'm a newbie at this. I'm full of questions. How do I get rid of the second quick reply? I have two for some reason.

Gary King 09-26-2003 12:24 AM

Quote:

Originally Posted by patriciafrankie
n/m I got it :)

lol.. I'm a newbie at this. I'm full of questions. How do I get rid of the second quick reply? I have two for some reason.

Find the $quickreply variable (or something similiar to that that you inserted for this hack), and remove one of them.

ViewMy.biz 09-29-2003 04:32 PM

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;

ViewMy.biz 09-29-2003 04:38 PM

I should have said I am in 2.3.2 In the first instance this follows:

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


IN the second instance this follows:

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

klaattu 09-29-2003 05:57 PM

Thanks a lot Its ok now, by the way you can put banners inside those quick reply with the hack ehere in the Vbulletin.org, I am testing it if its ok Ill post the hack later!

tsmith025 09-30-2003 03:55 PM

I installed this hack on 2.3.2. I cant get the Reply Box to show up. But when I add a line of text where the box should beI can see the text. I follewed the directions very carefully and I have done it 3 times now. Can anybody help me please???

My url is: www.offshoremuscle.com

tsmith025 09-30-2003 04:36 PM

I have attached a screenshot for you to view.


All times are GMT. The time now is 06:57 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.02477 seconds
  • Memory Usage 1,745KB
  • 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