vBulletin Modifications

Putting rep system into retirement..

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 07-03-2006, 01:33 PM   #1
Rex
Advanced Coder
Rex's Avatar
Join Date: Sep 2004
Location: Louisiana
Rex is on a distinguished road

Default Putting rep system into retirement..

Ok lets say you have the rep system activated. And you want to clear the rep to start over for a new "rep year" annually. But you don't want to delete the 1st rep points..

So is there a way to rename the rep table and display in the users profile how much rep they had during "Rep Phase 1" and then empty the original rep table so that people can still use the rep system for "Rep Phase 2" and so on and so forth.

I hope that made sense.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07-05-2006, 12:35 PM   #2
Rex
Advanced Coder
Rex's Avatar
Join Date: Sep 2004
Location: Louisiana
Rex is on a distinguished road

Default

Nobody?........




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 12:39 PM   #3
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

You'd need to backup the reputation table, and the reputation and reputationlevel fields in the user table, then clear them. After this you can reimport them in a custom table/field, like '2005reputation' and '2005reputationlevel'.

To then display the old ones would be quite tricky I think, and I wouldn't quite know how to do that.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-05-2006, 04:26 PM   #4
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

It wouldn't be that tricky. You could just do a total. Just get all the rep from the table to a username into an array and then total up the array and you have your rep




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 08:56 AM   #5
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

I mean displaying it with the bars and everything. The rep system is deeply rooted into the vB system, changing it would be pretty tricky. Trust me :p




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 01:13 PM   #6
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

Yeah but bars can just be represented by finding the right php file :p Then you can just find out how it totals it as well :p... It would be more simple than your making it out to be.. i think :p




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 01:19 PM   #7
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

upon looking it's not the rep table it's to columns in the user table: reputation and reputationlevelid Which by looking i think you can just change a reputationlevelid's name to reputationlevelid[year] and display the reputationlevelid[year]'s rep by finding the right function.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 01:42 PM   #8
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

well i finally found the rep build :p

edit: but your right it will take a little longer than expected. Just need to find the right bit though :p

Next edit: oh no it won't :p

Yet another: I copuld just define a new function... the thing is you'd need a new one for each year xD so just come back every year rex :p

Last edited by Nick R; 07-06-2006 at 01:44 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-06-2006, 02:01 PM   #9
vBulletin Guru
Nick R's Avatar
Join Date: May 2006
Real Name: Nick
Location: Cyberspace, UK
Nick R is on a distinguished road

Default

the thing is i just don't get how it counts up the images....




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-07-2006, 10:20 AM   #10
vBulletin Guru
Arnoud's Avatar
Join Date: Nov 2004
Real Name: Arnoud Kuipers
Location: Europe, Flanders
Arnoud is on a distinguished road

Default

Quote:
Originally Posted by rogersnm
upon looking it's not the rep table it's to columns in the user table: reputation and reputationlevelid Which by looking i think you can just change a reputationlevelid's name to reputationlevelid[year] and display the reputationlevelid[year]'s rep by finding the right function.
Scroll up a bit, already posted the fields and tables :p




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kudo's / rep system eric22269 vBulletin Modification Requests 12 06-03-2006 04:47 PM


All times are GMT -3. The time now is 01:57 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)