Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Points Addon for Profile Comments Details »
Points Addon for Profile Comments
Mod Version: 1.00, by Reeve of shinra (Senior Member) Reeve of shinra is offline
Developer Last Online: Jan 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.3 Rating: (0 vote - 0 average) Installs: 11
Released: 16 Feb 2006 Last Update: 16 Feb 2006 Downloads: 16
Not Supported  

Points add on for the Profile Commenting System coded by Danny.VBT

This small add on lets you add or deduct points for new profile comments. You can use this with ebux, ucash, or any other system by changing the table and field info in the variable below.

QUICK NOTE: If your actually using decimals, this may round off the users points to the nearest whole #.

This is more or less all I needed but the same code could probably be reused for editing and deleting comments as well. If you want to enchance this in any way, by all means feel free to do so.

Step 1: Create a new phrase
(admincp -> languages and phrases -> phrase manager -> add new phrase)

Phrase Type: front end error messages
Product: vbulletin
Varname: error_not_enough_points
Text: Sorry but you do not have enough points to complete this action.

Step 2: Edit the "[Comments] Add Comment" plugin
(admincp -> Plugin System -> Plugin Manager)

Step 3: Add this code at the very top.
  • Change the cost to whatever you would like. Negative #'s deduct points. Postive #'s add points.
  • Change the table and field your points are stored in. If your are using ebux and do not have a table prefix, leave it alone.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Step 4: Look for this code in the plugin


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 5: Below that, add the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 6: Save it and your done!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Nexia's POINTS system - ADDON vBookie nexialys Modification Graveyard 11 05 Apr 2007 23:33
arcade points addon blackpheonix vBulletin 3.0 Template Modifications 10 30 Dec 2004 00:35

Comments
  #2  
Old 16 Feb 2006, 06:28
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Real name: Mike
hmmm I am not seeing Front End Error Messages..

Could be a problem..
Reply With Quote
  #3  
Old 16 Feb 2006, 10:34
amizone143 amizone143 is offline
 
Join Date: Jan 2006
Arrow

any screenshot bro
Reply With Quote
  #4  
Old 16 Feb 2006, 10:37
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks man, this is quite nice as I've just installed eStore and removed uShop. lol
Reply With Quote
  #5  
Old 16 Feb 2006, 14:53
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
amizone143: nothing to take a screen shot of. This just adds/subtracts points, trying together to already existing and great mods.
Reply With Quote
  #6  
Old 16 Feb 2006, 15:56
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
lookin good, I will definaetly try this out later on, when Danny upgrades the comments system
__________________
Think Hype Networks | MeandIsis
Reply With Quote
  #7  
Old 04 Mar 2006, 16:06
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Ok, got a problem, instead of adding the points it replaces the points on hand with the number that I said to add by.

Help!

Last edited by trackpads; 04 Mar 2006 at 16:08.
Reply With Quote
  #8  
Old 04 Mar 2006, 16:20
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
Originally Posted by trackpads
Ok, got a problem, instead of adding the points it replaces the points on hand with the number that I said to add by.

Help!
Also, still doing it, it takes the number I put in the hack (+10) and replaces the onhand points with that number +2.

Any ideas?
Reply With Quote
  #9  
Old 23 Sep 2006, 22:31
vbreal vbreal is offline
 
Join Date: Dec 2005
i guess this didnt work to well
Reply With Quote
  #10  
Old 02 Oct 2006, 22:54
vbreal vbreal is offline
 
Join Date: Dec 2005
did this ever work?
Reply With Quote
  #11  
Old 03 Oct 2006, 04:24
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
It did for me but to be honest, my members were not really using the profile comments hack as much as I would have liked so I stopped using it and this hack unfortunately.

Anyone is more than welcome to pick up on it if they are so inclined. I just dont have the free time to check into it.
Reply With Quote
  #12  
Old 17 Oct 2006, 21:50
Endurer's Avatar
Endurer Endurer is offline
 
Join Date: Sep 2006
Where can I get the "Profile Commenting System coded by Danny.VBT" ?
Reply With Quote
  #13  
Old 04 Nov 2006, 08:02
^SuiCyde^ ^SuiCyde^ is offline
 
Join Date: Dec 2003
ditto^ that's my question.....
__________________
Jokes/HipHop/Battles/Exposing Internet Creeps

http://www.OTBVA.com
Reply With Quote
  #14  
Old 11 Nov 2006, 23:53
bo0oost bo0oost is offline
 
Join Date: Oct 2006
I'd like to know too.
Reply With Quote
  #15  
Old 06 Dec 2006, 01:04
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Real name: Tom
I guess nobody every fixed the problem that has happened to various people trying this hack. Shame really, would be a good incentive to be able to give my users a bonus for commenting on others profiles. not much good when it cuts the figure down to the amount it's supposed to add, instead of actually adding it though.

I may have to have a wee look and see if I can figure out the problem myself then, cause I want to use this hack.

It can't be much really, the only bit that changes the dbase is:

$amt = $userpoints + $cost;

to calculate the amount and

UPDATE $pointstable SET
$fieldx = '" . $db->escape_string($amt) . "'
WHERE userid = " . $vbulletin->userinfo['userid'] . "

to actually change it.
__________________
Total Format - The Total Entertainment & Leisure Site, covering games and gaming, music and musicians, movies and celebrities. Discussion, reviews, galleries and much more.
Reply With Quote
Reply


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

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


New To Site? Need Help?

All times are GMT. The time now is 05:57.

Layout Options | Width: Wide Color: