vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   e-steki Karma BETA (https://vborg.vbsupport.ru/showthread.php?t=109716)

hiiped 03-08-2006 03:57 PM

Quote:

Originally Posted by mark1491
I get the same problem, but i don't think that it really stays at no, it just show it that way.

Im not sure
but it "might" be the reason I'm getting an error when I click to view Karma Statistics

I get this error
Parse error: parse error, unexpected T_FOREACH in /user/43/e26734/htdocs/forum/karma_stats.php on line 80

line 80of karma_stats.php is
@foreach($karma_table['rating'] as $key=>$value)

Lea Verou 03-08-2006 04:09 PM

Quote:

Originally Posted by Harley77
Tried the update, rendered a blank page with an unxexpected foreach in line 60. Looking at the code, I removed the @ symbol (as foreach doesn't support that form of error suppression http://us3.php.net/foreach) and at least it now displays something. Maby use some conditionals?

Oops! Darn, and I thought I could avoid the ifs that way :(
Thanks so much for pointing out my mistake :o

Lea Verou 03-08-2006 04:11 PM

hiiped:
Issue #1 is a known issue that I'm unable to solve ATM, due to lack of knowledge on ugp. It's the first time I use usergroup permissions in a hack of mine, my older hacks just had an editbox where you entered usergroupids :o It works though, but not from the first time you set it. After some times it gets the message :p :ermm: Perhaps tnguy3n could help? :o
Issue #2 will be resolved in a few minutes. It's due to my ultimate stupidity mentioned above :p

Lea Verou 03-08-2006 04:21 PM

zip updated. I used is_array() this time. I hope I didn't mess things up again :( :o

Harley77 03-08-2006 04:56 PM

Quote:

Originally Posted by Michelle
zip updated. I used is_array() this time. I hope I didn't mess things up again :( :o


umm, actually..
PHP Code:

if(is_array($karma_table['rating']){ 

The above should read

PHP Code:

if(is_array($karma_table['rating'])){ 

Notice the additional ")"

Needs to be done to every line that has the "is_array" in it.

hiiped 03-08-2006 04:58 PM

thanks Michelle for fast reply, didnt expect so a prompt reply. LOL

take your time on fixing these bugs, we can wait












anyone who cant wait will be e-smacked

har har

Lea Verou 03-08-2006 05:15 PM

Thanks Harley, that was accidental, and since I copy-pasted the first one (changing it each time appropriately), I have that error on the others too :(
Unluckily I tend to do these kind of errors all the time... :(

Lea Verou 03-08-2006 05:19 PM

zip updated again. I hope I didn't do other stupid mistakes this time. :/

forumthemes 03-08-2006 05:19 PM

IT's a great mod you did, I also really like the skin you used in the screenshots :)

Lea Verou 03-08-2006 05:21 PM

Quote:

Originally Posted by forumthemes
IT's a great mod you did, I also really like the skin you used in the screenshots :)

Thanks! I made it myself :D
However, I think the header needs some changes... For instance the candlestick is completely odd there... :/
Any ideas?


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