![]() |
Post Count Modifier - Minimum Post Characters to Count towards Post Count
Please do the following before attempting to install:
1.) Backup your Files before doing anything 2.) Be aware that although I have tested this myself, there may still be problems...If you do not backup your files, I cannot condone your install of this hack... 3.) If you want to Backup your Database, You can - There shouldn't be any need to... The file you should have is: postcountmincharshack.txt Install Info: Hack Version: 1.0 Files to edit: 3 Templates to add: 0 Templates to edit: 0 Queries to Run: 2 Time to install: Approx 5 Minutes Credits Requested by - gohanssj2 Support - I am offering support, but only in THIS THREAD...I unfortunately cannot be here during the coming weeks (Mon-Fri), so therefore you will have to rely on others for assitance, should it be urgent...If you do require assitance, please - Only reply in this thread Hack info What does it do? - Basically, you can set a Minimum Characters number per post, per forum, so that if you post a message with a character count of less than the forum requirement, your Post count will not increase, but the Post is posted:) Enjoy!:) Satan |
*installs* thanks bro ;) even though I don't have this version.
|
Well;)
I made your's custom at your request;):) Thanks;):) Satan |
heheh I know. I can also support this thread.
|
Cool:)
Thanks;) Satan |
cool, this is just like my hack for post count cept it lets them post just not countining torwards post count. Nice job:]
|
This is a brilliant idea...
My members love their posts so i don't think i'll deprive them just yet tho ;) hehe Regards - miSt |
Sure would help those forums where the the users *only* posts smilies ... and get credited for posts!
|
Yep!:)
Thanks guys;) I wasn sure that anyone else would think it's a good idea;) I really like reading people's posts, and at the moment, don't use this myself...However, I am sure some places do get people who just post Smilies:banana: :) Satan |
Quote:
hehe only joking, as long as you stop with the tiny posts in the lounge :p Nice hack this is :) |
Heh thanks:)
Satan |
Quote:
LOL!!!!!! Too true N9ne;) Excellent Hack Hellsatan, am using this on a test board:D Thanks |
Ok, Chris, here goes...how many queries does this add? ;)
|
this is a pretty good idea for a hack, i'll probibly install during my next spam crisis
|
@Boofo - It adds 1 more query:)
Satan |
sounds awesome, does the recalculate postcount admin thingy stick to those new rules? Or, in other words, after installing this and recalculating, would people that only post LOL or ;) lose those postcounts?
|
No...This only takes effect after install...
Satan |
when running the queries, I got an error:
Quote:
|
I'm guessing that you may have had a second line when you executed the query;)
Sometimes, when you copy something, it copies the enter space for some unknown reason... Just make sure it is only one line you are submitting:) Satan |
That was it. :) Thanks man, works like a charm.
|
No problemo:)
That always confused me when I first started using Queries...:) Satan |
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 :)) |
Quote:
|
Sounds cool Kura...
And you are absolutely right about >=... I shall update it soon:) Satan |
Sorry to seem stupid, I have installed the hack, where do I insert the number of characters needed to advance the post count?
Thanks |
Don't worry, found it, thanks
|
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. |
How do you mean overplaced?
And simply run: ALTER TABLE *tablename* DROP *table* I forgot what values I used:confused: Satan |
Will this work with the store hack?
|
Currently no, but I am sure that it could be integrated:)
Satan |
Was this ever integrated with the store hack?
And does it still had the post to the post count total of the forum? |
@esquared - It still adds the post count to the forum, just not to the user's post count...
Integrated with the store hack - No it wasn't... Although I do not use the store hack, I could make an attempt at an integration if you want;):) Satan |
Why would this add 1 query? It should add no new queries really, if all you're doing is counting the characters in a post, then deciding whether to add to the post count.
|
Because to get around the "update user's post count" issue, it is now 2 queries split up...
So if the post character length != enough, query 1 is ran, but if the post character lengh = or is more than enough, query 2 is ran;) Satan |
Nice hack, hellsatan!
|
You are the best! This is exactly what I need on my board! Thanks!
|
All times are GMT. The time now is 04:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|