Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Give Points from the Postbit for Ebux Details »
Give Points from the Postbit for Ebux
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.4 Rating: (0 vote - 0 average) Installs: 11
Released: 24 Feb 2006 Last Update: Never Downloads: 30
Not Supported DB Changes Template Edits Additional Files Re-usable Code Translations  

Give Points from the postbit - Ebux Edition!

** Please not that this is a beta ***

What this hack does: (see screenshots below)

This lets you add/deduct user points directly from the postbit updating your default ebux fields. If your not using the standard ebux fields, or if your using an alternate points system like ucash, its easy to edit the variable for these fields in points.php.

This also adds a field to the post table which will show how many points were given for that particular post.

So for example, I see a post I like and I give that user 5 points. When another mod comes around, he can see that the user now has a total of 20 points and it will show that 5 points was given for that post so he doesn't double credit the user.

Queries:

I have a decent size board and I've been using a variation of this mod since vb2 -- its very friendly. If you have a lot of posts, you may want to turn off your board for the minute it will take for the product to add the new field.

It uses 0 additional queries during regular use.

When your staff gives points, it uses 4 small queries but again thats only when your staff uses this to give points and NOT during regular use.


Why is it beta?

1. If your using a table prefix you need to manually set the field edit points.php and change this $pointstable = 'user'; to including your table prefix.

2. I had to do a very small work around because of a problem I started having as of 3.5... I haven't experienced any issues because of this but others might. Its related to the postbit so if its an issue you can just undo that part and be okay.

3. This doesn't record the points staff give to users in the ebux history log. I may add that if enough people want it.

4. This uses whole numbers and not decimals so they get dropped or rounded up. I have to see about changing that.


Install Instructions:

Step 1:

If your using a table prefix, you will need to edit points.php and add it
in the very begining to the $pointstable so $pointstable = 'prefix_user';


Step 2:
Upload points.php to your estore folder
Upload coin.gif to your images/misc folder

Step 3:
Import shinrapoints.xml as a product in your admincp.


Step 4:

Add the following to your postbit template.


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

Download Now

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

Screenshots

Click image for larger version

Name:	points-paid.jpg
Views:	622
Size:	79.3 KB
ID:	43351   Click image for larger version

Name:	points-show.jpg
Views:	562
Size:	33.7 KB
ID:	43352  

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.
Comments
  #2  
Old 24 Feb 2006, 01:50
caimakale's Avatar
caimakale caimakale is offline
 
Join Date: Nov 2004
Nice addon!
Reply With Quote
  #3  
Old 24 Feb 2006, 14:21
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Crafty idea!

-CMX
Reply With Quote
  #4  
Old 24 Feb 2006, 14:41
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
really nice, I will try this later on
__________________
Think Hype Networks | MeandIsis
Reply With Quote
  #5  
Old 26 Feb 2006, 11:48
Gallio Gallio is offline
 
Join Date: Feb 2006
Real name: Dylan
Very nice ad on! *Installs* Good Job A++
Reply With Quote
  #6  
Old 26 Feb 2006, 21:41
LBSources LBSources is offline
 
Join Date: Nov 2005
Real name: Lenny
seems to work for postbit_legacy only? any docs for postbit?

good job though
__________________
.....
LBSources

Learn About The Bronx, New York!
Reply With Quote
  #7  
Old 27 Feb 2006, 03:49
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
It should work the same for the regular postbit. You just may want to add it in a more aestetically pleasing place. Only staff sees it so I guess it doesn't matter that much either way.
Reply With Quote
  #8  
Old 04 Mar 2006, 18:14
lairnoc's Avatar
lairnoc lairnoc is offline
 
Join Date: Oct 2003
does this one work in the letest version v 1.2.5? and are you stil working on this hack as it is still a beta
Reply With Quote
  #9  
Old 04 Mar 2006, 18:22
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
a) this should currently work with any version of ebux or ucash actually.

b) I have some small updates in mind but I've also been extreemly busy. It seems that no one has been having any issues with it so I should just remove the "beta".
Reply With Quote
  #10  
Old 08 Mar 2006, 21:22
lairnoc's Avatar
lairnoc lairnoc is offline
 
Join Date: Oct 2003
thnx, but a new question m8 will it work with the new version vbBux/vbPlaza?
Reply With Quote
  #11  
Old 29 May 2006, 00:53
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
sorry didnt seen the question - it should, but you may need to rename the fields in the file.
Reply With Quote
  #12  
Old 09 Jul 2006, 03:44
jacks0_0 jacks0_0 is offline
 
Join Date: Jun 2003
Help me , i get a bug

" Warning: main(./global.php): failed to open stream: No such file or directory in i:\easyphp1-8\www\forum\estore\points.php on line 9

Fatal error: main(): Failed opening required './global.php' (include_path='.;I:/EasyPHP1-8\php\pear\') in i:\easyphp1-8\www\forum\estore\points.php on line 9 "
Reply With Quote
  #13  
Old 12 Aug 2006, 08:55
BreeBears BreeBears is offline
 
Join Date: Aug 2006
Real name: Bree
Question

You are going to have to excuse me, because I know this is a very silly question but nevertheless I still need help LOL

Step 2:
Upload points.php to your estore folder

Ok, got me, where the world is my estore folder?!?!?! LOL Can I just make one? If so, where do I make it at?

Was there something else I was supposed to install to create that folder? I have vBulletin/CMPS - a top posters mod and then of course the vbbuxplaze_v1[1].5.8....

I'm sorry for wasting your time *blush* but I'm new to this and somethings just don't click with me... Thanks in advance for your help =0)

Always, Bree

ROFL Nevermind I got it *bigger blush*

Last edited by BreeBears; 12 Aug 2006 at 09:19.
Reply With Quote
  #14  
Old 30 Aug 2006, 13:53
ngocha85's Avatar
ngocha85 ngocha85 is offline
 
Join Date: Jan 2006
Originally Posted by jacks0_0
Help me , i get a bug

" Warning: main(./global.php): failed to open stream: No such file or directory in i:\easyphp1-8\www\forum\estore\points.php on line 9

Fatal error: main(): Failed opening required './global.php' (include_path='.;I:/EasyPHP1-8\php\pear\') in i:\easyphp1-8\www\forum\estore\points.php on line 9 "
Me too, i don't know where is "global.php" file?

If using vbBux 1.5.8, where is "estore" folder?
Reply With Quote
  #15  
Old 31 Aug 2006, 09:07
ngocha85's Avatar
ngocha85 ngocha85 is offline
 
Join Date: Jan 2006
Anybody here?

Please help us!
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 04:54.

Layout Options | Width: Wide Color: