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)

Skyrender 03-22-2003 01:18 AM

When ever anybody tries to post with the quick reply hack on my board it says: Invalid thread please contact webmaster.

Then I tried installing it again and I got the same thing.

Yuber 03-24-2003 08:08 PM

Quote:

03-02-03 at 04:31 PM L-Mane said this in Post #48
I get this error when I use this

Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1046640222',last poster='Leyonssio',sticky='0',open='1' WHERE forumid IN (18,4,-1)
mysql error: Unknown column 'sticky' in 'field list'

mysql error number: 1054

Date: Sunday 02nd of March 2003 04:23:42 PM
Script: http://www.allhiphop.com/community/c...y/newreply.php
Referer: http://www.allhiphop.com/community/s...threadid=16485

I am getting the same problem :

PHP Code:

Invalid SQLUPDATE forum SET replycount=replycount+1,lastpost='1048543014',lastposter='Yuber',sticky='0',open='0' WHERE forumid IN (5,3,-1)
mysql errorUnknown column 'sticky' in 'field list'

mysql error number1054 


Also the optinos for This Thread, This Forum, and Homepage do not work, Ialways am returned to the thread.

Boofo 03-24-2003 08:18 PM

Quote:

03-21-03 at 09:18 PM Skyrender said this in Post #51
When ever anybody tries to post with the quick reply hack on my board it says: Invalid thread please contact webmaster.

Then I tried installing it again and I got the same thing.

Did you get that before installing this hack? Because there is a fix in the Quick Reply Box thread that addresses that very issue. ;)

Yuber 03-26-2003 10:17 PM

Quote:

03-02-03 at 04:31 PM L-Mane said this in Post #48
I get this error when I use this

Database error in vBulletin 2.3.0:

Invalid SQL: UPDATE forum SET replycount=replycount+1,lastpost='1046640222',last poster='Leyonssio',sticky='0',open='1' WHERE forumid IN (18,4,-1)
mysql error: Unknown column 'sticky' in 'field list'

mysql error number: 1054

Date: Sunday 02nd of March 2003 04:23:42 PM
Script: http://www.allhiphop.com/community/c...y/newreply.php
Referer: http://www.allhiphop.com/community/s...threadid=16485

I am getting the same problem :

PHP Code:

Invalid SQLUPDATE forum SET replycount=replycount+1,lastpost='1048543014',lastposter='Yuber',sticky='0',open='0' WHERE forumid IN (5,3,-1)
mysql errorUnknown column 'sticky' in 'field list'

mysql error number1054 


Also the optinos for This Thread, This Forum, and Homepage do not work, Ialways am returned to the thread.

CodeDawg 03-27-2003 01:11 AM

Great hack, works great out of the box!!!!

Yuber 03-29-2003 07:13 PM

*bump*

Sanjiyan 04-18-2003 02:05 AM

How do I get the Signature tickbox to stay ticked for those that use signatures? because at the moment its not being ticked by default.

If users use the normal reply buttons, it puts thier sigs in, but if they use the quick reply box, without ticking anything, its not putting their sigs in, but if they tick the Sig box, it does.

I've looked at the code, and it says this: (which I thought was the default tick, but its not)
PHP Code:

<p><smallfont><input type="checkbox" name="signature" value="yes" $signaturechecked> <b>Signature</b><br />
<
input type="checkbox" name="email" value="yes" $emailchecked> <b>E-mail notification</b

As you can see the 'yes' is there for both the sig and email values, now on the showreply...quick reply box, email is ticked which is brill, but signature isnt...

Is there a way to fix this?

KuraFire 04-18-2003 01:08 PM

The var "$signaturechecked" doesn't get made in showthread.php. To do so, look in newthread.php or newreply.php, search the file for $signaturechecked, then copy the bit of code that creates the var and put it in showthread.php just before the piece where the quickreply box stuff is made.

Sanjiyan 04-18-2003 03:28 PM

Quote:

Today at 02:08 PM KuraFire said this in Post #58
The var "$signaturechecked" doesn't get made in showthread.php. To do so, look in newthread.php or newreply.php, search the file for $signaturechecked, then copy the bit of code that creates the var and put it in showthread.php just before the piece where the quickreply box stuff is made.
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

Sanjiyan 04-21-2003 04:59 AM

bump


All times are GMT. The time now is 07:13 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.01681 seconds
  • Memory Usage 1,763KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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