vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - vBExperience 4 (https://vborg.vbsupport.ru/showthread.php?t=245023)

mferguson 07-11-2010 02:57 PM

Quote:

Originally Posted by Phalynx (Post 2067598)
Disable Activities ("Use the activities?").
Cannot confirm that as I'm appending to the "profile_tabs" / "profile_tabs_last" hooks. Other hacks using the same mechanics have no problem running with vBExperience, like for example iTrader.
Also, I cannot test this for my own as I cannot download a free version available for vBulletin 4.

Phalynx,
In an effort to help my customer I downloaded vBExperience and determined the source of the issue he was experiencing. In the member profile vBulletin automatically provides a userinfo structure for the user who's member profile you are viewing. In your xperience/hooks/member_build_blocks_start.php you start the file with the following code:

PHP Code:

    $userinfo_q $vbulletin->db->query_read("SELECT * FROM
        " 
TABLE_PREFIX "user
        WHERE userid="
.$vbulletin->GPC['userid']."
        LIMIT 0,1"
);


    if (
$vbulletin->db->num_rows($userinfo_q) > 0)
    {
        
$userinfo $vbulletin->db->fetch_array($userinfo_q);
    } 

This effectively overwrites the provided vBulletin userinfo structure and removes some of the information needed for our product to determine whether or not a tab should be displayed for the user. For now I'm working around this by calling:

PHP Code:

  $userinfo fetch_userinfo($userinfo['userid']); 

in our code to rebuild the userinfo structure so that it contains what we need to display.

Hopefully this will provide some insight in the event other add-ons which provide their own profile tabs have issues in conjunction with vBExperience.

Best regards,

Mark Ferguson
Drive Thru Online

Phalynx 07-11-2010 04:59 PM

Quote:

Originally Posted by Mopar1973Man (Post 2067600)
That's exactly what I did... The results is that everyone get kicked out of premium...

So if I put this back then everyone in premium membership is reduced to standard memebership regardless of he fact they have above 25% activity... :confused:

Seems to be fixed in final version, as I suspect that it is the same behaviour like the people having activity on 0.

Quote:

Originally Posted by GR Matticus (Post 2067637)
Hi there.

Thanks for the mod.

I have an issue when clicking the "Ranking" tab under the Experience header.
--

EDIT: User error, I entered "News Bot" in the ignore users list and not the users ID. Now working ok. Sorry!

Great you worked it out for yourself :)

Quote:

Originally Posted by mferguson (Post 2067673)
Phalynx,
In an effort to help my customer I downloaded vBExperience and determined the source of the issue he was experiencing. In the member profile vBulletin automatically provides a userinfo structure for the user who's member profile you are viewing. In your xperience/hooks/member_build_blocks_start.php you start the file with the following code:

Thanks for pointing me to this, as this was just debug code that has not yet been removed. Fixed in final version.

Noerenberg 07-11-2010 08:11 PM

1 Attachment(s)
Hi,

i cant see the images in the posts

Phalynx 07-11-2010 08:33 PM

Quote:

Originally Posted by Noerenberg (Post 2067761)
Hi,

i cant see the images in the posts

Did you recreated achievements already as we talked earlier?

ashley76 07-12-2010 02:02 PM

How do you delete a custom achievement?

Phalynx 07-12-2010 02:16 PM

Please click "Mark as Installed".

Editing an achievement in AdminCP, checking Delete and saving it.

ashley76 07-12-2010 02:37 PM

Sorry it was right there in front of my face... :(

Vicros 07-12-2010 02:55 PM

Is there a version of this mod for IPB?

Gun Geek 07-12-2010 04:17 PM

I am having a problem with the achievements. It will not issue them. I have done clear and recount. Still not getting issued. No groups are set to ignore. For example:

Achievement - 10 pictures - must be > 10 pictures. - User has 43 - no achievement.
Achievement - 20 pictures - must be > 20 pictures. - User has 43 - no achievement.

kontagio.us 07-12-2010 04:21 PM

Quote:

Originally Posted by Gun Geek (Post 2068142)
I am having a problem with the achievements. It will not issue them. I have done clear and recount. Still not getting issued. No groups are set to ignore. For example:

Achievement - 10 pictures - must be > 10 pictures. - User has 43 - no achievement.
Achievement - 20 pictures - must be > 20 pictures. - User has 43 - no achievement.

if it's for user 1 then it's a bug thats going to be fixed in the gold version


All times are GMT. The time now is 07:35 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.05876 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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