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)

N9ne 09-30-2002 06:41 PM

antifanatic: You're running 2.0.0? You really should upgrade to 2.2.8 ;)

JFry 09-30-2002 06:48 PM

The weirdness continues. The hack is now showing up on threads in ONE forum, only. The other forums still have nothing. The weirdest part ~ I didn't make any modifications since I last installed and checked it. It just showed up out of the blue. I think my forums are possessed.

N9ne 09-30-2002 07:25 PM

Check all of your template sets, make sure you have modified them all with the code in the instructions.

frizor 10-01-2002 01:37 PM

for some weird reason my quick reply box got on top of the posts maybe someone can help me there. www.cubed5.com it's on any of the posts. I must not know how to read directions

antifanatic 10-01-2002 05:03 PM

does any 1 have any help for 2.0.0 as i dont want to upgrade

NTLDR 10-01-2002 07:03 PM

Quote:

Originally posted by frizor
for some weird reason my quick reply box got on top of the posts maybe someone can help me there. www.cubed5.com it's on any of the posts. I must not know how to read directions
I expect that you haven't placed the varible in the correct place in the showthread template. Check your template edits.

Brandon Rohde 10-02-2002 08:07 AM

I am trying to use the hack to allow people to turn quick reply on/off.

When I post this line:
Quote:

ALTER TABLE user ADD showquickreply tinyint(1) DEFAULT '1' not null AFTER nosessionhash
I get this error:
Quote:

bash: syntax error near unexpected token `tinyint(1'
Anyone know how to fix this or what the problem may be?

RUBiK 10-02-2002 02:55 PM

Quote:

Originally posted by Brandon Rohde
Anyone know how to fix this or what the problem may be?
Yes, you're not supposed to type that at the bash (shell) prompt but rather inside of mysql (i.e. at the "mysql>" prompt obtained by typing 'mysql' with the proper parameters to access the correct vBulletin database or whatnot).

LeeCHeSSS 10-02-2002 03:30 PM

Odd that noone suggested this b4, but in showthread.php find
Code:

$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_buddy,postbit_ignore,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_ip_show,postbit_ip_hidden,postbit,postbit_sendpm,postbit_avatar,postbit_offline,postbit_online,postbit_editedby,postbit_signature,postbit_attachment,postbit_attachmentimage,showthread_adminoptions,showthread_threadrate,showthread_pollresults_voted,showthread_pollresults_closed,showthread_firstunread,showthread_nextnewestthread,showthread_nextoldestthread,forumrules,showthread';
and replace with:
Code:

$templatesused = 'showthread_ratingdisplay,postbit_search,postbit_buddy,postbit_ignore,postbit_useremail,icq,aim,yahoo,postbit_homepage,postbit_profile,postbit_ip_show,postbit_ip_hidden,postbit,postbit_sendpm,postbit_avatar,postbit_offline,postbit_online,postbit_editedby,postbit_signature,postbit_attachment,postbit_attachmentimage,showthread_adminoptions,showthread_threadrate,showthread_pollresults_voted,showthread_pollresults_closed,showthread_firstunread,showthread_nextnewestthread,showthread_nextoldestthread,forumrules,showthread,showthread_replybox';
It gets rid of 1 unnecessary query

[email protected] vbmenu_register("postmenu_307509", true); 10-08-2002 04:03 AM

Quote:

Originally posted by frizor
for some weird reason my quick reply box got on top of the posts maybe someone can help me there. www.cubed5.com it's on any of the posts. I must not know how to read directions

@ otacon - the code snippet in the 'showthread' template...

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

...shows up a total of 4 times - $replybox should be after the fourth instance of it - you have it placed after the second instance of it.

Easy mistake to make...


All times are GMT. The time now is 09:38 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.01712 seconds
  • Memory Usage 1,744KB
  • 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_code_printable
  • (5)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