vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=151924)

Darkwaltz4 07-17-2007 06:37 PM

yes, putting together ibproarcade and v3 arcade integrations :)

PixelFx 07-17-2007 07:09 PM

awesome work john :D

carlt 07-17-2007 07:18 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1293754)
In the usergroup editor.
If they are not showing up in the postbit, first follow the footnote directions in the Instructions.txt file, and then the patch I just posted.
Do they appear in the memberlist, but not sort by them? Did you edit the memberlist file per the instructions?

Found the settings in usergroups, thank you for the help.

The credits do show up in the memberlist, it just does not allow for sorting by credits. When I click on credits it sorts by username for some reason. I checked the memberlist template changes and they look fine. I will now look at the files.

Postbit edits I am still a bit confused on will look at the code some more before inserting as I don't want to mess anything up.

DS MrSinister 07-17-2007 10:09 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1293754)



:D what about you, DS MrSinister?


Works Great sir, thanks you so much..

Fearlessninja 07-17-2007 11:03 PM

Now a shop add-on is what this is missing and you could beat the legendary VBPlaza!

cheat-master30 07-17-2007 11:10 PM

Quote:

Originally Posted by Fearlessninja (Post 1294115)
Now a shop add-on is what this is missing and you could beat the legendary VBPlaza!

This works fine with other shop modifications like Ishop. So a shop modification probably is not needed.

Darkwaltz4 07-18-2007 01:40 AM

Beating vbplaza is kind of my ultimate goal :)

1.3 will include more features seen in other points hacks, except better :-p

oldfan 07-18-2007 05:32 AM

How could my users use their credits to gain access to special/vip forums?

thanks

carlt 07-18-2007 07:58 AM

Quote:

Originally Posted by carlt (Post 1293915)
Found the settings in usergroups, thank you for the help.

The credits do show up in the memberlist, it just does not allow for sorting by credits. When I click on credits it sorts by username for some reason. I checked the memberlist template changes and they look fine. I will now look at the files.

Postbit edits I am still a bit confused on will look at the code some more before inserting as I don't want to mess anything up.

Fixed the memberlist. I made a mistake in the memberlist.php file mod.. It was a bonehead error.
I had:
case 'posts':
$sqlsort = 'user.credits';
break;
Instead of:

case 'credits':
$sqlsort = 'user.credits';
break;

Living up to my 2 rating:D...Now the fun part trying to fix my postbit.

Skyline_GT 07-18-2007 10:20 AM

Great Mod, I am going to try this.

DeMiNe0 07-18-2007 01:08 PM

Awsome thanks!! BTW... I really like this hack. Where can i donate too? You really deserve it. The support on this hack has been absolutely great.

Quote:

Originally Posted by Darkwaltz4 (Post 1293754)
I will see what I can get you patchwise, check back soon. You really dont want vbplaza (at least in the current state it is in). I have it installed for testing purposes, and it doesnt use the vb cleaning methods, which is why it was removed for XSS vulnerability


jasculs 07-18-2007 02:13 PM

Anyway to integrate this mod with Inferno Quiz found here:

https://vborg.vbsupport.ru/showthread.php?t=83130

SVTCobraLTD 07-18-2007 05:33 PM

After installing this, when I got to post I get this error....

Quote:

Fatal error: Class declarations may not be nested in /homepages/44/d156178506/htdocs/pennmustangs.com/forums/includes/class_dm_threadpost.php on line 589
SVT

Darkwaltz4 07-18-2007 05:42 PM

I dont see where this is coming from, and a first from all the people who have apparently installed it. That line is a little bit past the edit, at least on what I have.

If you can, try to start over with a fresh file and apply the change to it again, keep in mind it is a replace section, not an add.

If this persists, talk to me in PM, I can get you a working copy through a chat program.

Ba$im 07-18-2007 06:58 PM

Unable to add cookies, header already sent.
File: /***********/vb/includes/functions.php
Line: 1

:(

thanks in advance

Darkwaltz4 07-18-2007 07:22 PM

Again, another first issue. There is only one file edit to functions.php, make sure you did it properly (replace, not add the line)

On an unrelated note:

New Addon for Inferno Quiz

Specify award for submitting a quiz which is used by the forum
Specify cost to take the quiz, and prize for the quiz - with option to vary it against the score :)

Includes admin help and phrasing of course (even though the quiz hack does not)

//note, file removed and placed into main download
1

Rodimus 07-18-2007 07:30 PM

I don't know if someone has asked for this, but is it possible to enable the credit system to work ONLY in certain forums?

Darkwaltz4 07-18-2007 07:33 PM

right now, you can specify the credit system to not work in places where post count is disabled.

1.3 will include a per-forum system better than those before it.

Ba$im 07-18-2007 07:45 PM

i fix it now thanks
but when I go to manage setting from cpanel
all what I see this

[QUOTE]Publicly Display Credits
This toggles whether or not to display the credits in the postbits or profiles.

1
Award Credit Where Posts Not Counted
Allow credit to still be earned for new threads and posts in a forum which has been designated to not increase post count.


1
Definition of Active
This defines what the user has to do to qualify for the activity credit each day.

Just log in
Do something
Post


Show Credits on Memberlist
Display credits as a field in the memberlist?

ا


1
Number of Displayed Decimal Points
Users can be awarded partial points, but this controls how much of the fraction is displayed.



1
Number of Records Displayed in the Transaction Log
The transaction log shows movements of credits based on time.



1
Transaction PM Alert User ID
When users receive credits, they will be sent a PM alert from this userid. To not send any alerts, use 0.



1
Strip BB Code From Posts Before Char Count?
This applies to
Quote:

, [URL], [IMG] etc. When awarding per character you probably don't want non-original characters to be awarded.
then from where I can see this

Quote:

Features:

* Earn Credits 7 Different Ways Based on Usergroup
o Induction (registration, promotion, subscription, etc)
o Referrals
o Daily Standard
o Daily Activity (logging in, posting, etc)
o Creating a New Thread
o Creating a New Post
o Number of Characters in Post
+ Amount Updates Upon Post Edit!
+ Option to strip BB Code first
* Mass Updater
o Retroactively Award Users based on current settings
o Set everyone to the same level
o Reset everyone to zero
* Transaction Log
o Privately List All Donated and Received
o Permission to Send Anonymously
o Optional Transaction Alert PM
o Comments that support BB Code
o Ordered by latest received and over multiple pages
o Permission to view others' Transaction Logs for moderation
* AJAX Credits Award via Postbit
o Add or Remove Credits right on the postbit!
o Supports Anonymous, Comments, Transaction Log and PM Alert
* Extras
o Display and Order By Credits on Memberlist
o Credits stored as DOUBLE, can be negative or fractional!
o Set specific number of decimals to display
o Display Your Credits in the Navbar
* Third Party Integration
o vBookie - Select custom cash/points in your vBookie settings, and import the complementary/integrations/product-credits_bookie.xml product file (requires latest versions of vBookie and vBCredits)
o ICash / IBank / IShop - Set 'money row' to 'credits'
o [AJAX] Post Thank You Hack - Import the complementary/integrations/product-credits_post_thanks.xml product file (located here) (requires latest versions of Post Thank You Hack and vBCredits)
o Inferno Quiz - Import the product-credits_quiz.xml located in the zip file Quiz Integration, and apply the edits in the instructions. (located here)
o Use TABLE: user COLUMN: credits
o More Coming Soon!
* Convert From Other Points Hacks
o ICash - import complementary/converters/product-credits_icash.xml
o vbBux / vbPlaza - upload complementary/converters/vbbuxplaza_to_vbcredits.php to your admincp and run it
o Nexia's Points System - upload complementary/converters/nexia_to_vbcredits.php (located here) to your admincp and run it
o More Coming Soon!
* Quality
o Fully Phrased
o Complete Admin Help
o WOL Location
o Supports $template_hooks
also I use P3tz it’s as I think easy to integrate it with vbcredit
just need to know
Quote:

Points Table
The table that contains the points field. (Advanced Only)


1
Points Field
The field that contains the points. Please view the readme if you are unsure of this setting
can u tel me about table plz?

another thing if u don’t mind

I want show credit below user private message
on log in of user
how I do that?


thanks very much

Darkwaltz4 07-18-2007 07:48 PM

The points table is: user
The points column is: credits

i will install the pets hack and check if theres anything else you should know, and add it to the list of verified hacks :)

im not sure what you mean by where you want to display. It should already display in the navbar under quick links. if nothing seems to be appearing, read the footnotes in instruction text.

EDIT

These settings are confirmed. Added to the first post :)

kartik786 07-18-2007 08:14 PM

does this work with 3.6.4 ? :)

Ba$im 07-18-2007 08:18 PM

thanks for fast support
what I mean like this forum
https://vborg.vbsupport.ru/attachmen...1&d=1184793399

also now I meet problem
If I add new post or reply
the direct page look like this
https://vborg.vbsupport.ru/attachmen...1&d=1184793399

thanks :up:

oldfan 07-18-2007 08:26 PM

How could my users use their credits to gain access to special/vip forums?

thanks

Ba$im 07-18-2007 09:05 PM

oh whatÂ’s wrong with this coockiz
when I go to add new thread this what i get
Unable to add cookies, header already sent.
File: /************/includes/class_dm_threadpost.php
Line: 1

what this mean plz

Brandon Sheley 07-18-2007 09:21 PM

Sounds interesting :)

lrmzx9 07-18-2007 09:52 PM

The mod is installed and working properly. Now, how do I integrate this with a "shop" system where users can use their points to add/change things on the forum? Maybe earn enough to get free stuff? Someone show me some direction please :D

Darkwaltz4 07-18-2007 09:58 PM

Quote:

Originally Posted by kartik786 (Post 1294967)
does this work with 3.6.4 ? :)

I dont know, I use 3.6.7, but I wouldnt doubt it. If you try it and it works, please let me know :)

Quote:

Originally Posted by oldfan (Post 1294976)
How could my users use their credits to gain access to special/vip forums?

thanks

there is no function for this yet, but look for it in the shop hack that i am working on :)

Quote:

Originally Posted by Ba$im (Post 1294971)
thanks for fast support
what I mean like this forum
https://vborg.vbsupport.ru/attachmen...1&d=1184793399

also now I meet problem
If I add new post or reply
the direct page look like this
https://vborg.vbsupport.ru/attachmen...1&d=1184793399

thanks :up:

Quote:

Originally Posted by Ba$im (Post 1295013)
oh what?s wrong with this coockiz
when I go to add new thread this what i get
Unable to add cookies, header already sent.
File: /************/includes/class_dm_threadpost.php
Line: 1

what this mean plz

I am not sure what the problem is for those two things, but if you would talk to me via PM we can arrange something via a chat program, and I can check your forums and files for what could be causing it.

Quote:

Originally Posted by lrmzx9 (Post 1295046)
The mod is installed and working properly. Now, how do I integrate this with a "shop" system where users can use their points to add/change things on the forum? Maybe earn enough to get free stuff? Someone show me some direction please :D

I am working on a shop hack, but it is not ready yet. In the meantime, you can use this with IShop, check the first post for links.


also, I have a new converter for Gold! to vBCredits. this attachment will be included in the next release and removed from this post then.

//note file removed and placed into main download
1

Fearlessninja 07-18-2007 10:54 PM

Quote:

Originally Posted by cheat-master30 (Post 1294120)
This works fine with other shop modifications like Ishop. So a shop modification probably is not needed.

Thats not what I mean.... Sorrry for not being specific. I mean features that were in the shop of VBPlaza....like User Title Change....Username Change.....ect.

cheat-master30 07-18-2007 11:05 PM

Oh. Then I'm with you, I want those features as well.

Darkwaltz4 07-19-2007 12:15 AM

my shop system will have what all of the itemshops have and more :) still putting it together, sorry....

New Addon for Living Avatars
Living Avatars really does not allow much room for points integration, but using these instructions you can use your vbcredits instead :)

//note file removed and placed into main download
4

Chase 07-19-2007 12:38 AM

Darkwaltz...

You're getting me excited with this points system! I have been waiting for something like this!

-- Can you maybe give us an idea about how long it will be until you release the shop? I don't want to install iShop then have to uninstall it.

Chase 07-19-2007 12:39 AM

And by the way...

Keep up the GREAT work!

Mum 07-19-2007 01:15 AM

I'm really wanting integration with the ipbarcade, any idea on time frame at all? Are we talking weeks or months?

Darkwaltz4 07-19-2007 01:16 AM

Hopefully days or less, the issue with ibproarcade is that most of it unlocks when you use vbbux/plaza, NOT anything else............so would require editing :-/

jasculs 07-19-2007 01:51 AM

Darkwaltz4,

The first part of the Inferno Quiz integration calls for:
Code:

File: quiz.php
================================
FIND:
--------------------------------
                $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
--------------------------------
REPLACE WITH:
--------------------------------
                if ($vbulletin->userinfo['credits'] < $Quiz['credit_cost'])
                {
                        eval(standard_error(fetch_error('credits_quiz_notenough', vb_number_format($Quiz['credit_cost'], $vbulletin->options['credits_decimals']), $vbphrase['credits'])));
                }
               
                $db->query_write("UPDATE " . TABLE_PREFIX . "user SET credits = credits - " . $Quiz['credit_cost'] . " WHERE userid = " . $vbulletin->userinfo['userid']);

The code I need to find in quiz.php shows up twice. Should I replace it twice?

Darkwaltz4 07-19-2007 01:56 AM

I just checked, it only appears once for me in the quiz.php file. I used the version from the thread (2.2).

Also, good thing you showed me that, the command should be ADD BELOW NOT REPLACE WITH....so be sure to just add. updating the attachment

jasculs 07-19-2007 02:13 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1295246)
I just checked, it only appears once for me in the quiz.php file. I used the version from the thread (2.2).

Also, good thing you showed me that, the command should be ADD BELOW NOT REPLACE WITH....so be sure to just add. updating the attachment

That's weired because when I do a (Control F) to find that code it finds it twice.

In admin_quiz.php I also find this code twice using the find function in notepad:

Code:

$DB->query("delete from ".TABLE_PREFIX."quiz_submissions where sid='{$sub['sid']}'");

oldfan 07-19-2007 02:17 AM

Sounds great, thanks

PixelFx 07-19-2007 02:24 AM

Quote:

Originally Posted by jasculs (Post 1295259)
That's weired because when I do a (Control F) to find that code it finds it twice.

In admin_quiz.php I also find this code twice using the find function in notepad:

Code:

$DB->query("delete from ".TABLE_PREFIX."quiz_submissions where sid='{$sub['sid']}'");

thats cause he's doing Dream Weaver cs3 .. which allows for full block search and replace vs line by line editing, which most of us are used to...

;)

Both of us haven't slept much the last few days :P

jasculs 07-19-2007 02:32 AM

Well...I just added the code below each line I found anyway and it seems to be working just fine...Thanks again


All times are GMT. The time now is 07:41 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
  • Page Generation 0.01987 seconds
  • Memory Usage 1,851KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete