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 09-02-2008 07:41 PM

I know ive been neglecting this mod a lot lately, but it's not intentional and its not because I dont want to maintain it anymore

Fixing the issues involves a slightly higher coding skill than i currently had and ive been knee deep in object coding and design to figure out how to get past the configuration problem (having character stats that are displayed to be infinitly variable) and working on getting the display tooltip to position itself correctly (which doesnt seem like it will happen actually).

Over the next month or so i'll be re-writing all of this to provide higher support for vbulletin installations and i would also like , in the event that warhammer or AoC releases some type of XML based character browser such as the wow armory, avialable for other games with little modifications.

Also, don't ask about DeathKnight support. I cannot add deathknight anything until they show up in the WoW Armory. I will try to see if i can get some info from wowarmory@blizzard.com though.

maf1973 09-02-2008 10:17 PM

Hmm... how can it be enabled in the postbit?
Everywhere in the Forum the [char] Code work, but not in the Profile Field.

I created a new Field19 and tested it with [char]Name[/char], but it only show this,
if i try this in a Thread it works perfect?

How could that be? Any Ideas how to enable this in the postbit

sweede 09-03-2008 10:53 AM

Quote:

Originally Posted by maf1973 (Post 1613155)
Hmm... how can it be enabled in the postbit?
Everywhere in the Forum the [char] Code work, but not in the Profile Field.

I created a new Field19 and tested it with [char]Name[/char], but it only show this,
if i try this in a Thread it works perfect?

How could that be? Any Ideas how to enable this in the postbit


It's pretty hackish, and tbh i never really tested or updated it , but i already have a plugin that hooks the postbit_display_start ... hook, and sets up a variable that will put the armory link where ever you add the variable $wowchar_code

So where you want to add your char info in your template, simply put $wowchar_code there.

You will need to create a character profile field, 12 chars max, single line text, that is used for the character name.

For right now, you need to use the default realm option in the admin cp.

It's a pretty easy thing for me to update, i'll get something much better up in a few days.

maf1973 09-03-2008 04:28 PM

Nice, works perfect.

Another Question, is it possible to list more than 1 character with this?

Heretiko 09-09-2008 10:12 AM

hi and many compliments, nice job!!!! i would like to ask you if there is any chance to have this mod for hosts without a cURL function...

thanks in advance!

sweede 09-09-2008 10:42 AM

Quote:

Originally Posted by maf1973 (Post 1613741)
Nice, works perfect.

Another Question, is it possible to list more than 1 character with this?


I'm not sure what you mean.
Do you want to do a side by side comparison of two characters and their stats or do you want to have generic info, such as a char portrait, lvl race, professions, etc (and no stat info) of any and all characters listed ?

I'm sure i could do both actually..

Insanity.TM 09-22-2008 11:46 AM

hello, i have a little problem

i don´t have a pop up,...this is only create a link, but dont a popup

sorry for my english xD i´m a german guy ^^

Insanity.TM 09-22-2008 01:58 PM

sry for double post

here is a screen from the warning

http://www.magyarviszla.de/hperror.JPG

sweede 09-22-2008 07:32 PM

your problem is pretty apparent in your screenshot..

your host does not allow the use of fopen to open URLs.

Tolas 09-23-2008 04:07 PM

Just started getting this error today:

http://img58.imageshack.us/img58/6201/erroruv6.jpg

Worked fine a day or two ago and the php file has not been changes as far as I know. I also re-downloaded the latest version and uploaded that file again to be sure.

Same issues.

Any thoughts?

squidsoup 10-30-2008 09:30 PM

Hey there, got a wee problem - I'm trying to add a link in user post bits, but for some reason I'm getting some concatenation of the character name custom field, and the previous custom field (in this case Biography). Any ideas? thanks :)

https://vborg.vbsupport.ru/external/2008/10/4.png
https://vborg.vbsupport.ru/external/2008/10/5.png

I think I might see the problem - on line 354 this is hard coded:

Code:

$wowchar_server  = $post['field1'];
I changed this to reflect a custom field I defined for server and it fixed the problem, but it's a bit hacky.

The problem is that if the custom field 'field1' is already defined, it skips the if statement which would set the realm name correctly:

Code:

if(!$wowchar_server)
{
        $wowchar_server = $vbulletin->options['wowcharcode_default_realm'];
        $wowchar_use_default =  true;
}


sweede 10-31-2008 10:46 AM

I hate warcraft.

I play that stupid game so much i have little time to fix these issues. well, most of them i have fixed but i keep changing my vbulletin installation and losing most of my updates.

the whole postbit thing is very "hacky". it was a quick addition as sort of "proof" type thing that i never really advanced.

hunteds911 11-18-2008 01:33 PM

Is there going to be an update to fix the issue with Death Knights? I get the following error wnow when I put the name of a character that is a Death Knight.

Code:

Invalid argument supplied for foreach() in [path]/includes/functions_wowcharcode.php on line 908
I love the mod by the way just looks like maybe it wasn't liking Death Knights for some reason. lol All my other Classes come up fine no error just the Death Knight getting the error listed above.

sweede 11-24-2008 09:06 PM

Quote:

Originally Posted by hunteds911 (Post 1668063)
Is there going to be an update to fix the issue with Death Knights? I get the following error wnow when I put the name of a character that is a Death Knight.

Code:

Invalid argument supplied for foreach() in [path]/includes/functions_wowcharcode.php on line 908
I love the mod by the way just looks like maybe it wasn't liking Death Knights for some reason. lol All my other Classes come up fine no error just the Death Knight getting the error listed above.

An Update is coming this time i swear!!

but it wont be until after thursday when i'm finished with my work week.

Nadeemjp 11-25-2008 01:36 AM

is this a list of all the bb codes ?
what does it basically do?
and when would the non-beta, i.e., more stable product be launching?:confused:

hunteds911 11-25-2008 02:32 PM

Quote:

Originally Posted by sweede (Post 1672235)
An Update is coming this time i swear!!

but it wont be until after thursday when i'm finished with my work week.

You "Rock" Thanks man... Awesome mod/hack. :)

hunteds911 11-25-2008 02:34 PM

Quote:

Originally Posted by Nadeemjp (Post 1672401)
is this a list of all the bb codes ?
what does it basically do?
and when would the non-beta, i.e., more stable product be launching?:confused:


It was pretty stable until the Death Knights came into the picture. :) Other than the Death knights popping up errors like I posted earlier it has been working swimmingly for me. :)

sweede 11-28-2008 05:46 PM

I had an update planned for today/tomorrow but with the armory changes and the achievements , i want to try to work something out to show those off also (as an option). I'm pretty sure that everything with the latest update should fix most of the errors. I am going to put out another minor update soon that change how it gets data from the armory that doesnt use curl.

There is a new display and i am working on a config panel. You will have configurable blocks that will have various options to display. you will be able to select what blocks for each class to display.

With the achievements though this could change a bit as i want to have something cool with those.

hunteds911 12-02-2008 11:28 AM

Quote:

Originally Posted by sweede (Post 1674669)
I had an update planned for today/tomorrow but with the armory changes and the achievements , i want to try to work something out to show those off also (as an option). I'm pretty sure that everything with the latest update should fix most of the errors. I am going to put out another minor update soon that change how it gets data from the armory that doesnt use curl.

There is a new display and i am working on a config panel. You will have configurable blocks that will have various options to display. you will be able to select what blocks for each class to display.

With the achievements though this could change a bit as i want to have something cool with those.

Awesome can't wait to see it. :)

exportforce 12-20-2008 01:07 PM

Which xml to use ?
The one included in the zip or the external ?

sweede 12-21-2008 12:58 PM

zip file.

the other XML is a phrase / language translation in german and not needed unless you want , german.

AureliusFL 12-23-2008 08:59 AM

I'm having trouble getting this to work in the latest version of Mozilla Firefox 3 and Google Chrome. The error seems to be local, here's what i'm getting...

Security Error: Content at http://forlornlegacy.net/showthread....1945#post21945 may not load data from http://www.forlornlegacy.net/ajax.ph...=1230029756124.

Error: uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "http://forlornlegacy.net/clientscript/wowbbcode_js/ajax.js Line: 87"]

sweede 12-23-2008 10:48 AM

for your own security, browsers will not load AJAX scripts that call other websites.

forlornlegacy.net is different than www.forlornlegacy.net

If you went to http://www.forlornlegacy.net/showthr...1945#post21945 it would work properly.


Check your vbulletin options to make sure the URLs are correct, but that doesnt prevent people from not typing the www (or typing it). it's a shame that vbulletin doesnt do forced location redirects to ensure that your visiting the URL that is in the vbb options.

Also, this effects any ajax script, not just this one.

Hawnted 01-15-2009 07:42 PM

How do you add gear to base stats? I am showing 400 def but have well over 540. I saw one other person posted this, and you posted a fix, but that did not work for me. Just errors out on the tooltip.

Here was your answer

https://vborg.vbsupport.ru/showthrea...se#post1453628

Mailah 01-20-2009 03:19 PM

Is there any way to get it to show class coloring for the link? Obviously it can't the first time, but after it is cached, couldn't it pull the class from the cached version?

mat64 01-26-2009 08:43 PM

Currently seems to be semi working with 3.8.0

One thing I've noticed is that level 80 character avatars don't seem to work. It just shows the standard low level avatar.

Edit: Fixed this myself, edited functions_wowcharcode where it retrieves the avatar to include a elseif statement for level 80s so it retrieves that avatar rather than the default avatar because the level is unknown.

sweede 01-31-2009 10:33 PM

To the last 3 posters (Multiquoting seems to be broken).

I am currently working on a utility that will allow people to import their current profession recepies and skills and allow you to search it. once that is complete i will go back and fix these issues and a couple others

Mat64, Thanks for the update, i'll diff your changes and add them into the current zip.

NeroObsedian 03-21-2009 07:29 AM

Quote:

Originally Posted by mat64 (Post 1725596)
Currently seems to be semi working with 3.8.0

One thing I've noticed is that level 80 character avatars don't seem to work. It just shows the standard low level avatar.

Edit: Fixed this myself, edited functions_wowcharcode where it retrieves the avatar to include a elseif statement for level 80s so it retrieves that avatar rather than the default avatar because the level is unknown.

I tried using this and it didn't seem to of fix the lvl 80 issue. I'll mess around with it more over the next few days.

I'm also getting some odd results. I have this mod installed on two boards that are both the same version using the same style. One works flawlessly while the other works in FF and I receive a Permission Denied error in IE for line 88 character 6. I'm just getting back into code and all, going to investigate further soon. - Lame, I feel like a retard heh... My site linked to my forums without the www. Once I manually entered the www. and changed the link it worked with no issue.

Xeon3D 04-14-2009 08:12 AM

There's an error I believe if the character name includes accents it'll display an error on the tooltip.

I tried with Xéòn from EU-Wildhammer.

wfguild 06-24-2009 06:04 AM

Firstly, thanks for this mod - it looks great and its been very well received.

However it appears that the parsing of the talents (and consequently spec) is a little out, as we notice a number are saying different but also the talent points aren't showing beside the spec, just two /'s .

If this is something I can fix or you can look at, it'd be very much appreciated.
Thanks!

Glenn379 06-26-2009 08:30 AM

This may sound like a stupid question but can anyone explain how this works exactly? Does it pull info straight from the WoW servers somehow or is it user input information? I'm working on getting a user input based LOTRO mod similar to this but I'd obviously rather have it automated. I'd love to know! :)

MrShides 06-27-2009 12:39 PM

It pulls the data from the xml in wowarmory.com

Also swede baby, we are eagerly waiting an update (and hopefully one with native support for the postbit hack you gave me earlier, my users love it!)

Liquid_N2 08-10-2009 08:49 AM

Hi there,

Installed this mod, works fine on 3.8.3 and looks great. I just have one small issue whereby the talents do not seem to be displaying correctly. The screenshot is what is currently display (Balance) but the character is actually Feral ( http://eu.wowarmory.com/character-sh...n=Convertibull )

http://www.hopelessheroes.co.uk/down...es/wowchar.png

Cheers for any help you can offer.

Forage 09-05-2009 10:05 PM

Just recently after changing themes on my Forums I am noticing an error at the top -

Warning: Invalid argument supplied for foreach() in [path]/includes/functions_wowcharcode.php on line 930

Searched around a little but can't seem to locate the resolution or figure out where the error is coming from. This is only happening on profile pages for users and it's VB 3.8.1

Liquid_N2 09-17-2009 12:11 PM

^ same here actually.

wfguild 05-15-2010 02:26 AM

Has anyone been able to fix the above error, or get it working on VB v4?

y2krazy 06-10-2010 01:43 PM

Any chance that this will ever be updated to work with (at least) 3.8 without the current issues?

Thanks in advance! :D

CoZmicShReddeR 09-30-2010 06:48 PM

I would like to see this working correctly for Vbulletin 4.x if anyone could modify it or share it with me would appreciate it!


All times are GMT. The time now is 10:17 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.01542 seconds
  • Memory Usage 1,832KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)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