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)

MiahBeSmokin420 03-30-2008 06:43 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1478087)
aha, actually they are still there but the links are outdated (i since moved the phrases in question out of global and into vbcredits_global :-p)

so, for now you can search for phrase variables based on hovering over the old link, and e[global][something], search for the somethings.. :-p

ok thanks i found it and fixed it on my site at least

deffanly fix that in the next version for everyone else

MiahBeSmokin420 03-30-2008 07:29 AM

Also i felt like helping everyone else out

if anyone else is having this problem which im sure you are this is how you can fix it

Search for phrases and Find:
HTML Code:

setting_credits_pmid_desc
Edit and enter the following:
HTML Code:

Enabling this option will send a private message to users who receive credits outside of normal earning means. Please input the username of the user that these PMs are to be sent from. To alter or translate these messages, use the following links:<br /><br />
[<a href="phrase.php?do=edit&phraseid=43820&page=2&pp=15&fieldname=credits_forum" target="_blank">Donation Title</a>] [<a href="phrase.php?do=edit&phraseid=43817&page=2&pp=15&fieldname=credits_forum" target="_blank">Donation Body</a>]
<br />
[<a href="phrase.php?do=edit&phraseid=43819&page=2&pp=15&fieldname=credits_forum" target="_blank">Award Title</a>] [<a href="phrase.php?do=edit&phraseid=43818&page=2&pp=15&fieldname=credits_forum" target="_blank">Award Body</a>]
<br />
[<a href="phrase.php?do=edit&amp;e[global][credits_pm_lottery_subject]" target="_blank">Drawing Title</a>] [<a href="phrase.php?do=edit&amp;e[global][credits_pm_lottery_body]" target="_blank">Drawing Body</a>]

That should get you fixed up hopefully as long as everything is the same for each site and shit like that

but if it dont work for you then just undo that and wait for the next version or try to do what i did and find everything yourself

hope that helps people

also thanks again to whats his face for telling me how to fix it lol i got bad memory on names

Darkwaltz4 03-30-2008 09:26 PM

well, those links will NOT work for everyone because what you put is based on phraseids... which will be different for each website.

what i was talking about was this:
e[global][credits_pm_lottery_subject]

and instead you should go search for credits_pm_lottery_subject, for example

MiahBeSmokin420 03-30-2008 10:27 PM

did that and all that i found was

setting_credits_pmid_desc

nothing else

Darkwaltz4 03-31-2008 07:50 PM

really. are you getting PMs from donations and awards?

that setting phrase is just what it shows for that setting - im talking about the phrases that it LINKS to. the [global] part was wrong (i think they are [credits_global] now), but the [credits_**etc**] stuff should still be there if you search by VARIABLE NAME (not text - you have to select to search by variable name...)

if you still cant find that stuff, send me an admin login with language permissions, and i will walk you through it

Gimmick 04-01-2008 11:13 AM

Hi I think this is a mod my new board would benefit from greatly, so thank you for the good work put into it. A few questions

At the beginning I see you were looking to integrate this into vbookie? Has this now happened? As I am running 3.6.8 with vbookie, and in an ideal world want to add some sort of arcade or casino mod, but they all link to the same points/cash sourse so users have one amount for the site. With your mod it is perfect to earn points, creating threads etc which I like.

Can you let me know if this is compatible with vbookie on 3.6.8 and if you recommend a mod that offers gaming/gambling to add that would also be compatible with your mod.

Sorry to drag on, im pretty new to vbulletin but eager to get my head around it etc

Keep up the good work... Gim

Darkwaltz4 04-01-2008 01:07 PM

there is an addon for vbookie to use vbcredits available from vbcredits.com

there is also a casino here at vborg which is easily configured to use credits :)

if you need help finding links let me know

tarball 04-01-2008 08:22 PM

Can we upgrade to vb 3.6.9 ?

Darkwaltz4 04-02-2008 04:31 AM

of course?

fly 04-02-2008 11:00 AM

Will trade pics of my nude girlfriend for vBCustomizer alpha build...

I miss vbplaza. :(

PixelFx 04-04-2008 07:49 AM

I'll stick with my girlfriend, thanks lol, darks working on it as fast as possible ..

oninuva 04-04-2008 09:02 PM

Hey dark, I got a question I am using vb 3.6.4. I did the old-version edit to the file but when I import product, I am getting an error message saying I need to do the edits. Any suggestions?

Also the only reason I upgrade to v1.4 of vBCredits is because I couldn't get the "Credits: x" to show up on the postbit, if you could also tell me how I could do that, that would be great. Thanks!

Merrillizer 04-04-2008 11:07 PM

Is there any way (or any mod) that can allow me to track members monthly activity and overall credits? I often have monthly contests, and this month I am using Credits based participation for the first time. Basically, member with the most Credits in the month of April wins. But I its hard to record everyones total credits the 1st of the month, then add em all up at the end of the month. I do have the Statistics mod, and I can see monthly post counts etc, but I would like a way to track monthly Credits.

Is this possible? TIA

cdanik 04-05-2008 12:12 AM

If I set the paycheck award period to 30 days, when does a user get his/her paycheck?

Darkwaltz4 04-05-2008 01:26 AM

Quote:

Originally Posted by flypaper (Post 1480776)
Will trade pics of my nude girlfriend for vBCustomizer alpha build...

I miss vbplaza. :(

vbcustomizer will be in development in the summer, after the release of vbcommerce this spring.

Quote:

Originally Posted by oninuva (Post 1483145)
Hey dark, I got a question I am using vb 3.6.4. I did the old-version edit to the file but when I import product, I am getting an error message saying I need to do the edits. Any suggestions?

Also the only reason I upgrade to v1.4 of vBCredits is because I couldn't get the "Credits: x" to show up on the postbit, if you could also tell me how I could do that, that would be great. Thanks!

Wow! my fault on that, i forgot i left that in while removing it from the instructions >.<

find and REMOVE in plugins/credits_installer.php
PHP Code:

    if (!method_exists(new vBulletinHook'fetch_hookusage'))
    {
        
print_dots_stop();
        
print_cp_message('Apply the Fix for Old vBulletins.txt for your installation of vBCredits to work on this version of vBulletin!');
    } 

as for having it show up in postbit - did you make the file edits?

Quote:

Originally Posted by Merrillizer (Post 1483207)
Is there any way (or any mod) that can allow me to track members monthly activity and overall credits? I often have monthly contests, and this month I am using Credits based participation for the first time. Basically, member with the most Credits in the month of April wins. But I its hard to record everyones total credits the 1st of the month, then add em all up at the end of the month. I do have the Statistics mod, and I can see monthly post counts etc, but I would like a way to track monthly Credits.

Is this possible? TIA

currently there are no logs for regular earnings. this will be in the next major release of vbcredits (after 1.4 final)

Quote:

Originally Posted by cdanik (Post 1483239)
If I set the paycheck award period to 30 days, when does a user get his/her paycheck?

30 days after you install the hack (or in a rolling cycle starting on that day)
more controls for that sort of thing will be including in the next major release of vbcredits (after 1.4 final). they were left out due to time

oninuva 04-05-2008 04:22 AM

Well I have TMS installed so should that not auto complete template edits when I import product?

eido 04-05-2008 05:53 AM

I'm getting this error when im using Mass Credit Updater

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM vbcredits_transactions WHERE touserid = 12 OR fromuserid = 12;

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Saturday, April 5th 2008 @ 09:22:22 AM
Script : url forum/credits_admin.php?do=process
Referrer : url forum/credits_admin.php?do=updater
IP Address : xxxxxxx
Username : xxxxxxx
Classname : vB_Database

Darkwaltz4 04-05-2008 05:55 AM

alright, then check the following:

run the template edit test thing to make sure that the automatic template edit was successful (sometimes if your style doesnt have the "find" code, it wont get applied..

then check your settings if it still doesnt show up:
in the global settings, is visibility set to "nobody" (or nothing)?
in usergroup settings, is your usergroup set to excluded from vbcredits?
are you looking at a user who belongs to a usergroup that is excluded from vbcredits or is set to hide their credit totals?
are you in a forum which you set to hide all credit totals?

if still no to all of the above, its possible theres a conflict with another hack, in which case you should send me an admin login, and we will go from there.

eido 04-05-2008 05:58 AM

Darkwaltz4 are you speaking to me or to oninuva?

note im getting the error when im using Mass Credit Updater

Darkwaltz4 04-05-2008 06:02 AM

sorry eido, you added your reply after i was already answering oninuva

does that happen every time? do you get errors on other queries unrelated to vbcredits? it looks more like something is wrong with your mysql server than the query itself.

eido 04-05-2008 06:05 AM

yes it happens every time but only when choosing the Moderator's group
no not any other errors, just this error.

suiz 04-05-2008 11:28 AM

snap???

cdanik 04-05-2008 12:35 PM

How do I allow my moderators to subtract points from a user?

oninuva 04-05-2008 02:18 PM

Alrite I fixed it. There was an extra space in the area it was searching for so it could not find the code to replace. Thanks!

Darkwaltz4 04-05-2008 04:23 PM

Quote:

Originally Posted by suiz (Post 1483500)
snap???

what?

Quote:

Originally Posted by eido (Post 1483355)
yes it happens every time but only when choosing the Moderator's group
no not any other errors, just this error.

try repairing and optimizing your database tables. if still nothing or you dont know how, pm me an admin login with query permission, and i can see what i can find. youre the very first i know of that this has happened to

Quote:

Originally Posted by cdanik (Post 1483526)
How do I allow my moderators to subtract points from a user?

if they have access to the modcp they should be able to alter the amount directly in the user editor.

or, use the post award system, and give your mod usergroup nonzero limits (and enable them to award negative amounts, aka subtraction permissions)

Quote:

Originally Posted by oninuva (Post 1483583)
Alrite I fixed it. There was an extra space in the area it was searching for so it could not find the code to replace. Thanks!

great :)

Soonerdude 04-07-2008 12:25 AM

Is there a way to set a minimum donation amount? I get a lot of people sending $1 donations to be cute. I'd like to set the amount around $100.

Darkwaltz4 04-07-2008 04:55 AM

nope, but why bother? every amount gets taxed no matter how small.

you could always turn on moderation for those donations, but really what is the harm? :-p

Stefano Virgill 04-08-2008 04:34 AM

Hi guys,
trying to install on my 3.6.9

When I try to add the first code:

Code:

================================

Template: navbar

================================

FIND:

--------------------------------

                      <if condition="$show['pmwarning']"><br /><strong><phrase
1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>

--------------------------------

ADD BELOW:

--------------------------------

                      <if condition="$show['navbar_credits']">

                              <br />$vbphrase[credits]</a>: <strong><span
id="navbar_credits">$GLOBALS[navbar_credits]</span></strong> [<a
href="credits.php?$session[sessionurl]do=banking">$vbphrase[check]</a>]<if
condition="$show['credits_purchase']"> [<a
href="credits.php?$session[sessionurl]do=manage#purchase">$vbphrase[purchase]</a>]</if>

                      </if>


Get a syntax error:


Code:

The following error occurred when attempting to evaluate this template:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/adobesw/public_html/includes/adminfunctions_template.php(3596) : eval()'d code on line 35

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Any idea why?

Regards

Stefano

Darkwaltz4 04-08-2008 05:39 AM

you incorrectly applied the template edit, most likely chopping off the ending </if> tag from the find code when you pasted it in. undo it and try again

Stefano Virgill 04-08-2008 06:51 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1485694)
you incorrectly applied the template edit, most likely chopping off the ending </if> tag from the find code when you pasted it in. undo it and try again

Hi and thanks for your quick reply.

Unfortunately isn't that.

I checked it about 10 times! :D

As you can see the code is fully pasted:
Code:

<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>

 <if condition="$show['navbar_credits']">

                              <br />$vbphrase[credits]</a>: <strong><span
id="navbar_credits">$GLOBALS[navbar_credits]</span></strong> [<a
href="credits.php?$session[sessionurl]do=banking">$vbphrase[check]</a>]<if
condition="$show['credits_purchase']"> [<a
href="credits.php?$session[sessionurl]do=manage#purchase">$vbphrase[purchase]</a>]</if>

                      </if>


                </div>

Any other idea?

Regards

Stefano

Stefano Virgill 04-08-2008 11:02 AM

Apparently was an allignment issue.
a </if tag was closed in the next line.

Regards

Stefano

Skyrider 04-10-2008 04:15 PM

May I ask how come you don't have more banking option so you can only allow a person to borrow xx times per day and xxxx credits per loan? Great plugin btw! :)

Darkwaltz4 04-10-2008 10:53 PM

arent there enough settings for limiting loans? you can already specify a minimum, a maximum, maximum concurrent, interest/repayment cycles, rates, fees, etc...

if theres anything you think is missing, please request it here
http://www.vbcredits.com/forum/tracker.php?projectid=11

thompson 04-11-2008 09:21 AM

is there a german version ?

deadlychaos25 04-11-2008 11:34 AM

I am using VB 3.6.9
I installed this great mod it got installed very easily, also got all the options in my CP.
But the problem is i cannot view the point system on my forum :(
here is my forum - HERE
Please help to install this wonderful mod.
I updated all the options from the CP of VBcredits.
Awaiting for response
Thank you in advance.

Skyrider 04-11-2008 12:23 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1487867)
arent there enough settings for limiting loans? you can already specify a minimum, a maximum, maximum concurrent, interest/repayment cycles, rates, fees, etc...

if theres anything you think is missing, please request it here
http://www.vbcredits.com/forum/tracker.php?projectid=11

I can't find the option in how much you can loan / borrow from the bank max, and how many times per day.

Darkwaltz4 04-11-2008 07:03 PM

Quote:

Originally Posted by thompson (Post 1488124)
is there a german version ?

there is one in development (by a volunteer); not sure on its status
http://www.vbcredits.com/forum/showthread.php?t=462
was originally for v1.3 of vbcredits so if you apply that directly it will be missing places

Quote:

Originally Posted by deadlychaos25 (Post 1488176)
I am using VB 3.6.9
I installed this great mod it got installed very easily, also got all the options in my CP.
But the problem is i cannot view the point system on my forum :(
here is my forum - HERE
Please help to install this wonderful mod.
I updated all the options from the CP of VBcredits.
Awaiting for response
Thank you in advance.

did you apply the template edits?

Quote:

Originally Posted by FF|Skyrider (Post 1488205)
I can't find the option in how much you can loan / borrow from the bank max, and how many times per day.

maximum amount per loan is a usergroup setting. there is no max per day option because i figured it wasnt needed. there is a max per loan and a max # of loans (all in the usergroup settings) which effectively put a cap on an overall amount. if they wanted to loan more in a given day, they should increase the max per loan. if you can think of a specific scenario where it would work better, convince me otherwise :)

deadlychaos25 04-11-2008 07:17 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1488506)
there is one in development (by a volunteer); not sure on its status
http://www.vbcredits.com/forum/showthread.php?t=462
was originally for v1.3 of vbcredits so if you apply that directly it will be missing places



did you apply the template edits?



Thank for your reply but can you please tell me how to add template edits?
Thank you :)

Darkwaltz4 04-11-2008 11:45 PM

in the instructions is a list of code changes that start with the name of the template, code to find, and code to apply at the find point (such as replace, add above, or add below)

in the acp go to style manager under styles and templates menu. you will have to work on all of the styles you have enabled. open and find the templates named in the instructions, search for the find code, and do what it says :D

Seiyaboy 04-12-2008 02:10 AM

I installed the mod but it ended up leaving a completely blank page for my forumhome. I removed it because it doesn't work for my 3.6.9. I wonder why. I disabled the product but it still leaves a blank forum homepage so I had to remove it because I don't plan on keeping my site down for long.


All times are GMT. The time now is 07:25 AM.

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.03210 seconds
  • Memory Usage 1,859KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (15)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