*Author

akromat

  • Guest
Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg43079#msg43079
« on: March 24, 2010, 01:21:34 am »
I was working on the air cards and came across a few problems.
    If the hover plugin finds a match it immediately inserts the hover code before continuing its search. The problem this creates is with things like Firefly and Elite Firefly. The plugin considers Firefly a match and inserts the hover code effectively making it Elite <code here> Firefly. The string "Elite Firefly" will never be found on a page. Example:
http://elementswiki.co.cc/cards-air/firefly-elite-firefly/.  Additionally ability ":Firefly" gets replaced with "Firefly" (ability) hover code and then replaced again with the hover code for the card Firefly. Example: http://elementswiki.co.cc/cards-air/firefly-queen-elite-queen/

Apostrophes prevent the hover plugin from functioning. http://elementswiki.co.cc/cards-air/owls-eye-eagles-eye/

I still think the auto-hover feature can be intrusive on some cards. Is there any way we could install a custom bbcode tag (with the same effect) and just edit with [ability]Mutation[/ability]. I'd be willing to help manually insert these tags because if you look at http://elementswiki.co.cc/ability/unstable-gas/ it is kind of a cluster of links.

I'm not sure if this is a result of the caching system but when I make a change to an air card article, the change isn't reflected here: http://elementswiki.co.cc/elements/air/.

I'm pretty sure the GD Star Rating plugin is the cause for super slow load times. To test it, I would disable it and see if the problem continues. If that solves is, I'd try looking for an alternative.[/list]

Scaredgirl

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg43494#msg43494
« Reply #1 on: March 25, 2010, 03:36:56 am »
I was working on the air cards and came across a few problems.
    If the hover plugin finds a match it immediately inserts the hover code before continuing its search. The problem this creates is with things like Firefly and Elite Firefly. The plugin considers Firefly a match and inserts the hover code effectively making it Elite <code here> Firefly. The string "Elite Firefly" will never be found on a page. Example:
http://elementswiki.co.cc/cards-air/firefly-elite-firefly/.  Additionally ability ":Firefly" gets replaced with "Firefly" (ability) hover code and then replaced again with the hover code for the card Firefly. Example: http://elementswiki.co.cc/cards-air/firefly-queen-elite-queen/

Apostrophes prevent the hover plugin from functioning. http://elementswiki.co.cc/cards-air/owls-eye-eagles-eye/

I still think the auto-hover feature can be intrusive on some cards. Is there any way we could install a custom bbcode tag (with the same effect) and just edit with [ability]Mutation[/ability]. I'd be willing to help manually insert these tags because if you look at http://elementswiki.co.cc/ability/unstable-gas/ it is kind of a cluster of links.

I'm not sure if this is a result of the caching system but when I make a change to an air card article, the change isn't reflected here: http://elementswiki.co.cc/elements/air/.

I'm pretty sure the GD Star Rating plugin is the cause for super slow load times. To test it, I would disable it and see if the problem continues. If that solves is, I'd try looking for an alternative.[/list]
The hover plugin has some problems with 5% of the words but I don't see that as a reason to replace the whole thing. We can easily fix the problem by making the trouble words conditional.

Apostrophes are a problem. Not sure what we are going to do with those. We probably have to do it manually.

I changed the hover so that it only inserts a particular link once as you can see here: http://elementswiki.co.cc/ability/unstable-gas/ This will fix a couple of problems and make the text easier to read.

I very much doubt GD Star Rating is the problem for slow load times. I've used it many times before on other sites and never had any problems. I did test it however by removing it for a while, and I didn't see any difference.

Btw I'd like to more about these slow load times. I personally haven't encountered slow load times after installing the cache system. Are there any particular pages that load slowly?

I'm guessing it's the card list page because that is built from 10+ other pages (individual card pages) using php. That shouldn't however be a problem anymore because everyone gets the cached (pre-built) version. In some rare occasions it might load a bit longer but that because it's rebuilding the cached version.

So the root of the problem is our "List Category Posts" plugin, which shouldn't be a problem after I installed cache system.


Thanks for great feedback, and keep up the good work!

akromat

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg43518#msg43518
« Reply #2 on: March 25, 2010, 04:13:44 am »
The hover plugin has some problems with 5% of the words but I don't see that as a reason to replace the whole thing. We can easily fix the problem by making the trouble words conditional.

Apostrophes are a problem. Not sure what we are going to do with those. We probably have to do it manually.

I changed the hover so that it only inserts a particular link once as you can see here: http://elementswiki.co.cc/ability/unstable-gas/ This will fix a couple of problems and make the text easier to read.
That does fix a few problems but also creates a few more. Setting the replacement to 1 ruins the conditional if more than 1 is present on the page. (http://elementswiki.co.cc/cards-air/firefly-queen-elite-queen/) Additionally, the word "Firefly" from "Firefly Queen" gets matched as the card firefly and links to another article. As far as I can tell making it conditional won't fix that.

The main problem with the hover plugin is that cards that have "Elite" or "Improved" before them aren't really going to work as auto link/hover. And some cards with the same name as an ability (unstable Gas from Air Nymph) the conditional ability links to the card. While others actually link to the ability. (Firefly Queen)

The good news is that the apostrophe problem seems to be resolved.

Lyelle

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg43589#msg43589
« Reply #3 on: March 25, 2010, 08:29:48 am »
I have to agree with akromat. An auto hover plugin brings more "problems" than it solves.

I would just replace it with a tag [hover][/hover] or the mentioned ones, to clearly decide where its needed.

Scaredgirl

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg45456#msg45456
« Reply #4 on: March 30, 2010, 10:20:44 am »
I have to agree with akromat. An auto hover plugin brings more "problems" than it solves.

I would just replace it with a tag [hover][/hover] or the mentioned ones, to clearly decide where its needed.
Yep. We might have to rethink the whole hover thing.

But I'm not giving up just yet. It's an awesome plugin if we get it to work. The fact that it creates the links automatically, saves a lot of time.

A good solution would be to use hover with words that work, and not use it with words that don't.

akromat

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg45721#msg45721
« Reply #5 on: March 30, 2010, 07:52:41 pm »
It is a great plugin, I was just suggesting we make something exactly like it and use [tags] instead of auto-replace. And I know it sucks having to manually [tag] each instance of a card but like you said it's really only necessary once per article per card.

Lyelle

  • Guest
Re: Wiki bugs/problems. Card Layout https://elementscommunity.org/forum/index.php?topic=4375.msg49524#msg49524
« Reply #6 on: April 07, 2010, 02:21:05 am »
Was a bit bored today and thought i can just fix the displacement of the card table. Thought of typing issues or unneeded tables in the html code.
But the code was nearly clean.



As you can see in the picture above the problem lies in the Name-Block of the Upgraded Card.
Couldnt identifie the problem, but sometimes the pixel limit is just ignored.

miniwally

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg49730#msg49730
« Reply #7 on: April 07, 2010, 03:48:46 pm »
Shockwave links to black nymph when you click on the picture.

Lyelle

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg49967#msg49967
« Reply #8 on: April 08, 2010, 12:02:16 am »
yeah, i just copy paste the code for the new cards back then. will change it soon.

Have fixed this, but i feel like having missed one, but cant find it. Let me know.

miniwally

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg50172#msg50172
« Reply #9 on: April 08, 2010, 09:53:59 am »
You've missed out mummy, there's also no butterfly effect card.

Checked all other new cards and they're fine.

akromat

  • Guest
Re: Wiki bugs/problems. Card Layout https://elementscommunity.org/forum/index.php?topic=4375.msg50242#msg50242
« Reply #10 on: April 08, 2010, 03:01:30 pm »
Edit: I see the problem now. It's happening on the fire page for me. It has to do with the nested tables. Here is just one section of it.

Code: [Select]
<table>
          <tbody>
            <tr>
              <td rowspan="3">
                <a href="http://elementswiki.co.cc/cards-fire/ash-eater-brimstone-eater/">
                  <img style="border: 0pt none;" src="http://elementscommunity.org/images/Cards/AshEater.png" border="0" alt="File:AshEater.jpg" width="146" height="222" /></a></td>
            </tr>
          </tbody>
        </table>
Edit: It  seems that whoever is editing certain cards has horribly nested tables. Maybe it'd be better to have a template system for those pages(?). With many people editing pages each with different levels of coding knowledge and different coding conventions, it's going to get a bit screwy.

Lyelle

  • Guest
Re: Wiki bugs/problems. https://elementscommunity.org/forum/index.php?topic=4375.msg50522#msg50522
« Reply #11 on: April 09, 2010, 01:01:34 am »
Noticed this too, but its only the fire cards that are nested. i think someone played around with making a small "border".
The rest of the code is clean, and looks fine for me (apart the deplacement ;P)

 

anything
blarg: