vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - vBExperience (https://vborg.vbsupport.ru/showthread.php?t=171014)

Phalynx 10-10-2008 07:04 AM

Quote:

Originally Posted by akonze (Post 1641659)
I use the latest beta2 version and have the following problem:

When I exclude certain usergroups from getting awards, some people get two awards for the same thing. UserABC gets the silver and bronze award for the best writer. UserXYZ gets the gold and silver award for the best uploader. If I turn the setting to 0 (no usergroup excluded from awards) everything works fine again.

Can confirm that, I have to work on this for Beta 3.

wwolf27 10-10-2008 08:30 AM

Quote:

Originally Posted by ZGeek (Post 1640763)
W00t! Gift giving is awesome! But can it be setup so you can purchase items from the shop directly for other people?

3.7.18 Beta 1, 02nd October 2008
- Shop: User can give away item (gift) to someone

I just want to make sure I understand something, so please don't get upset at me :o

User has to buy the gift/item first...goes to their "profile" THEN they can give it to another user. yea I know simple but I want to make 100% positive before my members flame me over it!

Phalynx 10-10-2008 09:25 AM

Yes. And please click Mark as Installed to get further support.

Probyte 10-10-2008 12:50 PM

Is there a way I can remove an itme from a user?

Thanks

dapellegrini 10-10-2008 03:09 PM

Another bug (I think)

- If I omit a specific user from Awards, where that user was winning them, the awards disappear completely and are not give to anyone else. This happens with both the standard awards (Activity, Posting, etc) and with custom Awards (I created one that just counts total Threads). * Perhaps this is part of a bug that was reported earlier?

Phoenixgal 10-10-2008 08:03 PM

I've got a few other Custom Styles on my forum...and the activity bars aren't showing up...can someone please help me....also I never figured out how to put items in my shop...i don't seem to find the option to do this. and I've uninstalled and re-installed.

gamextract 10-10-2008 08:20 PM

Got the same problem. The bars below the username are not showing up. The bars show up on the default theme, but not on the custom theme.

Phoenixgal 10-10-2008 08:22 PM

OK What just happened?

Quote:

Database error in vBulletin 3.7.3:

Invalid SQL:
SELECT
COUNT(t.itemid) as cnt_items, s.*
FROM xperience_shop_ta as t
INNER JOIN xperience_shop as s ON s.itemid=t.itemid
WHERE
sell=0 AND
(t.buyer=18 AND t.userid=0)
GROUP BY t.itemid;

MySQL Error : Unknown column 'sell' in 'where clause'
Error Number : 1054
Request Date : Friday, October 10th 2008 @ 05:09:12 PM
Error Date : Friday, October 10th 2008 @ 05:09:12 PM
Script : http://www.xxxxxxxxxxx.org/forums/member.php?u=18
Referrer : http://www.xxxxxxxxxx.org/forums/supportforums.php
IP Address : xx.xxx.xxx.xxx
Username : xxxxxxxxx
Classname : vB_Database
MySQL Version : 4.1.22-standard

Phoenixgal 10-10-2008 08:31 PM

Quote:

Originally Posted by gamextract (Post 1642230)
Got the same problem. The bars below the username are not showing up. The bars show up on the default theme, but not on the custom theme.

That is the same problem that I am having....

slinkyman 10-11-2008 01:39 AM

I have two questions:

1. Is there any way for members to sell back (or delete) items they bought from the shop?
2. Is there any way for members to gift (or buy then gift) items from the shop to another member?

Thanks!

4x4 Mecca 10-11-2008 05:35 AM

Yes and Yes

thenewuser 10-11-2008 05:43 AM

Thanks!

crazzyustad 10-11-2008 11:44 AM

ok Phalynx, i am having some problem....

The VBexp tab in admin control is not working.....The Vbulltin options are working fine, but when i am clicking the VBexp tab and then cliking any of settings its totaly blank.

First i uploaded the VBexp 3717 version, it was not working, then i uploaded the Beta version and its same...what to do now??
Already clicked install

crazzyustad 10-11-2008 12:29 PM

Can u please help me to customize the promotion thing...i am not getting how to use it

gamextract 10-11-2008 01:23 PM

Quote:

Originally Posted by Phoenixgal (Post 1642239)
That is the same problem that I am having....

Yeah what version of vbulletin are you using? I cant seem to find any other post that has the same problem as us

Probyte 10-11-2008 01:34 PM

(=-_I CLICKED "MARK AS INSTALLED"_-=)

I have two questions/problems. -

Can you remove an item from a user?

Because I made a test item, bought it, then deleted the item from the shop and it says I still have it.
----------------------

In the profile part (Where is shows the various statistics for vB Experience) says I have...
_________________
Points for Posts: 387
Posts: 387
_________________

When really I only have...
_________________
Total Posts
194
_________________

Same thing for all the members.

slinkyman 10-11-2008 06:39 PM

Quote:

Originally Posted by slinkyman (Post 1642388)
I have two questions:

1. Is there any way for members to sell back (or delete) items they bought from the shop?
2. Is there any way for members to gift (or buy then gift) items from the shop to another member?

Thanks!

Anyone know how to do this?

4x4 Mecca 10-11-2008 06:45 PM

Quote:

Originally Posted by slinkyman (Post 1642854)
Anyone know how to do this?

http://www.YOURWEBSITE.com/xperience.php?go=shop&do=own
You can do both there

slinkyman 10-11-2008 06:50 PM

EDIT: I had the old version, that is why. Thanks for your help!

I have another question:

Is it possible to set an item's Costfield based on the sum of ALL your points?

dataman 10-11-2008 07:55 PM

Ok, downloaded the new beta version and followed instructions as best I could. Tried to install by browsing to (myurl)/xperience.php. Is that the correct method? See screenshot below; database error. Also, could anyone point to a few places I should tweak in the install files; I don't see anything really 'off'. Please help a vBulletin newbie.

https://vborg.vbsupport.ru/external/2008/10/37.jpg

BatMs.com 10-12-2008 01:41 AM

Not working with vB 3.8B1... First mod I have not to! :(

rafa3l 10-12-2008 02:24 AM

Sorry if this question already exist in the forum.

I would like to create something like a contest in a elapsed time, for example the user with more referers, posts, thanks in a month, or with more points in a month. This is the right mod to do that?

Thanks in advance

dataman 10-12-2008 04:12 AM

Nevermind my prior post; I figured out how to install. Is there any way to change "points" to "pennies" or "cents", so it's more like play money?

crazzyustad 10-12-2008 05:57 AM

phalynx,

can we have a promotion system based on activity. Say if the user has over 50% activity he/she will be shifted to a new group and when the activity will fall below 50% he will again come back to the old group.

By the way please look at the previous problem i posted

MentaL 10-12-2008 01:52 PM

I enjoy this mod very much but how do you set it so say 3 users can recieve the award rather than one.

Thanks.

[EDIT]

Resolved.

4x4 Mecca 10-12-2008 02:34 PM

I like that idea crazzyustad! I second that!

cykelmyggen 10-12-2008 03:26 PM

I'm having an error in the shop. I added a new item in one of the categories - uploaded the images in the misc/shop directory and filled out the form in shop management. The icon in postbit only did show the link and not the image. I've doublechecked the paths to images, spelling errors and so on and I can't seem to pinpoint the error. I deleted the item in the category, but the link still shows up in postbit - not in my status though. See attached screenshot. Any ideas?

Abe1 10-12-2008 05:22 PM

Phalynx, I saw there was a problem with the new option to remove awards from a certain usergroup. It was showing the same user getting an award for gold, silver, and bronze. Since lets say user 1-5 were not to get awards, then the first user that is able to get awards gets all 3 since they will be in the limit 10 each time.

Anyways, i changed it to the mysql query. here is the whole CalculateAwards() that fixes any issue with this.

PHP Code:

function CalculateAwards()
{
    global 
$vbulletin;
    
    
    
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "user
        SET
        xperience_awards=''"
);

    if (!
$vbulletin->options['xperience_use_awards'])
    {
        return;
    }

    require_once(
'./includes/functions_xperience.php');    

    
$awardsq =$vbulletin->db->query_read("SELECT
        *
        FROM " 
TABLE_PREFIX "xperience_awards
        WHERE awardstatus > 0
        ORDER BY awardstatus        
        "
);
        
        if (
$vbulletin->db->num_rows($awardsq) > 0)
        {
            while (
$awards $vbulletin->db->fetch_array($awardsq))
            {

                if (
$awards['manualassign'] <> 0)
                {
                    if (!
strstr($awards['manualassign'], ","))
                    {
                        if (
verify_id("user"$awards['manualassign'], false) <> 0)
                        {
                            
WriteAward($awards$awards['manualassign']);
                        }
                    } else {
                        
$manualawards=explode(","$awards['manualassign']);
                        
                        for (
$i 0$i count($manualawards); $i ++)
                        {
                            if (
verify_id("user"$manualawards[$i], false) <> 0)
                            {
                                
WriteAward($awards$manualawards[$i]);
                            }
                        }
                    }
                } else {
                    
                    if (
strlen($vbulletin->options['xperience_ignore_users']) > 0
                    { 
                        
$IgnoreUser=" AND u.userid NOT IN(".$vbulletin->options['xperience_ignore_users'].")"
                    }

                    
$usergroups=explode(","$vbulletin->options['xperience_award_exclude']);
                    foreach (
$usergroups AS $usergroupid)
                    {
                        
                        
$wherenot .= " OR u.usergroupid = '$usergroupid' OR FIND_IN_SET($usergroupid, u.membergroupids)";
                    }

                    
$genawardq =$vbulletin->db->query_read("SELECT
                        u.userid,
                        "
.$awards['awardfields']."
                        AS get_count
                        FROM " 
TABLE_PREFIX "xperience_stats as s
                        LEFT JOIN " 
TABLE_PREFIX "user as u ON u.userid = s.userid
                        WHERE 1 = 1 
$IgnoreUser AND NOT (1=2 $wherenot)
                        ORDER BY get_count DESC, points_xperience DESC
                        LIMIT "
.$awards['awardlimit'].",1");
                                        
                    if (
$vbulletin->db->num_rows($genawardq) > 0)
                    {
                        
$genaward $vbulletin->db->fetch_array($genawardq);
                        
                        if (
$genaward['get_count'] <> 0)
                        {
                            
WriteAward($awards$genaward['userid']);
                        }
                        
                    }
                }
            }
        }



Winterworks 10-12-2008 06:05 PM

I enabled the shop, but it displays...

Shop
You don't purchased any items yet.

When I try to access it? How do I get it fully working?

blogthea 10-12-2008 08:31 PM

first of all , thank you for this great mod

i have one question tho, is it possible to display a user's level and exp points in the navbar welcome box, (navbar template) ? and what variables store this information?

Phalynx 10-12-2008 08:39 PM

Quote:

Originally Posted by Probyte (Post 1641895)
Is there a way I can remove an itme from a user?

AdminCP, vBExperience, Manage Shop, Transactionlog.

Quote:

Originally Posted by dapellegrini (Post 1641992)
- If I omit a specific user from Awards, where that user was winning them, the awards disappear completely and are not give to anyone else. This happens with both the standard awards (Activity, Posting, etc) and with custom Awards (I created one that just counts total Threads). * Perhaps this is part of a bug that was reported earlier?

Already reported multiple times, thanks. Will be fixed in Beta 3.

Quote:

Originally Posted by Phoenixgal (Post 1642212)
I've got a few other Custom Styles on my forum...and the activity bars aren't showing up...can someone please help me....

There is a setting where you can activate it.

Quote:

Originally Posted by Phoenixgal (Post 1642212)
also I never figured out how to put items in my shop...i don't seem to find the option to do this. and I've uninstalled and re-installed.

AdminCP, vBExperience, Manage Shop

Quote:

Originally Posted by gamextract (Post 1642230)
Got the same problem. The bars below the username are not showing up. The bars show up on the default theme, but not on the custom theme.

You will need the template hooks. Take a look at readme_install_uninstall_upgrade.txt

Quote:

Originally Posted by Phoenixgal (Post 1642232)
OK What just happened?

Your database is not updated. Uninstall XML, Install again.

Phalynx 10-12-2008 08:44 PM

Quote:

Originally Posted by crazzyustad (Post 1642657)
Can u please help me to customize the promotion thing...i am not getting how to use it

Please click Mark as Installed to get further Support.

Quote:

Originally Posted by Probyte (Post 1642693)
Because I made a test item, bought it, then deleted the item from the shop and it says I still have it.

You need to delete transactions.

Quote:

Originally Posted by Probyte (Post 1642693)
In the profile part (Where is shows the various statistics for vB Experience) says I have...
_________________
Points for Posts: 387
Posts: 387
_________________

When really I only have...
_________________
Total Posts
194
_________________

Welcome to vBExperience. This is not counting your posts, it's calculating your posts with the modified that can be defined via settings, e.g. 2.5 - see also Earn Points.


Quote:

Originally Posted by slinkyman (Post 1642860)
Is it possible to set an item's Costfield based on the sum of ALL your points?

Yes. It's called "Experience"

Phalynx 10-12-2008 08:50 PM

Quote:

Originally Posted by BatMs.com (Post 1643033)
Not working with vB 3.8B1... First mod I have not to! :(

Yes, because 3.8 Beta was released AFTER the last beta. There is a dependancy.

Quote:

Originally Posted by rafa3l (Post 1643042)
Sorry if this question already exist in the forum.

I would like to create something like a contest in a elapsed time, for example the user with more referers, posts, thanks in a month, or with more points in a month. This is the right mod to do that?

Thanks in advance

Not now.

Quote:

Originally Posted by dataman (Post 1643066)
Is there any way to change "points" to "pennies" or "cents", so it's more like play money?

This product is fully phrased, change the phrases via AdminCP.

Quote:

Originally Posted by cykelmyggen (Post 1643379)
I'm having an error in the shop. I added a new item in one of the categories - uploaded the images in the misc/shop directory and filled out the form in shop management. The icon in postbit only did show the link and not the image. I've doublechecked the paths to images, spelling errors and so on and I can't seem to pinpoint the error. I deleted the item in the category, but the link still shows up in postbit - not in my status though. See attached screenshot. Any ideas?

If you do some changes to the items you need to refill the cache as the items are cached. This is to accomplish a page not using queries because of the shop.
AdminCP, vBExperience, Manage Shop, Categories, Items, Generate...

Phalynx 10-12-2008 08:53 PM

Quote:

Originally Posted by Abe1 (Post 1643459)
Phalynx, I saw there was a problem with the new option to remove awards from a certain usergroup. It was showing the same user getting an award for gold, silver, and bronze. Since lets say user 1-5 were not to get awards, then the first user that is able to get awards gets all 3 since they will be in the limit 10 each time.

Anyways, i changed it to the mysql query. here is the whole CalculateAwards() that fixes any issue with this.

Thanks for helping with this, I appreciate it. Will test it tomorrow.

Quote:

Originally Posted by Winterworks (Post 1643488)
I enabled the shop, but it displays...

Shop
You don't purchased any items yet.

When I try to access it? How do I get it fully working?

The Shop must be filled with (virtual) items by you.
Please click Mark as Installed to get further Support.


Quote:

Originally Posted by blogthea (Post 1643599)
i have one question tho, is it possible to display a user's level and exp points in the navbar welcome box, (navbar template) ? and what variables store this information?

Currently there is no support for this, I will add something for Beta 3.

biocyberman 10-13-2008 01:59 AM

Hi!
I also enjoy this mod very much. I also made an addon for Post Rating mod integration. If anyone would like I can share it.
Here I have some questions:
Is that a convenient way so that we can set a time cutoff show that we can calculate Point for a Month, Quarter or Year? Awards can be given according to these periods. There should be also option to show calculation result at different periods.

Phalynx 10-13-2008 07:04 AM

Quote:

Originally Posted by biocyberman (Post 1643779)
I also enjoy this mod very much. I also made an addon for Post Rating mod integration. If anyone would like I can share it.

Would be great to include this as an addon.

Quote:

Originally Posted by biocyberman (Post 1643779)
Is that a convenient way so that we can set a time cutoff show that we can calculate Point for a Month, Quarter or Year? Awards can be given according to these periods. There should be also option to show calculation result at different periods.

This has been asked several times, currently there is no option for this.

biocyberman 10-13-2008 11:44 AM

Currently my addon is based on sample addon code. I tested in vb 3.7.3 PL1, it works fine. I want, however, to put it into main section, not the MISC section because I consider post rate is an important parameter. It may take more time to accomplish it. Mean while anybody can test it for oneself.

Quote:

Originally Posted by Phanlynx
This has been asked several times, currently there is no option for this.

I would be great if you could afford your time to do it.

Phalynx 10-13-2008 11:54 AM

Thanks for sharing. You will need to add the new Earn Points functionality introduced with 3.7.18 - the CDP has been extended with this.
Also, change the dependancy to 3.7.18 and lift the version to 1.1.0 to show that your hack is supporting Earn Points.

I would suggest to change hooks/templates to post instead misc. See for example addon_scrupulous_poster.xml.

slinkyman 10-13-2008 11:58 AM

Is there any way for Admin & Mods not to show on the stats but can still use the shop, awards, etc?

Phalynx 10-13-2008 12:02 PM

You can only exclude them from getting awards, but not stats.


All times are GMT. The time now is 07:38 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.05950 seconds
  • Memory Usage 1,893KB
  • 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
  • (27)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