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)

elricstorm 06-10-2007 04:07 PM

Quote:

Originally Posted by Gooner (Post 1265538)
Thanks mate, ive requested a few things from my host, so im waiting to see what they do, if not, im moving host, the only problem though is i dont know how to move my website domain to a new hosting site. anyone know?

  • Download your site.
  • When you go to your new hosting provider you point your domain to the new DNS and 24 hours later or less it's in effect. (new hosting provider can help you with that)
  • Upload your site.

I would do it similarly to that because your old hosting provider probably doesn't do file transfers.

elricstorm 06-11-2007 01:54 AM

Hyrel, read your PMs mate. I found your issue and posted why it was happening. If you fix the two settings I gave you, it will work 100%. Thanks mate.

VenomMaster 06-11-2007 06:30 AM

Hey elric,

first let me say that this hack is absolutely incredible! I'll consider to donate for this... :D

But i have a little issue with your Mod. Maybe it's only my fault, but if you have special chars in the charname (like ? or ?), it seems not to load the informations from the database or from the armory.

How can you override this?

See an example here:
http://cm.digitalrose.de/forum/calen...y=2007-6-9&c=1

and meant is this character:
http://armory.wow-europe.com/#charac...n=Jah%C3%AAira

Greets,

Venom

elricstorm 06-11-2007 10:46 AM

Quote:

Originally Posted by VenomMaster (Post 1266026)
Hey elric,

first let me say that this hack is absolutely incredible! I'll consider to donate for this... :D

But i have a little issue with your Mod. Maybe it's only my fault, but if you have special chars in the charname (like ? or ?), it seems not to load the informations from the database or from the armory.

How can you override this?

See an example here:
http://cm.digitalrose.de/forum/calen...y=2007-6-9&c=1

and meant is this character:
http://armory.wow-europe.com/#charac...n=Jah%C3%AAira

Greets,

Venom

The simple answer is I will have to use urlencode on the name before it's passed to the URL. Otherwise the URL can't decode the special characters. I'll do a couple of tests on this. As long as there are no other special characters like apostrophes etc. in a wow name - this should not be an issue and should be a rather simple fix.

VenomMaster 06-11-2007 01:52 PM

Sounds nice. I#m looking forward for it^^ If you need anything, just call :D

elricstorm 06-11-2007 02:44 PM

Quote:

Originally Posted by VenomMaster (Post 1266264)
Sounds nice. I#m looking forward for it^^ If you need anything, just call :D

Download this product file, import it and overwrite your old one and tell me if it does the trick. If it does, I'll publish.

Thanks.

VenomMaster 06-11-2007 06:05 PM

Wow... that was really fast.

I tried it, but in my case i had to add an utf8_en(de)code. The URI has to be right, since it changes "Jah?ira" to the preferred "Jah%C3%AAira".

But it doesn't seem to save or fetch any data from the armory. If i call the generated URI in my browser, it works, and if i put in another charname, without accents, it works too.

quite spooky...

[edit]

WoW, i finally got it. It's enough to urlencode & utf8_encode the name in the url, anything else can be left as it is.

I also added the german translations for the fetched data. I'll attach it below.

Again thank you very much for this really great hack.

-Venom

elricstorm 06-11-2007 07:22 PM

Quote:

Originally Posted by VenomMaster (Post 1266380)
Wow... that was really fast.

I tried it, but in my case i had to add an utf8_en(de)code. The URI has to be right, since it changes "Jah?ira" to the preferred "Jah%C3%AAira".

But it doesn't seem to save or fetch any data from the armory. If i call the generated URI in my browser, it works, and if i put in another charname, without accents, it works too.

quite spooky...

[edit]

WoW, i finally got it. It's enough to urlencode & utf8_encode the name in the url, anything else can be left as it is.

I also added the german translations for the fetched data. I'll attach it below.

Again thank you very much for this really great hack.

-Venom

Can you reattach the product file with your changes? I'd like to see what you changed. I was actually quite curious about the encoding/decoding and how that would pan out. I figured it would at least get you started in the right area. I can probably add a dropdown for the different encoding types in vboptions and then leave the most common as default. That way the URL would encode correctly based off what you saved.

I believe what you are saying is just to leave the urlencode() in the URL parse and not add the decode() parameters.

VenomMaster 06-11-2007 08:32 PM

Hey elric,

quite right... I removed all en/decode options ad just added one urlencode(utf8_encode()) at the place where the name is passed.
For getting this to work i had to add three Columns in the "armordata"-table.

Since i was very enthusiastic, i changed something more than that:
  • Now you have a picture instead of therace and class for every signed up member.
  • The Race picture is selected by the race and the gender.
  • Completely dynamic change between EU and US-Servers - If you play on EU, all races and classes show up in german, otherwise i left it english...

However, i thik you'll find your way. Here it is! (only the plugin, 'cause it doens't export the template changes...)

elricstorm 06-11-2007 11:16 PM

Wrong plugin. But, I know what you did and what encoding you used. I'm not sure why you had to create three more columns though.

I actually have pictures on my site as well. I do the same with my roster file. However, I just haven't put the code in because I don't like adding things that others can't turn off. So, I'm leaving styles for later on. :)

Hyrel 06-12-2007 03:19 AM

Aye got your PMs and sent the memo to my hosting company. They said sure it's easy to fix, here compile your own php5 on your server. So a friend set about doing that last night..never did get it work. he was trying to do some kind of walk around for it to make the curl work instead. I'm not sure what's going on now, because the data you imputed is now showing up correctly. Not sure what's going on now.

Gooner 06-12-2007 05:05 AM

Finally got my new site up with a new host, Forums installed and your mod was the first plugin on, :), i was just wondering when you plan to add the raid instance information thingy that is in your screenshot :), looks cool.

VenomMaster 06-12-2007 05:29 AM

Quote:

Originally Posted by elricstorm (Post 1266611)
I'm not sure why you had to create three more columns though.

I added them to read the genderid from the xml, to use the male/female-pics. Anyways, if there's a possible way to change the things in a way others can choose, (i'm shure there is one), i have to say that i don't kow it :D

However, it works great for me.

-Venom

Hyrel 06-12-2007 06:10 AM

ok new thing, if anyone signs up as a YES it is posting the default data, but not if they say no or maybe.

elricstorm 06-12-2007 10:58 AM

Quote:

Originally Posted by Gooner (Post 1266732)
Finally got my new site up with a new host, Forums installed and your mod was the first plugin on, :), i was just wondering when you plan to add the raid instance information thingy that is in your screenshot :), looks cool.

I have two scenarios to accomplishing this. I can either add "additional columns" to the calendar custom field table or I can create a completely new table and attempt to create a sql class that works with the new table. The latter seems a bit harder so far but that's the one I'm trying to work with because I don't like working with vbulletin tables. I might have a third option but I have to wait and see.

I will have something up within a week or two to test with.

elricstorm 06-12-2007 11:03 AM

Quote:

Originally Posted by Hyrel (Post 1266751)
ok new thing, if anyone signs up as a YES it is posting the default data, but not if they say no or maybe.

Hyrel, if you go into your admincp -> maintenance -> view php info...

You will see that you still have:
  • allow_url_fopen Off Off
  • allow_url_include Off Off

Set these to on and you shouldn't have any issues. Also, please make sure you didn't modify the code. Step by step here is what I would do initially:
  • Change the php.ini files with the changes to the allow_url etc.
  • Uninstall the product completely
  • Reinstall the product completely
  • Re-edit your test event and allow folks to signup.
  • Test signups.

Make sure the product you use has "0" modifications to it - not saying it doesn't but just want to make sure that's what you use. If you do that, I can safely say it will work 100% with your site.

Also, remember that after you recompile, you need to reboot your server to get the new php.ini changes to take effect.

elricstorm 06-12-2007 03:52 PM

Quote:

Originally Posted by VenomMaster (Post 1266739)
I added them to read the genderid from the xml, to use the male/female-pics. Anyways, if there's a possible way to change the things in a way others can choose, (i'm shure there is one), i have to say that i don't kow it :D

However, it works great for me.

-Venom

You would use conditionals in the column template to choose between..

HTML Code:

<if condition="$show_images == 1">
    <img src="imagepath/image.jpg">
<else />
    <if condition="$show_images == 2">
        <img src="imagepath/image.jpg">&nbsp;$field#
    <else />
        $field#
    </if>
</if>


$show_images would be a equal to a vboptions setting for (0 = off) (1 = image only) (2 = image + class/race etc name).
$field# would be equal to the field for race, class, etc. for the column.

I will add something similar to this in one of the upcoming releases. So, no need to go through the extra work. It's better to simply say, hey Elric can you add a feature for "x" rather than customize something that I would otherwise do.

Thanks,

Hyrel 06-12-2007 05:14 PM

Ok, back to tyring to get the php5 installed ^_^ I'll try doing it myself this time and see what happens. Thanks for not giving up on this noob! :)

elricstorm 06-13-2007 03:26 PM

I will have version 1.2.4 released by this weekend. It will include two new columns for gender and talents. It will provide support for EU special naming characters. It will have full phrasenames in place for all English names so that EU users can phrase easier. It will provide image support for icons. Overall, it's looking pretty solid so far. I think you'll like it once it's updated. I'm still working on the customcalendar fields but that wont' be released for another version or 2.

Gooner 06-13-2007 04:16 PM

Sounds great, Cant wait, Like the though of having icons :D

Hyrel 06-14-2007 09:06 AM

oooh can't wait~ Finally got it working! It's just very very very slow, like it's having to upload form the armory each time, is that right?

elricstorm 06-14-2007 10:34 AM

No, it shouldn't be slow. If you have a slow hosting site that could be part of the problem. It only queries the site and updates the information for the individual looking at the event. If it does get slow or goes down, the curl features and the conditionals should bypass the site altogether. My site is fairly fast but then I have a pretty good hosting plan too. Remember, that speed will affect each user on an individual basis also. So, for instance, if my ISP provider went down or was having problems reaching the armory, I would be the only one having issues and would use the conditionals to bypass the site. Whereas, others would have no problems whatsoever.

I'm not sure how it would run on a privately built or pre-made server. I've always found those types of servers to be slower. That's why I won't privately host my own site.

And, glad you finally got it working!

elricstorm 06-14-2007 11:45 PM

Version 1.2.4 Changes
  • Added encode features for utf8 to handle European characters such as umlauts in names.
  • Added a new column for talents. The most points spent in a given talent determines the primary name of the spec you are trained in. Furthermore, if you hover over the talent entry you can see the full talent numbers trained.
  • Added a new column for gender.
  • Added the ability to include images.
  • Class icon images and gender/race/class specific images are displayed on columns.
  • When images mode is on, gender:race becomes a combined column. If you hover over the gender:race icon, you will see the full alternate name for the person.
  • When images mode is off, gender and race become split columns instead.
  • Added 3 new functions to handle the new imaging and talent codes implemented.

Enjoy.

Edit: I almost forgot. I corrected phrase names as well so that now all english words are phrased. This should help out the european community a bit.

Gooner 06-15-2007 05:10 AM

Great work, Only 1 problem is that every person race has undead male image, even trolls, orcs taurens, all have same undead male image :)

And my Talent space is blank, nothing shows in it. maybe this is because im viewing signups on an old raid which happened yesterday?

Gooner 06-15-2007 06:31 AM

False Alarm, I made a blank event and tested it, And it works PERFECT, Its just the current events which were made before the updated virsion got installed doesnt update, Your update is perfect, And i cant wait to see what you add in 1.2.5, I hope there is no end to what you can add. :D

elricstorm 06-15-2007 10:42 AM

Yeah if you just overwrite, there won't be information tied to image icons and talents until the person visits the event. That's why there's a dirty way and a clean way. I actually installed via the dirty way because my members visit so often, I knew they would update their information automatically in a quick timeframe. I wrote that down in the main section on updating to 1.2.4 - hopefully people read it. And, again, thanks.

And, just to reiterate, the OLD events will update - but only when your members visit "any" of the events on your calendar. When they do, their information is updated in the armorydata table and then all events they signed up on, even old ones, will update with the right information.

Zarith 06-15-2007 07:27 PM

My talents column doesn't work it says cloth... but if i hover the tooltip shows the breakdown.

elricstorm 06-15-2007 08:44 PM

Quote:

Originally Posted by Zarith (Post 1269244)
My talents column doesn't work it says cloth... but if i hover the tooltip shows the breakdown.

What class -> what talent tree ->

Provide the character name -> the server name -> and the locale (EU or US) and I can throw up a test script and look right at the array naming variables.

The problem may just be with the armory. All of the trees are set properly via the armory array, but I did notice that instead of subtlety for rogues, they listed that tree as "lockpicking" - lol. All of the talent trees so far are checking out. Let me know which one that one is.

I can place in a substitution naming for the ones that blizzard list incorrectly. It's not a problem with the mod though. That's a problem with array naming conventions that blizzard decided to use with the armory.

Noxious 06-15-2007 09:30 PM

1.2.4 works perfect for me, fantastic

Zarith 06-15-2007 10:26 PM

Quote:

Originally Posted by elricstorm (Post 1269273)
What class -> what talent tree ->

Provide the character name -> the server name -> and the locale (EU or US) and I can throw up a test script and look right at the array naming variables.

The problem may just be with the armory. All of the trees are set properly via the armory array, but I did notice that instead of subtlety for rogues, they listed that tree as "lockpicking" - lol. All of the talent trees so far are checking out. Let me know which one that one is.

I can place in a substitution naming for the ones that blizzard list incorrectly. It's not a problem with the mod though. That's a problem with array naming conventions that blizzard decided to use with the armory.

Dukkon, US, Muradin
I'm a Elemental Shaman.

When i hover over the cloth, it shows the proper talent points 41/0/# But it says Cloth instead of Elemental.

elricstorm 06-15-2007 10:48 PM

I'll take a peek at that - I have no problems with our elemental shamans and their talent listings. I'll let you know what I find out.

elricstorm 06-15-2007 10:57 PM

Aha, I figured it out. You have no "professions" whatsoever. So, your array number was (1) different. That's good to know. As I mentioned before, it's good to test things out to find out any differences. I'll add some variable checking in 1.2.5 that fixes that problem, amongst some other very tiny tweaks. Thanks for the heads up mate. :)

As an explanation:

The normal arrays for most people (because everyone that I know of has at least one profession) would show:

Code:

[3][0][key][talent1]
[3][1][key][talent2]
[3][2][key][talent3]

but your array points to armor skill values instead

Code:

[3][0][key][cloth]
[3][1][key][leather]
[3][2][key][mail]

I'll just provide some checking against non talent listings and that will fix the issue. Expect a fix before the end of this weekend.

Thanks.

elricstorm 06-15-2007 11:22 PM

Quote:

Originally Posted by Zarith (Post 1269244)
My talents column doesn't work it says cloth... but if i hover the tooltip shows the breakdown.

Zarith try this test version please and let me know how it works.

Zarith 06-15-2007 11:49 PM

Quote:

Originally Posted by elricstorm (Post 1269378)
Zarith try this test version please and let me know how it works.

Still doing the same thing, still shows cloth.

Zarith 06-15-2007 11:51 PM

Quote:

Originally Posted by Zarith (Post 1269384)
Still doing the same thing, still shows cloth.

I had a thought, I know the idea is to take the info from armory, but if you got the values from the 3 trees, you could build in the greatest # = which spec, with the exception of hybrid. Just throwing that out there.

elricstorm 06-16-2007 01:42 AM

Quote:

Originally Posted by Zarith (Post 1269388)
I had a thought, I know the idea is to take the info from armory, but if you got the values from the 3 trees, you could build in the greatest # = which spec, with the exception of hybrid. Just throwing that out there.

Nah, not necessary. I actually had a typo in the file I sent to you last time. Here try this one and it should work fine. I tested with your name and it worked for me. Let me know please.

Hyrel 06-16-2007 01:43 AM

could you look at this code and see if anything jumps out at you as being wrong?

I changed the fields to match my own and they seem to work right, but the total count won't update nor are the colors right.

elricstorm 06-16-2007 01:50 AM

Quote:

Originally Posted by Hyrel (Post 1269433)
could you look at this code and see if anything jumps out at you as being wrong?

I changed the fields to match my own and they seem to work right, but the total count won't update nor are the colors right.

Hyrel what version is that you are using?

Edit: Ewww you are using a heavily modified european version of 1.1.2.

Erm, you changed quite a bit in that old version. Honestly, I would work with the latest version and just fix your backend php problems. No sense working around those kinds of issues. I would suggest not hacking the file directly and if you see something you need to include, if the option makes sense, I can add it. I've done that for european hacks quite a bit. I've really made the code versatile enough and the options available enough so that it works with everything.

Zarith 06-16-2007 03:17 AM

Quote:

Originally Posted by elricstorm (Post 1269432)
Nah, not necessary. I actually had a typo in the file I sent to you last time. Here try this one and it should work fine. I tested with your name and it worked for me. Let me know please.

Says Elementalcombat instead of Elemental. But close! :)

elricstorm 06-16-2007 04:23 AM

That's correct then. That's normal.


All times are GMT. The time now is 09:15 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.01435 seconds
  • Memory Usage 1,859KB
  • 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_code_printable
  • (1)bbcode_html_printable
  • (16)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