Customizing SMF > Modifications and Packages

WoW Characters 1.9.0

(1/60) > >>

nightbre:
Link to Mod
--------------------------------------------------------------------
   World of Warcraft Character Profile Mod V 1.9.3 
        by Nightbre originally made by yutt.
--------------------------------------------------------------------
       04.12.2010 Updated to add new races and Characters to the Memberlist page.
--------------------------------------------------------------------
Features:

Admin Options:  >  Features and Options >  [WoW Characters]


User Options:  >   Profile       >  [WoW Characters]


What this package does:

Installation for the following themes from this package.


Default SMF theme  > (1.1.3 - 6)(Should be ok with themes based on default or minor code insertions)

wowdk_115v1   > (1.1.5)

wowdk_114v1   > (1.1.4)

TP_Risen_WoW_v1 (Tinyportal version or you will get errors in your logs)

Testing was done on SMF version 1.1.6

Admin instructions:

Enter admin console and select: Features and Options >  [WoW Characters]

You set the default realm name here which must be exactly the same as your warcraft server name.
You choose european or Oceanic server (U.S) (Tick for europe)
You choose weather to show the option for members to set their own realm(server name) or they use the default set server instead.

User instructions:

Enter Profile       >  [WoW Characters]

You are presented with the option to select up to 5 warcraft characters attributes on this page.
You must enter your character name correctly for your wow armoury link to work.

Armoury links:

The default realm or custom realm if the user selects must be correct along with the character name for the armoury link to work correct.
You will be taken to Blizzard armoury page upon clicking the name of the character.
The armoury will not work for characters below level 10.

Installation:

If you get any errors in the test before install do not proceed until you know why you have the error.
As with any mod there is potential for error so you should make sure it functions correctly for your
forum setup and current mods.Your forum install should auto skip any file not required on themes not
installed and return no errors.

This pack was tested on a clean 'mod free' forum with only the listed themes and no other mods
so if you do encounter an error it may be caused by another mods changes to the code and you
may have to add it manually.

Always back up important data before making changes to your forum!!! I accept no responsibility
for any faults or losses caused by this modification.

If you have any questions or issues concerning this package please post in the support thread for this mod.

In the pipeline:

Version 2 for SMF 2.x












Camealion:
Really cool mod.

the only problem I seen is that the url for the us realms was not correct.

the mod adds:
./Themes/default/Profile.template.php

--- Code: --- //North America and Oceania Servers
$armory_url = "http://armory.worldofwarcraft.com/#character-sheet.xml?r=";


--- End code ---

the way I got it to work was to take out the #

--- Code: --- //North America and Oceania Servers
$armory_url = "http://armory.worldofwarcraft.com/character-sheet.xml?r=";


--- End code ---

but since I did that it works great. 

Thanks for the cool addition to my site.

nightbre:

--- Quote ---the only problem I seen is that the url for the us realms was not correct.
--- End quote ---

I was not aware the US URL had changed and since I have an EU account I couldn't actually try it to a character sheet.It did used to use the # but they must have changed it slightly.

I will double check the US URL and I will incorporate the change into an update so it is permanently fixed for all. ;)

And thanks for pointing this out as well.

Truff:
Thanks for this, I have it installed and working on my site :)

One request however: is it possible to limit the display on the forum posts to just the first character (your main), leaving the rest only viewable in the profile?

With this option it would be useful for some people to have more than the current limit of 5 characters - can this be changed easily?

nightbre:

--- Quote ---One request however: is it possible to limit the display on the forum posts to just the first character (your main), leaving the rest only viewable in the profile?

--- End quote ---

This can be done easily by doing the following.

Uninstall WOW Characters, You wont loose saved Characters
Open wow_character_profiles.xml  in the 1.9.0 folder

Find line 597:(3/4 way down file)


--- Quote ---for ($i = 1; $i <= 5; $i++) {
--- End quote ---

Change the 5 to a 1 like so


--- Quote ---for ($i = 1; $i <= 1; $i++) {
--- End quote ---

You will now have just main in posts and alts visible on profile page.

Now reinstall the mod and all previously saved characters will still be there.

The limit of 5 is something I will look at as well but might need a little more effort than the fix above for posts.

Navigation

[0] Message Index

[#] Next page

Go to full version