vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - WoW Character BBCode (https://vborg.vbsupport.ru/showthread.php?t=169389)

sweede 03-07-2008 10:04 PM

you need to give me more information than just "it doesnt work". What character/realm locale (eu/us) are you trying to link.

Something like that is most likely that the character isn't found in the armory.

Mother_Dee 03-08-2008 02:25 PM

I'm now getting the blank black box with "Level:" for all the mouseovers on my frontpage module. It appears it's because of an Armory issue, though it's super frustrating right now because half the time it's working and half the time it looks like I have a massively broken mod (not your fault here.)

Possibility on caching data perhaps or something along those lines for when the PoS we know as the WoW Armory is broken (which is a lot, I'm afraid.)

Here's a screenie of what has been happening on and off recently:

http://img299.imageshack.us/img299/8...ererrorae1.jpg

ssslippy 03-16-2008 10:01 PM

This is a creative way of doing this but wouldnt it be better with a bbcode? It currently breaks whenever you edit a post.

Deepdog009 03-21-2008 08:10 PM

Great update Sweede...

I've been traveling allot and haven't had the time to update anything...

keep the ball rolling...

If I come across anything new I shall feed it your way...


Good Luck 2 ya

sweede 03-25-2008 10:19 AM

Quote:

Originally Posted by ssslippy (Post 1466529)
This is a creative way of doing this but wouldnt it be better with a bbcode? It currently breaks whenever you edit a post.

I personally never was a fan of a plugin that required the users to do more than upload an XML file and maybe a couple php files.

Expecting every user to enter the bbcode exactly right every time would be foolish on my part. I would rather spend time supporting actual problems in my code than making sure that every user that says "it doesnt work" has their bbcode setup properly first.

I may have a solution that would satisfy all of us though.

sweede 03-25-2008 10:50 AM

Quote:

Originally Posted by sweede (Post 1474050)
I personally never was a fan of a plugin that required the users to do more than upload an XML file and maybe a couple php files.

Expecting every user to enter the bbcode exactly right every time would be foolish on my part. I would rather spend time supporting actual problems in my code than making sure that every user that says "it doesnt work" has their bbcode setup properly first.

I may have a solution that would satisfy all of us though.

After reveiwing the bbcode option (I would insert the following as an SQL statement during installation,
Code:

INSERT INTO `vb3_bbcode` VALUES ('','char','<a href="http://www.wowarmory.com/character-sheet.xml?r=%2$s&amp;n=%1$s" target="new"
onmouseover=\'ajax_showTooltip("ajax.php?do=wowcharcode&amp;server=%2$s&amp;char=%1$s",this);
 return false\' onmouseout=\'ajax_hideTooltip()\'><strong>&lt;%2$s: %1$s&gt;</strong></a>'
'[char=Vek'nilash]Dragontaru[/char]',
'Character BB Code',1,
'Character Code Tag','',1)

I have found that this solution would not work at this time.
The problem is when a server with a ' in it, such as vek'nilash. Vbulletin doesnt escape the param/option variables to work within javascript (changing them to their character code equivelent)

Also using the bbcode in this way does not allow you to setup your "default realm" in an easy and simple manner, and several other planned options.

maevonee 03-26-2008 05:32 PM

Heres a link to my forum so you can see the problem im having. Please if you could help me fix it I would really appreciate it!

http://www.guilddarkstorm.com/forum/showthread.php?t=86

Mother_Dee 03-26-2008 10:08 PM

Yesterday, while spending 8+ hours on emergency Sunwell site work due to a Blizzard ninja major content patch, my front page module with the Officers listed gave me only the small black box with Level: inside.

Today, it works fine again. I never know which days the data pulls and which it does not. It's boggling. :) Regardless, when it DOES work it's very, very nice!

Misc. daily rant not relating to this thread: I despise Blizzard's PoS Armory. :)

robertfels 03-29-2008 12:51 AM

I've got it. There is an error with the char code of this product.

Solution - Create an new BBCode:
Title:
What you want

Tag:
armory (IMPORTANT: NOT char)

Code:
<a href="http://eu.wowarmory.com/character-sheet.xml?r=Aegwynn&n={param}" target="new" onmouseover='ajax_showTooltip("ajax.php?do=wowchar code&server=Aegwynn&char={param}",this); return false' onmouseout='ajax_hideTooltip()'><strong>&lt;{param }&gt;</strong></a>

Example:
[armory]Klappzwerg[/armory]

Description:
What you want

{option} usage:
OFF

Remove Tag If Empty:
No

Disable BB Code....:
Yes

Disable Smileys....:
Yes

Disable Word Wrapping:
Yes

Change the realm in the code to your default code. With this code its not possible to use another server, but i think you have a guild and your frinds are on the same. If you want it with other server, you should create a second BBCode with {option} enabled and then try to insert that.

Have fun!

sweede 03-29-2008 10:34 AM

I will try to update today with a version that will email the forum admin a whole bunch of error related stuff when you mouse over a tooltip. you can then forward those to me and i can see what i need to fix to either prevent these silly errors or create work arounds and do some real error handeling.

working 12hrs + raid + sleep has taken a lot of my time away from fully supporting this (and my other) product.


All times are GMT. The time now is 10:20 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.01315 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
  • (1)bbcode_code_printable
  • (2)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
  • (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