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)
-   -   Post Count Modifier - Minimum Post Characters to Count towards Post Count (https://vborg.vbsupport.ru/showthread.php?t=46728)

Chris M 12-30-2002 05:31 PM

No problemo:)

That always confused me when I first started using Queries...:)

Satan

KuraFire 01-10-2003 01:58 PM

1) You should replace, in the hack instructions:

}elseif (strlen($message)>$foruminfo[forumpostchars]) {

with:

}elseif (strlen($message)>=$foruminfo[forumpostchars]) {

otherwise, if someone posts the exact same number of characters as is set for that forum, no update query is run at all, and you might get inaccuraces in your usertable (postcounts not matching usertitles anymore, etc. etc. etc. etc.).

The > has to be >=

2) I don't get it - where / why does this hack add one query? I don't see an additional query Anywhere :)

Good idea for a hack, but I'm gonna implement a different version (basically just a fixed minimum-char-amuont, not forum-specific. Don't need to edit any files except newreply.php and newthread.php :))

Boofo 01-10-2003 02:04 PM

Quote:

Originally posted by KuraFire
Good idea for a hack, but I'm gonna implement a different version (basically just a fixed minimum-char-amount, not forum-specific. Don't need to edit any files except newreply.php and newthread.php :))
Let me know when you come up with something. I'd be interested. :)

Chris M 01-10-2003 07:04 PM

Sounds cool Kura...

And you are absolutely right about >=...

I shall update it soon:)

Satan

rburns 01-31-2003 03:50 AM

Sorry to seem stupid, I have installed the hack, where do I insert the number of characters needed to advance the post count?

Thanks

rburns 01-31-2003 03:52 AM

Don't worry, found it, thanks

rburns 01-31-2003 10:30 PM

OK, went to my forums today and for some reason all the forums I have applied this too have become forum catagories, also the new hack for these post counts has over placed the Is private Forum Option in the forum modify>edit menu and is a forum (if not will act as catagory) option.

So, my question is, how do I get out of this? and if no one has an answer, how do I uninstall this hack? is there a SQL Query I can run to remove the 2 quries I installed putting this hack in?

Thanks, quick replies would be appreciated.

Forums URL is www.middlesexwing.co.uk/forums
VB Ver: 2.2.9

log in using username: helpme
password: helpme

This will give you viewing access.

Chris M 02-01-2003 12:16 PM

How do you mean overplaced?

And simply run:

ALTER TABLE *tablename* DROP *table*

I forgot what values I used:confused:

Satan

esquared 02-05-2003 03:12 AM

Will this work with the store hack?

Chris M 02-14-2003 06:25 PM

Currently no, but I am sure that it could be integrated:)

Satan


All times are GMT. The time now is 08:00 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.01167 seconds
  • Memory Usage 1,729KB
  • 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_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