Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Night09 on October 16, 2008, 11:46:21 PM

Title: WoW Characters 1.9.0
Post by: Night09 on October 16, 2008, 11:46:21 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1208)
--------------------------------------------------------------------
   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












Title: Re: WoW Characters 1.9.0
Post by: Camealion on October 17, 2008, 05:26:30 PM
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

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



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

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



but since I did that it works great. 

Thanks for the cool addition to my site.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 17, 2008, 08:23:30 PM
Quotethe only problem I seen is that the url for the us realms was not correct.

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.
Title: Re: WoW Characters 1.9.0
Post by: Truff on October 18, 2008, 12:29:26 PM
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?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 18, 2008, 02:26:11 PM
QuoteOne 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?

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)

Quotefor ($i = 1; $i <= 5; $i++) {

Change the 5 to a 1 like so

Quotefor ($i = 1; $i <= 1; $i++) {

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.
Title: Re: WoW Characters 1.9.0
Post by: Garou on October 21, 2008, 12:03:05 PM
 
Quote from: nightbre on October 02, 2008, 07:40:09 AM
I got 1.1.6 running ok but the default realm has a problem and wont use the database data to finish the armory link.

I got a post up here for any ideas but no replies to it yet lol so working to sort that as we speak.

Its running ok otherwise apart from everyone has to specify the server they're on for armory to be right.If it cant be resolved ill write the option out and make it a user only option to fill it in but hopefully it wont have to be done.If its fixed today ill sub it today so its soon as I can I will.

I just installed the latest version of the mod as posted earlier on SMF 1.1.6 with Tiny Portal and I'm still having this issue. In fact I cant get it to save any of the info from the admin panel. I type in the Default Realm Name as well as clicking the option for Allow Custom Realm and the info isn't saving. After I click save, it pops me out to the default Features and Options page. When I go back to the Setup page the info I typed isn't there.

So then I went ahead and tried to edit the settings in the actual profile anyway and the Custom Realm option isn't there.  The info doesn't show up on the profile in the default theme.

Using the the wowdk_114v1 theme I get the message "An Error Has Occurred! Unable to load the 'wowchar' template When I try to go to the edit profile page. On the admin page there is no text even on the Features and Options page where it should read [WOW Characters] you just see []

In posts everything shows up right except for the link. The link comes out as...

http://armory.worldofwarcraft.com/#character-sheet.xml?r=&n="the characters name" instead of http://www.wowarmory.com/character-sheet.xml?r="realm name"&n="characters name"

For now I'm going to assume that's because the Realm settings aren't saving.

I compared the installation instructions at http://custom.simplemachines.org/mods/index.php?action=parse;mod=1208;attach=72404;smf_version=1.1.6 to my actual files and everything seems to match so I'm at a loss.

*Garou looks confused*

Sorry I forgot to mention that on install
Quote./Sources/ModSettings.php     Test failed
./Themes/default/Profile.template.php    Test failed
I installed anyway and hand edited those files. There was one line missing in each the rest of the code was intact.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 21, 2008, 12:27:07 PM
QuoteI got 1.1.6 running ok but the default realm has a problem and wont use the database data to finish the armory link.

I got a post up here for any ideas but no replies to it yet lol so working to sort that as we speak.

Its running ok otherwise apart from everyone has to specify the server they're on for armory to be right.If it cant be resolved ill write the option out and make it a user only option to fill it in but hopefully it wont have to be done.If its fixed today ill sub it today so its soon as I can I will.

This is all irrelivant now and the final release does not have this issue.
Did the database entry install properly since this is where the info is saved.(FTP into phpadmin to find out for sure its there)

QuoteI installed anyway and hand edited those files. There was one line missing in each the rest of the code was intact.

What do you mean by a line is missing ? A line of code ? You might need to move the wow Character code in the 2 files to another position if you already have edits in these files for other mods.

Have you checked on the default theme as this should give you a better idea if its installed as well.(database wise)
Title: Re: WoW Characters 1.9.0
Post by: Garou on October 21, 2008, 12:53:40 PM
I just thought to check the Data Base and no for some reason it didn't create the DB files. Was coming back to mention that. I guess Ill have to hand create those as well. Wonder what went wrong there, as this is the first mod not to enter the DB data. /shurg

As for the missing part... well the 'install with errors" left out the parts it couldn't find.

For instance where its looking to do this...

$context['sub_template'] = 'show_settings';

$subActions = array(

'basic' => 'ModifyBasicSettings',
'wowchar' => 'ModifyWoWCharSettings',


It couldnt because couple of other Mods installed their info before 'basic' => 'ModifyBasicSettings', So that was a pretty basic fix. I just had to enter the 'wowchar' after the basic line. Nothing drastic there, I'm use to it because a lot of mod installs are messed up that way.

Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 21, 2008, 01:27:33 PM
Yes the first fix you show is right.

The profile code is split into 2 blocks of code on install if you check so both will need inserting manually. If you look for the code it was searching for on install but didn't find it will give you an idea where to edit the file then.

Likely your other mods changes have made it so it cant find the right points like the modsettings.php did.

Also make sure post info in the themes settings is set to show on left or you wont see characters in posts.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 28, 2008, 01:10:26 PM
I'm getting the EXACT same error that Garou got above:

QuoteUsing the the wowdk_114v1 theme I get the message "An Error Has Occurred! Unable to load the 'wowchar' template When I try to go to the edit profile page. On the admin page there is no text even on the Features and Options page where it should read [WOW Characters] you just see []

I installed it into a wowdk_114v1 theme... SMF is 1.1.6 -- just need some advice as how to get it up and running.
I'm sure I have to dig around in the code... but just don't know where to start.

Thanks!
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 29, 2008, 01:07:24 PM
There appears to be an issue with wowdk_114v1 theme. You will need to add the 2 blocks of code manually into the profile template and create the database entry so it can save the settings.Look for the points it is searching for then manually insert the code into the profile.template.php.You may have to place it after other mods changes to the file.

Did you get an error showing up on install the same as Garou ?

It only appears to be this theme with the issue,could you possibly upgrade to wowdk_115 or 6 to get round this issue? I know it may not be possible because of other forum modifications but its an option.

I have not got a copy of wowdk_114v1 to hand and I am struggling to get it since I had a crash on the drive it was stored on.If possible can someone attach this version then I can resolve this easier for all by repairing the problem it has.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 29, 2008, 01:09:17 PM
Thanks for the reply -- I will upgrade to wowdk_115 and see if that solves the problem... if not, I'll try the manual route. I will post back with my results shortly...

P.S. -- how do I install to a wowdk_116 installation? Manually? Or does the WoWChar installer work for wowdk_116?
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 29, 2008, 10:11:17 PM
I think there is something wrong with my Database entry... all the sections appear properly now... but just with no text. Where is it supposed to pull the labels for those sections? I also noticed the dropdowns are empty as well... but when I look at the code, the Class/Race options are visibly there... but not populating the dropdowns for some reason.

Where in the database is the information supposed to be stored? How can I know if it's not working?

Oh, and i'm doing this on 116 now.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 29, 2008, 10:18:06 PM
OK this isn't even working on the Default theme.... I think I need to backtrack and see what's happening. Maybe time to do a fresh install.
Title: Re: WoW Characters 1.9.0
Post by: Garou on October 29, 2008, 11:33:36 PM
After I went in  and modified all the code by hand I got it to work under the 114 theme, except it still wont read from the default realm settings. That said the custom realm works just fine so I just informed my users to make sure they fill that in when they fill out the form.  It may not work the way its supposed to but its still usable. /shrug

FatMagic, if you are using Tiny Portal you must use the 114 theme as the 115 hasn't been ported over to use their custom codes. As for the 116 I'm not sure and didn't even know that it was released yet. Ill have to go check. as for it not working at all for you now...

Have you added other mods? Did you change any of the code in the default even by accident? Ive made that mistake a time or two when porting Mods to another theme. Occasionally I get sloppy and paste into the wrong file. LOL
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 29, 2008, 11:56:37 PM
Garou,

Thanks for the reply -- I will try what you are suggesting. I will use the 114 Theme to try and make it work. I think there is even a TP version of the theme out there as well.... i'll see if that helps.

And yes I think I have other mods in there. The 1.1.6 update for SMF, and a ShoutBox. I think that's all. Should I just go back to step 1 with my templates, and try from there? I think I may have to :-/
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 01:40:37 PM
When you first go to install this mod, what files are actually showing up as error to you ?
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 01:54:04 PM
OK so I started all over.... fresh SMF install. Only package I applied was the 1.1.6 SMF update. I installed the WoWDK114 Theme as well. BUT using the DEFAULT theme, I installed WoW Characters 1.9.0 -- and it applies with NO errors at all. But there is still no text on the Admin or Profile section... I see [] and that is all. See images below...

Here are images of what I see:
http://img374.imageshack.us/my.php?image=wowchar1ea4.jpg
http://img374.imageshack.us/my.php?image=wowchar2cb7.jpg
http://img356.imageshack.us/my.php?image=wowchar3zu8.jpg
http://img374.imageshack.us/my.php?image=wowchar4rz4.jpg

I want to get this right before I make any more changes. So what changes do I need to make by hand to get the descriptions to show up in the Admin & Profile section?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 02:01:08 PM
Check Themes/default/languages/modifications.english contains the following text string entries:

//WoW Characters
         
$txt['ctitletxt'] = 'You can add your World of Warcraft characters on this page. This information will be displayed throughout the forum. If you are not comfortable with sharing some information, simply skip it - nothing here is required.';
         
$txt['blood_Elf'] = 'Blood Elf';
$txt['draenei'] = 'Draenei';
$txt['dwarf'] = 'Dwarf';
$txt['gnome'] = 'Gnome';
$txt['human'] = 'Human';
$txt['night_Elf'] = 'Night Elf';
$txt['orc'] = 'Orc';
$txt['tauren'] = 'Tauren';
$txt['troll'] = 'Troll';
$txt['undead'] = 'Undead';

$txt['deathknight'] = 'Death Knight';         
$txt['druid'] = 'Druid';
$txt['hunter'] = 'Hunter';
$txt['mage'] = 'Mage';
$txt['paladin'] = 'Paladin';
$txt['priest'] = 'Priest';
$txt['rogue'] = 'Rogue';
$txt['shaman'] = 'Shaman';
$txt['warlock'] = 'Warlock';
$txt['warrior'] = 'Warrior';

$txt['chartitle'] = 'Character Profile Settings';
$txt['cname'] = 'Character Name';
$txt['clevel'] = 'Character Level';
$txt['cguild'] = 'Character Guild';
$txt['crace'] = 'Character Race';
$txt['cgender'] = 'Character Gender';
$txt['cclass'] = 'Character Class';
$txt['crealm'] = 'Character Realm';
$txt['character'] = 'Character';

$txt['male'] = 'Male';
$txt['female'] = 'Female';

$txt['wowchar'] = 'WOW Characters';
$txt['wowchar_defaultRealmName'] = 'Default realm Name';
$txt['wowchar_allowCustomRealm'] = 'Allow custom realm?';
$txt['wowchar_europeanRealm'] = 'European realm (default North American)?';


If it is not there that will possibly be why they show blank.Make sure the php closer is at the bottom of the file
Quote?> 

Its possible the closer isnt there or in the wrong place.Let me know if this has helped to cure the blanks for you.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 02:04:43 PM
HEre is what is in the "Modifications.english.php" file:

<?php
// Version: 1.1; Modifications

//WoW Characters

$txt['ctitletxt'] = 'You can add your World of Warcraft characters on this page. This information will be displayed throughout the forum. If you are not comfortable with sharing some information, simply skip it - nothing here is required.';

$txt['blood_Elf'] = 'Blood Elf';
$txt['draenei'] = 'Draenei';
$txt['dwarf'] = 'Dwarf';
$txt['gnome'] = 'Gnome';
$txt['human'] = 'Human';
$txt['night_Elf'] = 'Night Elf';
$txt['orc'] = 'Orc';
$txt['tauren'] = 'Tauren';
$txt['troll'] = 'Troll';
$txt['undead'] = 'Undead';

$txt['deathknight'] = 'Death Knight';
$txt['druid'] = 'Druid';
$txt['hunter'] = 'Hunter';
$txt['mage'] = 'Mage';
$txt['paladin'] = 'Paladin';
$txt['priest'] = 'Priest';
$txt['rogue'] = 'Rogue';
$txt['shaman'] = 'Shaman';
$txt['warlock'] = 'Warlock';
$txt['warrior'] = 'Warrior';

$txt['chartitle'] = 'Character Profile Settings';
$txt['cname'] = 'Character Name';
$txt['clevel'] = 'Character Level';
$txt['cguild'] = 'Character Guild';
$txt['crace'] = 'Character Race';
$txt['cgender'] = 'Character Gender';
$txt['cclass'] = 'Character Class';
$txt['crealm'] = 'Character Realm';
$txt['character'] = 'Character';

$txt['male'] = 'Male';
$txt['female'] = 'Female';

$txt['wowchar'] = 'WOW Characters';
$txt['wowchar_defaultRealmName'] = 'Default realm Name';
$txt['wowchar_allowCustomRealm'] = 'Allow custom realm?';
$txt['wowchar_europeanRealm'] = 'European realm (default North American)?';

?>


That was there from the base install... but hasn't cured the problem yet. Does it have anything to do with the 1.1.6 SMF install?
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 02:07:10 PM
GOT IT! I forgot to change from English-UTF8 to just plain English! Now for more testing....
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 02:28:24 PM
QuoteGOT IT! I forgot to change from English-UTF8 to just plain English! Now for more testing

When I originally rewrote the mod I had to remove utf8 to make the language files compatable for translation before the mod team would approve it.Turn off utf8 for sure,this may cure the issue now since the faults are based round text.

I will add this to the description text now I think about this.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 03:18:58 PM
OK! So I've tested it a bit. It works except the "#" sign in the Armory link (which is mentioned above by a previous poster). I can easily fix this.

And then I changed over to the WoWDK114 theme.... and I ran into problems. When I try to access the WoW Characters on my personal profile, it says "An Error Has Occurred! Unable to load the 'wowchar' template." So I'm kinda back where I was before, but I think I might be more successful in fixing it since it's a "base" install. So what was the solution for fixing that again?

And in the Admin / Features + Layouts section, the words are all gone again... must be missing in the Language file I assume. So i'll check on that.

OH! And if you want the TinyPortal WoWDK 114 Theme i'm using, here it is: http://www.lionsofjudah.us/wowdk_114v1.zip
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 04:34:31 PM
Thanks for that link, I will look at this now and see what the issue is and post back.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 04:37:37 PM
No problem. I look forward to seeing what you find out....

And also, even though it is a TinyPortal Theme, I don't have TinyPortal installed currently. But I'm using it so when I DO turn on TinyPortal, it will work. So it's just a base install of SMF 1.1.6 + WoWDK 114 + WoW Char 1.9.0
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 05:27:07 PM
Right can you uninstall what you have now and use the attached zip and let me know if this has fixed all the WoWDK 114 issues.

I have just made some changes for WoWDK 114 and also to remove the # from the US urls.

You need to be sure WoWDK 114+ Have post data set to left in the settings for the theme so characters show in posts correctly.

Try this as a fresh install and all should be fine.


Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 05:56:21 PM
Excellent, I will try this build and see how it goes. Thank you so much for editing it.

And is there a way to make the post data set to the left easily? Or will I have to modify this by hand?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 06:11:13 PM
In the theme settings on wowdk it is a built in option you can set. You dont need to make any edits or the likes for this.

Go to Admin > current theme (wowdk) and look for 'Posters information position' halfway down and set from default to left.

Thats all you need to do to set it ;)
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 06:47:27 PM
Ok! So I did a totally fresh install again, and I got further than last time. The install was flawless. It works right off the bat on the Default template -- but something strange also happened. Only the FIRST character was showing up on the "left side post" instead of all 3 that I created. But in my actual Profile, it shows all 3 characters.. but on the left side forum post, it's only showing the first one.

2nd, I then loaded the WoWDK theme - and all the text is showing up! YES! And the Admin/Feature+Options section works great.... but the Personal Profile area is still throwing "An Error Has Occurred! Unable to load the 'wowchar' template." again.... was there something I need to do manually to make that work? Oh, and even though it doesn't load the wowchar template, it still shows my first character that I added in the default template.

So we're almost there!! :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 07:02:50 PM
QuoteOnly the FIRST character was showing up on the "left side post" instead of all 3 that I created

That is a small change I made to the code after someone else mentioned it and can be set back pretty easy.

Quote2nd, I then loaded the WoWDK theme - and all the text is showing up! YES! And the Admin/Feature+Options section works great.... but the Personal Profile area is still throwing "An Error Has Occurred! Unable to load the 'wowchar' template." again.... was there something I need to do manually to make that work? Oh, and even though it doesn't load the wowchar template, it still shows my first character that I added in the default template.

Im on a default install with 114 and the profile page is displaying correctly to me and shows all 5 characters I set. Im just trying to see why it hasnt shown up correctly for you.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 07:27:53 PM
What calls up the WoWChar template? Is there a setting I can check to see if it's missing?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 07:37:39 PM
The profile template should have 2 blocks of code to call up from.Check in your 114 theme that it has put them into profile.template.php as that is directly responsible for the display of info there when you look at profile.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 07:38:24 PM
Ok great... i'll check into that now :)
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 08:36:52 PM
Ok so those 2 bits of code were NOT on the 114 profile.template.php -- and the 2nd block of code keeps causing it to throw an error:

QuoteTemplate Parse Error!
There was a problem loading the /Themes/wowdk_114v1/Profile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_STRING, expecting ',' or ';'

And this only happens when adding the 2nd block of code. The 1st block of code actually causes the Profile to show up CORRECT -- but then it doesn't show the characters on the "Summary" (because the 2nd block is missing).

I'm trying to trace this... but haven't found the problem yet.

EDIT:
Well... i removed the 2nd block... and it now seems to be working!? I have no idea... haha.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 09:43:39 PM
The second block error may just be down to its exact position in the template,I will add a template here from a working install for you to see if this resolves the problem completely.This template is from my test forum and is correctly showing characters in the profile page.
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 09:48:36 PM
Oh... i'm sorry, I think I meant the first block in the file. That's the one causing the issue. The 2nd block (at the bottom of the file) is working just fine. So I removed the first block, and kept the 2nd block -- and it doesn't seem to show on my personal profile. Hrm.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 09:52:26 PM
QuoteSO do I even need that first block of code?

It needs both to operate correctly,does the attachment cure the problem it had ?
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 10:00:08 PM
YES IT DID! WAHOO!
Nightbre -- you are the best :)

Thank you so much for putting up me.
I will be back if something goes wrong :-p

P.S. -- Is there a way to make it show 3 profiles without having to uninstall it and reinstall again? It's so touchy I don't want to break it again :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 10:15:11 PM
To make the wowdk show more profiles in posts open the following themedir/wowdk_114v1/Display.template.php

Search for the wow code block
    //WoW Character Names - Show Characters in Post
            //Armory Base URL
            if ($modSettings['wowchar_europeanRealm'] == '0') {
                //North America and Oceania Servers
                $armory_url = "http://armory.worldofwarcraft.com/character-sheet.xml?r=";
            } else {
                //European Servers
                $armory_url = "http://armory.wow-europe.com/character-sheet.xml?r=";
            }

            for ($i = 1; $i <= 1; $i++) {


Change the number 1 to a number 5 like this (Bottom line shown)

//WoW Character Names - Show Characters in Post
             //Armory Base URL
             if ($modSettings['wowchar_europeanRealm'] == '0') {
                 //North America and Oceania Servers
                 $armory_url = "http://armory.worldofwarcraft.com/character-sheet.xml?r=";
             } else {
                 //European Servers
                 $armory_url = "http://armory.wow-europe.com/character-sheet.xml?r=";
             }

             for ($i = 1; $i <= 5; $i++) {


It will then let it display up to 5 characters in posts then.

QuoteThank you so much for putting up me.
I will be back if something goes wrong :-p

Its feedback like this that helps me to make the next release better overall  ;)
And I just got ganked in silverpine writing this on my alt hehe  :P
Title: Re: WoW Characters 1.9.0
Post by: FatMagic on October 30, 2008, 11:35:40 PM
Ooops! Sorry :-p

Thank you again for the time and effort... it just looks awesome, and I can't wait to get my forums up and running full production :)
I will keep checking back for an update for WOTLK :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 30, 2008, 11:37:25 PM
Glad its all sorted for you :)

The next release will have all these bugs ironed out and DK added ;)
Title: Re: WoW Characters 1.9.0
Post by: clarkkent93 on November 06, 2008, 04:07:04 PM
Quote from: nightbre on October 30, 2008, 02:01:08 PM
Check Themes/default/languages/modifications.english contains the following text string entries:

//WoW Characters
         
$txt['ctitletxt'] = 'You can add your World of Warcraft characters on this page. This information will be displayed throughout the forum. If you are not comfortable with sharing some information, simply skip it - nothing here is required.';
         
$txt['blood_Elf'] = 'Blood Elf';
$txt['draenei'] = 'Draenei';
$txt['dwarf'] = 'Dwarf';
$txt['gnome'] = 'Gnome';
$txt['human'] = 'Human';
$txt['night_Elf'] = 'Night Elf';
$txt['orc'] = 'Orc';
$txt['tauren'] = 'Tauren';
$txt['troll'] = 'Troll';
$txt['undead'] = 'Undead';

$txt['deathknight'] = 'Death Knight';         
$txt['druid'] = 'Druid';
$txt['hunter'] = 'Hunter';
$txt['mage'] = 'Mage';
$txt['paladin'] = 'Paladin';
$txt['priest'] = 'Priest';
$txt['rogue'] = 'Rogue';
$txt['shaman'] = 'Shaman';
$txt['warlock'] = 'Warlock';
$txt['warrior'] = 'Warrior';

$txt['chartitle'] = 'Character Profile Settings';
$txt['cname'] = 'Character Name';
$txt['clevel'] = 'Character Level';
$txt['cguild'] = 'Character Guild';
$txt['crace'] = 'Character Race';
$txt['cgender'] = 'Character Gender';
$txt['cclass'] = 'Character Class';
$txt['crealm'] = 'Character Realm';
$txt['character'] = 'Character';

$txt['male'] = 'Male';
$txt['female'] = 'Female';

$txt['wowchar'] = 'WOW Characters';
$txt['wowchar_defaultRealmName'] = 'Default realm Name';
$txt['wowchar_allowCustomRealm'] = 'Allow custom realm?';
$txt['wowchar_europeanRealm'] = 'European realm (default North American)?';


If it is not there that will possibly be why they show blank.Make sure the php closer is at the bottom of the file
Quote?> 

Its possible the closer isnt there or in the wrong place.Let me know if this has helped to cure the blanks for you.

I was having the same problems as FatMagic except the file you mentioned above didn't include the code that you provided.  Why is that?  I take it that's something I need to add OR do I need to delete and reinstall again?

Here is what's currently in that language file:

<?php
// Version: 1.1; Modifications

//Begin Global Headers and Footers Text Strings
$txt['globalhf_title'] = 'Global Headers and Footers';
//END Global Headers and Footers Text Strings        

?>


Any help would be appreciated.  Thanks
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on November 06, 2008, 09:09:48 PM
This is the best addon for SMF I have seen in a long time!

Thank you so much for making this! I can't wait for it to be fully updated for Wrath!

Because our guild uses our site with SMF, we all know which guild we are in. I simply modified the Character Guild line to Character Spec/BeImba to show our spec and BeImba scores! :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on November 07, 2008, 11:19:38 AM
QuoteI was having the same problems as FatMagic except the file you mentioned above didn't include the code that you provided.  Why is that?  I take it that's something I need to add OR do I need to delete and reinstall again?

Just add the wow txt entries into your modifications.english.php if they are not present.You may need to do this on any particular theme you use that has its own language folder included.
Title: Re: WoW Characters 1.9.0
Post by: zorto on November 09, 2008, 02:28:15 PM
hi,
First i d like to thank you for your job on this mod.
I m french and i have translate my file modifications.french.php and it works .

But i have a little problem with some letters when the link to the armory under the caracter's name is created.

i use SMF 1.1.7


you can watch the problem if you follow this url for the caracter's name "Lìthium"  : http://www.youpla.com/equinox/smf/index.php?topic=2493.msg26597#msg26597


Do you know what can i do to have a good translation of the syntax between  WoW Characters 1.9.0 and Wow Armory EU ?

tx
Title: Re: WoW Characters 1.9.0
Post by: fladder on November 10, 2008, 02:26:01 AM
Can anyone help me installing this to a custom theme? What files do i have to edit and what do i have to add?

Sorry for being extremely bad with php :(
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 10, 2008, 06:34:59 AM
Fladder,

The install instructions for SMF 1.1.7  can be found here.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1208;attach=72404;smf_version=1.1.7

Basically any changes you see made to ./Themes/default/some-file you have to make in the same files for your custom theme.

Zorto,
The armory is doing something weird with the link. I found your profile on the armory but when I copy the link then re-paste it it looks like this...
http://armory.wow-europe.com/character-sheet.xml?r=Cho%27gall&n=L%C3%ACthium
instead of the traditional http://armory.wow-europe.com/character-sheet.xml?r=Cho'Gall&n=Lithium.

Its not a bug with the Mod but rather with the armory. The only fix I can come up with is in your [WoW Characters] profile on the forum

name: L%C3%ACthium
Realm: Cho%27gall
Unfortunately your name will show up wrong on your forum profile but it should link to the right profile on the armory. Sorry  :(





Title: Re: WoW Characters 1.9.0
Post by: fladder on November 10, 2008, 07:09:14 AM
Thanks Garou for the answer, I got it to work somewhat but my custom theme got messed up when i tinkered with the code so I guess i will have to live without this mod.

It did work tho, but it broke a few design features that i really want to keep.
Title: Re: WoW Characters 1.9.0
Post by: zorto on November 10, 2008, 08:58:18 AM
Garou,
thanks a lot for your answer,
I'm doing it for one of my forum's user yet.

And one more time, nice job for your Wow Characters' mod  O:)
Title: Re: WoW Characters 1.9.0
Post by: clarkkent93 on November 10, 2008, 10:24:18 AM
Quote from: nightbre on November 07, 2008, 11:19:38 AM
QuoteI was having the same problems as FatMagic except the file you mentioned above didn't include the code that you provided.  Why is that?  I take it that's something I need to add OR do I need to delete and reinstall again?

Just add the wow txt entries into your modifications.english.php if they are not present.You may need to do this on any particular theme you use that has its own language folder included.

Thanks....that worked!
Title: Re: WoW Characters 1.9.0
Post by: Night09 on November 10, 2008, 01:35:46 PM
QuoteThanks Garou for the answer, I got it to work somewhat but my custom theme got messed up when i tinkered with the code so I guess i will have to live without this mod.

It did work tho, but it broke a few design features that i really want to keep.                      

What theme is it your using ? When you try to install what files does it say are missing to you or error?

Quotehi,
First i d like to thank you for your job on this mod.
I m french and i have translate my file modifications.french.php and it works .

But i have a little problem with some letters when the link to the armory under the caracter's name is created.

i use SMF 1.1.7

The Armoury issue is armoury itself for some reason but I am unsure why.It changes special characters and distorts the name when it creates the link or tries to create the link to the character sheet.

If you manually paste your server and name into the URL it still fails to open your sheet.It might be worth a post on wow europe to find out why it does this but not if directly searched for using armoury character search.
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 11, 2008, 09:42:31 PM
Quote from: zorto on November 10, 2008, 08:58:18 AM
Garou,
thanks a lot for your answer,
I'm doing it for one of my forum's user yet.

And one more time, nice job for your Wow Characters' mod  O:)


Not my Mod but Im always happy to help.  :)

Quote from: fladder on November 10, 2008, 07:09:14 AM
Thanks Garou for the answer, I got it to work somewhat but my custom theme got messed up when i tinkered with the code so I guess i will have to live without this mod.

It did work tho, but it broke a few design features that i really want to keep.

Interesting.
Like nightbre said, let us know what theme your using and I'm sure someone can figure it out for you.
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on November 12, 2008, 02:46:52 PM
Hey guys, I just noticed this...

When I have SMF wrapped into Joomla via Joomlahacks' bridge, the 'mouse-over' fails to show anything on both IE7 and FF.
When it is unwrapped, it works fine. I am using the default SMF theme and a Rockettheme template for Joomla.

Anyone else have this problem?
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 12, 2008, 08:23:57 PM
I quit using Joomla and Mambo a while back as I ran into many problems with bridging of the two. Tiny Portal and some of the other mods for SMF accomplish everything I personally needed out of Joomla anyway.

You'd probably be better off trying to find help from the hacks' site as I'm sure its more of a problem with the wrapper or the bridge itself rather then the mod.
Title: Re: WoW Characters 1.9.0
Post by: toshik on November 12, 2008, 08:51:09 PM
I have just installed your version of wowchar mod, everything worked fine except one thing.

(http://img444.imageshack.us/img444/2216/wowcharbg3.jpg)

There is no background whenever I mouseover characters info.

I had problems with old versions uninstallation and had to remove all the lines manually, so this probably is what caused the problem. Can you please tell me how those backgrounds are implemented and in what file.

EDIT: old version had backgrounds :/
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 12, 2008, 09:18:56 PM
What theme and version of SMF are you using? It looks like it might be a problem with either the css file or something was entered wrong.

It should look like...
(http://www.wolfshaven.com/wowchar.jpg) Default Theme

(http://www.wolfshaven.com/wowchar2.jpg) WoW DK Theme
Title: Re: WoW Characters 1.9.0
Post by: toshik on November 13, 2008, 04:29:32 AM
DarkBreak theme

Well, background worked before, in the older version of that mod. I think that something is entered wrong and thats why I'm asking what lines are used to show that background.

EDIT:
old screenshot http://img141.imageshack.us/my.php?image=armoryqp2.jpg (http://img141.imageshack.us/my.php?image=armoryqp2.jpg)
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on November 14, 2008, 06:21:28 PM
Hey guys, a couple of questions...

The mouse-overs work fine for me in IE7, but the mouse-overs will NOT work in FF. Any idea why in FireFox the mouse-overs don't work? (UPDATE: I disabled FF's cache and it works - weird - thoughts?)

Secondly, where are the color codes for the classes for the mouse overs? I added the info for Death Knights, but cannot figure out where the color code is.

And lastly, anyone been able to 'fix' the armory linking?

Thanks again for what is one our guild's favorite mods! :)
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on November 14, 2008, 08:12:17 PM
Okay, I found the colors on my own in : /Themes/default/images/wow_char/profiles.css (pats self on back)

BTW, and this is no cut to the maker of this awesome mod, but I corrected all the class colors in the profiles.css according to Blizzard's official colors.

Death Knight = #C41E38
Druid = #FF7D0A
Hunter = #ABD473
Mage = #69CCF0
Paladin = #F58CBA
Priest = #FFFFFF
Rogue = #FFF569
Shaman = #2459FF
Warlock = #9482CA
Warrior = #C79C6E
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 14, 2008, 08:32:37 PM
@toshik, in your themes /images/wow_char/profiles.css. When Kencelot mentioned it for his issue it jarred my memory of where its at.

.profile_tooltip {
font-size: 12px;
color: white;
background-color: #000000;
text-align: left;
-moz-border-radius: 5px;
min-width: 50px;
max-width: 200px;
border: 1px solid #a9a9a9;
border-style: solid;
position: relative;
line-height: 100%;
}

background-color and the color code in border: are what you would want to edit.
You'll also want to check the style.css in the main themes directory to make sure that it doesn't have a .profile_tooltip in there. I doubt that it does but Id look anyway.

@Kencelot, Thats awesome information Ill be adding it to my sites tonight.
BTW do you happen to have images to use for the death night icons?
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on November 15, 2008, 02:19:22 AM
QuoteBTW do you happen to have images to use for the death night icons?

I sure do:

Title: Re: WoW Characters 1.9.0
Post by: Garou on November 15, 2008, 07:18:57 AM
Whoot! I was searching for that on WoW's official site last night and didn't see it. Thought I was going to have to make it on my own.

You rock, Kencelot.  :)
Title: Re: WoW Characters 1.9.0
Post by: indi on November 20, 2008, 08:39:38 PM
Ok, I'm gonna go out on a limb here, but after gathering up all my courage I decided to go ahead and just ask... :P

I'm charged with creating a new site for our guild, which will have an eqDKP system hooked into it. I'm currently working on a user integration between SMF and eqDKP, but lets assume I've already finished that and it's working *optimistic*

Now, I love the idea of the WoW Character mod and displaying peoples characters in their forum posts. But here's the thing: instead of adding the characters as custom fields in the SMF user table, I'd like to insert them into a different table which is used by the beforementioned eqDKP system (table called eqdkp_members, it's on the same database).

The idea behind it, is that people will be able to create their own characters and stuff through the usual SMF profile and have the chars show up on the forum, and not having to recreate that character themselves in the eqDKP system again (which uses those characters to connect loot drops, and raid planning, etc).

There's 2 ways in which I could do this:
So yeah... Option 1 might be the easiest one, although Option 2 might be the most consistent one (in ways of avoiding redundant data, but I might be thinking too difficult here)

Now would it be a small alteration in this mods code, or would either one require too much hacking that I'd be better off just starting this mod from scratch?
I'd be very happy if anyone could point me in the right direction, or share their thoughts at least :)

Cheers, indi
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 21, 2008, 07:30:53 AM
Wow that's a big project your planning, I thought there was already an eqdkp/smf bridge out there. I could have sworn I had seen something about it on eqdkp's site at one time.

Ill have to look harder at the code for this mod but essentially you should be able to get this to print on to any page. My understanding is that  the Character Profile Settings actually stores the info in a database and then the code in the profile and display php files just draws it from the db. If you rework the code you should be able to get it to post on any page.

*edit*
Ok I went ahead and took a peek at the code http://custom.simplemachines.org/mods/index.php?action=parse;mod=1208;attach=72404;smf_version=1.1.6

These bits of code should give you the info you want.

//WoW Character Names - Show Characters in Post
//Armory Base URL
if ($modSettings['wowchar_europeanRealm'] == '0') {
//North America and Oceania Servers
$armory_url = "http://armory.worldofwarcraft.com/#character-sheet.xml?r=";
} else {
//European Servers
$armory_url = "http://armory.wow-europe.com/character-sheet.xml?r=";
}

for ($i = 1; $i <= 5; $i++) {
$name_i = 'char_name'.$i;
$class_i = 'char_class'.$i;
$race_i = 'char_race'.$i;
$gender_i = 'char_gender'.$i;
$server_i = 'char_server'.$i;
$guild_i = 'char_guild'.$i;
$level_i = 'char_level'.$i;

$char_name = !empty($message['member']['options'][$name_i]) ? $message['member']['options'][$name_i] : '';
$char_gender = !empty($message['member']['options'][$gender_i]) ? $message['member']['options'][$gender_i] : '';
$char_race = !empty($message['member']['options'][$race_i]) ? $message['member']['options'][$race_i] : '';
$char_class = !empty($message['member']['options'][$class_i]) ? $message['member']['options'][$class_i] : '';
$char_server = !empty($message['member']['options'][$server_i]) ? $message['member']['options'][$server_i] : '';
$char_guild = !empty($message['member']['options'][$guild_i]) ? $message['member']['options'][$guild_i] : '';
$char_level = !empty($message['member']['options'][$level_i]) ? $message['member']['options'][$level_i] : '';

$race_gender = $char_race.' '.$char_gender;
$race_gender_image = strtr($race_gender,' ','_');
$file_url = $settings['default_theme_url'].'/images/wow_char/';

$guild_label = '';
$level_label = '';
                        $default_server = $modSettings['wowchar_defaultRealmName'];

//Fix old "race gender" strings
if (strlen($char_gender) > 6) {
$char_race = substr($char_gender,0,strrpos($char_gender,' '));
$char_gender = str_replace($char_race.' ','',$char_gender);
}

if (!empty($char_guild)) {
$guild_label = '<tr><td><span style=\\\'color:#00C800\\\'>&amp;lt;'.$char_guild.'&amp;gt;</span></td></tr>';
}

if (!empty($char_level)) {
$level_label = '<span style=\\\'color:#EFBF00\\\'>'.$char_level.'</span>&nbsp;';
}

if (!empty($char_gender) & !empty($char_class) & !empty($char_name) & !empty($char_race)) {
if (!empty($char_server)) {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
} else {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
}

echo '
<img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$race_gender,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">
<img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$char_class,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">';
echo '
'.$hover_code;
echo '
<br />';
}
}
//END WoW Character Names - Show Characters in Post


<script type="text/javascript" src="',$settings['default_theme_url'],'/images/wow_char/overlib.js"></script>
<link rel="stylesheet" type="text/css" href="',$settings['default_theme_url'],'/images/wow_char/profiles.css?v139" />


possibly even ./Themes/default/images/wow_char/

Im guessing that it would take using an include to the overlib.js and profiles.css?v139 then copying much of the code for the display but it looks very possible to get this to display on any page.
Title: Re: WoW Characters 1.9.0
Post by: indi on November 21, 2008, 09:05:35 AM
Ah great, didn't know I could 'preview' the code there, thanks Garou :)

I think I'll go for option 1 at first though, and just use the Character Mod as it was meant to be used and just add a mysql insert to the eqdkp-table when you save the user profile. As far as I've understood, the mod expands the smf_member table with the character fields and indeed saves them in the database and retrieves with the Display template. But I haven't figured out yet where the actual db connection is made (I'm a bit new to SMF).

So I'll just add some code to the "add character", which duplicates the character info to the eqdkp_members table on profile-save. I'll have some minor duplicate data, but that's ok for now.... That way the user won't have to recreate it themselves, and it saves me quite some hacking until I have the time to write a complete SMF/eqdkp integration.

(Have to figure out where all that profile saving happens, and how to use SMF's existing database connection for the profile-save, but that's another story)

Oh, about the bridge, there is indeed a bridge between SMF and eqDKP in their eqdkp-plus software package. But the bridge itself barely 'integrates' anything, it just duplicates a user in the eqdkp_users table whenever you log in but doesn't share sessions or data whatsoever. And it's quite limited as it only works for 1 membergroup.
Since I'm a perfectionist, I'll just fix it myself then ;)

But again, thanks for your notes!
Title: Re: WoW Characters 1.9.0
Post by: Vranx on November 22, 2008, 01:17:14 PM
Can someone post the code for adding the Death Knight class, I have tried but cant get the picture to show up on players posts.
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 23, 2008, 07:36:11 AM
./Themes/default/languages/Modifications.english.php
Should already look like...
$txt['deathknight'] = 'Death Knight';
$txt['druid'] = 'Druid';


If not then Find...
$txt['druid'] = 'Druid';

Add Before...
$txt['deathknight'] = 'Death Knight';

./Themes/default/Profile.template.php
Find...
<option value="Druid"', (!empty($options[$class_i]) && $options[$class_i] == 'Druid') ? ' selected="selected"' : '', '>', $txt['druid'], '</option>

Add Before...
<option value="DeathKnight"', (!empty($options[$class_i]) && $options[$class_i] == 'DeathKnight') ? ' selected="selected"' : '', '>', $txt['deathknight'], '</option>


Drop this (http://www.simplemachines.org/community/index.php?action=dlattach;topic=268596.0;attach=75863) image (care of: Kencelot (http://www.simplemachines.org/community/index.php?action=profile;u=83793)) in
./Themes/default/images/wow_char

./Themes/default/images/wow_char/profiles.css
Find...
.Druid {
color:#FFA000;
}

.Hunter {
color:#00FF00;
}

.Mage {
color:#00FFFF;
}

.Paladin {
color:#FF00FF;
}

.Priest {
color:#FFFFFF;
}

.Rogue {
color:#FFFF00;
}

.Shaman {
color:#00CDAE;
}

.Warlock {
color:#B088FF;
}

.Warrior {
color:#BB9900;
}


Replace...
.DeathKnight {
color:#C41E38;
}

.Druid {
color:#FF7D0A;
}

.Hunter {
color:#ABD473;
}

.Mage {
color:#69CCF0;
}

.Paladin {
color:#F58CBA;
}

.Priest {
color:#FFFFFF;
}

.Rogue {
color:#FFF569;
}

.Shaman {
color:#2459FF;
}

.Warlock {
color:#9482CA;
}

.Warrior {
color:#C79C6E;
}


Updated Color Codes also provided by Kencelot (http://www.simplemachines.org/community/index.php?action=profile;u=83793)
Title: Re: WoW Characters 1.9.0
Post by: Vranx on November 23, 2008, 08:48:22 AM
Excellent, thank you. I have no idea what I was doing wrong, your changes look exactly like what I did earlier. Works perfect now. I downloaded the DK icon from wowarmory and lined it up to match the other icons. I changed the armory link to www.wowarmory.com for US characters.

For some reason im not getting the tooltip to appear in FF. I tried disabling the cache which worked for a previous poster but it didnt work for me.
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 23, 2008, 09:20:35 AM
Yeah I'm busy trying to figure out the FF thing myself. I'm not sure what the deal is there. *grrr* I thought I had messed up the code. I Looked at the original code and wrote the changes here before actually applying it to any of my sites. I was having problems getting it to work and was going to pull the post when I saw your message and checked your link. Its weird your site works for me but my test bed isn't. It has to be something with the cache files in FF or maybe even cookies.

*edit* Ok its frustrating but I guess its just a mater of time. Ive been playing with this all day and its now working right. The code in my files is identical to what posted here earlier and suddenly the tool tip is showing up fine in FF. /shrug

Both http://armory.worldofwarcraft.com and http://www.wowarmory.com/ should work Blizz has them both pointing to the same folder as they apparently could figure out what they wanted to use. They went back and forth several times early on and now they just use both. At the moment http://www.wowarmory.com/  is the correct one. http://armory.worldofwarcraft.com is actually a redirect but it is working on the one server I still have set up for it.
Title: Re: WoW Characters 1.9.0
Post by: alex2006 on November 24, 2008, 08:50:14 AM
Hi, i try to install but when i put "apply mod" this error occurs

Tipo     Acción     Descripción
1.    Executar Código    wowchar_settings.php   
2.    Executar Modificación    ./Sources/ModSettings.php    Prueba fallida
3.    Executar Modificación    ./Themes/default/Profile.template.php    Éxito
4.    Executar Modificación    ./Themes/wowdk_115v1/profile.template.php    Skipping file
5.    Executar Modificación    ./Themes/default/Display.template.php    Éxito
6.    Executar Modificación    ./Themes/default/index.template.php    Éxito
7.    Executar Modificación    ./Themes/TP_Risen_WoW_v1/index.template.php    Skipping file
8.    Executar Modificación    ./Themes/wowdk_115v1/index.template.php    Skipping file
9.    Executar Modificación    ./Themes/wowdk_114v1/index.template.php    Skipping file
10.    Executar Modificación    ./Sources/Profile.php    Éxito
11.    Executar Modificación    ./Themes/default/languages/Profile.english.php    Prueba fallida
12.    Executar Modificación    ./Themes/default/languages/Modifications.english.php    Éxito
13.    Executar Modificación    ./Themes/default/languages/Help.english.php    Éxito
14.    Extraer Árbol    ./Themes/default/images/wow_char   


It fails in modsettings and profile.english the permisions in those files are propertly set , if i chose to install anyway the mod doesnt work, i will apreciate any help. thanks in advance
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 24, 2008, 09:08:26 AM
I would guess that its conflicting with another mod that you have installed. In other words some other mod has already made changes to the lines it wants to change so it cant find them.

Install it wih the errors then, go to http://custom.simplemachines.org/mods/index.php?action=parse;mod=1208;attach=72404;smf_version=1.1.6 and then modify the failed files by hand.
Title: Re: WoW Characters 1.9.0
Post by: briped on November 26, 2008, 01:27:41 PM
I updated this package a bit (also attached to this post):

Here's my changes:
26.11.2008 v1.9.5 by briped
- Added Death Knight.
- Changed armory URLs to us.wowarmory.com and eu.wowarmory.com.
- Several cosmetic changes:
  - Changed all class colors to the ones defined at WoWWiki
    (http://www.wowwiki.com/Class_colors).
  - Fixed so that it would say "Blood Elf", "Night Elf" etc. rather than
    "Blood_Elf", "Night_Elf" etc. by using the $txt variables Nightbre added
    for "easier language translation". This way it actually will be easier ;)
    - This was done by lowercasing all variables/values and filenames and using
      only the $txt variables for the "visible" text.

26.11.2008 v1.9.6 by briped
- Fixed some of the variables/valies for race/class/gender that I overlooked.


A thing I've noticed, a side effect of me lowercasing all variables/values, is that users will need to enter their profile and check that everything is right and then save it again.
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 26, 2008, 04:18:49 PM
Yes those are nice additions but you should only list the changes you made in a post, for instance...

Find:
Some code
Replace:
Some code

Repackaging someone's mod with out their permission is very unethical. :(
Title: Re: WoW Characters 1.9.0
Post by: briped on November 26, 2008, 06:47:27 PM
Quote from: Garou on November 26, 2008, 04:18:49 PM
...
Repackaging someone's mod with out their permission is very unethical. :(
I fail to see how it's unethical. Now if I took this mod, renamed and repackaged it without giving any credits to the original author, it would be another matter.

Just to make a point here... Did you post in Yutt's thread as well when Nightbre continued this mod (under a new name and new author, no less) from Yutt's work, saying it was unethical? Or were you just glad that someone actually took the time to update a mod where the original author didn't?

As for supplying the changes as a package rather than "Find" and "Replace".. By making the changes available as a package more people are able to use it. Not everyone is confident enough to make the necessary changes to the code like you and me. Find/replace is also so very slow compared to just getting the package, upload the package and apply the package.

Only "upside" to the find/replace way is that you can see what the changes are.. A diff is even easier and better for that, so if it's the changes you want to see they're below here as diff:

wow_character_profiles.xml 1.9.0-19.96.diff:5c5
< <version>1.9.0</version>
---
> <version>1.9.6</version>
144,145c144,145
< <option value="Male"', (!empty($options[$gender_i]) && $options[$gender_i] == 'Male') ? ' selected="selected"' : '', '>', $txt['male'], '</option>
< <option value="Female"', (!empty($options[$gender_i]) && $options[$gender_i] == 'Female') ? ' selected="selected"' : '', '>', $txt['female'], '</option>
---
> <option value="male"', (!empty($options[$gender_i]) && $options[$gender_i] == 'male') ? ' selected="selected"' : '', '>', $txt['male'], '</option>
> <option value="female"', (!empty($options[$gender_i]) && $options[$gender_i] == 'female') ? ' selected="selected"' : '', '>', $txt['female'], '</option>
154,163c154,163
<                     <option value="Blood_Elf"', (!empty($options[$race_i]) && $options[$race_i] == 'Blood_Elf') ? ' selected="selected"' : '', '>', $txt['blood_Elf'], '</option>
<                     <option value="Draenei"', (!empty($options[$race_i]) && $options[$race_i] == 'Draenei') ? ' selected="selected"' : '', '>', $txt['draenei'], '</option>
<                     <option value="Dwarf"', (!empty($options[$race_i]) && $options[$race_i] == 'Dwarf') ? ' selected="selected"' : '', '>', $txt['dwarf'], '</option>
<                     <option value="Gnome"', (!empty($options[$race_i]) && $options[$race_i] == 'Gnome') ? ' selected="selected"' : '', '>', $txt['gnome'], '</option>
<                     <option value="Human"', (!empty($options[$race_i]) && $options[$race_i] == 'Human') ? ' selected="selected"' : '', '>', $txt['human'], '</option>
<                     <option value="Night_Elf"', (!empty($options[$race_i]) && $options[$race_i] == 'Night_Elf') ? ' selected="selected"' : '', '>', $txt['night_Elf'], '</option>
<                     <option value="Orc"', (!empty($options[$race_i]) && $options[$race_i] == 'Orc') ? ' selected="selected"' : '', '>', $txt['orc'], '</option>
<                     <option value="Tauren"', (!empty($options[$race_i]) && $options[$race_i] == 'Tauren') ? ' selected="selected"' : '', '>', $txt['tauren'], '</option>
<                     <option value="Troll"', (!empty($options[$race_i]) && $options[$race_i] == 'Troll') ? ' selected="selected"' : '', '>', $txt['troll'], '</option>
<                     <option value="Undead"', (!empty($options[$race_i]) && $options[$race_i] == 'Undead') ? ' selected="selected"' : '', '>', $txt['undead'], '</option>
---
>                     <option value="blood_elf"', (!empty($options[$race_i]) && $options[$race_i] == 'blood_elf') ? ' selected="selected"' : '', '>', $txt['blood_elf'], '</option>
>                     <option value="draenei"', (!empty($options[$race_i]) && $options[$race_i] == 'draenei') ? ' selected="selected"' : '', '>', $txt['draenei'], '</option>
>                     <option value="dwarf"', (!empty($options[$race_i]) && $options[$race_i] == 'dwarf') ? ' selected="selected"' : '', '>', $txt['dwarf'], '</option>
>                     <option value="gnome"', (!empty($options[$race_i]) && $options[$race_i] == 'gnome') ? ' selected="selected"' : '', '>', $txt['gnome'], '</option>
>                     <option value="human"', (!empty($options[$race_i]) && $options[$race_i] == 'human') ? ' selected="selected"' : '', '>', $txt['human'], '</option>
>                     <option value="night_elf"', (!empty($options[$race_i]) && $options[$race_i] == 'night_elf') ? ' selected="selected"' : '', '>', $txt['night_elf'], '</option>
>                     <option value="orc"', (!empty($options[$race_i]) && $options[$race_i] == 'orc') ? ' selected="selected"' : '', '>', $txt['orc'], '</option>
>                     <option value="tauren"', (!empty($options[$race_i]) && $options[$race_i] == 'tauren') ? ' selected="selected"' : '', '>', $txt['tauren'], '</option>
>                     <option value="troll"', (!empty($options[$race_i]) && $options[$race_i] == 'troll') ? ' selected="selected"' : '', '>', $txt['troll'], '</option>
>                     <option value="undead"', (!empty($options[$race_i]) && $options[$race_i] == 'undead') ? ' selected="selected"' : '', '>', $txt['undead'], '</option>
173,181c173,182
< <option value="Druid"', (!empty($options[$class_i]) && $options[$class_i] == 'Druid') ? ' selected="selected"' : '', '>', $txt['druid'], '</option>
< <option value="Hunter"', (!empty($options[$class_i]) && $options[$class_i] == 'Hunter') ? ' selected="selected"' : '', '>', $txt['hunter'], '</option>
< <option value="Mage"', (!empty($options[$class_i]) && $options[$class_i] == 'Mage') ? ' selected="selected"' : '', '>', $txt['mage'], '</option>
< <option value="Paladin"', (!empty($options[$class_i]) && $options[$class_i] == 'Paladin') ? ' selected="selected"' : '', '>', $txt['paladin'], '</option>
< <option value="Priest"', (!empty($options[$class_i]) && $options[$class_i] == 'Priest') ? ' selected="selected"' : '', '>', $txt['priest'], '</option>
< <option value="Rogue"', (!empty($options[$class_i]) && $options[$class_i] == 'Rogue') ? ' selected="selected"' : '', '>', $txt['rogue'], '</option>
< <option value="Shaman"', (!empty($options[$class_i]) && $options[$class_i] == 'Shaman') ? ' selected="selected"' : '', '>', $txt['shaman'], '</option>
< <option value="Warlock"', (!empty($options[$class_i]) && $options[$class_i] == 'Warlock') ? ' selected="selected"' : '', '>', $txt['warlock'], '</option>
< <option value="Warrior"', (!empty($options[$class_i]) && $options[$class_i] == 'Warrior') ? ' selected="selected"' : '', '>', $txt['warrior'], '</option>
---
> <option value="deathknight"', (!empty($options[$class_i]) && $options[$class_i] == 'deathknight') ? ' selected="selected"' : '', '>', $txt['deathknight'], '</option>
> <option value="druid"', (!empty($options[$class_i]) && $options[$class_i] == 'druid') ? ' selected="selected"' : '', '>', $txt['druid'], '</option>
> <option value="hunter"', (!empty($options[$class_i]) && $options[$class_i] == 'hunter') ? ' selected="selected"' : '', '>', $txt['hunter'], '</option>
> <option value="mage"', (!empty($options[$class_i]) && $options[$class_i] == 'mage') ? ' selected="selected"' : '', '>', $txt['mage'], '</option>
> <option value="paladin"', (!empty($options[$class_i]) && $options[$class_i] == 'paladin') ? ' selected="selected"' : '', '>', $txt['paladin'], '</option>
> <option value="priest"', (!empty($options[$class_i]) && $options[$class_i] == 'priest') ? ' selected="selected"' : '', '>', $txt['priest'], '</option>
> <option value="rogue"', (!empty($options[$class_i]) && $options[$class_i] == 'rogue') ? ' selected="selected"' : '', '>', $txt['rogue'], '</option>
> <option value="shaman"', (!empty($options[$class_i]) && $options[$class_i] == 'shaman') ? ' selected="selected"' : '', '>', $txt['shaman'], '</option>
> <option value="warlock"', (!empty($options[$class_i]) && $options[$class_i] == 'warlock') ? ' selected="selected"' : '', '>', $txt['warlock'], '</option>
> <option value="warrior"', (!empty($options[$class_i]) && $options[$class_i] == 'warrior') ? ' selected="selected"' : '', '>', $txt['warrior'], '</option>
245c246
< $armory_url = "http://armory.worldofwarcraft.com/#character-sheet.xml?r=";
---
> $armory_url = "http://us.wowarmory.com/character-sheet.xml?r=";
248c249
< $armory_url = "http://armory.wow-europe.com/character-sheet.xml?r=";
---
> $armory_url = "http://eu.wowarmory.com/character-sheet.xml?r=";
302c303
< $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
---
> $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$txt[$char_race].'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$txt[$char_class].'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
304c305
< $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
---
> $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$txt[$char_race].'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$txt[$char_class].'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
311,312c312,313
< <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$race_gender,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>
< <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$char_class,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>';
---
> <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$txt[$char_race],' ',$txt[$char_gender],'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>
> <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$txt[$char_class],'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>';
400,401c401,402
< <option value="Male"', (!empty($options[$gender_i]) && $options[$gender_i] == 'Male') ? ' selected="selected"' : '', '>', $txt['male'], '</option>
< <option value="Female"', (!empty($options[$gender_i]) && $options[$gender_i] == 'Female') ? ' selected="selected"' : '', '>', $txt['female'], '</option>
---
> <option value="male"', (!empty($options[$gender_i]) && $options[$gender_i] == 'male') ? ' selected="selected"' : '', '>', $txt['male'], '</option>
> <option value="female"', (!empty($options[$gender_i]) && $options[$gender_i] == 'female') ? ' selected="selected"' : '', '>', $txt['female'], '</option>
410,419c411,420
<                     <option value="Blood_Elf"', (!empty($options[$race_i]) && $options[$race_i] == 'Blood_Elf') ? ' selected="selected"' : '', '>', $txt['blood_Elf'], '</option>
<                     <option value="Draenei"', (!empty($options[$race_i]) && $options[$race_i] == 'Draenei') ? ' selected="selected"' : '', '>', $txt['draenei'], '</option>
<                     <option value="Dwarf"', (!empty($options[$race_i]) && $options[$race_i] == 'Dwarf') ? ' selected="selected"' : '', '>', $txt['dwarf'], '</option>
<                     <option value="Gnome"', (!empty($options[$race_i]) && $options[$race_i] == 'Gnome') ? ' selected="selected"' : '', '>', $txt['gnome'], '</option>
<                     <option value="Human"', (!empty($options[$race_i]) && $options[$race_i] == 'Human') ? ' selected="selected"' : '', '>', $txt['human'], '</option>
<                     <option value="Night_Elf"', (!empty($options[$race_i]) && $options[$race_i] == 'Night_Elf') ? ' selected="selected"' : '', '>', $txt['night_Elf'], '</option>
<                     <option value="Orc"', (!empty($options[$race_i]) && $options[$race_i] == 'Orc') ? ' selected="selected"' : '', '>', $txt['orc'], '</option>
<                     <option value="Tauren"', (!empty($options[$race_i]) && $options[$race_i] == 'Tauren') ? ' selected="selected"' : '', '>', $txt['tauren'], '</option>
<                     <option value="Troll"', (!empty($options[$race_i]) && $options[$race_i] == 'Troll') ? ' selected="selected"' : '', '>', $txt['troll'], '</option>
<                     <option value="Undead"', (!empty($options[$race_i]) && $options[$race_i] == 'Undead') ? ' selected="selected"' : '', '>', $txt['undead'], '</option>
---
>                     <option value="blood_elf"', (!empty($options[$race_i]) && $options[$race_i] == 'blood_elf') ? ' selected="selected"' : '', '>', $txt['blood_elf'], '</option>
>                     <option value="draenei"', (!empty($options[$race_i]) && $options[$race_i] == 'draenei') ? ' selected="selected"' : '', '>', $txt['draenei'], '</option>
>                     <option value="dwarf"', (!empty($options[$race_i]) && $options[$race_i] == 'dwarf') ? ' selected="selected"' : '', '>', $txt['dwarf'], '</option>
>                     <option value="gnome"', (!empty($options[$race_i]) && $options[$race_i] == 'gnome') ? ' selected="selected"' : '', '>', $txt['gnome'], '</option>
>                     <option value="human"', (!empty($options[$race_i]) && $options[$race_i] == 'human') ? ' selected="selected"' : '', '>', $txt['human'], '</option>
>                     <option value="night_elf"', (!empty($options[$race_i]) && $options[$race_i] == 'night_elf') ? ' selected="selected"' : '', '>', $txt['night_elf'], '</option>
>                     <option value="orc"', (!empty($options[$race_i]) && $options[$race_i] == 'orc') ? ' selected="selected"' : '', '>', $txt['orc'], '</option>
>                     <option value="tauren"', (!empty($options[$race_i]) && $options[$race_i] == 'tauren') ? ' selected="selected"' : '', '>', $txt['tauren'], '</option>
>                     <option value="troll"', (!empty($options[$race_i]) && $options[$race_i] == 'troll') ? ' selected="selected"' : '', '>', $txt['troll'], '</option>
>                     <option value="undead"', (!empty($options[$race_i]) && $options[$race_i] == 'undead') ? ' selected="selected"' : '', '>', $txt['undead'], '</option>
429,437c430,439
< <option value="Druid"', (!empty($options[$class_i]) && $options[$class_i] == 'Druid') ? ' selected="selected"' : '', '>', $txt['druid'], '</option>
< <option value="Hunter"', (!empty($options[$class_i]) && $options[$class_i] == 'Hunter') ? ' selected="selected"' : '', '>', $txt['hunter'], '</option>
< <option value="Mage"', (!empty($options[$class_i]) && $options[$class_i] == 'Mage') ? ' selected="selected"' : '', '>', $txt['mage'], '</option>
< <option value="Paladin"', (!empty($options[$class_i]) && $options[$class_i] == 'Paladin') ? ' selected="selected"' : '', '>', $txt['paladin'], '</option>
< <option value="Priest"', (!empty($options[$class_i]) && $options[$class_i] == 'Priest') ? ' selected="selected"' : '', '>', $txt['priest'], '</option>
< <option value="Rogue"', (!empty($options[$class_i]) && $options[$class_i] == 'Rogue') ? ' selected="selected"' : '', '>', $txt['rogue'], '</option>
< <option value="Shaman"', (!empty($options[$class_i]) && $options[$class_i] == 'Shaman') ? ' selected="selected"' : '', '>', $txt['shaman'], '</option>
< <option value="Warlock"', (!empty($options[$class_i]) && $options[$class_i] == 'Warlock') ? ' selected="selected"' : '', '>', $txt['warlock'], '</option>
< <option value="Warrior"', (!empty($options[$class_i]) && $options[$class_i] == 'Warrior') ? ' selected="selected"' : '', '>', $txt['warrior'], '</option>
---
> <option value="deathknight"', (!empty($options[$class_i]) && $options[$class_i] == 'deathknight') ? ' selected="selected"' : '', '>', $txt['deathknight'], '</option>
> <option value="druid"', (!empty($options[$class_i]) && $options[$class_i] == 'druid') ? ' selected="selected"' : '', '>', $txt['druid'], '</option>
> <option value="hunter"', (!empty($options[$class_i]) && $options[$class_i] == 'hunter') ? ' selected="selected"' : '', '>', $txt['hunter'], '</option>
> <option value="mage"', (!empty($options[$class_i]) && $options[$class_i] == 'mage') ? ' selected="selected"' : '', '>', $txt['mage'], '</option>
> <option value="paladin"', (!empty($options[$class_i]) && $options[$class_i] == 'paladin') ? ' selected="selected"' : '', '>', $txt['paladin'], '</option>
> <option value="priest"', (!empty($options[$class_i]) && $options[$class_i] == 'priest') ? ' selected="selected"' : '', '>', $txt['priest'], '</option>
> <option value="rogue"', (!empty($options[$class_i]) && $options[$class_i] == 'rogue') ? ' selected="selected"' : '', '>', $txt['rogue'], '</option>
> <option value="shaman"', (!empty($options[$class_i]) && $options[$class_i] == 'shaman') ? ' selected="selected"' : '', '>', $txt['shaman'], '</option>
> <option value="warlock"', (!empty($options[$class_i]) && $options[$class_i] == 'warlock') ? ' selected="selected"' : '', '>', $txt['warlock'], '</option>
> <option value="warrior"', (!empty($options[$class_i]) && $options[$class_i] == 'warrior') ? ' selected="selected"' : '', '>', $txt['warrior'], '</option>
501c503
< $armory_url = "http://armory.worldofwarcraft.com/#character-sheet.xml?r=";
---
> $armory_url = "http://us.wowarmory.com/character-sheet.xml?r=";
504c506
< $armory_url = "http://armory.wow-europe.com/character-sheet.xml?r=";
---
> $armory_url = "http://eu.wowarmory.com/character-sheet.xml?r=";
558c560
< $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
---
> $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$txt[$char_race].'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$txt[$char_class].'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
560c562
< $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
---
> $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$txt[$char_race].'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$txt[$char_class].'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
567,568c569,570
< <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$race_gender,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>
< <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$char_class,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>';
---
> <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$txt[$char_race],' ',$txt[$char_gender],'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>
> <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$txt[$char_class],'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();" alt=""/>';
591c593
< $armory_url = "http://armory.worldofwarcraft.com/#character-sheet.xml?r=";
---
> $armory_url = "http://us.wowarmory.com/character-sheet.xml?r=";
594c596
< $armory_url = "http://armory.wow-europe.com/character-sheet.xml?r=";
---
> $armory_url = "http://eu.wowarmory.com/character-sheet.xml?r=";
638c640
< $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
---
> $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$txt[$char_race].'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$txt[$char_class].'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
640c642
< $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
---
> $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.$char_name.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$txt[$char_race].'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$txt[$char_class].'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
644,645c646,647
< <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$race_gender,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">
< <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$char_class,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">';
---
> <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$txt[$char_race],' ',$txt[$char_gender],'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">
> <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$txt[$char_class],'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">';
785c787
< $txt['blood_Elf'] = 'Blood Elf';
---
> $txt['blood_elf'] = 'Blood Elf';
790c792
< $txt['night_Elf'] = 'Night Elf';
---
> $txt['night_elf'] = 'Night Elf';
820c822
< $txt['wowchar'] = 'WOW Characters';
---
> $txt['wowchar'] = 'WoW Characters';


profiles.css 1.9.0-19.96.diff:2,12c2,12
< font-size: 12px;
< color: white;
< background-color: #000000;
< text-align: left;
< -moz-border-radius: 5px;
< min-width: 50px;
< max-width: 200px;
< border: 1px solid #a9a9a9;
< border-style: solid;
< position: relative;
< line-height: 100%;
---
> font-size: 12px;
> color: #FFF;
> background-color: #000;
> text-align: left;
> -moz-border-radius: 5px;
> min-width: 50px;
> max-width: 200px;
> border: 1px solid #a9a9a9;
> border-style: solid;
> position: relative;
> line-height: 100%;
16,17c16,17
< color:#EEA000;
< cursor:pointer;
---
> color: #EEA000;
> cursor: pointer;
20,21c20,21
< .Druid {
< color:#FFA000;
---
> .deathknight {
> color: #C41F3B;
24,25c24,25
< .Hunter {
< color:#00FF00;
---
> .druid {
> color: #FF7D0A;
28,29c28,29
< .Mage {
< color:#00FFFF;
---
> .hunter {
> color: #ABD473;
32,33c32,33
< .Paladin {
< color:#FF00FF;
---
> .mage {
> color: #69CCF0;
36,37c36,37
< .Priest {
< color:#FFFFFF;
---
> .paladin {
> color: #F58CBA;
40,41c40,41
< .Rogue {
< color:#FFFF00;
---
> .priest {
> color: #FFFFFF;
44,45c44,45
< .Shaman {
< color:#00CDAE;
---
> .rogue {
> color: #FFF569;
48,49c48,49
< .Warlock {
< color:#B088FF;
---
> .shaman {
> color: #2459FF;
52,53c52,57
< .Warrior {
< color:#BB9900;
---
> .warlock {
> color: #9482C9;
> }
>
> .warrior {
> color: #C79C6E;


Other than the above 2 files the rest only have their version numbers updated. Oh and the image (.png) files have all been lower cased, did this mainly because of the changes made in the code and to have consistency, and since unix hosts are case sensitive with filenames, this makes it easier to maintain.


diff (http://gnuwin32.sourceforge.net/packages/diffutils.htm) and patch (http://gnuwin32.sourceforge.net/packages/patch.htm) for windows.
Title: Re: WoW Characters 1.9.0
Post by: briped on November 26, 2008, 09:11:26 PM
Quote from: zorto on November 09, 2008, 02:28:15 PM
... But i have a little problem with some letters when the link to the armory under the caracter's name is created.
... you can watch the problem if you follow this url for the caracter's name "Lìthium"  : http://www.youpla.com/equinox/smf/index.php?topic=2493.msg26597#msg26597

Quote from: Garou on November 10, 2008, 06:34:59 AM
...
The armory is doing something weird with the link. I found your profile on the armory but when I copy the link then re-paste it it looks like this...
http://armory.wow-europe.com/character-sheet.xml?r=Cho%27gall&n=L%C3%ACthium
instead of the traditional http://armory.wow-europe.com/character-sheet.xml?r=Cho'Gall&n=Lithium.

Its not a bug with the Mod but rather with the armory. The only fix I can come up with is in your [WoW Characters] profile on the forum
Quote from: nightbre on November 10, 2008, 01:35:46 PM
The Armoury issue is armoury itself for some reason but I am unsure why.It changes special characters and distorts the name when it creates the link or tries to create the link to the character sheet.

The "problem" has nothing to do with the armory nor this mod. The issue is the encoding the site uses, which will tell the browser how to read/translate the letters/characters on the page. The site uses ISO-8859-1 which tells the browser to encode/translate the odd "i" in Lithium into %EC. Armory expects it in UTF-8 encoding which would be %C3%AC. Try right-clicking the link on the site and copy the link location, then paste it in notepad, you'll see it shows the name as L%ECthium. Doing the same with this link right here (http://armory.wow-europe.com/character-sheet.xml?r=Cho'Gall&n=L%C3%ACthium) will get you L%C3%ACthium.

There's a solution and a workaround. Only use one, not both (one would break the other and vice versa).

The solution:
Update the site to use UTF-8 encoding instead of ISO-8859-1.
Best case this just means changing "<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />" to "<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />"
Worst case it means you also have to save each document as UTF-8 (don't ask me why, I don't know, I just know it might be necessary)

The workaround:
use utf8_encode() on all $char_server and $char_name in the links, so that the correct data is sent to the WoW armory.. Ideally this means you could just do a search and replace:
Find:href="'.$armory_url.$char_server.'&n='.$char_name.'"
Replace:href="'.$armory_url.utf8_encode($char_server).'&n='.utf8_encode($char_name).'"
Be aware that trying to utf8_encode a string on a utf8 page (what I described in the "solution") just breaks it. It would make it look something like this: Lìthium
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 27, 2008, 07:42:43 AM
I never used Yutt's mod but my understanding was Yutt gave the permission to take it over. If this is indeed not the case then, had I been using Yutt's mod or following his thread at the time, then yes I would have complained there too.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on November 28, 2008, 10:12:31 PM
QuoteJust to make a point here... Did you post in Yutt's thread as well when Nightbre continued this mod (under a new name and new author, no less) from Yutt's work, saying it was unethical? Or were you just glad that someone actually took the time to update a mod where the original author didn't?

Actually I have full permission from Yutt to continue this modification and that was cleared before I began working on an update.If you check the original code to the version I have released a lot of changes have been made to make it compliant with SMF rules but it never fails to include credit to Yutt in any release I make since I essentially continued his mod.

The package you have posted is not endorsed by me in any way whatsoever and has not passed the same testing mine was subject to by SMF.Anyone who uses it and has problems can contact you direct to have them resolved,this thread is for my release not yours.If you make a version and sub it fine but dont confuse what this thread is intended for.

A new release due will cover DK and other small bugs found in the original release.It is a pain waiting but I will get it out over the next couple days.
Title: Re: WoW Characters 1.9.0
Post by: Garou on November 28, 2008, 10:33:52 PM
Well said nightbre. *applause*
Title: Re: WoW Characters 1.9.0
Post by: H on November 29, 2008, 06:35:05 AM
Attachment removed after request from op
Title: Re: WoW Characters 1.9.0
Post by: Night09 on November 29, 2008, 07:11:38 AM
QuoteAttachment removed after request from op

Thank you H.

Title: Re: WoW Characters 1.9.0
Post by: WyckedDreamz on November 29, 2008, 02:33:27 PM
ok, so I had this working with the wow theme from Tinyportal (the one with the gryphon rider in the banner). I installed the dk 114v1, uninstalled the profile mod, then re-installed it.... checked for the changes, and I am having the same issue another poster had, no text in the admin options, just [] and the option in the profile itself gives me that template error..... not sure if its because I have been messing with this for about 6 hours now and am tired or what, but I just can't seem to get this working with the TP version of wowDK 114v1. Actually, the one I had working was the one the other poster uploaded and had taken down, didn't have to modify anything, but even that one did not work on the dk theme.... I will forgo this mod for right now, but thank you for making this awesome mod.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on November 29, 2008, 02:59:22 PM
You need to add the text entries into modifications.english.php manually, it is on one of the pages back.This will sort the display issues. You may need to add the 2 blocks of code to profile.template.php if they are not present as well.

All these issues will be resolved though in the release I will make in a few days including DK added as well.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 05, 2008, 07:58:25 AM
Latest version released.

1.9.1

Features:

Admin:   >  Features and Options >  [WoW Characters]

User Options:  >   Profile       >  [WoW Characters]


NOTICE:

Installation for the following themes from this package.

Default SMF theme  > (1.1.3-6)

wowdk_115v1   > (1.1.5)

wowdk-116v1   > (1.1.6, 1.1.7)

Updates:

Death Knight class added to Character selection.
Colours for Characters updated.
wowdk_114v1 removed since it is not supported by 1.1.6, 1.1.7.
wowdk_115-6 bugs reported resolved from last release.
Issue with url's containing special characters in names resolved.

WARNING!

The fix for the special characters in name's is to suit the forums standard character iso set.
If you have a utf-8 forum you will need to make a small change to the code to display the correct characters in armoury url's.
Without the change the addon will work but armoury names containing special characters will be incorrect.

To resolve this issue you must do the following:

Open profile.template.php

Find:(It will be present twice,you need to edit both)

&n='.utf8_encode($char_name).'"

Replace with:(Twice remember)

&n='.$char_name.'"

Open Display.template.php

Do the exact same code changes as shown above.
Your Characters should now display correctly in url's

This version resolves the issues brought up in the thread as far as I can tell.I removed 114 because it isnt made for 1.1.6 or 7 and to use it relies on insecure SMF versions.tp_risen removed because it is made for old tiny portal and I havent been able to get the themes again to retest with.

Hope this helps with removing a lot of manual edits needed.If you know any good wow themes feel free to name them and ill check them out and see if they are worth making compatable as well.

I am working on some extra features for future release but had to release this now to fix Death Knight for you and basic theme issues with wowdk compatability.

As usual I tested with just the themes and this mod nothing else installed to be sure its working correctly.

Thanks to a few of you for info and feedback which I have taken on board for changes like colours (Kencelot) which were as yutt left them tbh. ;) Garou for helping out with install issues for people,appreciated ;)

And everyone reporting issues or fixes as well since this helps make new versions more compatable and error free.Let me know how this goes. :)
Title: Re: WoW Characters 1.9.0
Post by: WyckedDreamz on December 05, 2008, 08:45:24 PM
where can I get TP WoW DK 116? the only WoW DK version I could ever find was 114v1
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 05, 2008, 08:59:14 PM
Quotewhere can I get TP WoW DK 116? the only WoW DK version I could ever find was 114v1

Its on the themes site to download here at SMF ;)

http://custom.simplemachines.org/themes/index.php?lemma=78 (http://custom.simplemachines.org/themes/index.php?lemma=78)
Title: Re: WoW Characters 1.9.0
Post by: WyckedDreamz on December 05, 2008, 09:01:45 PM
thanks night! ack, no TP convert for that version yet... thanks for the link tho, that theme will come in handy sometime in the future :)
Title: Re: WoW Characters 1.9.0
Post by: Garou on December 06, 2008, 11:25:42 AM
That's OK you can always update it by hand or you can convert the newer versions to TP yourself with Crip's Converting Guide (http://web.archive.org/web/20070704194247/http://www.cripcan.com/cripconvert.htm).
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 06, 2008, 12:15:13 PM
Ive not actually got any version of tiny portal installed since first I had to make sure the mod was working properly for standard installations.

I will look at installing tiny portal though and adding the extra's needed for it to install as well.As you all know its been busy in game lately plus I have had a lot of RL stuff to do so I was more concerned for now with getting DK working properly and addressing the issues brought up since release.

Our guild site is currently being rebuilt with some integration of roster/DKP as well so I have had to put some effort into that but I have plans to add some extra's to make wow Characters a bit more usable and informative.We normally use tiny portal so it is something I would have got to eventually anyway.Soon as I can sort it out ill add an update to include tiny portal. ;)
Title: Re: WoW Characters 1.9.0
Post by: indi on December 06, 2008, 06:24:24 PM
Quote from: nightbre on December 06, 2008, 12:15:13 PM
Ive not actually got any version of tiny portal installed since first I had to make sure the mod was working properly for standard installations.

I will look at installing tiny portal though and adding the extra's needed for it to install as well.As you all know its been busy in game lately plus I have had a lot of RL stuff to do so I was more concerned for now with getting DK working properly and addressing the issues brought up since release.

Our guild site is currently being rebuilt with some integration of roster/DKP as well so I have had to put some effort into that but I have plans to add some extra's to make wow Characters a bit more usable and informative.We normally use tiny portal so it is something I would have got to eventually anyway.Soon as I can sort it out ill add an update to include tiny portal. ;)

How do you plan on doing the roster/DKP integration?

I wonder, cause I'm working on a similar thing and creating a more elaborate bridge or integration between SMF and eqDKP-Plus. And one of the things I wanted to add optionally would be to have the users' characters automatically be retrieved from eqDKPs tables and shown on the forum just like WoW Characters does now.
Do you plan to make such a feature? In that case I won't have to :P

In any case, if you're planning on something similar maybe we could join forces :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 06, 2008, 07:09:38 PM
QuoteHow do you plan on doing the roster/DKP integration?

Im still deciding how would be the best solution for this really.I think I am going to work on the line of stripping the needed code from roster and dkp and integrating it into direct functions of SMF.That way you can share the database and just add the extra fields needed for roster and dkp.The idea is the members name comes from smf and the character names come from the profile settings in the database.Just create new fields for items ect to be saved.On our old forums I did strip some code an added some features but didnt get round to a full convert.

This is still in the ideas stage but its something I want to get done.I dont know if your planning a similar approach or keeping them as seperate bridged entities but I prefer to see the lot contained in a single database so it needs less ssl additions and the code is all in one directory.

Its probably going to be a fair bit of work though but I think it can be done.I dont know if this is how you see it but if you have any ideas on this sure let me know and we can see if it can be made. :)
Title: Re: WoW Characters 1.9.0
Post by: indi on December 07, 2008, 07:56:22 AM
Ye, I debated on the very same thing.
Whether to create my own completely new DKP system, or to make a bridge/integrate SMF with the existing eqDKP.

The benefit of the latter would be that eqDKP-plus has quite some nifty features and optional modules itself, like a roster, a Raidplanner (very important for my guild) and multiple DKP pools.
Then they also have nice 'extras' like elaborate summaries or stastistics, and a clear overview of items and their custom values, raid-history, and a good caching system.
I thought it would be a bit of a waste to rewrite all of those things and I was leaning towards bridging the 2 separate installations provided they are installed on the same database (eqDKP tables simply have a prefix like "eqdkp_" ). I was trying to 'rebuild' its administration panel in SMF and change eqDKPs user-table to SMFs user-table.

On the other hand,  I agree that I'd also prefer to use SMFs built-in functionality and mod-flexibility. However, since this mod would be quite extensive and it will need a decent structure (meaning a good database/table-scheme), it might be a bit much for a single person to do. Especially since I'm not that deep in SMF yet, although I do have PHP experience ;)

Btw, I was staring at bbDKP for inspiration. They hacked an eqDKP build into a fully integrated phpBB mod, although some things are still missing (like the multi DKP pool). Yet they do have raidplanner support and such, and I was hoping to create something similar for SMF. It's quite nice really, except that it's for phpBB :P
You can find bbDKP at www.bbdkp.net, and they have a demo running aswell (the link and login details are on the site).
Check it out, and if you want I can send you my contact details in PM so we can discuss it a bit and see what's possible :)


Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 07, 2008, 04:23:29 PM
The bbdkp is interesting and I have had a look at this.I think anything made for SMF will have to be made along the lines of something that can be installed as a mod to overcome upgrades and also so people who cant code really have a chance to use it as well.

If you want to speak over this and see if we can do something then feel free to PM me and we can talk further.;)
Title: Re: WoW Characters 1.9.0
Post by: Garou on December 08, 2008, 06:32:41 AM
If your using WoW Roster (http://www.wowroster.net/) there was an SMF bridge on their site at one point.

My favorite dkp system was Nurfed DKP (http://www.nurfedui.net/ndkp.php) but the authors no longer support it. Ive been toying with the idea of reverse engineering it and making something similar that works with SMF and or stand alone. I just haven't found the time. You know with WotLK being out now and all.  :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 08, 2008, 02:03:45 PM
QuoteI just haven't found the time. You know with WotLK being out now and all.  (http://smileys/alienine/smiley.gif)

Yeah tell me lol. :P

I got my main to 80 but am sort of sitting out a little now to sort forum side of things.I generally just log in to see how guild is atm.I am hoping to get site side sorted before I get too involved in any raiding ect and just hit some 5 mans for now.

I have thought about doing this bridge for a while but as you know you never seem to get the time to do a lot once your wanted ingame for raids so I figured now is the best time since the exp came out.Plus we still waiting on some slackers to get levelled up as well so not too much game pressure yet.  ;)
Title: Re: WoW Characters 1.9.0
Post by: indi on December 09, 2008, 08:06:46 AM
Same here... still need to push to 80, simply can't find the time to do all :P

I'll have a look at NurfedDKP, never seen or used it before but I've heard some others talk about it aswell. Might be a nice base to work from next ;)

And I agree that it should be a mod so others can use it aswell, but that still leaves the question: Make a new DKP mod, or a fully-integrated bridge between SMF and an existing DKP mod like eqDKP/Nurfed?
I'm a bit busy coming 2 or 3 days, I'll PM you afterwards.
Perhaps Garou is interested in joining the debate aswell? ;)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 09, 2008, 01:00:42 PM
Ive had a few ideas over this and have done some basic testing with the theory of how I think this can be done.If it does work then it will be more a case of some code converting than a full blown recode job.I might have a decent little mod made out of this test if it works properly for wow and will also confirm that we can make a convert for dkp/roster or at least have a valid direction. ;)

If your interested Garou as well then PM and we can sort out some kind of contact to have a proper chat about this.Just when you guys stopped slacking ingame is kl hehe  :P ,ill see what I can work out in the mean time. ;)

(BTW Fastest 70 -80 was 27 hours lol  :P , Took me about 4 days  :'( )
Title: Re: WoW Characters 1.9.0
Post by: Spennig on December 09, 2008, 02:38:31 PM
::curious::

I had a couple of requests from users on a board I manage that uses this mod (Thrilled by the update, BTW) asking whether we could set it up to show more than 5 character (on the profile mainly, since more than 5 on a post would be painful scrolling) and / or a way to have an option for them to show in the sig area too / instead.

Myself and several friends have between 10-20 characters (a couple have multiple accounts) and are alt-ified to insane levels (obviously)

I'm still learning a lot about the code and how to modify things, etc, so I thought I'd ask how hard these kind of options would be, and if you'd care if I messed with the ideas.

Thanks so much for keeping this going!
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 09, 2008, 03:29:26 PM
It is possible to vary the amount shown on the profile and the posts separately since the 2 blocks of code for each template are Independent.

The easiest way to do this is open wow-dk116v1/Profile.template.php

Find
//WoW Characters - Set Forum Profile START
            $default_realm = $modSettings['wowchar_defaultRealmName'];

            for ($i = 1; $i <= 5; $i++)  {


Change the 5 to the number required.So for 10 it looks like this.
//WoW Characters - Set Forum Profile START
            $default_realm = $modSettings['wowchar_defaultRealmName'];

            for ($i = 1; $i <= 10; $i++) {


Next find
$hr_flag = FALSE;

        for ($i = 1; $i <= 5; $i++) {


Change the 5 again to what you want then close the file and it should let you show up to 10 now on the profile but still 5 on the posts.

You can change the number to suit now how many alts you need to add.Just remember to add Mains first because those after 5 wont show up in posts unless you do the same on display.template.php. ;)
Title: Re: WoW Characters 1.9.0
Post by: Camealion on December 10, 2008, 11:35:25 AM
Thanks for the update nightbre.  I just got my forum updated to 1.9.1.

The only issue i had was in:
./Themes/default/Profile.template.php and
./Themes/default/Display.template.php

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


I had to change to:

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


I would get a file not found on the armory page. If it's been brought to your attention before I apologize.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 10, 2008, 12:14:46 PM
QuoteReally 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

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


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

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


but since I did that it works great. 

Thanks for the cool addition to my site.

Quote by you on first page of this thread.

So now your saying the url which did work no longer works ? 

I will do some testing of the US url and see if there is a problem arisen since this new armoury layout has been released. If there is I will make an update to the url.               
Title: Re: WoW Characters 1.9.0
Post by: Camealion on December 10, 2008, 12:54:50 PM
Quote
So now your saying the url which did work no longer works ? 

I will do some testing of the US url and see if there is a problem arisen since this new armoury layout has been released. If there is I will make an update to the url.

Yes.

I was also reading through the posts again and noticed that Vranx (http://www.simplemachines.org/community/index.php?action=profile;u=3566) also had to change it. Link to Post (http://www.simplemachines.org/community/index.php?topic=268596.msg1811389#msg1811389)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 10, 2008, 01:19:55 PM
QuoteYes.

I was also reading through the posts again and noticed that Vranx (http://index.php?action=profile;u=3566) also had to change it. Link to Post (http://index.php?topic=268596.msg1811389#msg1811389)

It is likely the recent armoury upgrade has caused this url to become invalid.I will update the wow U.S url to suit the new url. :)

Im on European servers which now use armory.wow-europe.com but it used to be eu.armoury.com or similar. The U.S url looks like it has had similar changes.

Thanks for making me aware again of this camealion. ;)
Title: Re: WoW Characters 1.9.0
Post by: Camealion on December 10, 2008, 01:50:34 PM
Quote from: nightbre on December 10, 2008, 01:19:55 PM
QuoteYes.

I was also reading through the posts again and noticed that Vranx (http://index.php?action=profile;u=3566) also had to change it. Link to Post (http://index.php?topic=268596.msg1811389#msg1811389)

It is likely the recent armoury upgrade has caused this url to become invalid.I will update the wow U.S url to suit the new url. :)

Im on European servers which now use armory.wow-europe.com but it used to be eu.armoury.com or similar. The U.S url looks like it has had similar changes.

Thanks for making me aware again of this camealion. ;)

I also assume that this won't be the last time that links change.  Maybe a good suggestion to add a option within the admin panel under Features and Options to be able to update then links if they change so it wouldn't require any hard coding. Just an idea.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 10, 2008, 02:01:03 PM
QuoteI also assume that this won't be the last time that links change.  Maybe a good suggestion to add a option within the admin panel under Features and Options to be able to update then links if they change so it wouldn't require any hard coding. Just an idea.

It is a possibility that the link will change at some stage in the future.If this does start to become an issue then I will look at adding it as a setting.It could be done maybe to pre load the latest url but an option to change it should it need doing.

The following release would have the latest url pre loaded again with the option available to change this.That way it can be changed if needed but the latest update will be the current Armoury links.I am looking at adding some bits to this mod anyway so I will look at this as well.It might not be next release but could be added for a later one.  ;)
Title: Re: WoW Characters 1.9.0
Post by: Camealion on December 10, 2008, 03:47:41 PM
On a different not I've noticed you can't use spaces in the Realm Name you need to use + as the space.

For example: The Forgotten Coast would need to be: The+Forgotten+Coast

I put this in with the +'s as the default realm but if you were to allow custom realms and the person didn't put + in as spaces the link wouldn't work.  I don't know if this is the same for Europeon servers, but maybe a note somewhere telling people to use + as spaces.
Title: Re: WoW Characters 1.9.0
Post by: Spennig on December 10, 2008, 08:16:22 PM
::curious:: What about just having people put in their own armory links if they want them, or a link to any character profiler of their choice if not? Saves you hard coding in armory (gg blizz on borking it all) and lets people with RPGO or wowroster profiles link those instead if they want?

PS: thanks for the options for number of characters! It worked perfectly (though I use different themes, but I was able to put it in the right place :) )
Title: Re: WoW Characters 1.9.0
Post by: (O)fer_cz on December 12, 2008, 05:50:43 PM
cannt load "wowchar" template using SMF 117 TinyPorta 2.0.6b and wowDK 14v1
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 12, 2008, 06:32:55 PM
wow dk114v1 was removed in 1.9.0 because it wasnt compatable with 1.1.7 as standard.You need 115v1 or 116v1 for the installer to do it.

You can add the code manually though if you cant upgrade from 114v1.
Title: Re: WoW Characters 1.9.0
Post by: (O)fer_cz on December 12, 2008, 06:51:13 PM
i downloaded attached Profile.template.php from page 2 and now it doesnt give error but i cannt see text in user and admin setting. i just see 1 and blank edit boxs... :( can someone help me and post screen witch setting so i can set it by that manual. thx
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 12, 2008, 07:39:51 PM
you need to add the language entries as well so they can be displayed in modifications.english.php in themes/languages/modifications.english.

You should have code in profile.template.php , display.template.php and index.template plus the language file above.Change the 115v1 paths to 114v1 in wow_character_profiles.xml in the 1.9.1 pack if need be to make it install automatic or just use it as reference to manually install since they are very similar.



Title: Re: WoW Characters 1.9.0
Post by: KırkAyak on December 18, 2008, 06:40:36 PM
i am using smf 1.1.7
there are any mods that loads

i am taking parsing error.
here is ss
(http://img150.imageshack.us/img150/337/errorpi0.th.jpg) (http://img150.imageshack.us/my.php?image=errorpi0.jpg)

could not find a solution
can u help me
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 18, 2008, 08:04:11 PM
I think you have tried to install the old version of this mod by yutt.

You need the new version from the link here http://custom.simplemachines.org/mods/index.php?mod=1208

1.9.1 is the one you will need to get.
Title: Re: WoW Characters 1.9.0
Post by: KırkAyak on December 19, 2008, 08:12:01 AM
thanks for your help but i used the new one(1.9.1).i found what was wrong, it was a wrong code in Packages.php.
now i installed the mod.but i still have a problem , mouseover is not working.

where must i look for hover(mouseover) code?
here is my forum
http://thenoob.info/index.php?topic=14.15

can u help me?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 19, 2008, 09:54:10 AM
Did the package install correct by itself or have you done some code inserts for this mod?

There should be some code in both profile.template.php and index.template.php which generates the mouseover.If it is missing from profile.template.php it wont show there but still will in posts because it is then reading from index.template.php for the mouseover info.

I just tried to look on your forums but it only shows me a blank page so cant really see how it shows for me.The code your looking for is round this in both templates if you want it to show correct in both profile and posts

$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.utf8_encode($char_name).'" onmouseover="return overlib('<table class=\'profile_tooltip\'><tr><td><span class=\''.$char_class.'\' style=\'font-weight: bold;\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\'color:#FFFFFF\'>'.$char_race.'</span>&nbsp;<span class=\''.$char_class.'\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
                } else {
                    $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.utf8_encode($char_name).'" onmouseover="return overlib('<table class=\'profile_tooltip\'><tr><td><span class=\''.$char_class.'\' style=\'font-weight: bold;\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\'color:#FFFFFF\'>'.$char_race.'</span>&nbsp;<span class=\''.$char_class.'\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
                }


Let me know if this has helped or not.
Title: Re: WoW Characters 1.9.0
Post by: KırkAyak on December 21, 2008, 11:36:31 AM
thanks for your answer.
i have some bigger problems than wow-char mod(while installing tp i took an error and it blow up my forum so i re-install smf 1.1.7).but if i will pass that problems ,i will try your solution and let u know it help or not.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 21, 2008, 01:40:11 PM
On a fresh install of 1.1.7 it should install perfect.You may need to add code to the profile template and index template if you use a theme that isnt on its install list.

If you get stuck let me know. ;)
Title: Re: WoW Characters 1.9.0
Post by: KırkAyak on December 21, 2008, 01:44:13 PM
i checked your solution and it works but 1 different,it works on profile section not in post section.on the messeage board there is a blank.

(http://img512.imageshack.us/img512/2185/daewljf4.th.jpg) (http://img512.imageshack.us/my.php?image=daewljf4.jpg)

(http://img512.imageshack.us/img512/6291/daewlze5.th.jpg) (http://img512.imageshack.us/my.php?image=daewlze5.jpg)

where must i look?
ps:after completing this mod , i will add a mod for wowhead item link.do you know a mod for it?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 21, 2008, 02:06:57 PM
Hi if its showing ok in profile as it looks but not in posts you need to add this code to the display.template.php in the theme your using.

//WoW Character Names - Show Characters in Post
            //Armory Base URL
            if ($modSettings['wowchar_europeanRealm'] == '0') {
                //North America and Oceania Servers
                $armory_url = "http://armory.worldofwarcraft.com/character-sheet.xml?r=";
            } else {
                //European Servers
                $armory_url = "http://armory.wow-europe.com/character-sheet.xml?r=";
            }

            for ($i = 1; $i <= 5; $i++) {
                $name_i = 'char_name'.$i;
                $class_i = 'char_class'.$i;
                $race_i = 'char_race'.$i;
                $gender_i = 'char_gender'.$i;
                $server_i = 'char_server'.$i;
                $guild_i = 'char_guild'.$i;
                $level_i = 'char_level'.$i;

                $char_name = !empty($message['member']['options'][$name_i]) ? $message['member']['options'][$name_i] : '';
                $char_gender = !empty($message['member']['options'][$gender_i]) ? $message['member']['options'][$gender_i] : '';
                $char_race = !empty($message['member']['options'][$race_i]) ? $message['member']['options'][$race_i] : '';
                $char_class = !empty($message['member']['options'][$class_i]) ? $message['member']['options'][$class_i] : '';
                $char_server = !empty($message['member']['options'][$server_i]) ? $message['member']['options'][$server_i] : '';
                $char_guild = !empty($message['member']['options'][$guild_i]) ? $message['member']['options'][$guild_i] : '';
                $char_level = !empty($message['member']['options'][$level_i]) ? $message['member']['options'][$level_i] : '';

                $race_gender = $char_race.' '.$char_gender;
                $race_gender_image = strtr($race_gender,' ','_');
                $file_url = $settings['default_theme_url'].'/images/wow_char/';

                $guild_label = '';
                $level_label = '';
                        $default_server = $modSettings['wowchar_defaultRealmName'];

                //Fix old "race gender" strings
                if (strlen($char_gender) > 6) {
                    $char_race = substr($char_gender,0,strrpos($char_gender,' '));
                    $char_gender = str_replace($char_race.' ','',$char_gender);
                }
               
                if (!empty($char_guild)) {
                    $guild_label = '<tr><td><span style=\\\'color:#00C800\\\'>&amp;lt;'.$char_guild.'&amp;gt;</span></td></tr>';
                }
               
                if (!empty($char_level)) {
                    $level_label = '<span style=\\\'color:#EFBF00\\\'>'.$char_level.'</span>&nbsp;';
                }
               
                if (!empty($char_gender) & !empty($char_class) & !empty($char_name) & !empty($char_race)) {
                    if (!empty($char_server)) {
                        $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'&n='.utf8_encode($char_name).'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
                    } else {
                    $hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'&n='.utf8_encode($char_name).'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
                    }
                   
                    echo '
                                <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$race_gender_image,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span style=\\\'color:#FFFFFF;\\\'>',$race_gender,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">
                                <img style="vertical-align:bottom" width="18" height="18" src="',$file_url,$char_class,'.png" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\'',$char_class,'\\\'>',$char_class,'</span></td></tr></table>\',FULLHTML);" onmouseout="return nd();">';
                    echo '
                                '.$hover_code;
                    echo '
                                <br />';
                }
            }
            //END WoW Character Names - Show Characters in Post


Look for this code or your themes similar part and insert the wow code after it.

// Show avatars, images, etc.?
            if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
                echo '
                                <div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'], '</div><br />';


It should then show characters in posts as well.

Title: Re: WoW Characters 1.9.0
Post by: KırkAyak on December 21, 2008, 02:10:06 PM
it works, thanks a lot friend
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 21, 2008, 02:33:24 PM
Quoteit works, thanks a lot friend

Np glad to be of help. ;)
Title: Re: WoW Characters 1.9.0
Post by: KırkAyak on December 23, 2008, 01:53:26 AM
i changed theme and i made manuel-install to wow-char mod for my theme.
i stuck in profile.php

whenever i tryed to add this part i lost members profile page.it became a white empty page.

Quote
elseif (isset($_POST['action']) && $_POST['featuresettings'] == 'wowchar' && isset($_POST['sa']) && $_POST['sa'] == 'wowchar') {

      if (empty($post_errors))
         redirectexit("action=featuresettings;sa=wowchar");

in my profile.php code there is an else part after if part.
Quote
if (isset($_POST['sa']) && $_POST['sa'] == 'deleteAccount')
   {
      deleteAccount2($profile_vars, $post_errors, $memID);

      if (empty($post_errors))
         redirectexit();
         
   }
   
   else
      saveProfileChanges($profile_vars, $post_errors, $memID);


without this part of code profile page works but when u click [WoW Characters] button u see only a white page.
here is my profile.php

thanks for your all help
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 23, 2008, 12:44:47 PM
Hi it looks like your looking at the wrong file to insert the code into.

You attached profile.php which is from the sources folder but you need to edit profile.template.php which is in themes/themename/profile.template.php.

Dont forget there are 2 pieces of code to insert into the file.You should find the insert points easier to find as well. :)
Title: Re: WoW Characters 1.9.0
Post by: Elen on January 12, 2009, 07:23:37 AM
I have installed WoW Characters 1.9.1 and am using it with SMF 1.1.7 and the wow-dk116v1 theme.  Everything works fine except on my DK character the class icon isn't shown.  It's only a small quibble but it would be nice if it displayed, the same as my other characters.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on January 12, 2009, 08:33:59 AM
QuoteI have installed WoW Characters 1.9.1 and am using it with SMF 1.1.7 and the wow-dk116v1 theme.  Everything works fine except on my DK character the class icon isn't shown.  It's only a small quibble but it would be nice if it displayed, the same as my other characters.

Hi can you check that the image is present in the folder Themes/Default/images/wow_char for the DK.

Ive attached it below in case you need it but it should be working for 1.9.1 anyway.Dont change the spelling of the icon or the forum wont see it still.

Let me know if this helps or not.
Title: Re: WoW Characters 1.9.0
Post by: Spennig on January 12, 2009, 09:28:47 AM
I know I ran into a bug with that, where the original filename was capitalized and it didn't find it because of that.
Title: Re: WoW Characters 1.9.0
Post by: Dekthro on January 15, 2009, 02:43:15 PM
I'm trying to edit the script so that theres only 1 character option (instead of 5), where in the code can I change it so they can only enter one character?
Title: Re: WoW Characters 1.9.0
Post by: Spennig on January 15, 2009, 06:11:38 PM
Quote from: Dekthro on January 15, 2009, 02:43:15 PM
I'm trying to edit the script so that theres only 1 character option (instead of 5), where in the code can I change it so they can only enter one character?

What I was told to increase the number would work to cut it back. See the post here:

http://www.simplemachines.org/community/index.php?topic=268596.msg1833825#msg1833825
Title: Re: WoW Characters 1.9.0
Post by: Night09 on January 15, 2009, 08:33:51 PM
Yes you can set the max for it to whatever you wish.It can be done seperate for posts and profile because they both have their own code for this.So you could have 5 show in profile but only 2 in posts for instance.Just follow the example in the post you linked but set the max to the number you want it to be.
Title: Re: WoW Characters 1.9.0
Post by: wayofthebob on January 20, 2009, 12:22:36 PM
I wonder if anyone can help with this problem (or am I just an idiot that has missed the solution elsewhere)

I keep getting the following error when trying to access the profiles section after installing 1.91.


Fatal error: Cannot redeclare template_wowchar() (previously declared in /home/content/w/a/y/wayofthebob/html/smf/Sources/Load.php(1727) : eval()'d code:2508) in /home/content/w/a/y/wayofthebob/html/smf/Sources/Load.php(1727) : eval()'d code on line 2659


I originally had an old (very) version manually installed but changed my forums template (www.disciplesofthewatch.com) to the IronWow Template and since then this problem is happening.  Un-installing the mod fixes it but it would be nice to be able to get it working.

Any advice is greatly appreciated.

Bob
Title: Re: WoW Characters 1.9.0
Post by: HellSpawnCometh on January 20, 2009, 07:17:41 PM
Quote from: nightbre on January 12, 2009, 08:33:59 AM
QuoteI have installed WoW Characters 1.9.1 and am using it with SMF 1.1.7 and the wow-dk116v1 theme.  Everything works fine except on my DK character the class icon isn't shown.  It's only a small quibble but it would be nice if it displayed, the same as my other characters.

Hi can you check that the image is present in the folder Themes/Default/images/wow_char for the DK.

Ive attached it below in case you need it but it should be working for 1.9.1 anyway.Dont change the spelling of the icon or the forum wont see it still.

Let me know if this helps or not.

I ran into this same issue... the problem is that the DK image file wasn't named with the proper casing. When I installed it, the file was named "deathknight.PNG"... I changed it to "Deathknight.png" and everything is working fine now. Note that you have to change both the first letter of the file name to capital, and the .png extension to lower case.

The file is located in Themes/default/images/wow_char/ if you use the default installation.
Title: Re: WoW Characters 1.9.0
Post by: Spennig on January 20, 2009, 07:38:13 PM
Quote from: wayofthebob on January 20, 2009, 12:22:36 PM
I wonder if anyone can help with this problem (or am I just an idiot that has missed the solution elsewhere)

I keep getting the following error when trying to access the profiles section after installing 1.91.


Fatal error: Cannot redeclare template_wowchar() (previously declared in /home/content/w/a/y/wayofthebob/html/smf/Sources/Load.php(1727) : eval()'d code:2508) in /home/content/w/a/y/wayofthebob/html/smf/Sources/Load.php(1727) : eval()'d code on line 2659


I originally had an old (very) version manually installed but changed my forums template (www.disciplesofthewatch.com) to the IronWow Template and since then this problem is happening.  Un-installing the mod fixes it but it would be nice to be able to get it working.

Any advice is greatly appreciated.

Bob

It's still got some of the old code it looks like. I ran into that with mine when I had to pull the old version out manually.

I'd install again, then check all the files that it lists in the install (display.template.php, etc) and check to be sure the wowchar information isn't listed twice anywhere. Removed the old, keep the new, and you should be good :)

That's what fixed my similar errors anyway. I won't claim to be perfect :)
Title: Re: WoW Characters 1.9.0
Post by: wayofthebob on January 21, 2009, 02:50:08 PM
Quote from: Spennig on January 20, 2009, 07:38:13 PM
Quote from: wayofthebob on January 20, 2009, 12:22:36 PM
I wonder if anyone can help with this problem (or am I just an idiot that has missed the solution elsewhere)

I keep getting the following error when trying to access the profiles section after installing 1.91.


Fatal error: Cannot redeclare template_wowchar() (previously declared in /home/content/w/a/y/wayofthebob/html/smf/Sources/Load.php(1727) : eval()'d code:2508) in /home/content/w/a/y/wayofthebob/html/smf/Sources/Load.php(1727) : eval()'d code on line 2659


I originally had an old (very) version manually installed but changed my forums template (www.disciplesofthewatch.com) to the IronWow Template and since then this problem is happening.  Un-installing the mod fixes it but it would be nice to be able to get it working.

Any advice is greatly appreciated.

Bob

It's still got some of the old code it looks like. I ran into that with mine when I had to pull the old version out manually.

I'd install again, then check all the files that it lists in the install (display.template.php, etc) and check to be sure the wowchar information isn't listed twice anywhere. Removed the old, keep the new, and you should be good :)

That's what fixed my similar errors anyway. I won't claim to be perfect :)

Thanks for the response.

I'll give that a go and see if I can find anything :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on January 21, 2009, 04:37:29 PM
If you cant get it to work post back and we can go over it all to make sure the code is in the correct places in files on the forums.From what I can see there are issues in the profile template and possibly the index since characters are not showing up.The armoury links are also not correct making me think there are some incorrect manual edits since its trying to use your site url.

Let us know if you resolve this or need some further help and thanks guys who have posted replies as well.I will change the DK problem and update so it is no longer an issue.;)
Title: Re: WoW Characters 1.9.0
Post by: Darthx on January 22, 2009, 06:41:47 PM
hi, By the text and comments, the mod seems to be good but in my opinion it should be some screens  on the mod page and/or first post.

Can someone upload some screenshots of this mod working. I appreciate the favour :)

My rewards
Title: Re: WoW Characters 1.9.0
Post by: Spennig on January 22, 2009, 10:22:07 PM
Quote from: DarthNightmare on January 22, 2009, 06:41:47 PM
hi, By the text and comments, the mod seems to be good but in my opinion it should be some screens  on the mod page and/or first post.

Can someone upload some screenshots of this mod working. I appreciate the favour :)

My rewards

http://www.guildawakened.net/forums - I think you can view my members and some posts without registering.

I'll see about screenies when I have more time. I've got it standard and modded, for options.
Title: Re: WoW Characters 1.9.0
Post by: Garou on January 23, 2009, 12:56:28 PM
I posted some screenies back on page 3 (http://www.simplemachines.org/community/index.php?topic=268596.msg1795842#msg1795842) of this thread.
Title: Re: WoW Characters 1.9.0
Post by: Darthx on January 24, 2009, 12:11:33 AM
thx you guys, seems to be nice, I will give it a try when i got some free time

my rewards
Title: Re: WoW Characters 1.9.0
Post by: Galedon on January 27, 2009, 04:12:51 AM
Question:

How can i include this mod in SMF 2.0 Beta 4 ?!

Any idea ?

Title: Re: WoW Characters 1.9.0
Post by: wayofthebob on January 27, 2009, 11:57:59 AM
Quote from: nightbre on January 21, 2009, 04:37:29 PM
If you cant get it to work post back and we can go over it all to make sure the code is in the correct places in files on the forums.From what I can see there are issues in the profile template and possibly the index since characters are not showing up.The armoury links are also not correct making me think there are some incorrect manual edits since its trying to use your site url.

Let us know if you resolve this or need some further help and thanks guys who have posted replies as well.I will change the DK problem and update so it is no longer an issue.;)

Fixed now thanks guys.  It was a problem with the profile.template.php file.  Even after uninstalling it still seemed to have huge chunks of code related to wowcahr so I deleted those and everything is good.

Thanks again

Bob
Title: Re: WoW Characters 1.9.0
Post by: Galedon on January 28, 2009, 09:21:47 AM
Quote from: Galedon on January 27, 2009, 04:12:51 AM
Question:

How can i include this mod in SMF 2.0 Beta 4 ?!

Any idea ?



no idea someone ?!
Title: Re: WoW Characters 1.9.0
Post by: Garou on January 28, 2009, 01:34:35 PM
You can try ripping apart and checking out the 2.0 coding changes faq and converting it yourself other then that all I can offer is what I say on any site or mod
'it will be updated when the author is ready to update it".
Title: WoW Characters 1.9.1 n00b
Post by: vestradeus on January 28, 2009, 03:18:46 PM
Ok, I skimmed through the 7 pages of interesting help, but not seemed to apply specifically to me. I'd lvoe to get this mod going on my guild's forums, but I confess to being still a bit new to this SMF magic.

Ok, I am running SMF 1.1.7, WoWdk-116v1, and WoW Characters 1.9.1, and get the following issues:

Under character profile, the link to edit your character info appears, but if you follow it you get:
An Error Has Occurred!
Unable to load the 'wowchar' template.

Also, under Features and Options , instead of being a place for [Wow Characters] all i have is the empty brackets  []

Those work as a link as well, and it takes me to the place where there is an input field, and 3 "?" boxes, and two check boxes - no text for any of them. (following the "?" explained what each each for however). 


So I put in the server name, but remain stuck. Any help would be wonderful.
Title: Re: WoW Characters 1.9.0
Post by: vestradeus on January 29, 2009, 08:49:56 AM
never mind, cleaned out all my old theme files, did a fresh them install, and all the errors went away.

Now I just need to get the character links to actually make it to the proper place in the armory.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on January 29, 2009, 02:08:50 PM
Quotenever mind, cleaned out all my old theme files, did a fresh them install, and all the errors went away.

Now I just need to get the character links to actually make it to the proper place in the armory.                       

Hi

Are the links broken? Have you ticked for Europe or left unticked for US ?

The links are contained in both the profile template and the display template so any change needs to be made to the url in both.There shouldnt be an url issue but if you can provide more info on the error I may be able to help further.
Title: Re: WoW Characters 1.9.0
Post by: Ammit on February 10, 2009, 03:54:25 PM
The armory links in 1.9.1 are indeed broken.

Anyone that wants the links to work needs to do a Find and Replace in the wow_character_profiles.xml file that comes with the 1.9.1 package before installing it. Find "armory.worldofwarcraft" and replace with "www.wowarmory".

Blizzard changed their domain for the armory many months ago and I guess this has never been updated. Just installed this mod myself, noticed the error, uninstalled, did my find and replace, reinstalled, and all works like it should. Hope this helps someone!
Title: Re: WoW Characters 1.9.0
Post by: Sheriden on February 23, 2009, 01:13:36 AM
Hey there, trying to get the mod to work on my guilds forums, but having a problem, was hoping you could help me out since i cant figure it out. Im still new with SMF + mods etc.

I manually added all the code into all the files required following the 'Installation Instructions for 1.1.8'
(http://custom.simplemachines.org/mods/index.php?action=parse;mod=1208;attach=78561;smf_version=1.1.8)

Now when i select "Profile" on my forums, i recieve the following error:

QuoteTemplate Parse Error!
There was a problem loading the /Themes/default/Profile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected T_STRING in .../Themes/default/Profile.template.php on line 171

162:             </tr><tr>
163:                <td><b>', $txt['lastLoggedIn'], ': </b></td>
164:                <td>', $context['member']['last_login'], '</td>
165:             </tr>';
166: ';
167:          
168:     //WoW Characters - View Forum Profile START
169:       //WoW Character Names - Show Characters in Post
170:       //Armory Base URL

171:       if ($modSettings['wowchar_europeanRealm'] == '0') {

172:          //North America and Oceania Servers
173:          $armory_url = "http://eu.wowarmory.com/character-sheet.xml?r=";
174:       } else {
175:          //European Servers

As you can see, i updated the links to the correct urls in the coding, but thats it. Everything else is as it was in the instructions. After uploading the new files with the added coding, i then went to ADMIN > FEATURES & OPTIONS > [WoW Characters] and added the realms name and ticked both options and hit save. I then went to "Profile" in hopes of adding my character and then i get this error. When ever i try to access profile i get the error.

Btw im not using the default template, but the 'DarkBreak' theme.

Link to my site: http://www.csallaway.co.uk/forum/index.php

Any ideas? Any help would be much appreciated.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on February 24, 2009, 05:54:24 AM
It may be easier to attach the profile template since the error may not be within this section of code.There are 2 blocks of code added to the profile template that may have caused this to show for you.
Title: Re: WoW Characters 1.9.0
Post by: Sheriden on February 24, 2009, 01:32:27 PM
Okay sorry like i said im new with this, ive attached the profile template + display.

any help is really appreciated :) ty
Title: Re: WoW Characters 1.9.0
Post by: Night09 on February 26, 2009, 02:35:04 PM
Ill check these over and get back soon as I can ;)
Title: Re: WoW Characters 1.9.0
Post by: Sheriden on February 26, 2009, 08:15:30 PM
Thanks alot mate  :)
Title: Re: WoW Characters 1.9.0
Post by: Elodian on February 28, 2009, 01:59:25 AM
I seem to be having a problem with my installation of WoW Characters.

I'm using SMF 1.1.8 and WoW Characters 1.9.1 and the Theme wow-dk116v1 (1.1.5)

It installs all correctly, I can see everything fine in the admin page and profile pages. My error seems to be that I cannot see the characters of a user when they make a post (eg normally the characters are shown underneath the user details) but on my pages there is nothing.

Has anyone come across this before? Anyone know a fix?
Title: Re: WoW Characters 1.9.0
Post by: Garou on February 28, 2009, 10:50:24 AM
Check out http://custom.simplemachines.org/mods/index.php?action=parse;mod=1208;attach=78561;smf_version=1.1.8 , that's the manual instructions for the mod for 1.1.8. Compare the changes under ./Themes/wow-dk116v1/Display.template.php to the actual display template of the theme on your site and confirm that every thing is there. Since nightbre has the support for the theme in the mod my guess is that something didn't take during the installation.
Title: Re: WoW Characters 1.9.0
Post by: Elodian on March 01, 2009, 07:42:30 PM
Thats Garou, I've tried that and it didn't work, all the code was there.

Any other suggestions?
Title: Re: WoW Characters 1.9.0
Post by: Garou on March 01, 2009, 09:46:29 PM
Hmmm I haven't installed this on 1.1.8 yet as I'm guildless at the moment. The guild I was with and had me admin their site fell apart a while back so I haven't really played with the wow mods much since.

Does it display on the default template? If it does, then there is something out of place in the display template for Theme wow-dk116v1. If not the problem may be somewhere else but it really sounds like a display template issue.
Title: Re: WoW Characters 1.9.0
Post by: Hegemone on March 03, 2009, 10:47:01 AM
Installed it on 1.1.8 and wowdk 116v1. No errors, everything works except the chars do not show up in posts. Checked the 1.1.8 manual and all the code is where it should be. Works on default theme.  ::) So I rely on some1 smarter then me to help me out here :)
Title: Re: WoW Characters 1.9.0
Post by: Hegemone on March 03, 2009, 01:12:10 PM
Fixed the problem. If you select to post the user information on the left instead of on top of the post, the chars are there. Not a real fix, but a solution nonetheless.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on March 06, 2009, 06:35:03 AM
Sheriden,

Ive had a look over the templates and on the profile there appears to be a slight error made when you updated the url.

On line 166 you need to remove the following 2 characters ';

Save the template and then retry the profile page.Let me know if this solves the issue for you.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on March 06, 2009, 06:38:54 AM
On wow DK Theme you need to select poster information on the left to enable character icons to be displayed.I currently havent got a fix to allow it to work in the default mode so by changing to show on the left is the correct way to make the icons appear.

Sorry if this has caused confusion about the mod for you guys.
Title: Re: WoW Characters 1.9.0
Post by: Sheriden on March 10, 2009, 08:00:03 AM
Hey nightbre, thanks for helping.

After reading your post i looked into it, and on the instructions page the 2characters you said were an error are actually present in the copy and paste of code. Im guessing it was meant to be after the </tr> in the "find" section and not at the top of the "copy" section.

However, upon fixing this, i still get an error, but a different one:

QuoteTemplate Parse Error!
There was a problem loading the /Themes/default/Profile.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/default/Profile.template.php on line 252

243:                </td>
244:             </tr>
245: ';
246:          }
247:       }
248:       
249:     //WoW Characters - View Forum Profile END
250:       echo '
251:    // Is this member requiring activation and/or banned?

252:    if (!empty($context['activate_message']) || !empty($context['member']['bans']))

253:    {
254:       echo '
255:             <tr>
256:                <td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>

I then decided to just take a shot and figured if maybe the START was incorrect that maybe the end was also. And i found that the end was this:

Quote//WoW Characters - View Forum Profile END
      echo '   

So i decided to remove "echo'". and then it worked correctly! So now it all seems to work.

Thanks for ur help and if anyone else has this problem i hope my post helps you fix it.

I guess the instructions need fixing!
Title: Re: WoW Characters 1.9.0
Post by: mristau on March 10, 2009, 02:49:45 PM
I installed the Mod in my Guilds Board v1.1.8
And added a German translation that is used now in the Profile, where the Chars are inserted
But in Posts it still takes the english text
Is it possible to tell it, it should use the translated classes/races/etc..
Title: Re: WoW Characters 1.9.0
Post by: Night09 on March 10, 2009, 10:21:30 PM
Sheriden,

Glad it is all working I will check through the thread for the code you mention. ;)

mristau,

There is 2 files to look at.You have changed text in the profile.template but to make posts display as well you also need to edit the display.template code.The same code is used in the two templates independant so it is possible to change one with no effect on the other as you see.Once you make the changes there posts will also display the correct language for you.
Title: Re: WoW Characters 1.9.0
Post by: yonnodie on March 20, 2009, 12:01:54 PM
Anyone have any plans to port this to SMF 2.0?
Title: Re: WoW Characters 1.9.0
Post by: opensorce on March 20, 2009, 01:30:15 PM
Nightbre, you're awesome! I'll be editing ours so that pulls up each member's gear "Be Imabalanced!" character page soon. Should be be an easy matter since that site uses a very similar format to the WoW Armory.

Thanks again, this is a great mod!
Title: Re: WoW Characters 1.9.0
Post by: Night09 on March 21, 2009, 12:42:46 AM
Ill look at a version for 2.0 soon.I have been waiting for a stable public release really before bothering.;)
Title: Re: WoW Characters 1.9.0
Post by: Elen on May 05, 2009, 10:28:09 AM
I am using SMF 1.1.8 and just installed a new TP theme (Helios) as the old theme was giving us problems.  I did have WoW Chars 1.9.1 installed but the characters weren't showing up in forum posts so I downloaded the latest 1.9.2  I wasn't sure if i could re-install it over the top so uninstalled and removed 1.9.1 and the installed 1.9.2  Now I can't access my profile page, i get the following error :

QuoteFatal error: Cannot redeclare wowchar() (previously declared in /home2/hulanthe/public_html/enlight/Sources/Profile.php:2937) in /home2/hulanthe/public_html/enlight/Sources/Profile.php on line 2951

When I uninstall 1.9.2 I can access the profile page which shows WoW Characters in the Modify section and all my characters are still there.

Things seems to be in a bit of a mess!  Can anyone help please?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on May 05, 2009, 11:33:17 AM
You need to check the themes/default/profile.template.php where the wow code is inserted.It sounds like the code is in there twice causing the error.There are 2 blocks of code inserted on a normal installation so check it has not one or both repeated in the code.

If you cant fix the template attach it to here and ill take a look.
Title: Re: WoW Characters 1.9.0
Post by: Elen on May 10, 2009, 03:47:08 PM
Quote from: nightbre on May 05, 2009, 11:33:17 AM
You need to check the themes/default/profile.template.php where the wow code is inserted.It sounds like the code is in there twice causing the error.There are 2 blocks of code inserted on a normal installation so check it has not one or both repeated in the code.

If you cant fix the template attach it to here and ill take a look.

That worked.  It's one step forward and two back though :(  I have abandoned the WoW DK theme as it no longer works since I upgraded SMF to the latest version.  The theme I'm using now doesn't display the character information in the posts.  If I change to the default theme the character info is displayed....twice!
Title: Re: WoW Characters 1.9.0
Post by: Night09 on May 10, 2009, 11:50:09 PM
Ok then it sounds like you now need to look at the Default themes index.template for the code duplicated and remove it,it will be similar code to that in the profile.template then add the same code to the new themes index.template and the characters will then show on that theme also.

The reason you dont see the characters on the new theme is because there isnt any code added to its index.template. Most themes use the standard default profile.template so they usually show on any of them unless it has its own template.

You will need to add the small piece of code to the new themes display.template also then all should be good.
Title: Re: WoW Characters 1.9.0
Post by: Elen on May 11, 2009, 03:37:10 AM
Quote from: nightbre on May 10, 2009, 11:50:09 PM
Ok then it sounds like you now need to look at the Default themes index.template for the code duplicated and remove it,it will be similar code to that in the profile.template then add the same code to the new themes index.template and the characters will then show on that theme also.

The reason you dont see the characters on the new theme is because there isnt any code added to its index.template. Most themes use the standard default profile.template so they usually show on any of them unless it has its own template.

You will need to add the small piece of code to the new themes display.template also then all should be good.

Yay!  I got it showing in the new template.  Thank you so much for your help :D
Title: Re: WoW Characters 1.9.0
Post by: Night09 on May 11, 2009, 06:36:43 AM
QuoteYay!  I got it showing in the new template.  Thank you so much for your help (http://smileys/alienine/cheesy.gif)

Glad its all sorted now. ;)
Title: Re: WoW Characters 1.9.0
Post by: tanyril on May 13, 2009, 04:17:44 PM
Hi Night, I just installed your mod and the characters are not showing up in posts, they do show up in profile view however. I checked to see if the code was in the correct template files which it is... any ideas?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on May 13, 2009, 08:29:40 PM
Hi,

If you have a custom theme not included in the install you will need to add the code manually to the custom themes index.template.php. There are 2 blocks of code needed to be installed in the index.template.php and a small one in display.template.php. The forum will then show wow characters in your posts.

If you check here (http://custom.simplemachines.org/mods/index.php?action=parse) you will be able to see where to add the edits for a new theme.Most themes you will be able to add the code in the same place so the part you need to check is the index.template.php for the code and correct places to insert it and display.template.php to insert then it should all work fine. ;)
Title: Re: WoW Characters 1.9.0
Post by: tanyril on May 13, 2009, 11:01:06 PM
Well, i'm using Wowdk 116v1, and i've already checked the code that i thought it might be in the parse (i looked in the index.template and in the display.template but the code is there already)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on May 14, 2009, 05:01:15 AM
Make sure on wowdk themes you set poster information to be shown on left or they will not show in posts.It is in the themes settings and most likely the cause if it is wowdk.
Title: Re: WoW Characters 1.9.0
Post by: tanyril on May 14, 2009, 09:41:25 AM
Ok, i was pretty hopeful about that one because it was set to display on top, but its not working still.
Title: Re: WoW Characters 1.9.0
Post by: tanyril on May 14, 2009, 10:13:31 AM
OK! Fixed it! After changing it to showing the info on the left, it still wasnt working. So, i uninstalled and reinstalled the mod. It then began to work. Thanks for your help!
Title: Re: WoW Characters 1.9.0
Post by: Mish Harvey on June 02, 2009, 01:55:27 PM
Hey I just installed this mod for our guild forum, and I'm having issues. I really want it to work too!

I already set our profile information to show up on the left.  I'm running SMF 1.1.9 and my theme is wowdk119v1 which I see from older posts and the download page isn't covered yet? 

It installed with no problem, but when I click the link in the profile settings, I get the first attachment.  The second attachment is when I try to go through the admin panel.

Thank you for any help.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 03, 2009, 09:29:32 AM
Hi I think the issue is that wow_dk theme has had an update not included in the install package.

What has happened is it has skipped the files not there (wow_dk115/116) so you saw no errors.It would have installed the code it could have giving you the result your seeing.

I will update the package and upload it later today to include the latest version of wow_dk theme.My suggestion is to just uninstall the package until after ive updated and reinstall it.If your happy to do edits you could add the code manually yourself but will make it more work for you.

I wasnt aware the theme had had an update ;)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 04, 2009, 07:00:26 AM
1.9.2 now supports wow-dk119v1

There are no other changes to the package apart from adding the theme for install only.
Title: Re: WoW Characters 1.9.0
Post by: Mish Harvey on June 04, 2009, 09:33:01 AM
Quote from: nightbre on June 04, 2009, 07:00:26 AM
1.9.2 now supports wow-dk119v1

There are no other changes to the package apart from adding the theme for install only.

Hurray!  I uninstalled, deleted the old packaged, installed the update...works like a charm now.  Thanks for updating it! :)
Title: Re: WoW Characters 1.9.0
Post by: Caeser on June 16, 2009, 01:00:51 PM
I am getting an error, here are the results:

Installing this package will perform the following actions:  Type Action Description
1. Execute Code wowchar_settings.php 
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Themes/wowdk_115v1/index.template.php Skipping file
4. Execute Modification ./Themes/wowdk_115v1/Profile.template.php Skipping file
5. Execute Modification ./Themes/wowdk_115v1/Display.template.php Skipping file
6. Execute Modification ./Themes/wow-dk119v1/index.template.php Test successful
7. Execute Modification ./Themes/wow-dk119v1/Profile.template.php Test successful
8. Execute Modification ./Themes/wow-dk119v1/Display.template.php Test successful
9. Execute Modification ./Themes/wow-dk116v1/index.template.php Skipping file
10. Execute Modification ./Themes/wow-dk116v1/Profile.template.php Skipping file
11. Execute Modification ./Themes/wow-dk116v1/Display.template.php Skipping file
12. Execute Modification ./Themes/default/index.template.php Test successful
13. Execute Modification ./Themes/default/Profile.template.php Test successful
14. Execute Modification ./Themes/default/Display.template.php Test successful
15. Execute Modification ./Sources/Profile.php Test successful
16. Execute Modification ./Themes/default/languages/Profile.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
18. Execute Modification ./Themes/default/languages/Help.english.php Test successful
19. Extract Tree ./Themes/default/images/wow_char
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 18, 2009, 08:50:26 AM
Quote2. Execute Modification ./Sources/ModSettings.php Test failed

The most likely reason would be that another mod has changed the code in modsettings.php or a manual edit.If you look at the package parser for 1.1.9 you will see where the edit should be made and be able to confirm if it is the reason.You can add the piece manually if it is simply this.

Post back and let me know what you find out.
Title: Re: WoW Characters 1.9.0
Post by: Caeser on June 18, 2009, 01:02:18 PM
ummm package parser?????  :-\
Title: Re: WoW Characters 1.9.0
Post by: Garou on June 18, 2009, 03:36:33 PM
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1208;attach=101066;smf_version=1.1.9
Title: Re: WoW Characters 1.9.0
Post by: Caeser on June 22, 2009, 04:48:13 PM
I cannot seem to get this to work...still... any suggestions?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 23, 2009, 07:25:38 PM
Attach a copy of the ModSettings.php and I will try adding it for you.
Title: Re: WoW Characters 1.9.0
Post by: Kyzer on June 23, 2009, 10:20:03 PM
Any plans on updating this for 2.0 ? I could really use this on my forums :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 28, 2009, 03:36:45 PM
QuoteAny plans on updating this for 2.0 ? I could really use this on my forums

I am currently working on this for 2.0 and have most of it sorted out.I cant give an exact date for release but it will be done soon. ;)
Title: Re: WoW Characters 1.9.0
Post by: ShadoWind on June 30, 2009, 12:37:40 PM
How come this version is compatible with 1.1.9 but not the latest version?
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on June 30, 2009, 02:12:23 PM
Isn't 1.1.9 the latest version?
Title: Re: WoW Characters 1.9.0
Post by: ShadoWind on June 30, 2009, 02:24:58 PM
Yes, 1.1.9 is the latest version of SMF.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 30, 2009, 03:49:59 PM
2.0 is smf 2 and has a different structure to the 1.1.x range currently supported so there will be 2 versions when its done, one for 1.1.x and one for 2.x .

1.1.9 is the latest version if you dont use smf2 though. ;)
Title: Re: WoW Characters 1.9.0
Post by: ShadoWind on June 30, 2009, 04:20:43 PM
Quote from: nightbre on June 30, 2009, 03:49:59 PM
2.0 is smf 2 and has a different structure to the 1.1.x range currently supported so there will be 2 versions when its done, one for 1.1.x and one for 2.x .

1.1.9 is the latest version if you dont use smf2 though. ;)

Thanks for letting us know that there's going to be a new version as I want to use it for my forum and it's just odd that the latest version doesn't work with 1.1.9 even though a previous version does work with it.
Title: Re: WoW Characters 1.9.0
Post by: xthelocustx on July 22, 2009, 07:17:05 AM
Does this work with SMF 1.1.10? I made all template edits required but none of the text appears. Screens below.

(http://i29.tinypic.com/2cwx73b.png)

(http://i26.tinypic.com/swxqi1.png)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on July 22, 2009, 03:03:32 PM
QuoteDoes this work with SMF 1.1.10? I made all template edits required but none of the text appears. Screens below.

It should be fine with 1.1.10 but looks like you havent put the language entries in so you have blanks because there is no text to call from.Let me know if this is the reason but I think it is tbh. ;)
Title: Re: WoW Characters 1.9.0
Post by: xthelocustx on July 23, 2009, 12:40:53 AM
Quote from: nightbre on July 22, 2009, 03:03:32 PM
QuoteDoes this work with SMF 1.1.10? I made all template edits required but none of the text appears. Screens below.

It should be fine with 1.1.10 but looks like you havent put the language entries in so you have blanks because there is no text to call from.Let me know if this is the reason but I think it is tbh. ;)

Just to be clear were talking about Modifications.english rite? I double checked and all edits are there. Must be something else..
Title: Re: WoW Characters 1.9.0
Post by: Night09 on July 23, 2009, 11:07:46 AM
What theme are you using? Does it have its own modifications.english and have you put the code in there or in the default themes modification.english?

You need the code in the default themes modification.english not the themes own one.

Title: Re: WoW Characters 1.9.0
Post by: xthelocustx on July 23, 2009, 03:29:46 PM
Quote from: nightbre on July 23, 2009, 11:07:46 AM
What theme are you using?

Its a modified version of the DSv4 theme from dzinerstudio. It does the same thing on the default smf theme also.

Quote from: nightbre on July 23, 2009, 11:07:46 AM
Does it have its own modifications.english

No

Quote from: nightbre on July 23, 2009, 11:07:46 AM
have you put the code in there or in the default themes modification.english

Default, The installer put the code in just fine, i just checked to make sure it was infact there.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on July 24, 2009, 08:28:53 PM
QuoteIt does the same thing on the default smf theme also

mmm.. Ive just installed a new test forum on 1.1.10 and downloaded 1.9.2 package and installed it and it works first try with all text present.

With the forums modifications.english file in the default folder check there is no errors like the closer missing or in the wrong place.There should be no reason the default doesnt work.

Ive attached a copy of the default folders modifiacations.english file for you to try a swap with and see if that helps.
Title: Re: WoW Characters 1.9.0
Post by: Ashane on July 24, 2009, 10:55:11 PM
Heya,

How hard would it be to modify this so that it works for other games besides WoW?

Which would involve firstly disabling the armory lookup, changing the classes & level's, etc.. I'm starting to dig through it now and wondering if its worth it or should I just start from scratch?
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on July 25, 2009, 12:50:22 AM
I think it would be an awesome idea to make this mod work with other games. With Aion getting closer to release along with many other games, this mod would be a boon for many genres.
But again, like Ashane mentions, would be it worth it or too much work.
Title: Re: WoW Characters 1.9.0
Post by: Garou on July 25, 2009, 08:55:52 AM
The base code is simple enough to convert to other games, I figured this out for myself when I added death knights to one of my sites before nightbre added them into the mod. However its code and graphics one would have to modify themselves. Making the mod all encompassing would be way to complicated, there are way too many unknown variables unless you know the game and the websites a particular game uses.
Title: Re: WoW Characters 1.9.0
Post by: Kencelot on July 25, 2009, 09:56:54 AM
Agreed Garou. I too did the same thing with the DK.
I think that I will convert this to one of my favorite games for my site. And since the game is not yet released, it gives me plenty of time to work on it.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on July 25, 2009, 11:12:49 AM
Depending on the game in question and the features wanted the code could be changed,have some removed or converted to perform another task so it fit another game.It comes down to the game you are thinking of and having a clear idea of what functions it should perform.
Title: Re: WoW Characters 1.9.0
Post by: xthelocustx on July 26, 2009, 03:27:33 AM
Quote from: nightbre on July 24, 2009, 08:28:53 PM
QuoteIt does the same thing on the default smf theme also

mmm.. Ive just installed a new test forum on 1.1.10 and downloaded 1.9.2 package and installed it and it works first try with all text present.

With the forums modifications.english file in the default folder check there is no errors like the closer missing or in the wrong place.There should be no reason the default doesnt work.

Ive attached a copy of the default folders modifiacations.english file for you to try a swap with and see if that helps.

I finally got it working! Wound up having to add the edits to the Modifications.english-utf8 file also.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on July 27, 2009, 08:48:29 PM
Kl, Glad its all sorted and working for you now. ;)
Title: Re: WoW Characters 1.9.0
Post by: Betryal on August 08, 2009, 07:28:56 AM
Im having a problem with nothing showing up im useing 1.9.0 version of wow char and vs 1.1.10 of smf with wowdk114v1 tp theme nothing shows up in admin and when i try and access via the profile i get a error message can anyone help?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on August 09, 2009, 11:52:51 PM
With wowdk114v1 you might need to use the old package 1.9.0 I think since it is no longer supported directly.You can add the code manually if you prefer to though but that is why there is parts mising from your forums.
Title: Re: WoW Characters 1.9.0
Post by: Betryal on August 12, 2009, 08:17:12 AM
I would prefer to add manually can you please tell me what needs adding?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on August 12, 2009, 02:26:09 PM
If you check the following link and ignore the wow dk 116,119 and just check the 3 parts for 115 they should then show you the correct locations.You need all the other files that are listed but just ignore the other 2 version specific parts.

If you prefer you could open the install.xml in an editor and change the 3 for 115 to suit the 114 theme name then try the auto installer again since it should then include the right edits.

Here is the link just scroll down and you will then see the edits to be made http://custom.simplemachines.org/mods/index.php?action=parse
Title: Re: WoW Characters 1.9.0
Post by: Hostile on August 27, 2009, 11:41:19 AM
Are there any plans to make this available for SMF 2.0?  :)
Title: Re: WoW Characters 1.9.0
Post by: Hostile on September 30, 2009, 09:24:07 AM
How about a DK icon?  :D
Title: Re: WoW Characters 1.9.0
Post by: Garou on October 01, 2009, 10:06:56 AM
Hostile I provided instructions on how to add Death Knights back when WotLK first came out. Check this post...
http://www.simplemachines.org/community/index.php?topic=268596.msg1811305#msg1811305

As far as the mod being updated to 2.0 the nightbre has said he plans to add it eventually. In my personal opinion he should wait till at least 2.0 RC2 comes out. SMF has stated that release is going to make some significant changes to how themes and mods that effect themes will work, mainly due to their release of the "Curve" theme.

Going to all that work now and then having to do it all over again in a few weeks or months (depending on where the SMF team is at on their release) would be redundant and a complete waste of time.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 05, 2009, 02:15:13 PM
QuoteHow about a DK icon?

The latest version has a DK icon in it.If your on an old one then upgrade it or add it manually. ;)

A version for 2.0 I have the basic framework but as Garou says theres little point really until all changes are made since it will likely break the mod badly anyway.
Title: Re: WoW Characters 1.9.0
Post by: techbot on November 30, 2009, 12:32:53 PM
I'm running SMF 1.1.10 with the WoW DK theme. It installed fine and I can use it in the default mode, just not my theme mode. When I'm in the theme mode and click on the WoW Profile link I get "An Error Has Occurred!
Unable to load the 'wowchar' template. "  What can I do to get this working?


EDIT: I got this semi-working by renaming the Display and Profile php pages in my theme and letting SMF rely on the defaults. Now I don't get the "wowchar" error, but when I go to the WoW Characters link, I see the txt boxes but no text beside them describing what they are or what to put in there. I know this is simply a setting I'm overlooking or a change to code. Does anyone know where this would be?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 02, 2009, 09:09:47 PM
Try adding this to your modifications.english file in the themes languages folder that your using.

//WoW Characters
         
$txt['ctitletxt'] = 'You can add your World of Warcraft characters on this page. This information will be displayed throughout the forum. If you are not comfortable with sharing some information, simply skip it - nothing here is required.';
         
$txt['blood_Elf'] = 'Blood Elf';
$txt['draenei'] = 'Draenei';
$txt['dwarf'] = 'Dwarf';
$txt['gnome'] = 'Gnome';
$txt['human'] = 'Human';
$txt['night_Elf'] = 'Night Elf';
$txt['orc'] = 'Orc';
$txt['tauren'] = 'Tauren';
$txt['troll'] = 'Troll';
$txt['undead'] = 'Undead';

$txt['deathknight'] = 'Death Knight';
$txt['druid'] = 'Druid';
$txt['hunter'] = 'Hunter';
$txt['mage'] = 'Mage';
$txt['paladin'] = 'Paladin';
$txt['priest'] = 'Priest';
$txt['rogue'] = 'Rogue';
$txt['shaman'] = 'Shaman';
$txt['warlock'] = 'Warlock';
$txt['warrior'] = 'Warrior';

$txt['chartitle'] = 'Character Profile Settings';
$txt['cname'] = 'Character Name';
$txt['clevel'] = 'Character Level';
$txt['cguild'] = 'Character Guild';
$txt['crace'] = 'Character Race';
$txt['cgender'] = 'Character Gender';
$txt['cclass'] = 'Character Class';
$txt['crealm'] = 'Character Realm';
$txt['character'] = 'Character';

$txt['male'] = 'Male';
$txt['female'] = 'Female';

$txt['wowchar'] = 'WOW Characters';
$txt['wowchar_defaultRealmName'] = 'Default Realm Name (Main Guild Server name)';
$txt['wowchar_allowCustomRealm'] = 'Allow custom realm ? (To link to Alts on other Realms)';
$txt['wowchar_europeanRealm'] = 'Use European Realm ? (Default North American)?';
$txt['wow_char1'] = 'Character name';


It should then show the text and not the blank boxes.
Title: Re: WoW Characters 1.9.0
Post by: videoh1 on December 03, 2009, 06:30:48 PM
It would be cool to see a port for this for 2.0 RC2.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 03, 2009, 08:38:17 PM
There is a work in progress atm and it includes some extra features to memberlist also.Once it is all done then hopefully there will be a new release for both versions of smf.:)
Title: Re: WoW Characters 1.9.0
Post by: Atticka on December 18, 2009, 06:09:57 PM
Hello,

I'm trying to add this mod to my forum (1.1.11) with the "Ancient and Rusted" theme, however this theme doesnt have a languages folder.

Its loading with blank boxes and such, what would you recommend I do?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 18, 2009, 11:49:46 PM
Check the default theme has the language strings installed since if the theme hasnt a language file of its own it should be reading from the default instead.

You should be able to add the language strings to modifications.english.php in the default languages folder.Post back and let me know if this was any help resolving this as I dont use the theme and would need to check it out otherwise.
Title: Re: WoW Characters 1.9.0
Post by: Atticka on December 21, 2009, 11:25:45 AM
Yup! that fixed it, tried it originally but it didnt work...but then realized that the board is probably using the UTF8 file, added there and it works great.

Other thing I noticed is that nothing (class+race icons) is showing up in my "author" box next to my posts, looks like its another problem with the theme.
Title: Re: WoW Characters 1.9.0
Post by: SilverKnight on December 22, 2009, 06:17:52 AM
How do you use it with a private server?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 23, 2009, 12:34:32 PM
Atticka, im guessing the theme setup means you may need to move the code in the index template maybe so it shows in the right place since as a custom theme it may be written differently to the ones this mod is normally used on.The themes author thread would likely be the best place to find out since others using it may have an answer readily available.

SilverKnight, unfortunately apart from using it to display your characters in posts it wont be able to aurmory link in any way and you would need to set the server name in the admin controls to your custom server name.If you have any kind of character stats pages on your own site to support your private server you could change the armoury urls in the code to point there instead.

Title: Re: WoW Characters 1.9.0
Post by: Spennig on December 28, 2009, 12:21:10 AM
Let me know if I can help with any testing or anything for the 2.0 version. I'm re-doing my biggest website, trying to do a 2.0 version (the 1.1.11 version has the wowcharacters already,) to see which I like better before the old site closes.

^_^ I'm so glad you made this mod!
Title: Re: WoW Characters 1.9.0
Post by: Giiyom on January 08, 2010, 10:39:42 PM
I installed the mod and made all the manual modifications for my custom theme but when I'm going on WOW Characters in my profile it says : Unable to load the 'wowchar' template.
How can I fix that?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on January 10, 2010, 01:56:47 PM
Have you checked the default theme to see if it works correctly on that so you know the mod is working?
Title: Re: WoW Characters 1.9.0
Post by: EvilGeneral on January 26, 2010, 12:45:13 PM
Hello,

Did you think about add support for character specializations?
For example: "Assassination" and "Combat" for Rogues

Something like this:

Character: MyNicknameHere
Race: Troll
Class: Rogue
Spec 1: Assassination (link to WowHead Talent calculator)
Spec 2: Combat (link to WowHead Talent calculator)
Realm: Warsong
Guild: BRX

;)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on January 26, 2010, 01:00:07 PM
There is currently a version I am using not live here yet that is adding extra character info to the profile and also on the memberlist so it resembles more of a roster with trades,achi points ect.Once all the features have been made to work correctly then there will be an update.

Dual spec needs to be looked at because its a pain when people apply and are in off spec gear but I think it could include both specs for a character with a link to talents possibly as well as the main characters page.Hopefully blizz manage to make the armoury remember both sets of predominant gear per spec then it would be really nice to be able to check somone properly specced in either gear. no matter what they log out in.:)
Title: Re: WoW Characters 1.9.0
Post by: Sigpimud on March 08, 2010, 10:07:00 AM
I installed this today and now I am getting a lot of text at the top of my screen, and even after I uninstalled it, it is still there. Anyone know how to fix this?  Here is a screen cap:
(http://img716.imageshack.us/img716/4708/erroroz.jpg)
Title: Re: WoW Characters 1.9.0
Post by: Spennig on March 08, 2010, 10:13:48 AM
Quote from: Sigpimud on March 08, 2010, 10:07:00 AM
I installed this today and now I am getting a lot of text at the top of my screen, and even after I uninstalled it, it is still there. Anyone know how to fix this?  Here is a screen cap:

Which version of SMF do you have installed? And what other (if any) mods?
Title: Re: WoW Characters 1.9.0
Post by: Night09 on March 08, 2010, 11:16:12 AM
The text is likely outside the php opener tag making it show up.If you check the index.template it should be at the top of the page where you can remove it.

Make sure no text is before the opener tag and save then it should dissapear again.
Title: Re: WoW Characters 1.9.0
Post by: Sigpimud on March 08, 2010, 01:35:41 PM
Forum version: SMF 1.1.11
Current SMF version: SMF 1.1.11

Currently installed are:
Ad Managment   2.3.6.1 
Aion Profile   0.1 
Digg Topic   2.0 
Global Headers Footers   2.0 
Lots_o_Smileys   1.0 
Social Bookmarks   1.1 
Twitter Field   1.1 
YouTube BBCode   2.6 
Title: Re: WoW Characters 1.9.0
Post by: Galedon on April 07, 2010, 06:26:59 AM
any change this mod for smf 2.0 ?!
Title: Re: WoW Characters 1.9.0
Post by: Elindris on April 12, 2010, 02:09:33 AM
Hi,

I'm using SMF 1.1.11 with the theme wow-dk119v1 and I'm using the language files (web site is in french). I've installed the MOD, but put all the variables definitions ($txt['wowchar_allowCustomRealm'] = 'Allow custom realm?'; and others) in my /public_html/forum/Themes/wow-dk119v1/languages/Modifications.french.php and Modifications.english.php files (instead of in ./Themes/wow-dk119v1/index.template.php as stated by the instructions since those assumed you're not using the language files for the dk theme... so I followed the instructions for the default theme who's using the language files)

But now, I have the following error log:
"8: Undefined index: wowchar_allowCustomRealm
Fichier: /public_html/forum/Themes/wow-dk119v1/Profile.template.php (wowchar sub template - eval?)
Ligne: 2478
"
(which points toward "if ($modSettings['wowchar_allowCustomRealm'] == '1') {" in profile.template.php)... and my log report is being floaded by this error!

Any idea what's causing this? I'm not used to php, was I wrong assuming the changes I did (as explained above)?

Thanks in advance

Elindris

P.S.: BTW, great mod  ;)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on April 12, 2010, 10:43:53 PM
Does the mod work normal with the error or does the mod cause the Profile.template to crash ?

If the language files were missing you would just have blanks where the text should be but it shouldnt generate errors in your logs.Double check the profile templates code against the parser on the mods page as it may be caused by an error there when it installed the mod due to another mod possibly.You are safe to uninstall it and reinstall it again as it will retain any data entered for characters.Check if it shows any errors as this may help locate the issue.

If your still having problems post back with what works and not and ill try sort out whats gone wrong.

Title: Re: WoW Characters 1.9.0
Post by: Elindris on April 12, 2010, 11:31:29 PM
The mod works normal with the error - nothing crash, no error message to the user, it just fload my error log. When I open the "Wow character" section in my profile, it creates 5 times the error (and I can enter 5 characters, so that's probably why I have it 5 times).

The language files aren't missing - they are there and filled and I don't have blanks - all the text is shown.

I manually reapplied the changes (overwrite) to my /public_html/forum/Themes/wow-dk119v1/profile.template.php as per the parser on the mods page - but the error persist. (If I remember correctly, I had to manually apply the mod the 1st time since I'm using the language files for my theme and I had other mods interfering with the installation.)

Just in case it might be important, I'm using Firefox and in my admin section, the Allow Custom Realm option for wow character is not checked.

Hope this helps...

Elindris
Title: Re: WoW Characters 1.9.0
Post by: Camealion on April 22, 2010, 04:23:52 PM
Quote from: Galedon on April 07, 2010, 06:26:59 AM
any change this mod for smf 2.0 ?!
I also would love to see a version for the smf 2.0 branch.  Im willing to be a guinea pig if needed. ;D
Title: Re: WoW Characters 1.9.0
Post by: Elindris on May 17, 2010, 03:18:10 PM
Anyone got an idea to correct my problem? (see 2 and 4 posts above)

My error log continues to be flooded by the error "8: Undefined index: wowchar_allowCustomRealm
Fichier: /public_html/forum/Themes/wow-dk119v1/Profile.template.php (wowchar sub template - eval?)
Ligne: 2478"


I did defined the label for wowchar_allowCustomRealm in my /public_html/forum/Themes/wow-dk119v1/languages/Modifications.french.php file:
    $txt['wowchar_allowCustomRealm'] = 'Permettre de choisir un autre serveur? (Pour les Alts sur d\'autres serveurs)';
and the variable in my /public_html/forum/Sources/ModSettings.php file:
$config_vars = array(
array('text', 'wowchar_defaultRealmName', '35'),
array('check', 'wowchar_allowCustomRealm'),
array('check', 'wowchar_europeanRealm'),
);


Everything works fine from the end-user point of vue (admin can see the checkbox/label/help text, users can't see it since we don't allow custom realms), but in the backend, I have an error created in my SMF errorlog everytime the WowCharacters page is opened...

Thanks for taking the time to take a look at my problem!

Elindris
Title: Re: WoW Characters 1.9.0
Post by: Night09 on May 18, 2010, 07:15:26 PM
Sorry for the slow response.

Can you attach a copy of wow-dk119v1/Profile.template.php please and ill have a look at it against a test forum.
Title: Re: WoW Characters 1.9.0
Post by: Elindris on May 20, 2010, 12:35:22 AM
Hi Nightbre,

No problem! I attached my wow-dk119v1/Profile.template.php file for you to test.

Thanks for your help.

Elindris
Title: Re: WoW Characters 1.9.0
Post by: Shadowwolf_tw on May 24, 2010, 12:19:45 AM
Not sure if anyone has experienced this issue yet, but I seem to be having tool tip positioning problems now since incorporating the MMO Champion include for item tool tips. I know its a conflict or something between the 2 but I have no idea what is causing it exactly. Basically with the MMO Champion include loaded in the header:

<script type="text/javascript" src="http://db.mmo-champion.com/tt.js"></script>

The tooltips are appearing in random spots on the post when you mouse over the character name of someone. As shown here, my mouse is on the second post down and the tool tip is appearing at the top of the page. (I edited out the names for privacy.)
Title: Re: WoW Characters 1.9.0
Post by: ekoo on May 25, 2010, 12:51:18 PM
Are there any plans for a 2.0-compatible version of this?   Right now when installing, I'm getting:  "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."   :-\

I've used this mod on other forums, and I love it.  Any ideas on how to get it working with 2.0 RC3?

Thanks much.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on May 29, 2010, 04:54:48 PM
Elindris can you attach your forum/Sources/ModSettings.php file please, the profile template checks out fine and doesnt generate any errors on the test forums so it appears not to be the cause of the issue.

Any language strings you changed shouldnt effect it either as it doesnt matter what the output text actually is as long as you dont break the line in any way.
Title: Re: WoW Characters 1.9.0
Post by: Elindris on May 31, 2010, 11:58:43 PM
Hi Nightbre,

  As requested, I attached my sources/ModSettings.php file.

Thanks a lot for your time.

Elindris
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 01, 2010, 10:47:20 PM
I have the file and it generates an error under test so ill work out whats up and post back.
Title: Re: WoW Characters 1.9.0
Post by: llcobrall on June 09, 2010, 08:19:33 AM
is there anyway to change to colour of wow characters in the admin and profile page?
currently its purple and conflicts with my current theme

great mod btw


Thanks
Title: Re: WoW Characters 1.9.0
Post by: hitboy on June 09, 2010, 02:41:30 PM
Very interesting mod keep it going
Title: Re: WoW Characters 1.9.0
Post by: Night09 on June 12, 2010, 12:28:53 PM
@Elindris

I have been looking over the template you posted and some of your edits are not the same as the original code from the mod.Ill get a copy running error free for me and then post it back for you to test.



@llcobrall

Quoteis there anyway to change to colour of wow characters in the admin and profile page?
currently its purple and conflicts with my current theme

If you check over the edits via the parser on the mod page there is a hex colour in each templates code that you can change which will change the output colour on your templates.If you cant find them post back and ill dig the right lines out for you.

Ive had a lot on in RL lately so sorry for the slow replies guys. ;)
Title: Re: WoW Characters 1.9.0
Post by: llcobrall on June 13, 2010, 05:56:06 AM
ok dont have a clue what you just said :p
erm btw is it possible for people to link there characters in a post. I want to be able to create guild events, and have users link the character they want to come to the event, and then i can link it in the main post.

is this possible? :D

thanks
Title: Re: WoW Characters 1.9.0
Post by: Night09 on July 15, 2010, 01:40:15 PM
If you search the wow_character_profiles.xml for the following code and remove it your forums tags will revert to the themes colours instead.there will be a few instances of this code for each template and the admin section. ;)

<span style="color:#a335ee;">
Title: Re: WoW Characters 1.9.0
Post by: Elindris on August 10, 2010, 12:12:15 AM
hi nightbre,

Any updates on my problem (error "8: Undefined index: wowchar_allowCustomRealm[...]")?

Quote from: nightbre on June 12, 2010, 12:28:53 PM
@Elindris

I have been looking over the template you posted and some of your edits are not the same as the original code from the mod.Ill get a copy running error free for me and then post it back for you to test.
[...]

I've copy/pasted the text from the mod installation page and I can't find where are the differences...

Thanks a lot for your help!

Elindris
Title: Re: WoW Characters 1.9.0
Post by: Night09 on August 12, 2010, 06:59:28 PM
Hi Elindris

I did check it over and your install was different to mine where the file edits were concerned. As soon as I can I will post a copy for you to try out.I had a clean up on my server of old test forums ect so need to look at this again as ive deleted all 1.x installs and will have to make a new one to recheck.
Title: Re: WoW Characters 1.9.0
Post by: ethine on September 16, 2010, 08:32:38 PM
Hello nightbre,

I used your mod on my old 1.1 SMF forum.

Do you have any plan to port it to SMF 2 ?

Thanks,

Title: Re: WoW Characters 1.9.0
Post by: Night09 on September 17, 2010, 05:27:21 PM
There is a work in progress for 2.0 as well as a release for 1.0 coming soon which is just under testing.It will add some extra features to the 1.0 version and include the new races for Cata.

Our own forums are now running on 2.0 also so while the mods not finished we also dont have an operational version so it is high on the list of things to be done and ideally ready before Cata.
Title: Re: WoW Characters 1.9.0
Post by: ethine on September 20, 2010, 09:32:08 AM
That's great news !

Thanks for your answer !

Regards,
Title: Re: WoW Characters 1.9.0
Post by: xpander on October 11, 2010, 11:26:18 AM
Hello,

First of all thx for Great mod!
It works perfectly on my WoW guild site.

However i modified the mod for Warhammer online also, and allmost all the stuff works and shows up, but the linking to their realm war page doesnt work.

the problem is that they dont accept names in links.
we have like server=<id of server>
and id=<id of character>

is there a way to do that somehow
example link:
https://realmwar.warhammeronline.com/realmwar/CharacterSearch.war?server=12&id=xxxx

where xxxx is the id of ur character
i inspected their code but cannot understand how to make the name search for id in this mod.
Maybe someone can point me into the right direction with that


if i got this working i will share my code with others if anybody interested about warhammer.

thx in advance

Edit: added the picture to attatchment - its all work in progress atm, need the linking to realm war to get working.
Title: Re: WoW Characters 1.9.0
Post by: mxcape21 on October 14, 2010, 02:59:06 AM
I need help, I had an error on install for "Sources/modsettings.php" so I did the edit manually for that file and then installed.  The character options are now in the profile but now I cant access the features and options in the admin panel, I get this error;
"Fatal error: Cannot redeclare modifywowcharsettings() (previously declared in D:\Hosting\6263439\html\forum\Sources\modsettings.php:389) in D:\Hosting\6263439\html\forum\Sources\modsettings.php on line 430"
I have SMF vers. 1.1.11 default theme, but let me say this I have had nothing but problems with php and rss feeds since moving to a Godaddy server (windows +IIS), I don't think the server supports seperate .htaccess files in different folders and requires a php5.ini in the root(html) directory to for php.  SMF would not permit login or registration with the php5.ini file in the root directory.
I tried removing and changing one item at a time from the php5.ini to pin point the problem but oddly enough nothing seemed to work except removing it completely which prevents rss feeds that are on my index page from working. 
This is my .htaccess file which is in the root(html) directory;

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.techraffle\.com$ [NC]
RewriteRule ^(.*)$ http://techraffle.com/$1 [L,R=301]

Options +FollowSymLinks
//
Options +Indexes
Options +FollowSymlinks -MultiViews
RewriteBase /
//
RewriteEngine on
RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://techraffle.com/$1 [R=301,L]

# compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml

# Or, compress certain file types by extension:
<FilesMatch "\.(php|html)$">
SetOutputFilter DEFLATE
</FilesMatch>


When I removed the php5.ini my arcade did not work either so I put a php5.ini file in the arcade directory, so seperate php5.ini files are permitted and works, I have no clue how to resolve this, Godaddy refuses to help  and I have posted on countless forums and no one seems to have any answeres when it comes to a Godaddy server.  I am convinced that the problem lies with the php5.ini(which Godaddy says must be in the root directory) and they say .htaccess in other folders (will have no effect) so the .htaccess settings could also be the cause.
Even though I would love to get my php rss feeds working again, I had decided to sacrifice them for SMF to function because I could find no other solution or fix.  I can see now that the problems are going to multiply until I find the correct fix...please help I dont want to give up SMF, I need a fix. ::)

My php5.ini is posted in this earlier install support thread-> http://www.simplemachines.org/community/index.php?topic=390470.msg2817884#msg2817884

Ok I re-installed SMF and installed the most important mods first and the error went away, but now I have 2 menu tabs that are duplicate how can I fix that. I still cant get SMF to allow login or registration with my php5.ini in place in the root(html), which means most other php apps along with my rss feeds will not function. All of my other php apps seem to work fine with the php5.ini in the root except for SMF...It will not cooperate. Any Ideas?
Disregard the duplicate buttons, I found it in index.template.php and fixed it.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 15, 2010, 07:33:55 PM
xpander is the ID something you will know as in everyone knows their ID or does the character name resolve to the ID ? I dont play warhammer so im not sure how they work tbh. The main part of the link can be changed pretty easy but its just how ID works im not sure on.

mxcape21 did you resolve the issue you had with your wow characters after the reinstall ect ?
Title: Re: WoW Characters 1.9.0
Post by: mxcape21 on October 15, 2010, 11:37:59 PM
Yes the issue with the wow char mod is resolved, now if I could only get SMF to work with my php5.ini in place...

Thanks  :)
Title: Re: WoW Characters 1.9.0
Post by: xpander on October 16, 2010, 11:39:24 AM
Quote from: nightbre on October 15, 2010, 07:33:55 PM
xpander is the ID something you will know as in everyone knows their ID or does the character name resolve to the ID ? I dont play warhammer so im not sure how they work tbh. The main part of the link can be changed pretty easy but its just how ID works im not sure on.

mxcape21 did you resolve the issue you had with your wow characters after the reinstall ect ?

sry english isnt my main language i try to explain :)

The ID is how everybody see..ok ill take my char as eample:

Thats the link for my character:
hxxps://realmwar.warhammeronline.com/realmwar/CharacterInfo.war?id=963289&server=12

and thats the link where i search for this ID with my name:
hxxps://realmwar.warhammeronline.com/realmwar/CharacterSearch.war

its probably problem of warhammer "armory" page.
i dont know exactly how it works.

But what i want to achieve is that is there maybe some way that when i press the link in Character Profiler, then it will do the same search as hxxps://realmwar.warhammeronline.com/realmwar/CharacterSearch.war and automaticaly links to hxxps://realmwar.warhammeronline.com/realmwar/CharacterInfo.war?id=963289&server=12

server=12 is Karak-Azgal server, this is also with the id

if u have time or will to test, here is my version of the WAR Character Profiler
hxxp://www.upload.ee/files/858169/WAR_Characters_1.0.zip.html
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 16, 2010, 05:25:40 PM
In both files profile.template.php and in display.template.php do the following. Swap the armoury url:

http://www.wowarmory.com/character-sheet.xml?r=   

with your url for warhammer up to this point:

https://realmwar.warhammeronline.com/realmwar/CharacterInfo.war?id=

That should fix the url and make it show the warhammer one but it will still need to be linked to ID so when a character name is entered it relates to the correct ID but im not yet sure how that will work.

The other thing is the server part of the url, I notice yours is server 12 so there needs some changes so realm is then server instead but ill have to look at it a bit more first before  I can give any sound advice but hope this helps to get it moving.

As you likely know if you uninstall wow characters and reinstall the data is still there as the table doesnt delete the fields for characters so it may be easier to work as I do and directly modify the xml in the package so all the edits are in one place to save swapping files a lot if you plan a few minor edits to do.
Title: Re: WoW Characters 1.9.0
Post by: xpander on October 16, 2010, 10:11:31 PM
Quote from: nightbre on October 16, 2010, 05:25:40 PM
In both files profile.template.php and in display.template.php do the following. Swap the armoury url:

http://www.wowarmory.com/character-sheet.xml?r=   

with your url for warhammer up to this point:

https://realmwar.warhammeronline.com/realmwar/CharacterInfo.war?id=

That should fix the url and make it show the warhammer one but it will still need to be linked to ID so when a character name is entered it relates to the correct ID but im not yet sure how that will work.

yes, but that doesnt solve all of it...i tested otherway around but it didnt work either..thatswhy i had
https://realmwar.warhammeronline.com/realmwar/GuildInfo.war?server=

By inspecting the Searchbox where i search my character by name i get this:

<form method="GET" action="CharacterSearch.war">
<div class="form1">
<div class="search-container">
<div class="label">
<input type="text" id="characterKeyword" name="characterKeyword" maxlength="40" class="search" value=""/>


doesnt ring a bell to me tho

Quote
The other thing is the server part of the url, I notice yours is server 12 so there needs some changes so realm is then server instead but ill have to look at it a bit more first before  I can give any sound advice but hope this helps to get it moving.

yes, realm is server in WAR, and Realm is Faction :) ... i think i changed all the realm to server in the xml files...will look into it, maybe something was still missing.

Quote
As you likely know if you uninstall wow characters and reinstall the data is still there as the table doesnt delete the fields for characters so it may be easier to work as I do and directly modify the xml in the package so all the edits are in one place to save swapping files a lot if you plan a few minor edits to do.
Sry to be dumb, but i dont really understand what u mean by that

i have 2 different forums for my guild: 1 is for WoW and other for WAR..
WoW one has your mod installed and WAR one has my modification installed - so they dont really conflict
Also i changed all the variables in the xml file to avoid conflicting if someone wants to install both of them on the same forum - might be i missed something tho. have to doublecheck.

Anyway thx for your help so far...
i will look into it more closley as soon as i have more time and post my findings here again :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on October 17, 2010, 11:50:25 AM
QuoteSry to be dumb, but i dont really understand what u mean by that

i have 2 different forums for my guild: 1 is for WoW and other for WAR..
WoW one has your mod installed and WAR one has my modification installed - so they dont really conflict
Also i changed all the variables in the xml file to avoid conflicting if someone wants to install both of them on the same forum - might be i missed something tho. have to doublecheck.

What I mean is if your going to make a lot of edits to debug then inside the package file for wow characters/warhammer characters you can directly edit on the install xml file rather than have to keep making edits in the forums files. If you have made all the edits manually in the forums files then it wont work but if you install check, uninstall , edit , install check ect then it can save some time overall. ;)
Title: Re: WoW Characters 1.9.0
Post by: Neons on October 20, 2010, 04:12:35 AM
I am going to be very happy when this gets released for SMF 2.

Amazing mod!  :)
Title: Re: WoW Characters 1.9.0
Post by: theiceman on November 02, 2010, 01:05:04 PM
I also can´t wait to get this working with my SMF2 :)
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 03, 2010, 07:44:52 PM
The updated version for 1.x is uploaded. It adds members to the Memberlist and includes the new races for Cata. A version for 2.x is being worked on too and will be released soon once its ready.
Title: Re: WoW Characters 1.9.0
Post by: theiceman on December 03, 2010, 08:25:31 PM
hoped to get it before cataclysm will be released ;), since cata will eat up a lot of time ^^

keep on the good work and thanks for all your effort and time.
Title: Re: WoW Characters 1.9.0
Post by: clarkkent93 on December 06, 2010, 01:38:44 PM
I noticed that the latest version is in .rar format.  Is there a reason for that since I have to convert it to zip to upload?
Title: Re: WoW Characters 1.9.0
Post by: Valkkon on December 06, 2010, 10:16:49 PM
Additionally the location of the armory page has also changed since the site updates for the launch of the expansion.
Title: Re: WoW Characters 1.9.0
Post by: Garou on December 07, 2010, 06:49:52 PM
Just a note: In working on one of my clients sites I found that the new armory page works like...

http://us.battle.net/wow/en/character/realm-name/character-name
http://us.battle.net/wow/en/character/lightbringer/garou/[code]
Title: Re: WoW Characters 1.9.0
Post by: Night09 on December 07, 2010, 07:04:58 PM
Ill update the armoury and also upload as .zip to save people needing to convert it again.
Title: Re: WoW Characters 1.9.0
Post by: LukeDouglas on December 29, 2010, 07:32:17 PM
Nightbre,

I'm getting this error message on a new install of WOW Characters 1.9.2 on a new install of SMF 1.1.12.

//WoW Characters $txt['ctitletxt'] = 'You can add your World of Warcraft characters on this page. This information will be displayed throughout the forum. If you are not comfortable with sharing some information, simply skip it - nothing here is required.'; $txt['blood_Elf'] = 'Blood Elf'; $txt['draenei'] = 'Draenei'; $txt['dwarf'] = 'Dwarf'; $txt['gnome'] = 'Gnome'; $txt['human'] = 'Human'; $txt['night_Elf'] = 'Night Elf'; $txt['orc'] = 'Orc'; $txt['tauren'] = 'Tauren'; $txt['troll'] = 'Troll'; $txt['undead'] = 'Undead'; $txt['deathknight'] = 'Death Knight'; $txt['druid'] = 'Druid'; $txt['hunter'] = 'Hunter'; $txt['mage'] = 'Mage'; $txt['paladin'] = 'Paladin'; $txt['priest'] = 'Priest'; $txt['rogue'] = 'Rogue'; $txt['shaman'] = 'Shaman'; $txt['warlock'] = 'Warlock'; $txt['warrior'] = 'Warrior'; $txt['chartitle'] = 'Character Profile Settings'; $txt['cname'] = 'Character Name'; $txt['clevel'] = 'Character Level'; $txt['cguild'] = 'Character Guild'; $txt['crace'] = 'Character Race'; $txt['cgender'] = 'Character Gender'; $txt['cclass'] = 'Character Class'; $txt['crealm'] = 'Character Realm'; $txt['character'] = 'Character'; $txt['male'] = 'Male'; $txt['female'] = 'Female'; $txt['wowchar'] = 'WOW Characters'; $txt['wowchar_defaultRealmName'] = 'Default realm Name'; $txt['wowchar_allowCustomRealm'] = 'Allow custom realm?'; $txt['wowchar_europeanRealm'] = 'European realm (default North American)?';

I read the thread with Elindris and the last post I saw was this one

Quote
Hi Elindris

I did check it over and your install was different to mine where the file edits were concerned. As soon as I can I will post a copy for you to try out.I had a clean up on my server of old test forums ect so need to look at this again as ive deleted all 1.x installs and will have to make a new one to recheck.

Is this a problem that can be resolved or should I just remove the 1.9.2 version and download the 1.9.1 or 1.9.0 version?

Thanks for a great modification.
Title: Re: WoW Characters 1.9.0
Post by: xpander on December 31, 2010, 01:41:00 AM
fixed the armory url issue with following code:

(!empty($char_gender) & !empty($char_class) & !empty($char_name) & !empty($char_race)) {
if (!empty($char_server)) {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'/'.($char_name).'/simple'.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
} else {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'/'.($char_name).'/simple'.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
}


and ofc

//North America and Oceania Servers
$armory_url = "http://us.battle.net/wow/en/character/";
} else {
//European Servers
$armory_url = "http://eu.battle.net/wow/en/character/";
Title: Re: WoW Characters 1.9.0
Post by: Lythia on February 18, 2011, 08:20:28 PM
Quote from: LukeDouglas on December 29, 2010, 07:32:17 PM
Nightbre,

I'm getting this error message on a new install of WOW Characters 1.9.2 on a new install of SMF 1.1.12.

//WoW Characters $txt['ctitletxt'] = 'You can add your World of Warcraft characters on this page. This information will be displayed throughout the forum. If you are not comfortable with sharing some information, simply skip it - nothing here is required.'; $txt['blood_Elf'] = 'Blood Elf'; $txt['draenei'] = 'Draenei'; $txt['dwarf'] = 'Dwarf'; $txt['gnome'] = 'Gnome'; $txt['human'] = 'Human'; $txt['night_Elf'] = 'Night Elf'; $txt['orc'] = 'Orc'; $txt['tauren'] = 'Tauren'; $txt['troll'] = 'Troll'; $txt['undead'] = 'Undead'; $txt['deathknight'] = 'Death Knight'; $txt['druid'] = 'Druid'; $txt['hunter'] = 'Hunter'; $txt['mage'] = 'Mage'; $txt['paladin'] = 'Paladin'; $txt['priest'] = 'Priest'; $txt['rogue'] = 'Rogue'; $txt['shaman'] = 'Shaman'; $txt['warlock'] = 'Warlock'; $txt['warrior'] = 'Warrior'; $txt['chartitle'] = 'Character Profile Settings'; $txt['cname'] = 'Character Name'; $txt['clevel'] = 'Character Level'; $txt['cguild'] = 'Character Guild'; $txt['crace'] = 'Character Race'; $txt['cgender'] = 'Character Gender'; $txt['cclass'] = 'Character Class'; $txt['crealm'] = 'Character Realm'; $txt['character'] = 'Character'; $txt['male'] = 'Male'; $txt['female'] = 'Female'; $txt['wowchar'] = 'WOW Characters'; $txt['wowchar_defaultRealmName'] = 'Default realm Name'; $txt['wowchar_allowCustomRealm'] = 'Allow custom realm?'; $txt['wowchar_europeanRealm'] = 'European realm (default North American)?';

I read the thread with Elindris and the last post I saw was this one

Quote
Hi Elindris

I did check it over and your install was different to mine where the file edits were concerned. As soon as I can I will post a copy for you to try out.I had a clean up on my server of old test forums ect so need to look at this again as ive deleted all 1.x installs and will have to make a new one to recheck.

Is this a problem that can be resolved or should I just remove the 1.9.2 version and download the 1.9.1 or 1.9.0 version?

Thanks for a great modification.


Hi there, I'm also getting this error on SMF 1.1.13 with 1.9.2 and 1.9.3
Title: Re: WoW Characters 1.9.0
Post by: Night09 on February 18, 2011, 09:09:45 PM
Ill have a recap on this for you and post back over the weekend.
Title: Re: WoW Characters 1.9.0
Post by: Lythia on February 19, 2011, 07:00:46 PM
Ok figured it out.

The "wow_character_profiles.xml" file line 1089 was sending the data that should go to "Modifications.english.php" into "index.template.php" instead, and thats why it was showing up at the top of all those pages.

So I simply copied that bunch of text and pasted it into mod.eng.php, and everything works.

Thanks!
Title: Re: WoW Characters 1.9.0
Post by: LinuxTheKid on February 21, 2011, 02:02:51 AM
Quote from: xpander on December 31, 2010, 01:41:00 AM
fixed the armory url issue with following code:

(!empty($char_gender) & !empty($char_class) & !empty($char_name) & !empty($char_race)) {
if (!empty($char_server)) {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$char_server.'/'.($char_name).'/simple'.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
} else {
$hover_code = '<a class="Name" style="text-decoration:none" target="_blank" href="'.$armory_url.$default_server.'/'.($char_name).'/simple'.'" onmouseover="return overlib(\'<table class=\\\'profile_tooltip\\\'><tr><td><span class=\\\''.$char_class.'\\\' style=\\\'font-weight: bold;\\\'>'.$char_name.'</span></td></tr><tr><td>'.$level_label.'<span style=\\\'color:#FFFFFF\\\'>'.$char_race.'</span>&nbsp;<span class=\\\''.$char_class.'\\\'>'.$char_class.'</span></td></tr>'.$guild_label.'</table>\',FULLHTML);" onmouseout="return nd();">'.$char_name.'</a>';
}


and ofc

//North America and Oceania Servers
$armory_url = "http://us.battle.net/wow/en/character/";
} else {
//European Servers
$armory_url = "http://eu.battle.net/wow/en/character/";


Hey xpander, I'm obviously screwing up somewhere, where should I make those changes, and is it possible for you to email me a fixed version @ [email protected]?
Title: Re: WoW Characters 1.9.0
Post by: tjtoste on March 17, 2011, 11:33:54 AM
Looks like a great mod!  I have 1.1.13 and the only thing that fails when I tried to install is:

Execute Modification    ./Sources/ModSettings.php    Test failed

Not sure if it's compatible with the newest smf version or I need to modify the code a bit.

Thank you.
Title: Re: WoW Characters 1.9.0
Post by: Vranx on November 21, 2011, 11:03:00 AM
Any chance for an update for SMF 2 for this mod?
I have tried creating something similar using custom profile fields but cant get it to work.
Title: Re: WoW Characters 1.9.0
Post by: Night09 on November 21, 2011, 03:37:30 PM
I do have a beta version made but not released. I bought a house so been pretty busy with repairs ect to do a lot online. Ill try get something out soon for 2 though.
Title: Re: WoW Characters 1.9.0
Post by: Gladicek on December 07, 2011, 12:46:25 PM
Some news about release for 2.0.1 version ? :)
Title: Re: WoW Characters 1.9.0
Post by: Elindris on April 04, 2012, 04:32:34 PM
Bump! ;)

I know you're busy RL, but would it be possible to get access to the beta version for 2.0 you've done in november?

Thanks!

Elindris
Title: Re: WoW Characters 1.9.0
Post by: ethine on April 08, 2012, 11:37:24 AM
Yup !

It would be a great idea to have your beta version :)
Title: Re: WoW Characters 1.9.0
Post by: Gladicek on April 30, 2012, 05:54:29 AM
Quote from: nightbre on April 07, 2012, 10:00:10 PM
Hi Elindris I will dig out what I have.

I'm waiting for it too :)
Title: Re: WoW Characters 1.9.0
Post by: Gladicek on June 15, 2012, 04:47:16 AM
Any news about this mod?
Title: Re: WoW Characters 1.9.0
Post by: disorder25 on July 09, 2012, 04:05:34 PM
Any news on a compatible version for the new smf version?
thank you.
Title: Re: WoW Characters 1.9.0
Post by: Elindris on August 23, 2012, 03:57:30 PM
Hi nightbre,

  Any news? Need someone to help testing?

  Oh, and 1 question for you: is there a way to prevent the users to modify their 5 characters? So that only the admins and those allowed to modify the name on the forum could change these? This way, we could use the addon for a different purpose (identify the main character of a player on the different games grouped under our community)... if not, we will use it for wow anyway, so we still want to help you get it out before MoP :)

Thanks!

Elindris
Title: Re: WoW Characters 1.9.0
Post by: Aoife on August 25, 2012, 07:02:14 AM
Hi Nightbre,

I'm looking forward to this mod too and would be willing to help test it as well on 2.0.2.

Thanks for all the hard work you do on this!

Title: Re: WoW Characters 1.9.0
Post by: Gladicek on September 11, 2012, 04:20:15 PM
Hello, so something new ? :)
Title: Re: WoW Characters 1.9.0
Post by: TheListener on September 11, 2012, 04:26:01 PM
Quote from: Gladicek on September 11, 2012, 04:20:15 PM
Hello, so something new ? :)

Have patience.

Title: Re: WoW Characters 1.9.0
Post by: Nimnix on September 24, 2012, 04:16:39 PM
Pandaria release in 1 hours and 45 minutes! :laugh: I'd love to get the new version up on the forum asap. But for a temporary solution, does anyone know how and where I can add a custom race and class (pandaren and monk in this case)?
Title: Re: WoW Characters 1.9.0
Post by: Shadowwolf_tw on March 08, 2013, 05:04:41 PM
Its been a while since there was any post on this, any update? I would be happy to help with the coding if it would help speed it along. This would be extremely helpful to my guild to have with all the new people we take in.