News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Aion Syndication

Started by vbgamer45, August 22, 2009, 08:02:12 AM

Previous topic - Next topic

nightsdawn

Quote from: Arantor on September 29, 2009, 08:02:09 AM
Hmmm, interesting.

I haven't had time to dig into the setup properly yet on this. But I wouldn't be surprised if there is a Javascript error elsewhere on the page that might also have caused this.

I just scoured the manual install code and it looks like everything is correct. Looks like your right. It has to be some other mod I have installed thats interfering with it. Below is a list of installed mods. I know you may not be familiar with all of these but do any stand out that might cause some issue?

1.     nneonneo's AJAX ShoutBox      1.21
2.    Custom Profile Field Mod    3.19
3.    SMFShop    3.0
4.    SMF Sitemap
5.    SMF Arcade Shop Mod    1.0.0
6.    Aion Syndication    1.1    
7.    simplemp    3.2    
8.    SMF Arcade    2.0.12    
9.    Auto Embed Video Clips    2.1.5    
10.    SimplePortal Classic    2.0.5

Thanks in advance for any help.

Arantor

Hmm. Be sure to check for Javascript errors when you're checking, as that's likely the fault.
Holder of controversial views, all of which my own.


nightsdawn

Just as a follow-up. I installed the same theme I am using on the test forum and applied your mod and it works fine. So its not theme related and is definitely one of my currently installed mads in that list that is causing the issue. No I guess its just a matter of find which and either fixing it somehow or uninstalling it without breaking my forum lol. I would assume others having issues are going to be related to their installed mods as well.

nightsdawn

Quote from: Arantor on September 29, 2009, 10:01:12 AM
Hmm. Be sure to check for Javascript errors when you're checking, as that's likely the fault.

Problem is im not really sure what Im looking for. Im not seeing any errors in the forum log. Where is the best place to start trying to track something like this down? Or should I just start uninstalling them until it works.

Arantor

You won't see anything in the forum error log, but if you look in the browser you should get a warning. If you're using Firefox, it wouldn't hurt to grab the Web Developer toolbar which adds a handy link to the browser error log.
Holder of controversial views, all of which my own.


nightsdawn

Alright I got the web developer toolkit for my pc here at work. When I pull up the error console and refresh the page I do get some errors:

Warning: Error in parsing value for 'background'.  Declaration dropped.
Source File: http://www.aionarmory.com/tooltips.css?087 [nofollow]
Line: 56

Warning: Error in parsing value for 'background-repeat'.  Declaration dropped.
Source File: http://eleetsguild.com/forum/Themes/WAR_Theme/style.css?fin11 [nofollow]
Line: 394

Warning: Error in parsing value for 'background-color'.  Declaration dropped.
Source File: http://eleetsguild.com/forum/Themes/WAR_Theme/style.css?fin11 [nofollow]
Line: 566

And I get several of these:
Warning: Error in parsing value for 'color'.  Declaration dropped.
Source File: http://eleetsguild.com/forum/index.php?topic=761.0 [nofollow]
Line: 0

... Not really sure what Im looking at here. When I use a php editor the lines its saying that are having a problem are not matching up. I assume its counting actual lines of code and not the nulled "// ..." stuff in the index.template.php but Im not sure.

I realize this really has nothing to do with your mod this is my own forums problem. But Im just hoping its something simple. Seems like Im so close to getting this to work but im beginning to accept this is a bit above my expertise or lack there of lol.

Arantor

It's not counting actual lines as such. What's happening is the AionArmory code is generating CSS (style) definitions that aren't entirely valid CSS, so the browser ignores them. Probably that's part of the cause, but it's going to be somewhere between the AionArmory JS and whatever JS your mods have added.

What mods do you have, out of interest?
Holder of controversial views, all of which my own.


nightsdawn

Quote from: Arantor on September 29, 2009, 11:29:01 AM
It's not counting actual lines as such. What's happening is the AionArmory code is generating CSS (style) definitions that aren't entirely valid CSS, so the browser ignores them. Probably that's part of the cause, but it's going to be somewhere between the AionArmory JS and whatever JS your mods have added.

What mods do you have, out of interest?

These are the mods I have currently installed:

1.     nneonneo's AJAX ShoutBox      1.21
2.    Custom Profile Field Mod    3.19
3.    SMFShop    3.0
4.    SMF Sitemap
5.    SMF Arcade Shop Mod    1.0.0
6.    Aion Syndication    1.1   
7.    simplemp    3.2   
8.    SMF Arcade    2.0.12   
9.    Auto Embed Video Clips    2.1.5   
10.    SimplePortal Classic    2.0.5

Arantor

Hmmm. I will see if I can duplicate the problems.

Also, what theme are you using?
Holder of controversial views, all of which my own.


nightsdawn

Quote from: Arantor on September 29, 2009, 11:50:43 AM
Hmmm. I will see if I can duplicate the problems.

Also, what theme are you using?

Its an theme written for the older warhammer online game probably not used much...
you can download it from here:
http://warhammer.whoodoo.org/The_Risen_WAR.zip [nofollow]

As a side note though I made a test forum and installed this theme and just added the script code into the index.template.php and it worked just fine.

Arantor

Thanks for that - I'll commence testing and see what I can dig up.
Holder of controversial views, all of which my own.


nightsdawn

Quote from: Arantor on September 29, 2009, 05:14:38 PM
Thanks for that - I'll commence testing and see what I can dig up.

Awesome Thanks so much for looking into it!

nightsdawn

Any updates on this? Much appreciated!

Omniverse

I have noticed one issue with my edit. For instance making spell into aionspell. Only the aionitem ones will link to the proper spot on the armory. All other links have the added aion part in the url.

Example, hovering over a spell gives this url:
http://www.aionarmory.com/aionspell.aspx?id=1495
Instead of:
http://www.aionarmory.com/spell.aspx?id=1495

This only happens with ones not aionitem.... Don't understand why the item one is fine but others don't link properly. All the tooltips work fine.

Arantor

@Omniverse: Well, I don't know what edits you've made so I can't possibly comment.

@nightsdawn: I haven't had time to look into this due to other prior commitments and I'm now away and not in front of my PC with my dev tools until 12th Oct, so there won't be an update of any kind before that.
Holder of controversial views, all of which my own.


Omniverse

I am attempting to adjust it so I can use [ aionitem ]  vs [ item ]. For all the tags I want to add 'aion' in front of them. I have other game tooltips on my site.... and every author wants to use [ item ], so they always conflict. I end up having to always modify every game tooltip.... (kinda wish authors would realize this and make it so tooltips are more unique to the game they are for...)

I have done this with yours, and the popup works, but it breaks the url link so you can't click it to goto the armory.

All I did was, change every instance of the word 'item' to 'aionitem'. Did this for all relevent words.

Was hoping for some insight as to what I should have changed. Don't think changing them all is the best solution. Perhaps only change the bbc ones? I think that would break relation the the popup though.

Arantor

When I advised that it was several weeks after I'd written it; I can't remember exactly how it works but the more I think about it the more I realise you can't do it like that, because the tag's name itself is pulled into the function.

I'd have to sit and go back over the entire code, but I'm not in front of my dev PC so I can't do that until I get home (next week). I need to refit the mod anyway since there are issues on some configurations.
Holder of controversial views, all of which my own.


okae

i install this great mob at my smf 2.0 rc1.2 all works fine except quest and npc buttons, anyone know how i can fix it? those buttons simply dont work.

Arantor

Quote from: okae on October 26, 2009, 09:30:28 AM
i install this great mob at my smf 2.0 rc1.2 all works fine except quest and npc buttons, anyone know how i can fix it? those buttons simply dont work.

Define "don't work". They work for me, though they don't colour code, but I'm pretty sure that's AionArmory's code at fault.
Holder of controversial views, all of which my own.


okae

Quote from: Arantor on October 26, 2009, 09:38:46 AM
Quote from: okae on October 26, 2009, 09:30:28 AM
i install this great mob at my smf 2.0 rc1.2 all works fine except quest and npc buttons, anyone know how i can fix it? those buttons simply dont work.
Define "don't work". They work for me, though they don't colour code, but I'm pretty sure that's AionArmory's code at fault.

if i use item, spell  or recipe button the mod works fine, but if i use quest or npc button the mod dont show nothing, so forme ony 3 of the buttons are working, btw is working only with ids dont work with names, this is an example:




Advertisement: