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 08-18-2007 05:36 PM

for now until 1.4, you have to edit the plugin that says display credits in postbits.

youll have to edit it twice within that plugin, and it requires a little bit of php knowledge. now you know why i am switching that out of the plugins :-p if you cant figure it out i might post some of the 1.4 plugin and postbit code so you can modify the templates instead, and itll be much easier

solinarius 08-18-2007 10:41 PM

Hello.
Any idea how to change this mod for rpg integration hack?
I have some problems with that, error like that appears:
Quote:

Invalid SQL:

SELECT `userid`, `rpg`, `items`, `inventory`, `uttpoints` AS `points`
FROM `vb_user`
WHERE `userid` = '2342';

MySQL Error : Unknown column 'uttpoints' in 'field list'

Darkwaltz4 08-18-2007 11:00 PM

is that for lite or full version?

solinarius 08-18-2007 11:11 PM

Its different rpg system, You can find it here:
https://vborg.vbsupport.ru/showthread.php?t=108790
But im stupid, that's all. I just saw one person which asked about that before, so i thought this mod need special integration, but i had to change vbulletin options->rpg hack cash options
"uttpoints" for "credits" and that's it, You can add this rpg mod to list of hacks working with vBcredits.
Anyway, thanks for trying and sorry for disturbing .

Darkwaltz4 08-18-2007 11:53 PM

:-p that would be the 'lite' version, and if youd said that I would have told you about the points row :D

the full version is getting a converter

habasabi 08-19-2007 06:27 AM

WOOT finally got the chance to install this!!! It's great!

Ba$im 08-19-2007 01:20 PM

I would if u have time tell me what word
should I edite to make it show Number of xxx credite on postbit withe red color
cuz when I make check on what code add on postbit
<if condition="$show['credits_postadd']">
<span id="creditsmenu_$post[postid]"><a href="credits.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="credits_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/credits.gif" alt="<phrase 1="$post[username]" 2="$vbphrase[credits]">$vbphrase[credits_threadaward]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbcdt_register("$post[postid]")</script></if>&nbsp;
</if>

now this code I try play aroun it but I confused
cuz there are nothing like $post[cedit]
cuz if was that will be more esaire to make it with red color

Darkwaltz4 08-19-2007 02:44 PM

thats template code. i said plugin. 1.4 is different, but for now...

Display Credits in Postbit:
PHP Code:

$credits_this = array($this->post['postid'], $this->post['userid'], vb_number_format($this->post['credits'], $this->registry->options['credits_decimals']));
$template_hook['postbit_userinfo_right'] = str_replace('<div class="info"><a href="credits.php?' $this->registry->session->vars['sessionurl'] . 'u=' $GLOBALS['credits_last'][1] . '">' $vbphrase['credits'] . '</a>: <span id="cdt_' $GLOBALS['credits_last'][0] . '_' $GLOBALS['credits_last'][1] . '">' $GLOBALS['credits_last'][2] . '</span></div>'''$template_hook['postbit_userinfo_right']);
if (
$this->registry->options['credits_public'] == OR ($this->registry->options['credits_public'] == AND ($this->post['userid'] == $this->registry->userinfo['userid'] OR ($this->registry->bf_ugp['creditpermissions']['credit_special'] & $this->registry->userinfo['permissions']['creditpermissions']))))
{
 
$template_hook['postbit_userinfo_right'] .= '<div class="info"><a href="credits.php?' $this->registry->session->vars['sessionurl'] . 'u=' $credits_this[1] . '">' $vbphrase['credits'] . '</a>: <span id="cdt_' $credits_this[0] . '_' $credits_this[1] . '">' $credits_this[2] . '</span></div>';
}
$GLOBALS['credits_last'] = $credits_this

to colorize it you have to change it in two places:
'">' . $GLOBALS['credits_last'][2] . '</span></div>' to like
'"><font color="red">' . $GLOBALS['credits_last'][2] . '</font></span></div>'

and then
'">' . $credits_this[2] . '</span></div>' to like
'"><font color="red">' . $credits_this[2] . '</font></span></div>'

again, this is kinda messy, but its been redone in 1.4, and if you want that plugin before release you have to come talk to me.

Ba$im 08-19-2007 06:09 PM

work gr8 thanks
also credit on navbar
I don’t want be as a link
what should I do?

Darkwaltz4 08-19-2007 08:08 PM

edit the show credits in navbar PLUGIN

again, also changed to templates in 1.4

helloxy 08-21-2007 04:31 AM

help!! when i try to transfer Nexia Points to vBCredits. it said:
The following dependencies were not met:
The product vbBux / vbPlaza must be installed before this product may be installed. (Compatible starting with 1.5.8)


but i didnt install vbbux/vbplaza at all.
i only installed Nexia's Points System 1.0.1.
and i had uploaded nexia_to_vbcredits.php.

whats wrong??

Darkwaltz4 08-21-2007 04:34 AM

:-p the issue

is that i apparently put the wrong error message. (nexia's converter was originally the vbux version heh)

however, you are running an old version of nexia's point system.
the converter works with the latest version that was available. i could try lowering the version but i cannot guarantee the database will match up, so come talk to me on IM so I can coach you through an edited version.

helloxy 08-21-2007 04:42 AM

thx for your help, ill update the Nexia's point system and try again.

Smiry Kin's 08-21-2007 10:57 PM

whats the best shop / purchase system to use?

vitrag24 08-22-2007 06:09 AM

hello.
Thx 4 such a gr8 Mod but i've some queries.

I have installed it but credits are shown only in user profile not even in usercp,below pm, posts....

where is the problem?

And in vb options what should i keep ideally for vbcredits plz tell me..as i'm confused :D
have a look at my forum[link in my signature]

Darkwaltz4 08-22-2007 06:38 AM

you are probably missing the template hooks, so add them to your custom style from the directions at the bottom of the instructions file

also, for another interested, there is now a HIDE HACK addon for vbcredits, see it in action at vbcredits.com, more info on it there.

vitrag24 08-22-2007 06:42 AM

added templatehook in postbit template and got but usercp and what abt postbitlegacy?
i'm confused where to add.
any other small queries too.

chris1979 08-22-2007 09:24 AM

When is 1.4 coming? :)

Darkwaltz4 08-22-2007 09:32 AM

haha, 1.4 contains an enormous bank with many interest and loan systems :-p its being stabilized on localhost. as thats the highlight of 1.4 i want it perfect (how many sucky bank hacks have there been so far??)

vbcredits.com will always have announcements and latest-stable-version testings.

vitrag24 08-22-2007 09:41 AM

Darkwaltz4 rocks.
Really helping members a lot. :)

cheat-master30 08-22-2007 11:13 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1322991)
haha, 1.4 contains an enormous bank with many interest and loan systems :-p its being stabilized on localhost. as thats the highlight of 1.4 i want it perfect (how many sucky bank hacks have there been so far??)

vbcredits.com will always have announcements and latest-stable-version testings.

This bank version looks like the best bank mod released here so far, and it's actually built in to the point system. If it has all those features you say, then tgat will be extremely and very much awesome. Is there really any other possible use for a points system other than what you have in vB Credits, vB Commerce and vB Customiser?

Darkwaltz4 08-22-2007 11:26 AM

sure, credits can be used in pretty much anything, although a bunch will need addons :-p if you have something you like and think credits would make a nice addition to it, feel free to suggest it at the addon forum for vbcredits at vbcredits.com

theres also the nifty hide hack ;) (charge credits to view content!)

cheat-master30 08-22-2007 12:33 PM

It looks like the modification developer here has thought about everything when it comes to credit use. I mean, credits, shop, customisation, arcade, card games, downloads, bank etc...

|Jordan| 08-23-2007 01:22 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1322991)
haha, 1.4 contains an enormous bank with many interest and loan systems :-p its being stabilized on localhost. as thats the highlight of 1.4 i want it perfect (how many sucky bank hacks have there been so far??)

vbcredits.com will always have announcements and latest-stable-version testings.

What about something that adds user account enhancements like uShop (vb 3.0.x) used to have. By user account enhancements, i mean: Bold Username, Italic Username, Underlined Username, Colored Username, Glow Username, Custom Title, Change Other's Title, etc.

Darkwaltz4 08-23-2007 02:24 AM

yes, thats the entire premise of vBCustomizer. theres a demo link to it at the top of the screen.

geckoz 08-23-2007 07:06 PM

Awesome mod! But I wonder how and where to get that addon so that I can see the activity. longevity, today, psts etc. I mean these little graphics... what is that!? where to download ?! thank you!!!

Darkwaltz4 08-23-2007 08:40 PM

um, thats completely offtopic, but its a 3.5 activity hack available here at vborg

Smiry Kin's 08-23-2007 08:43 PM

what is http://www.domain.com/credits.php?u=1
ment to bring up? is it ment to bring up the list, or the information for that person?

because at the moment it seems to just bring up the list.. e.g
http://www.domain.com/credits.php?u=5
http://www.domain.com/credits.php?u=10
http://www.domain.com/credits.php?u=999

etc etc will bring up the list, rather then information for the person

- if thats how its ment to be,

wouldn;t it make sense to rather have the Credits bit in postbit, do the same thing as the "button" does?

regards

Darkwaltz4 08-23-2007 08:47 PM

the links in postbits, profiles, and navbars link you to the donation form with that user filled in as recipient.

furthermore, if your group has the perms to view other user's transaction logs, then that person's will be loaded there.

because its somewhat blurry thats whats going on, 1.4 fixes this, and you can see how it works now on vbcredits.com. new is the Donate link which makes it clear thats what youre doing, and a "check" link which goes to the bank accounts of that user, if your perms permit that.

Smiry Kin's 08-23-2007 09:23 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1324344)
the links in postbits, profiles, and navbars link you to the donation form with that user filled in as recipient.

furthermore, if your group has the perms to view other user's transaction logs, then that person's will be loaded there.

because its somewhat blurry thats whats going on, 1.4 fixes this, and you can see how it works now on vbcredits.com. new is the Donate link which makes it clear thats what youre doing, and a "check" link which goes to the bank accounts of that user, if your perms permit that.

ah i see that now,

imo yo need to remove the top 10 users from that section..

e.g if you go to the url like this

http://www.domain.com/credits.php?u=1

you should see just the transation logs, if not be redirected to something else maybe?

Darkwaltz4 08-23-2007 09:39 PM

yes, 1.4 has two credits pages now.

first contains all the banking stuff, loans, and the transaction logs.

the second is sort of the page which you are using now, with the donation, top x, and lottery stuff.

Smiry Kin's 08-23-2007 09:43 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1324388)
yes, 1.4 has two credits pages now.

first contains all the banking stuff, loans, and the transaction logs.

the second is sort of the page which you are using now, with the donation, top x, and lottery stuff.

ahh nice also another lil minor problem - check image attached

Darkwaltz4 08-23-2007 09:59 PM

oh yeah, 1.3 style issue.

you can fix it by setting the first cell to valign top (it was accidentally at bottom...)

and shortening the size of the comment input.

its corrected in 1.4......

if you click install youll get an update when its out :D

Deadly Assassin 08-24-2007 10:39 AM

How can i stop it showing my credits, like this.

660.3333333333333333333333

With that many 3's?

Thanks.

Darkwaltz4 08-24-2007 03:06 PM

normally you set the decimals in the acp.

but if you added it manually to the template then it wont. 1.4 fixes this, and i can set you up with some modified plugin code if you come IM me

Deadly Assassin 08-24-2007 03:39 PM

Cheers m8, will do :up:

cpvr 08-24-2007 10:41 PM

One of my users suggested a good feature for this...

Quote:

I think when you click on "Preview Post" you should be able to see how many credits you will get with that post or new thread
Is it possible be add this feature?

FatalBreeze 08-25-2007 08:59 PM

A user in my forums has reported a bug. He says that when you give a user credits, and that user has reached the capacity of its PMs then he doesn't get a PM about the credits transfer, moreover, the transaction doesn't appear on the the transaction list.

Can you verify?

pspcrazy 08-25-2007 10:27 PM

Any sort of integration done for rpginferno v3 as of yet?

Darkwaltz4 08-25-2007 11:57 PM

Quote:

Originally Posted by cpvr (Post 1325087)
One of my users suggested a good feature for this...

Is it possible be add this feature?

Possibly, but maybe not until 1.5

Quote:

Originally Posted by FatalBreeze (Post 1325716)
A user in my forums has reported a bug. He says that when you give a user credits, and that user has reached the capacity of its PMs then he doesn't get a PM about the credits transfer, moreover, the transaction doesn't appear on the the transaction list.

Can you verify?

That should not be a factor, and they should still get the message even if they are at their limit. Something else had to have been the cause of not sending the credits. If you can repeat it, try to get more information on what was attempted.

Quote:

Originally Posted by pspcrazy (Post 1325749)
Any sort of integration done for rpginferno v3 as of yet?

Not yet sorry, I have the files though and it will certainly be getting some integration and converters :)


All times are GMT. The time now is 03:15 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.02677 seconds
  • Memory Usage 1,850KB
  • 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
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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