vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   World of Warcraft - Talent Calculator CMPS (https://vborg.vbsupport.ru/showthread.php?t=113075)

Zachariah 04-14-2006 10:00 PM

World of Warcraft - Talent Calculator CMPS
 
/* -----------------4/14/2006 8:00PM -----------------

World of Warcraft - Talent Calculator

Tested on:
  • vBulletin 3.5.4
  • vBadvanced CMPS v2.0.1

Zachariah - http://www.gzhq.net

Demo
--------------------------------------------------*/

################################################## ########
Info and credits |
------------------

This is a little tool provided by Wowhead to calculate stats for Blizzard's World of Warcraft.

- Center Block (width: 375px to 500px)



Wowhead Talent Calculator Help - ? 2006 Marginal Team
-------------------------------------------------------

Link to this build - Provides a link to a new page with the current talent
setup already there! Useful (and intended) for showing friends a talent build.
In order to properly link to a build on the talent calculator page, please follow
these steps:
  • Make the build you'd like to link to.
  • Right-click the "Link to this build" link.
  • Select "Copy Shortcut" if you're using Internet Explorer, or "Copy Link Location" within Firefox.
  • To paste the URL, right-click and select "Paste."

Alternatively, you can left-click the "Link to this build" link and copy/paste the
URL from your browser's address bar.

Summary - Opens up a new page with a textual representation of your chosen talents. Nice if you want to paste the talents you've chosen somewhere, and would prefer it written out over just throwing links around.

Printable version - Opens up a new page that provides a textual representation of
your chosen talents. This differs from 'Summary' in that it tells exactly what the
talents do, the required level, and the actual build (7/23/21, for example).

Import from Blizzard's calculator
- Provides a pop-up text window where you can
type in (or paste, that'd probably be easier) the URL of a talent build made with
Blizzard's calculator, to get converted to our much cooler format.

Zachariah 04-15-2006 04:35 AM

1st Post

partyBoi 04-15-2006 07:16 AM

Looks pretty cool. I'm an avid WoW player, too bad my forums aren't WoW related though.

:banana:

Phalynx 04-15-2006 08:47 AM

Great thing, thanks

GamerzWorld 04-15-2006 09:13 AM

Just tried to install on my board and nothing is loading. Didnt really understand the style.css part and therefore missed it... Maybe you could explain it better?

http://www.mirzone.net/indexalt.php?page=wowtalent

Kru 04-15-2006 01:20 PM

Quote:

Originally Posted by GamerzWorld
Just tried to install on my board and nothing is loading. Didnt really understand the style.css part and therefore missed it... Maybe you could explain it better?

http://www.mirzone.net/indexalt.php?page=wowtalent

The problem is that the module doesn't make the import correctly.

For everybody who has the same problem open the template: adv_portal_wowhead and overwrite the old code with this one:

PHP Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder" width="100%">
<
tr>
</
tr>
<
tr>
<
td class="$getbgrowwidth="100%">

<
script>
var 
mt_width 500;
var 
mt_class 1;
var 
mt_css   
</
script>
<
script src="http://www.wowhead.com/talent/include.js"></script>
</
td>
</
tr


Zachariah 04-15-2006 01:55 PM

Quote:

Originally Posted by Kru
The problem is that the module doesn't make the import correctly.

I had a feeling it was not going to work.

Hack updated
- Manual add of the module vs. import system.

Kru 04-15-2006 02:05 PM

Quote:

Originally Posted by Zachariah
I had a feeling it was not going to work.

Anyway it is a very good hack. :)

"Installed" ;)

BioVader 04-17-2006 07:05 AM

Good deal.. I changed mine around a bit.. I took the script from vBRadio and modified it to have this script popup.

In the header find.
Code:

<td class="vbmenu_control"><a href="/forums/memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
Under it place:
Code:

<script type="text/javascript">
<!--

function Openwow(){
Talents = window.open('/forums/talents.html','Talents','directories=no,height=650,width=500,location=no,menubar=no,resizable=no,status=no,toolbar=no')

return false;
}

-->
</script>
<td class="vbmenu_control"><a href="#" onclick="return Openwow()">Talents</a></td>

Since I don't know how to do php I made an .html popup. So in notepad paste this info and save the file as talent.html and place it in your forum dir.

Code:

<head>
<title>WoW Talent Calculator</title>
</head>
 <body bgcolor="#555555" leftmargin="0" topmargin="5" marginwidth="0" marginheight="0">

<!-- logo -->
<a name="top"></a>
<!-- PAGEHEADER -->
<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<td>
<script>
var mt_width = 500;
var mt_class = 1;
var mt_css = 'http://www.yoursite.com/forums/style.css';
</script>
<script src="http://www.wowhead.com/talent/include.js"></script>
</td>
</table>
</body>

Now open notepad again and make a file called style.css and cut and paste the following;
Code:

body { background: transparent }
Upload that file to your forum dir.

What would be cool would be to have this:
https://vborg.vbsupport.ru/attachmen...6&d=1145078853
in a CPMS side panel and when you click on the class it opens and popup for that class...

Prodimysterio 04-17-2006 05:02 PM

Thanks for this nice addition! My community and I thank you.

:)

*installed*


All times are GMT. The time now is 01:11 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.01192 seconds
  • Memory Usage 1,749KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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