vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - World of Warcraft Event Calendar (https://vborg.vbsupport.ru/showthread.php?t=145287)

Hyrel 06-16-2007 09:10 AM

It was the only one I could find that didn't use the armory data hehe.

We've had nothing but problems with the stupid back end. 2 installs of php5 and in both of them the php.ini vanished. So then tried just doing a customized version of the php.ini (wish my stupid host had mentioned that in the first place) and it doesn't seem to be fixing the problem either.

It was working with 1.2.3 but the load time was 2+ minutes on the page. Upgraded to 1.2.4 and starting getting an error about the calendar.php. Installed went back to 1.2.3 and it has the same thing now. O.o

Ok, so since the armory parsing seem to be the problem thought I would try to go around it by just pulling the info from customer userfields. I have our Memberlist setup so it already has the race, level, and class info so it seemed simple enough to pull the information from there instead. Also, in this guild you can only have 1 alt and only one of your characters can raid anyways so thought I'd just cut the alts out all together. If they want to raid with 2 characters they can make a new account for that one ^_^

I would just leave it having the one alt, but I haven't found a way to limit what custom fields show up on the members list and stupid me designed the site with a set width and I haven't the room for the alt data as well as the main.

I've had this hosting company for 5 years and have always loved them...right now I want to torture them with brandy bunch reruns for hours.

Hyrel 06-16-2007 11:51 AM

I completely reinstalled php5 and changed the settings in the php.ini and I'm stilling getting this error.

Fatal error: Cannot use string offset as an array in /home/.dandelion/hyrel/rivalnation.com/forums/calendar.php(1208) : eval()'d code on line 237

elricstorm 06-16-2007 12:06 PM

Quote:

Originally Posted by Hyrel (Post 1269684)
I completely reinstalled php5 and changed the settings in the php.ini and I'm stilling getting this error.

Fatal error: Cannot use string offset as an array in /home/.dandelion/hyrel/rivalnation.com/forums/calendar.php(1208) : eval()'d code on line 237

Easy fix.

Either your server information or your "own" characters/alternates are listed incorrectly in either your admincp or your usercp.

You will receive that error because it essentially can't find the character name. Make sure that the character name is listed properly. If you want, you can provide me the server -> character -> locale and I can run the same test.

Essentially that error is on a "per user" basis. When my members have encountered it, I would check their profiles and sure enough they had either a character or alternate spelled incorrectly.

In your case, line 237 is pointing exactly to your "second alternate".

So, I bet your second alternate is spelled incorrectly in your "usercp". Or, your profile field is not listed correctly for that second alternate. One of the two.

Gooner 06-16-2007 12:38 PM

is it possible to make the the Class, Tallent and Race colums a fixed width? it looks a bit messy when each row is out of line of the rest, Not a problem of course, just visually disturbing :) it would be nice to have all the images in one straight line., for race and class.

elricstorm 06-16-2007 12:40 PM

patch_ver_125 was released which fixes the column displays (which are fixed width but percentages don't always align properly when you returning multiple rows of data so it's just a minor tweak here and there. It should be fine now. It also fixes the talents not displaying properly for people who do not have any professions.

Just overwrite the product file for 124 with this one.

Gooner 06-16-2007 12:41 PM

thanks, great work :)

Just noticed, is it possible to get, Warlock, Shaman, and Warrior, to the right of the image like the rest of them?

The class name is just slighty below the image.

:P

elricstorm 06-16-2007 12:45 PM

Quote:

Originally Posted by Gooner (Post 1269713)
is it possible to make the the Class, Tallent and Race colums a fixed width? it looks a bit messy when each row is out of line of the rest, Not a problem of course, just visually disturbing :) it would be nice to have all the images in one straight line., for race and class.

Update to patch_ver_125.

Also, it's not that the columns aren't a fixed width - they actually are. They are fixed with a percentage width. The problem is because each row is separately being returned, if the data is slightly larger than the rest, it will automatically "slightly stretch" that column to fit it. So, it was just a matter of me tweaking for certain talents. In this case the "elementalcombat" was probably the largest talent and I adjusted the column by 2% which fixed that. I also readjusted the name and comment columns. It should be fine now.

Gooner 06-16-2007 12:49 PM

i did update mate :) but the images of warrior, warlock and shaman are still slightly below the image, and a rogue has talent as lockpicking.. his tree is 26.3.32

screenshot
http://www.eu-otd.com/images/eventpic1.jpg

elricstorm 06-16-2007 12:50 PM

Quote:

Originally Posted by Gooner (Post 1269717)
thanks, great work :)

Just noticed, is it possible to get, Warlock, Shaman, and Warrior, to the right of the image like the rest of them?

The class name is just slighty below the image.

:P

I don't have that problem on my site. It might be the type of style you are running on your site, especially if your site is "narrow". I tell you what though, here's what I'm going to add in version 1.2.6:
  • Ability to adjust table width and column widths in vboptions.

This way, when a site is slightly different, you can always tweak your site to fix these types of issues. I'll put together that in 1.2.6 which will be released sometime soon.

Thanks for the feedback and yes, I personally want the ability to immediately change styles etc. on any site right away. This should take care of that.

Gooner 06-16-2007 12:52 PM

thanks :) this is like testing programes to work on windows and linux :P in this case to work on fluid and fixed width sites. :) great work by the way

that ability will help alot and give much much more flexibility

[edit] any idea on the lockpicking bug?

elricstorm 06-16-2007 12:54 PM

Quote:

Originally Posted by Gooner (Post 1269727)
i did update mate :) but the images of warrior, warlock and shaman are still slightly below the image, and a rogue has talent as lockpicking.. his tree is 26.3.32

screenshot

Yep, that actually is correct. Blizzard named "subtlety" to "lockpicking" on their arrays. I'll fix that and elementalcombat, feralcombat, etc. in 1.2.6 also. As for your screenshot, I can almost guarantee you that you have a "narrow" site. That's most likely the reason why you are having that. I have a wider site and I don't have those issues.

So, the 1.2.6 version with the ability to adjust widths on the fly will fix that for a lot of people. As always, with anything new, there's always a few minor setbacks.

elricstorm 06-16-2007 01:30 PM

Here's a test version of 1.2.6 with the ability to adjust table and column widths through vboptions. It's not formally released because it hasn't been tested but any of you are more than welcome to let me know how it works. Note, this does not have the talent name fixes in it though.

Gooner 06-16-2007 01:36 PM

ill tst it right now and report back in a short while

Gooner 06-16-2007 01:44 PM

the customizable row/column width is working great, it has fixed the problem i had with my images, Great addition. :)

Gooner 06-16-2007 01:54 PM

a few features ideas that i have thought of over the last few days, you might fancy.
  • Option to remove the "Maybe" option on signup.
  • Option to hide/show images.

The reason for the maybe option is because our guild leader doesnt allow people to be a maybe, It doesnt help out leaders when they need to know who will be there, They are eather raiding or not, and if they are going to be late they can leave that in coment, I have to remove the maybe code from your scrip everytime i download it :)

and the images option, I personally like the images but i thought some guilds may not. Just some ideas if you get bored :P

elricstorm 06-16-2007 01:58 PM

Quote:

Originally Posted by Gooner (Post 1269775)
a few features ideas that i have thought of over the last few days, you might fancy.
  • Option to remove the "Maybe" option on signup.
  • Option to hide/show images.

The reason for the maybe option is because our guild leader doesnt allow people to be a maybe, It doesnt help out leaders when they need to know who will be there, They are eather raiding or not, and if they are going to be late they can leave that in coment, I have to remove the maybe code from your scrip everytime i download it :)

and the images option, I personally like the images but i thought some guilds may not. Just some ideas if you get bored :P

I'll look into the maybe option but the hide/show images option is already in there. You just overlooked it. :)

Oh by the way, do me another favor since you are running the new test. Here, upload these two files and let me know if that fixes both talent issues. Feralcombat should show Feral and lockpicking should show subtlety.

EDIT: Keep in mind it won't fix the talents right away - you may have to input the name as a test to see. Column data only updates when the "person signed up" revisits the page.

Gooner 06-16-2007 02:10 PM

Just tested those files and they are "Working as intended" :D, btw the rogue talent changed instantly from lockpicking to subletly, without any other name modification. :) looks like the calander caught it by itself and changed it.

elricstorm 06-16-2007 02:16 PM

Quote:

Originally Posted by Gooner (Post 1269784)
Just tested those files and they are "Working as intended" :D, btw the rogue talent changed instantly from lockpicking to subletly, without any other name modification. :) looks like the calander caught it by itself and changed it.

Okay, great - well I'll work on a few things later on this weekend and then probably release 1.2.6. I need to add checking for "secondary skills" also. I just found a tiny naming bug on a level 11 that didn't have professions or secondary skills. Of course, this won't affect most players because almost everyone has at least one secondary skill. However, I like it clean. :)

Thanks for the testing.

Gooner 06-16-2007 02:37 PM

my pleasure, anything i can do to help the progression of this fantastic mod

Hyrel 06-16-2007 04:18 PM

OMG, all this work for that! /cry I put a shortened form of my alts name. What if there is no Alt 2 though? We're only allowed 1 alt in the guild.

Gooner 06-16-2007 04:28 PM

they dont need to fill the alt names in, nobody on my guild uses the alt names :)

Hyrel 06-16-2007 04:43 PM

Oh you just have to have the field for it...cool.

It is working, we're getting there. Still takes about a minute to load and that seems to be something to do with the custom php. The titles above the fields aren't lining up right though.

http://www.rivalnation.com/forums/ca...do=getinfo&e=5


And it have class before race and on the bottom they are the other way around.

Gooner 06-16-2007 05:01 PM

you are better to install a non hacked virsion of the system. it should work find then

elricstorm 06-16-2007 06:00 PM

As I mentioned in the .chm help file, the alternate names should be set as "optional". That's why they should not be a required field. Remember, some people have alternates and some people do not. Also, the ability to turn the alternates system off and on is right in the options. I tried to make the calendar "very admin friendly" and it's only going to get better in this regard.

Gooner is correct. Use a non-hacked version of the product file. Also, the product contains "phrase names" for everything. All you have to do is go to your phrases in your admincp and change the phrases to support whatever language you want. It's really that simple. :)

Hyrel 06-16-2007 06:01 PM

This isn't a hacked one, it's the new 1.2.6. hacking only comes after it's fixed, no fun messing up something that already has an issue ^_^

Only thing I want to change really will be the image it's using for the tables backgrounds..maybe add the class images at the top too.

Hyrel 06-16-2007 06:05 PM

I actually had the alts turned off or set to 0 anyways. But it had a hissy fit when I didn't have an alt in the alt 2 slot, so i just put a partial name in there to see if that would make it happy. didn't even think about it not being able to look the name up on the armory. But then if alts were turned off why was it trying to look it up anyways?

elricstorm 06-16-2007 06:57 PM

Version 1.2.6 Changes
  • Added new vboptions for adjusting table width
  • Added new vboptions for adjusting "all column" widths
  • Changed the talent naming to "direct" naming so now this information is not pulled from the armory but from a function instead
  • .chm file will not be updated this release (will change it next release)

Version now released.

Enjoy.

Changed files are the functions and product files so make sure you re-upload the new functions file (everyone).

elricstorm 06-16-2007 07:00 PM

Quote:

Originally Posted by Hyrel (Post 1269879)
I actually had the alts turned off or set to 0 anyways. But it had a hissy fit when I didn't have an alt in the alt 2 slot, so i just put a partial name in there to see if that would make it happy. didn't even think about it not being able to look the name up on the armory. But then if alts were turned off why was it trying to look it up anyways?

Turning the "alts" system off excludes the ability for people to signup on alternates. It does not change the function from checking those fields though.

matt2cacnio 06-17-2007 02:15 AM

very good addon. Good job ;). Worked like a charm

Gooner 06-17-2007 04:29 PM

some of my members seem to be having problem with my callender, any idea?

Quote:

The calendar is buggy atm, lots of members are complaining about it timing out and throwing them out

elricstorm 06-17-2007 04:58 PM

upgrade to 1.2.6 for starters with the new functions

Make sure you upload the latest functions file as well as overwrite the product file when upgrading to 1.2.6.

Gooner 06-17-2007 05:03 PM

i have, im the one who tested it for you

Gooner 06-17-2007 05:07 PM

i changed the armoury timeout from 15 to 5, to see if that makes a difference. other than that i dont know.

Hyrel 06-17-2007 06:57 PM

elricstorm , would it be possible for me to get a copy of the code that doesn't use the armory? The load time from having to use the custom php is just too slow. The guild will want to go back to the eqdkp planner if I leave it the way it is.

Making them keep their profiles up-to-date isn't really an issue. We have enough competition on raids that if they want to go they will make that a priority.

I know I'm asking alot, but thought I'd see if you could before I try hacking it ^_^ My sainty is at stake here ;)

What I would like to have is the ability to custom set the background of the table head since what it pulls from VB isn't really a good option unless it can be resized. have a large class icon for the totals count table. All of which I'm pretty sure I could do.

Then the sign ups have name, level, class with the image, spec, race (no image), and comments but all the data minus the comments comes from customer user fields. Also would be kind of cool if the totals and the sign ups could be separate boxes.

I'll gladly donate for your work. I've spent more time trying to get this working then the whole rest of the website.

elricstorm 06-17-2007 07:56 PM

Quote:

Originally Posted by Gooner (Post 1270428)
i have, im the one who tested it for you

Gooner, you still need to upgrade. I changed the product code and the functions (even from the one you tested) :), upgrade to the newest. :)

Also, no issues on our calendar here. I just double checked with my primary and test sites. Let me know how the new code works and which armory you are using - is it EU or US?

elricstorm 06-17-2007 08:05 PM

Quote:

Originally Posted by Hyrel (Post 1270475)
elricstorm , would it be possible for me to get a copy of the code that doesn't use the armory? The load time from having to use the custom php is just too slow. The guild will want to go back to the eqdkp planner if I leave it the way it is.

I'll see what I can do with the next version mate - I might try to condense code with the new and see if I can create an armory and a non-armory version. Although trying to keep tabs on two separate product files might be a bit difficult. I'll see what I can do. What I may do instead is have a toggle so you can turn "off" armory checking once you've updated information.

I'll have to think about it. :)

elricstorm 06-18-2007 11:25 AM

Here you go hyrel. Here's a very old version 1.1.3 you can use that does not have the armorydata or alternates in it.

Enjoy.

Nrf_Tivoli 06-18-2007 03:13 PM

If characters haven't been updated via the armory yet and a character above them in the list has been profiled it will display the info from the character above them.

Code:

06-15-2007 05:13 PM        Tivs        70        Priest  Priest          Shadow            Male Undead  Undead         
06-18-2007 01:01 AM        Kjen        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 07:12 AM        Wd        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 07:13 AM        Onyxx        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 07:29 AM        ryse        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 08:31 AM        Kensie        70        Priest  Priest        Shadow        Male Undead  Undead        sure why not

Otherwise if they are before the player it appears correct like this.

Code:

06-18-2007 06:29 AM        Nulil                                                 
06-18-2007 07:00 AM        Croissant                                             
06-18-2007 07:12 AM        Wd                                             
06-18-2007 07:28 AM        Onyxx                                             
06-18-2007 07:29 AM        ryse                                             
06-18-2007 07:55 AM        Cyla                                             
06-18-2007 08:30 AM        Kensie                                           
06-18-2007 11:13 AM        Kjen                                             
06-18-2007 02:39 PM        Tivs        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 02:58 PM        Madelyn        70        Priest  Priest        Holy        Female Undead  Undead         
06-18-2007 04:02 PM        wanis        70        Warlock  Warlock        Affliction        Male Undead  Undead


elricstorm 06-18-2007 04:20 PM

Quote:

Originally Posted by Nrf_Tivoli (Post 1271032)
If characters haven't been updated via the armory yet and a character above them in the list has been profiled it will display the info from the character above them.

Code:

06-15-2007 05:13 PM        Tivs        70        Priest  Priest          Shadow            Male Undead  Undead         
06-18-2007 01:01 AM        Kjen        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 07:12 AM        Wd        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 07:13 AM        Onyxx        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 07:29 AM        ryse        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 08:31 AM        Kensie        70        Priest  Priest        Shadow        Male Undead  Undead        sure why not

Otherwise if they are before the player it appears correct like this.

Code:

06-18-2007 06:29 AM        Nulil                                                 
06-18-2007 07:00 AM        Croissant                                             
06-18-2007 07:12 AM        Wd                                             
06-18-2007 07:28 AM        Onyxx                                             
06-18-2007 07:29 AM        ryse                                             
06-18-2007 07:55 AM        Cyla                                             
06-18-2007 08:30 AM        Kensie                                           
06-18-2007 11:13 AM        Kjen                                             
06-18-2007 02:39 PM        Tivs        70        Priest  Priest        Shadow        Male Undead  Undead         
06-18-2007 02:58 PM        Madelyn        70        Priest  Priest        Holy        Female Undead  Undead         
06-18-2007 04:02 PM        wanis        70        Warlock  Warlock        Affliction        Male Undead  Undead


If a person signs up for an event and then they go back and change their main character name or alternate name, it will pull the information from the previous person because there isn't any information updated for them yet. As an example:
  • I have Drabin, Tyllarik, and Luttiano as my Main, Alternate1, Alternate2.
  • I signup for 4 events with Drabin.
  • I go into my usercp and swap my main character out to Angello.
  • If I visit the calendar, Drabin is signed up but there isn't any information for him because he is no longer listed in the armorydata table.
  • The only way to update the information is to signup with Angello, in which case Drabin is completely removed and replaced with the correct main signup name.

This is not a bug but rather an underdeveloped result of the newness of the armorydata features. The only way it occurs is if someone is signed up to an event that never had armorydata pulled. In the interim, the easiest solution is to make sure you uninstall the product and reinstall the product when upgrading to any version that introduced the armory data and alternates system (i.e. version 1.1.3 upgrading to 1.2.6 you would have to do this) and re-edit the events and force new signups if you have a lot of events already signed up to. The second easiest solution is to tell your members to visit "any event" - even events they haven't signed up to and it will forceably update the information.

As a new feature, I'm working on a way to manually update all currently signed up names via an admin button for certain groups. This would ensure that you could forceably fix any db issues right away, without having to wait for members to come visit.

This issue should not occur for "most people". It usually occurs for people who upgraded from a very old version to a very new version.

Hyrel 06-19-2007 09:35 PM

*hugs* thank you thank you!


All times are GMT. The time now is 01:25 AM.

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.01898 seconds
  • Memory Usage 1,869KB
  • 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
  • (11)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
  • (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