![]() |
Reputation points (+ / -) for new threads and posts
1 Attachment(s)
Hey guys, im not a coder but ive been quickly trying to learn PHP over the 4 weeks ive had VBulletin. This is my first template mod cause ive not learn how to make plugins yet lol. I asked for weeks and weeks on how to do little things that would (when complete) construct my reputation system but know one replied with a respectable answer. Although once id managed to complete it and have it working i decided to share with you guys.
Purpose I run a music production website where i provide downloads, but they are meant as a priveledge given to comitted members. So, to have access to the downloads section you must have 20 reps/reputation points (set as a rank in adminCP). This is now the share ratio because this mod rewards a rep point to the user who posts a new thread in the download section and deducts a rep point to those who reply to a thread. This will stop an progressive leeching issue, but of course without good moderation may introduce spamming (just a warning). Modification Ok down to the coding.. In > */includes/functions_newpost.php find: PHP Code:
PHP Code:
If you want this feature in just a select number of forums you add this around the above: PHP Code:
PHP Code:
PHP Code:
|
|
Why would you need screenshots??
Create a thread = +1 reputation Reply to a thread = -1 reputation ...simplez |
hello
is there anyway to make this rep 2 for threads and 1 for reply's instead ? or would changing to this work PHP Code:
|
Yes that would work fine.
|
good job.
|
What a wonderful idea, thank you ever so much for sharing with us, i know how it feels to have to struggle on with no help, well done you for getting this done.
I wonder how we might be able to make this work retroactively, I know you are just picking up in this field so this may be a little out there for you, but I wonder if anyone else also might know. I tried the obvious of rebuilding users rep' but it did nothing. |
Can you please post a screen shot.
|
You can view demo?
|
You shouldnt need a demo, the description says it all. For a demo it would mean giving restricted access to an account, autoreplying with rep system bypass. Read the comments and you should understand what this edit does.
|
All times are GMT. The time now is 04:26 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:
|