The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Extended Reputation Details »» | |||||||||||||||||||||||||||||||
Extended Reputation
This is a modification I had to develop to control the rep at my own forum. After it was tweaked to my personal preferences I gave it another tweak and added some features other might find useful and I'm now releasing it to you guys! Features This integrates with vBulletin. All settings that can be changed will be listed under Admin Panel -> Options -> User Reputation Options. Usergroup permissions will of course be listed within the usergroups Everything should be fully phrased! (I'm Danish, so there might be some grammar errors.. sorry ) The add reputation form alteration: Why do users have to give their full amount of reputation? I think it's better for them to give the amount they prefer, therefore this mod enables them to give a custom amount of reputation. The settings added are:
Usergroup permissions:
Installation
Template Edit Replace everything from reputationbit with (vBulletin 4.2 and later): HTML Code:
<div class="blockbody formcontrols"> <h3 class="blocksubhead">{vb:rawphrase add_to_reputation}: {vb:raw userinfo.username}</h3> <div class="blockrow"> <label for="reputation">{vb:rawphrase xtdrep_giveto}</label> <label for="rb_reputation_pos_{vb:raw postid}" style="float:none;"><input type="radio" name="reputation" value="pos" id="rb_reputation_pos_{vb:raw postid}" checked="checked" tabindex="1" /> {vb:rawphrase xtdrep_posrep} {vb:rawphrase xtdrep_maxpoints, {vb:raw show.maxposrep}}</label> <vb:if condition="$show['negativerep']"> <label for="rb_reputation_neg_{vb:raw postid}" style="float:none;"><input type="radio" name="reputation" value="neg" id="rb_reputation_neg_{vb:raw postid}" tabindex="1" /> {vb:rawphrase xtdrep_negrep} {vb:rawphrase xtdrep_maxpoints, {vb:raw show.maxnegrep}}</label> <vb:if condition="$show['reportonneg']"> <p class="description" style="margin-left: 0px;">{vb:rawphrase xtdrep_negrepcomment}</p> </vb:if> </vb:if> </div> <div class="blockrow"> <label for="rep2give">{vb:rawphrase xtdrep_points}</label> <input type="text" class="textbox" maxlength="5" name="rep2give" tabindex="2" id="rep2give_{vb:raw postid}" style="width:50px;" value="{vb:raw show.xtd_initrep}" /> </div> <div class="blockrow"> <label for="reason">{vb:rawphrase your_comments_on_this_post}:</label> <input type="text" class="primary textbox" maxlength="250" name="reason" tabindex="1" id="reason_{vb:raw postid}"/> </div> </div> <div class="blockfoot actionbuttons"> <div class="group"> <input type="hidden" name="do" value="addreputation" /> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="p" value="{vb:raw postid}" /> <input type="hidden" name="url" value="{vb:raw url}" /> <input type="submit" name="reputationsubmit" class="button" tabindex="1" value="{vb:rawphrase add_to_reputation}" accesskey="s" /> </div> </div> HTML Code:
<div class="blockbody formcontrols"> <h3 class="blocksubhead">{vb:rawphrase add_to_reputation}: {vb:raw userinfo.username}</h3> <div class="blockrow"> <label for="reputation">{vb:rawphrase xtdrep_giveto}</label> <label for="rb_reputation_pos_{vb:raw postid}" style="float:none;"><input type="radio" name="reputation" value="pos" id="rb_reputation_pos_{vb:raw postid}" checked="checked" tabindex="1" /> {vb:rawphrase xtdrep_posrep} {vb:rawphrase xtdrep_maxpoints, {vb:raw bbuserinfo.maxposrep}}</label> <vb:if condition="$show['negativerep']"> <label for="rb_reputation_neg_{vb:raw postid}" style="float:none;"><input type="radio" name="reputation" value="neg" id="rb_reputation_neg_{vb:raw postid}" tabindex="1" /> {vb:rawphrase xtdrep_negrep} {vb:rawphrase xtdrep_maxpoints, {vb:raw bbuserinfo.maxnegrep}}</label> <vb:if condition="$bbuserinfo['reportonneg']"> <p class="description" style="margin-left: 0px;">{vb:rawphrase xtdrep_negrepcomment}</p> </vb:if> </vb:if> </div> <div class="blockrow"> <label for="rep2give">{vb:rawphrase xtdrep_points}</label> <input type="text" class="textbox" maxlength="5" name="rep2give" tabindex="2" id="rep2give_{vb:raw postid}" style="width:50px;" value="{vb:raw bbuserinfo.xtd_initrep}" /> </div> <div class="blockrow"> <label for="reason">{vb:rawphrase your_comments_on_this_post}:</label> <input type="text" class="primary textbox" maxlength="250" name="reason" tabindex="1" id="reason_{vb:raw postid}"/> </div> </div> <div class="blockfoot actionbuttons"> <div class="group"> <input type="hidden" name="do" value="addreputation" /> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="p" value="{vb:raw postid}" /> <input type="hidden" name="url" value="{vb:raw url}" /> <input type="submit" name="reputationsubmit" class="button" tabindex="1" value="{vb:rawphrase add_to_reputation}" accesskey="s" /> </div> </div>
Notes This is the first "product modification" I release, so if there's some errors please let me know. The idea of the user based input was from another mod by Drew. I think it was for vb3.. I've added a screenshot of what the reputation screen will look like and the vbulletin options... Support I'll do my best to provide support.. But I'd for sure be more willing to help you if you marked this mod as installed Download Now
Screenshots
Show Your Support
|
Comments |
#2
|
||||
|
||||
Reserved
|
#3
|
|||
|
|||
give 1 reputation also receive 1 reputation point
and show reputation_sender + comments + date within the given_reputation_post. can you add this feature? |
#4
|
|||
|
|||
problem solved
|
#5
|
|||
|
|||
Hmmm..aren't I suppose to be able to see reputation comments in my usercp? I don't see anything at all for reputation but everything is turned on.
|
#6
|
|||
|
|||
Any way to integrate this aspect with the helpful answers mod:
Quote:
|
#7
|
|||
|
|||
tagged
|
#8
|
||||
|
||||
Quote:
It doesn't on my forum.. It shouldn't use any of the hooks called from the promotion script.. Quote:
|
#9
|
|||
|
|||
Ok, receive a fixed amount of a percantage amount of the rep given youself.
Show reputation_amount + comments + reputation_sender + date within the given_reputation_post. Before give reputation to a post After give reputation to a post |
#10
|
|||
|
|||
Bump but where is those options you show there because all I see are the ones per usergroup
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|