The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Post Quality Points System! [megahack] Details »» | |||||||||||||||||||||||||
<--------------------------------------------------------------------------------------------------------->
Quality/Length of Post Points System A hack by N9ne, copyright 2003, created on Feb 16 2003. <---------------------------------------------------------------------------------------------------------> Description: This hack is packed full of features. It will introduce a point system to your forum. This is not like previous released points systems though. The points are allocated to users based on the length of their post, in characters. There are 3 levels to the amount of points allocated. You can choose to use up to level 1, level 2, or level 3. This is also done on a per forum basis. You can have the whole feature disabled in a forum, and you can have level 1 enabled on one forum, and level 3 enabled on another. You can set separate values of # of chars in post, and how many points are received when that figure is exceeded. This is also on a per forum, per level basis. No points are given if the post has less characters than specified in level 1. Quality point count is shown on the profile page of the user, in the postbit under post count, and in the user's profile in the adminCP. Admins can edit a user's amount of quality points in the adminCP. Options are also added to the vBulletin Options page in the adminCP. You can enable quality points - custom avatars, where you may specify the number of points a user must have, and if he has that amount, he can use a custom avatar, regardless of his post count. There is the same option for custom titles. You can set a value for minimum required quality points and if the user has that amount or more, they can specify a custom title, regardless of their post count or days registered. Options to specify levels, # of characters, # of points given, are in the add forum and edit forum pages in the adminCP. In newthread and newreply, above the options part, it will specify how many characters are to be in the post, to achieve specified levels, and how many points are awarded. If the quality point system is disabled in the forum, it will say so. <---------------------------------------------------------------------------------------------------------> For: 2.2.x and 2.3.x (hack created in 2.2.9 - should work on 2.2.x - 2.3.x though) <---------------------------------------------------------------------------------------------------------> Files to modify: admin/forum.php admin/user.php newreply.php newthread.php member.php <---------------------------------------------------------------------------------------------------------> Templates to modify: newreply newthread getinfo postbit <---------------------------------------------------------------------------------------------------------> Queries to run: 15 <---------------------------------------------------------------------------------------------------------> Please backup your database and the templates and files we're going to modify in this hack, before proceeding to install it. I will not take any responsibility and am not liable for any damage done to your forum. You should have a backup. <---------------------------------------------------------------------------------------------------------> Addons Top Quality Posters Page Download the attached .php file and open it in a text editor which can handle long strings of text and large files. Support will just be given in this thread. I will try my hardest to answer most questions! Screenshots can be found in next post. Show Your Support
|
Comments |
#12
|
||||
|
||||
Great thanks! I will install this tomorrow morning Is there a max number of points you can get or does it keep going?
I plan to use this with THIS Should be pretty sweet. :banana: |
#13
|
|||
|
|||
Quote:
|
#14
|
||||
|
||||
Sounds good n9ne
- miSt |
#15
|
|||
|
|||
Would people be interested in an addon for this hack to, alongside the posts column in the memberlist, be a quality points column?
|
#16
|
|||
|
|||
N9ne,
Can this be integrated in to Lesane's Store point system? Don't mean to be an ass and rain on your great system, but just curious. Great job btw. |
#17
|
|||
|
|||
I'm sure it can, so you'd like it so there isn't separate points for quality, but just they get added on to their store points? If so, no problemo...
|
#18
|
|||
|
|||
Quote:
I love the concept of quality posts. I run political forum, so quality is much more important than quantity. But to have the quality rules for the store would be awesome. Thanks again! |
#19
|
|||
|
|||
Unfortunately, I don't have enough time to create the integration with the store hack today, as i'm leaving tomorrow early morning, on a one week trip to Germany. It's quite simple to integrate it though, I will be able to release the integration once I get back in one week.
If you can't wait that long and know your way around some of the files and you have already installed this hack, Replace every instance of qualitypoints to storep. - Delete the qualitypoints field created in the database. Really, all you should need to do is re-do the steps in newreply and newthread.php but with storep written instead of qualitypoints. This is not tested as I don't have the store installed, and I'm just going off the top of my head with this, but it should work. |
#20
|
|||
|
|||
If you dont want quoted text to be counted towards the post length when awarding points then do the following...
In the install file replace all occurences of Code:
$message Code:
preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $message) |
#21
|
|||
|
|||
Um, I have a problem. If I load up member.php, I get "Unexpected T_ELSE at line 499." and the script dies.
Here's the code it's talking about: PHP Code:
EDIT: I'm an ass, I haven't even modified any templates yet. I'll let you know if I'm still having this problem after that. 2nd EDIT: Now all the templates are in place I'm still getting that error. I get the feeling maybe that the if/elseif above it was closed, and this leaves an else on it's own with no if to support it? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|