Author Topic: WoW tooltips broken  (Read 5752 times)

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
WoW tooltips broken
« on: February 24, 2010, 08:56:46 AM »
I've wrestled to my wits' end trying to get wowitems to work in this or any theme, and all I get is garbage xml. here's the mod I was trying to use:

http://custom.simplemachines.org/mods/index.php?mod=1633

since the one the old DC boards used is deprecated. I've followed all the steps to make it work in custom themes, but still nothing. the only thing left is that perhaps neither libcurl nor fopen are installed on the server, but I don't know how to check for that.

Anyone know how I can check that and/or fix it?
o/\o

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #1 on: February 24, 2010, 03:05:37 PM »
Dude, it totally works now, in both the default (Mobile) theme and Reference. it's ugly that it has a black background, but I'm not sure where I'd need to change that, since I don't know a ton about css.

just use the {wow} tag with square brackets.

[wow]Lightsworn Faceguard[/wow].

still doesn't work in Preview mode. Also not sure where that might be broken, probably in one of the php files.
o/\o

Wren

  • Cupcakes Mod
  • Hero Member
  • *****
  • Posts: 1279
Re: WoW tooltips broken
« Reply #2 on: February 24, 2010, 03:40:15 PM »
Code: [Select]
<a class="wowhead q4" href="http://www.wowhead.com/?item=50862" style="background-color: rgb(48, 48, 48);">[Lightsworn Faceguard]</a>
that's the style that's being applied, if you can find somewhere that lets you take out that background color that's probably what you want, it's an inline style so I'm guessing it's being generated somewhere.

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #3 on: February 24, 2010, 03:44:35 PM »
This mod is generally pretty lightweight, letting an outside wowhead jscript do most of the work. maybe that's what's generating the style?
o/\o

Jeir

  • Full Member
  • ***
  • Posts: 228
Re: WoW tooltips broken
« Reply #4 on: February 24, 2010, 05:27:29 PM »
[wow]Althor's Abacus[/wow]
test

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #5 on: April 08, 2010, 09:42:16 AM »
WoW tooltips are broken again-looks like wowhead changed something around the time they did their Noblegarden update that broke the mod. Apparently it's working on some forums but not others, and the author is looking for the server setting.

Details here: http://www.simplemachines.org/community/index.php?topic=301619.msg2572250#msg2572250
o/\o

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #6 on: April 08, 2010, 07:47:22 PM »
Yes, thanks Ramble. Should be a good stopgap.
o/\o

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #7 on: April 14, 2010, 05:50:36 PM »
FIXED again!
o/\o

Glognar

  • Cupcakes Member
  • Sr. Member
  • *
  • Posts: 312
Re: WoW tooltips broken
« Reply #8 on: April 15, 2010, 10:33:52 AM »
I quit using wowitem and use the url instead because

- you can be specific
- you can use spells
- it works in preview
- you still get pop up

Still depends on the mod working.

Deathbringer's Will

i.e
Code: [Select]
[url=http://www.wowhead.com/?item=50362]Deathbringer's Will[/url]
WoW: Glognar - 110 Hunter

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #9 on: April 15, 2010, 10:39:12 AM »
yes, you absolutely can do that. that's also part of the mod. I use the wow tags because I don't want to go to wowhead every time I link something to get the url!
o/\o

**andius

  • Cupcakes Member
  • Hero Member
  • *
  • Posts: 821
Re: WoW tooltips broken
« Reply #10 on: June 21, 2010, 12:34:53 AM »
When I preview a post with a wowitem link it shows up but when I post it they break. Links from before today still seem to work.

Most odd when I went back and reposted in the Ahune thread the links show up for a split second then break.
« Last Edit: June 21, 2010, 12:59:48 AM by **andius »
Andius (Hunter 110),Belandius (Priest 110),Dalandius (Warrior 110),Drandius (Shaman 110),Elandius (Rogue 110),Vandius (Mage 110),Deandius (Deathknight 110),Delandius (MoonKin Druid 110),Jinandius (Paladin 110),Shandius (Warlock 110) Kamandius (Monk 110), Ishandius (Demon Hunter 110)

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #11 on: June 21, 2010, 05:33:23 AM »
When I preview a post with a wowitem link it shows up but when I post it they break. Links from before today still seem to work.

Most odd when I went back and reposted in the Ahune thread the links show up for a split second then break.

What items were you linking?

[wow]pitchfork[/wow] - test
o/\o

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #12 on: June 21, 2010, 05:49:19 AM »
Figured it out! Typos!  :)
o/\o

Hotspur

  • Cupcakes Member
  • Full Member
  • *
  • Posts: 225
Re: WoW tooltips broken
« Reply #13 on: July 03, 2010, 06:57:33 AM »
Hey, can you set up the CSS for this for the SMF default theme?  I use that so when I have it open at work, it's a white and pale blue screen, not black and gray.  The downside is that the tooltips don't work with that board theme.

Thanks!

Edalia

  • Red Velvet
  • Cupcakes Admin
  • Hero Member
  • *****
  • Posts: 4104
Re: WoW tooltips broken
« Reply #14 on: July 03, 2010, 03:34:56 PM »
Hey, can you set up the CSS for this for the SMF default theme?  I use that so when I have it open at work, it's a white and pale blue screen, not black and gray.  The downside is that the tooltips don't work with that board theme.

Thanks!

viola! most of the appropriate modifications to files were already done, but the code for the index.template.php wasn't in for some reason.
o/\o