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)

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 ?


All times are GMT. The time now is 09:51 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.02038 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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