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)

Truestyle 04-18-2008 02:32 PM

I made it work but not in the way it should work.
I modified the functions_wowcharcode.php file.

I made the following change :
Code:

        function SetRealmName( $realmname )
        {
                $this->realmname = "Kul Tiras";

This way it does load up the character name.

But this also shows that the plugin somehow does not accept the realmname in " " format.
Maybe you can find out why it is not processing the realmname in the right way when there is a space involved in the realmname.

sweede 04-18-2008 08:01 PM

Thats odd.

I tried using Dark Iron and it didnt work. the URL that was being used had a url encoded + in it ( wowarmory likes to see spaces replaced with a + )

Removing the urlencode, which changed the URL back to having the + (instead of %2B) caused several of my test entries to work.

setting the realm name by hand as you have done, shouldnt cause your setup to instantly work unless you have done other modifications to the code or are using an old version.

Caerydd 04-18-2008 09:12 PM

I hadn't noticed this issue, and I'm on a realm name -The Sha'tar- which has a space, but then I haven't updated recently, and that realm name is used by default so all my users just use [char]username[/char]

sweede 04-18-2008 09:40 PM

<a href="http://underthemain.net/forums/showthread.php?t=2" target="_blank">http://underthemain.net/forums/showthread.php?t=2</a>

for anyone that is interested, the above is the sute where I dev and you'll be able to see the latest char sheet changes.

one big change is that I'm moving to its own config option page in vbb, but that's till a ways off

sweede 04-19-2008 11:07 AM

Oh, and something for you wonderful vbb 3.7 users


http://underthemain.net/forums/member.php?u=1
(click the wowcharprofile tab)

Truestyle 04-19-2008 11:29 AM

Quote:

Originally Posted by sweede (Post 1494069)
setting the realm name by hand as you have done, shouldnt cause your setup to instantly work unless you have done other modifications to the code or are using an old version.

I am using Vbb 3.6.7 at the moment.
I downloaded your most recent version from this site.
Other then a few plugins i have no special file edits on my forum site.

I am just glad I got it to work.

quarum 04-22-2008 02:19 PM

Question -

I use vBadvanced - my forums are all in the /vb folder but my index.php is located in the root of my site.

This mod works on the forums, but on the index.php page in my root the images are all missing.

Any idea why the images would not show up in the root but they do in the /vb?

Thanks all!

sweede 04-22-2008 04:01 PM

It's pathing issues. I'll have to add another option to the wowchar code options to fix it.

quarum 04-26-2008 02:58 PM

Quote:

Originally Posted by sweede (Post 1496664)
It's pathing issues. I'll have to add another option to the wowchar code options to fix it.


I updated to 48a and now it will not even work on the vBadvanced home page. When I upgraded I removed all files as well and did a full install from 47 to 48a.

sweede 04-26-2008 08:39 PM

Quote:

Originally Posted by quarum (Post 1499828)
I updated to 48a and now it will not even work on the vBadvanced home page. When I upgraded I removed all files as well and did a full install from 47 to 48a.

It appears that vba CMPS rewrites urls in things like <javascript> tags so that it finds them in the correct location. I wasnt aware that it did that.

Edit the WoWChar_headerinclude template and replace the first 3 lines of the template with the following

HTML Code:

<script type="text/javascript" src="clientscript/wowbbcode_js/ajax-dynamic-content.js" defer="DEFER"></script>
<script type="text/javascript" src="clientscript/wowbbcode_js/ajax.js" defer="DEFER"></script>
<script type="text/javascript" src="clientscript/wowbbcode_js/ajax-tooltip.js" defer="DEFER"></script>



All times are GMT. The time now is 09:39 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.01188 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)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