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. :)


All times are GMT. The time now is 11:56 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.01338 seconds
  • Memory Usage 1,747KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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