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)
-   -   [AddOn] Useful Additions For Quickreply (and normal reply page) (https://vborg.vbsupport.ru/showthread.php?t=47918)

Sanjiyan 04-25-2003 07:47 AM

Bump for post:
https://vborg.vbsupport.ru/showthrea...776#post383776

tmapm 07-22-2003 04:21 PM

The only thing that works for me is the sticky. Everything else refuses to update.. I've redid the hack, but still nothing. I figured out it was a conflict with Doublepost Guard -- http://www.vbulletin.org/hacks/index...threadid=40145 . I'll post up a fix as soon as I find it or if someone can enlighten me with the answer, that would be appreciated.

I know it has been 2 months, Sanjiyan and I bet you probably already dropped this hack or if you didn't get it working and your still trying... Try

Code:

    $emailchecked = ($bbuserinfo['emailnotification']==1) ? "checked" : "";

    if ($bbuserinfo[signature]!="") {
      $signaturechecked="CHECKED";
    }

    $textareacols = gettextareawidth();
    eval("\$replybox = \"".gettemplate('showthread_replybox')."\";");


jdmuniverse 08-06-2003 08:06 PM

Would be a great hack but, I too am getting db errors with 2.2.9

I tried installing twice.... same dealio

Database error in vBulletin 2.2.9:

Invalid SQL: UPDATE thread SET lastpost='1060203767',replycount=replycount+1,last poster='SIINSI',sticky='0',open='1' WHEREthreadid='12417'
mysql error: You have an error in your SQL syntax near 'WHEREthreadid='12417'' at line 1

mysql error number: 1064

Date: Wednesday 06th of August 2003 03:02:47 PM
Script: http://www.jdmuniverse.com/forums/forums/newreply.php
Referer: http://www.jdmuniverse.com/forums/sh...threadid=12417

KuraFire 08-10-2003 07:58 PM

Quote:

04-18-03 at 06:28 PM Sanjiyan said this in Post #59
I've edited the showthread.php

urm, I copied:

PHP Code:

$signaturechecked=iif($signature,"checked",""); 

and put it below:

PHP Code:

$emailchecked = ($bbuserinfo['emailnotification']==1) ? "checked" ""

So now it looks like

PHP Code:

    $emailchecked = ($bbuserinfo['emailnotification']==1) ? "checked" "";
        
$signaturechecked=iif($signature,"checked","");
    
$textareacols gettextareawidth();
    eval(
"\$replybox = \"".gettemplate('showthread_replybox')."\";"); 

But it still does not tick the Signature box nor add the signature.

Did I do it right? If not, where did I go wrong.

Thanks





Did you put $signaturechecked in the template? It has to be there in the right place, of course :)


jdmuniverse: you removed the space between WHERE and threadid in the query. Put the space back. :)

Preech 10-02-2003 05:03 AM

um yea im gettin the same problem with the unknown column sticky thing that a lot of other people are getting...whats the deal do we have a solution for that yet????

alkatraz 10-30-2003 03:03 AM

awesome! =)

KuraFire 10-30-2003 07:51 AM

I think an upgrade of vB at some point deleted the sticky column...

But I've dropped support for vB2 hacks because I'm focusing on vB3-only hacks now (and have been for a while already). Sorry! :/


All times are GMT. The time now is 06:50 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.01162 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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