WoW Characters 1.9.0

Started by Night09, October 16, 2008, 11:46:21 PM

Previous topic - Next topic

KırkAyak

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 [nofollow] 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

Night09

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. :)

Elen

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.

Night09

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.

Spennig

I know I ran into a bug with that, where the original filename was capitalized and it didn't find it because of that.

Dekthro

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?

Spennig

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

Night09

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.

wayofthebob

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

HellSpawnCometh

#129
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.

Spennig

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 :)

wayofthebob

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 :)

Night09

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.;)

Darthx

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

Spennig

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 [nofollow] - 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.

Garou

I posted some screenies back on page 3 of this thread.

Darthx

thx you guys, seems to be nice, I will give it a try when i got some free time

my rewards

Galedon

Question:

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

Any idea ?


wayofthebob

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

Galedon

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 ?!

Advertisement: