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 - [DBTech] vBActivity & Awards v3 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=236973)

DragonByte Tech 03-03-2010 02:23 PM

It was just a hotfix that affected a small number of our current users, so I didn't find it needed to change the version number.
I'll keep it in mind in the future though :)


Fillip

Popa Andrei 03-03-2010 08:02 PM

can u make the bars to be moved in the left side in postbit?

tidus78 03-03-2010 10:57 PM

Problem :

Warning: Invalid argument supplied for foreach() in [path]/dbtech/vbactivity/includes/libs/activity.php on line 309

Warning: Invalid argument supplied for foreach() in [path]/dbtech/vbactivity/includes/class_profileblock.php on line 961

DragonByte Tech 03-03-2010 11:14 PM

Quote:

Originally Posted by stormzone (Post 1996374)
can u make the bars to be moved in the left side in postbit?

You can do that yourself, via a template edit :)

Quote:

Originally Posted by tidus78 (Post 1996489)
Problem :

Warning: Invalid argument supplied for foreach() in [path]/dbtech/vbactivity/includes/libs/activity.php on line 309

Warning: Invalid argument supplied for foreach() in [path]/dbtech/vbactivity/includes/class_profileblock.php on line 961

Sounds like your datastore cache entries have been corrupted.
Try running the following query to let it auto rebuild:
UPDATE datastore SET data = '' WHERE title LIKE 'dbtech_vbactivity_%' AND title != 'dbtech_vbactivity_pointscache'


Fillip

FlameGun 03-03-2010 11:31 PM

I get this error when I try to add a condition for an achievement.

Warning: Invalid argument supplied for foreach() in [path]/dbtech/vbactivity/includes/actions/admin/modifycondition.php on line 29

this when trying to add an achievement:

Warning: Invalid argument supplied for foreach() in [path]/dbtech/vbactivity/includes/actions/admin/achievement.php on line 16

DragonByte Tech 03-03-2010 11:37 PM

Sounds like your datastore cache entries have been corrupted.
Try running the following query to let it auto rebuild:
UPDATE datastore SET data = '' WHERE title LIKE 'dbtech_vbactivity_%' AND title != 'dbtech_vbactivity_pointscache'

Fillip

FlameGun 03-04-2010 12:07 AM

I've ran it via the vBulletin AdminCP - 1st Time said 2 Affected rows, 2nd and on said 0. Didn't solve the problem.

DragonByte Tech 03-04-2010 12:28 AM

What's the output of:
SELECT * FROM datastore WHERE title LIKE 'dbtech_vbactivity_%' AND title != 'dbtech_vbactivity_pointscache'
?

Fillip

FlameGun 03-04-2010 12:30 AM

title data unserialize
dbtech_vbactivity_activitylevel 1
dbtech_vbactivity_category 1

DragonByte Tech 03-04-2010 12:48 AM

okay, how about
select * from dbtech_vbactivity_type

For some reason it's not rebuilding the cache properly, so you may be missing some data.

FlameGun 03-04-2010 12:52 AM

1 perpost 1
2 perpost_own 1
3 perthread 1
4 perthreadrating 1
5 perthreadratingreceived 1
6 pertag 0
7 pervmgiven 1
8 pervmreceived 1
9 perpollposted 1
10 perpollvote 1
11 perfriend 1
12 pergivenrep 1
13 pergottenrep 1
14 perinfractiongiven 1
15 perinfractionreceived 1
16 perreferral 1
17 persgmessage 1
18 persgdiscussion 1
19 percalendarevent 1
20 perdayregistered 1
21 totalpoints 1
22 activitylevel 1
23 albumpictures 0
24 attachments 0
25 attachmentviews 0
26 post 1
27 post_own 0
28 thread 1
29 threadrating 1
30 threadratingreceived 1
31 vmgiven 1
32 vmreceived 1
33 pollposted 1
34 pollvote 1
35 friend 1
36 givenrep 1
37 gottenrep 1
38 infractiongiven 1
39 infractionreceived 1
40 referral 1
41 sgmessage 1
42 sgdiscussion 1
43 calendarevent 1
44 dayregistered 1

^^ Results. Didn't solve the issue though.

DragonByte Tech 03-04-2010 01:01 AM

I know it wouldn't, I'm just trying to figure out wtf is going on here :p

You're not missing any data, so it's just that the cache isn't rebuilding.
Try this plugin, refresh the main page, and tell me if you still have the error


Fillip

FlameGun 03-04-2010 11:39 PM

No, that didn't fix anything - just gave me a database error across the board. :p

It happens on two different forums that I've tried it on - on two different servers just an FYI.

DragonByte Tech 03-04-2010 11:48 PM

What database error? Can you post the message?

Fillip

FlameGun 03-05-2010 12:04 AM

Database error in vBulletin 4.0.2:

Invalid SQL:
SELECT dbtech_vbactivity_medal.* FROM `dbtech_vbactivity_medal` AS dbtech_vbactivity_medal LEFT JOIN dbtech_vbactivity_category AS category ON (category.categoryid = dbtech_vbactivity_medal.categoryid)
ORDER BY category.displayorder, dbtech_vbactivity_medal.displayorder ASC;

MySQL Error : Table 'username_mysql.dbtech_vbactivity_medal' doesn't exist
Error Number : 1146
Request Date : Thursday, March 4th 2010 @ 08:03:23 PM
Error Date : Thursday, March 4th 2010 @ 08:03:23 PM
Script : [path]/forum.php
Referrer :
IP Address : 24.47.17.186
Username : ---------
Classname : vB_Database

Supramania 03-05-2010 12:35 AM

Fillip,

Just an FYI - I've reviewed my slow_query_log and there's nothing in there from your modification at all. I believe the change you made fixed the issue.

DragonByte Tech 03-05-2010 12:38 AM

1 Attachment(s)
Quote:

Originally Posted by FlameGun (Post 1997412)
Database error in vBulletin 4.0.2:
[snip]

Whoops, I'll attach a fixed plugin to this post and then we'll see what happens :)

Quote:

Originally Posted by Supramania (Post 1997429)
Fillip,

Just an FYI - I've reviewed my slow_query_log and there's nothing in there from your modification at all. I believe the change you made fixed the issue.

Awesome, glad to hear it :D


Fillip

redraider 03-05-2010 02:40 PM

can this be combined with post thank you hack ... ?

DragonByte Tech 03-05-2010 03:22 PM

Quote:

Originally Posted by redraider (Post 1997811)
can this be combined with post thank you hack ... ?

Not a feature so far, but if our customers request hack integration then we will work to apply it in a future version =)

Iain

mokonzi 03-05-2010 05:14 PM

It would be a nice addition to the hack...

Does this mod have a way of installing some basic data? A working guideline, so to speak, of an ideal setup?

I'm working my way through installing on a test site, and would have liked a basic data setup...

DragonByte Tech 03-05-2010 05:51 PM

Quote:

Originally Posted by mokonzi (Post 1997908)
It would be a nice addition to the hack...

Does this mod have a way of installing some basic data? A working guideline, so to speak, of an ideal setup?

I'm working my way through installing on a test site, and would have liked a basic data setup...

Import/Export and a basic setup to import is coming in the next pro version, as well as a basic image pack =)

FlameGun 03-05-2010 07:25 PM

Thx dude, its fixed - I'd suggest you add that as an attachment for all in the main post.

DragonByte Tech 03-05-2010 07:32 PM

Quote:

Originally Posted by FlameGun (Post 1997997)
Thx dude, its fixed - I'd suggest you add that as an attachment for all in the main post.

No need, I'll incorporate this feature in the next version due to be released soon :)

insidedesign 03-05-2010 09:57 PM

Tagged.
BTW, you have to be a member of your website to view your main products page.

DragonByte Tech 03-06-2010 02:34 PM

ChangeLog
  • 1.1.0
    • New method for selecting images for Achievements
    • Ability to Repair Cache in the event of mysterious errors.
    • Bugfixes for re-calculating Achievements
    • Other various bugs fixed


This update also takes the modification out of Beta status.
Thanks to FlameGun and Supramania for helping to debug and load test this modification respectively :)

Supramania 03-06-2010 04:53 PM

DBT - does this incorporate the changes you made on my behalf?

DragonByte Tech 03-06-2010 05:04 PM

Yeah, all fixes done to other people's sites either via here or via support has been incorporated into the finished product :)

The code that caused the load issue is no longer needed, so it would have been removed regardless :)


Fillip

betts02 03-06-2010 05:59 PM

Come back to this after my ignorance and attitude towards the coder was wrong, so sorry for that burst, just an off day for me

Anyway installed the latest version and in admin settings where it has

"Enabled Postbit Activity Bars"

"Choose which of the Activity Bars are enabled in the Postbit"

In that area i get the following " An error occurred while processing the bitfield files, the following information was returned: "

also i get the same in the " Enabled Postbit Activity Bars "

any ideas ? cheers

DragonByte Tech 03-06-2010 06:09 PM

Fixed, sorry bout that.

Download the new zip and re-import the Product XML file, that should be all that's needed.

Fillip

betts02 03-06-2010 06:25 PM

Cheers mate, quick responce and works fine

SoltanWorld 03-06-2010 06:36 PM

Version check connection to host version.dragonbyte-tech.com failed. Please try again later.

The error returned was: 'php_network_getaddresses: getaddrinfo failed: Name or service not known'

I have unistalled perv version and installed new one, this error appears wat should i do?

DragonByte Tech 03-06-2010 06:41 PM

Quote:

Originally Posted by SoltanWorld (Post 1998652)
Version check connection to host version.dragonbyte-tech.com failed. Please try again later.

The error returned was: 'php_network_getaddresses: getaddrinfo failed: Name or service not known'

I have unistalled perv version and installed new one, this error appears wat should i do?

Version checking functionality isn't working yet, but as you have it Installed you'll receive an email when I update it :)


Fillip

SoltanWorld 03-06-2010 06:47 PM

Thanks and i have an error on :

Enabled Postbit Activity Stats
Choose which of the Activity Stats are enabled in the Postbit. An error occurred while processing the bitfield files, the following information was returned:
Error:1
Enabled Postbit Activity Bars
Choose which of the Activity Bars are enabled in the Postbit. An error occurred while processing the bitfield files, the following information was returned:

how abt these ?

and i want to knw , this version1.1.0 has 4 setting menu like the 1.0.0? any new options?

DragonByte Tech 03-06-2010 06:50 PM

Download the new zip and re-import the Product XML file, that should be all that's needed.

Fillip

SoltanWorld 03-06-2010 07:17 PM

thanks i did it, just where can i edit images for achivement i have no option!

DragonByte Tech 03-06-2010 07:28 PM

You can choose an image from the dropdown in the Achievement Icon setting. Upload more images to /images/icons/vbactivity/achievements to make them available.

Fillip

SoltanWorld 03-06-2010 07:48 PM

where is the drop down man? i told you bro, the setting in ACP/Setting/Option/vBActivity i had on 1.0.2 version , right now i have the same as the old one, no diff

can u plz explain for me how to do it? i just gott confused

DragonByte Tech 03-06-2010 07:51 PM

In the Manage Achievements bit :)


Fillip

SoltanWorld 03-06-2010 08:06 PM

sry My mistake :"> Permission fault ! Thanks

betts02 03-06-2010 11:02 PM

Problem after any post is made i get

"Parse error: syntax error, unexpected '=' in /home/nextgen6/public_html/forums/dbtech/vbactivity/includes/libs/activity.php(407) : eval()'d code on line 1

vBulletin Message
Unable to add cookies, header already sent.
File: /home/nextgen6/public_html/forums/dbtech/vbactivity/includes/libs/activity.php(407) : eval()'d code
Line: 1"

any ideas ? chhers in advance

To add to this, If i re-fresh this page where the message is, It takes me to the post saying i tried to double post, Diabled for now


All times are GMT. The time now is 01:03 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.01932 seconds
  • Memory Usage 1,821KB
  • 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
  • (8)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