vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbBux / vbPlaza v1.5.8 (Points + Store System) (https://vborg.vbsupport.ru/showthread.php?t=106953)

eNforce 02-27-2006 11:00 PM

Quote:

Originally Posted by CMX_CMGSCCC
Show me a screen shot of where its not doing it and I'll see about a fix.

-CMX

ok, see my attachment :)

trackpads 02-27-2006 11:06 PM

Quote:

I think I know the problem to #1 now, and it should be fixed in the next release v1.2.4 probably tomorrow.

#2 has to be because of the PHP files not being uploaded, the template edit not being correct and/or the gifts are not inside the TABLE_PREFIX . "estoregifts table.

I cant think of any other reason. I tried to fix this for one user and they forgot to import the Product XML with allow overwrite to Yes as well.
The gifts are weird, I again reinstalled the store and made sure that overwrite was ok, I then fixed all the gifts postbits and no luck. The weird thing is tha tsome users are showing a single gift and some are showing none.

Any ideas?

Thanks again!!

-Jason

CMX_CMGSCCC 02-27-2006 11:27 PM

Quote:

Originally Posted by eNforce
ok, see my attachment :)

I just checked, that cant be done without a code modification...

Inside forumdisplay.php

Code:

        $forumusers = $db->query_read("
                SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity,
                        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
                FROM " . TABLE_PREFIX . "session AS session
                LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
                WHERE session.lastactivity > $datecut
                ORDER BY" . iif($vbulletin->options['showforumusers'] == 1, " username ASC,") . " lastactivity DESC
        ");

You would have to add a couple things there to the SELECT line... like...
Code:

        $forumusers = $db->query_read("
                SELECT user.username, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, user.usergroupid, session.userid, session.inforum, session.lastactivity, user.displayflags, user.namecolor, user.usertitlecolor, user.glowcolor
                        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
                FROM " . TABLE_PREFIX . "session AS session
                LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = session.userid)
                WHERE session.lastactivity > $datecut
                ORDER BY" . iif($vbulletin->options['showforumusers'] == 1, " username ASC,") . " lastactivity DESC
        ");

But then u have a problem because the hook is in a bad spot for forumdisplay_loggedinuser...

it does the hook then it overwrites musername right before it evals it to the template... so it would need to be modified to move the hook down to under neath the
Code:

                                                $loggedin['musername'] = fetch_musername($loggedin);
And u would still have to add the plugin for it, as well as edit the forumdisplay_loggedinuser template too.. It sounds like a Code Modification Add On to me.

I really think vBulletin should implement an easy way to modify any SELECT queries that do not pull table.* from the tables....

Quote:

Originally Posted by trackpads
The gifts are weird, I again reinstalled the store and made sure that overwrite was ok, I then fixed all the gifts postbits and no luck. The weird thing is tha tsome users are showing a single gift and some are showing none.

Any ideas?

Thanks again!!

-Jason

Check in PhpMyAdmin how many entries are inside the TABLE_PREFIX + estoregifts table.

-CMX

trackpads 02-27-2006 11:34 PM

Quote:

Check in PhpMyAdmin how many entries are inside the TABLE_PREFIX + estoregifts table.

-CMX
146

Thanks again,

-Jason

CMX_CMGSCCC 02-27-2006 11:36 PM

Quote:

Originally Posted by trackpads
146

Thanks again,

-Jason

Double check the user that is having the problem and see how many gifts it finds for that user... like..

SELECT * FROM (TABLE_PREFIX)estoregifts WHERE touserid = x;

And see if that matches whats in the postbit.

-CMX

trackpads 02-28-2006 12:11 AM

Quote:

Originally Posted by CMX_CMGSCCC
Double check the user that is having the problem and see how many gifts it finds for that user... like..

SELECT * FROM (TABLE_PREFIX)estoregifts WHERE touserid = x;

And see if that matches whats in the postbit.

-CMX

No luck, I did the query and the user I chose has 15 in the table but none are showing in the postbit. Would you like to look? I can break anything man, I am a tanker :) :)

MissKalunji 02-28-2006 12:39 AM

Hey Cmx it still didnt fix it :(

dirtycrow 02-28-2006 12:52 AM

just upgraded to 1.2.3 all my members now have this in thier postbits (see BOLDED part)

Points: 7,697.99
Bank: 2,227.30
Total %1$s: 9,925.29

ChiliVB 02-28-2006 12:57 AM

Small bug: Winning Lottery PM's are sent from User ID 1 even though another ID is defined in the configuration. Wouldn't be a big deal but this person is no longer the administrator of our forums.

So I edited this manually in the lotteryprocess.php here:

Code:

// fetch who the pm should be sent fromif (!is_numeric($vbulletin->options['estore_lotterypmsender'])) { $vbulletin->options['estore_lotterypmsender'] = '1'; }        $sender = fetch_userinfo($vbulletin->options['estore_lotterypmsender']);
But thought you might want to track down why the configured User ID is not updating here.

ubblite 02-28-2006 12:58 AM

My apologies if this has already been pointed out, I searched the thread & didn't find information or missed it. When viewing a user's profile you'll see eBux Points and it shows as "Total %1$s: xx" which I don't believe is normal. I have attached a photo of the problem & highlighted the text.

Is anyone else having this problem & is there a fix available?


All times are GMT. The time now is 06:32 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.03725 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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