vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Wowhead Item tooltips for World of Warcraft (https://vborg.vbsupport.ru/showthread.php?t=163987)

sweede 12-08-2007 01:54 PM

Quote:

Originally Posted by atomhead (Post 1397148)
This is awesome and so easy to install. Only problem is the item link is using my template's default color not purple or whatever the item quality is. Any ideas?

http://www.tlbguild.org/forums/showthread.php?t=5

They work fine until you edit a post and save it, then it changes the "item" tag into a URL tag. What it does then is that it looses the class attribute from the URL link.

The way around this is NOT to use the WYSIWYG Editor controls.

in the Admin CP, go to vbulletin options -> Message Posting Interface Options and change the three options under "Enable Clickable Message Formatting Controls" to "Enable Standard Controls"

Now, since some of your users may have the wrong option checked, you can mass update them if you set an option in the config.php file.

Code:

$config['SpecialUsers']['canrunqueries'] = '1';
or whatever your user id is.

then go to
Maintenance -> Execute SQL Query and from the drop down list select "Show Standard Editor Toolbar"

sergiod06 12-18-2007 07:38 PM

I have vbAdvanced, is it possible that the [item]Name[/item] work on custom html pages?

Wayne Luke 12-18-2007 11:04 PM

This should add information about the bbcode to misc.php?do=bbcode.

sweede 12-19-2007 04:17 AM

Quote:

Originally Posted by Wayne Luke (Post 1404060)
This should add information about the bbcode to misc.php?do=bbcode.


Is there an easy way of doing that ? There doesnt seem to be a lot of documentation on adding stuff through the built in API of vBulletin (or even that there IS an API for vBulletin!).

Edit: I added the info about the bbcode to the location listed. It's Q&D but thats why plugins and hook locations were created right :)


sergiod06 , not for custom HTML pages. I'm sure that there is a way to search & replace items via plugin hooks but there isnt much reason to do that. if you need to add item links, the proper format for the item mouseover can be found at wowhead.com

HTML Code:

<a class="q5" href="http://www.wowhead.com/?item=19019">Thunderfury, Blessed Blade of the Windseeker</a>
q5 is legendary
q4 is epic
q3 is rare
q2 is uncommon
q1 is common
q0 is junk

sergiod06 12-19-2007 02:35 PM

Yes, i've done a custom BBCode page, however the html that is perfect on html page, is messed up on the bbcode page :P

sweede 12-19-2007 03:35 PM

Quote:

Originally Posted by sergiod06 (Post 1403904)
I have vbAdvanced, is it possible that the [item]Name[/item] work on custom html pages?

Now that i think about it, there may be a way to run the bbcode processor over an HTML based template w/bbcode in it using the parse_templates hook or something horribly inefficient like that


Now when you say "Custom HTML page" , do you mean
Vba- >Add Page- > Page type of ??

Template Page or HTML File page ?

xxxsaint 12-19-2007 04:06 PM

how can I add a button so that when I type in the item name , I can highlight it and click that button , making it wrap the [ item ] tags around it ?

sweede 12-19-2007 07:11 PM

That's on my list of things to do, i'll try to figure it out for an update tomorrow.

Danoxth 12-19-2007 07:21 PM

Installed this yesterday and it worked fine on the test server.

Just gone onto the "live edition" of the forum and sadly does not work any longer. It's on a fresh install of vBulletin and is one of the first mods i've gone to add.

When importing the product I get this error appear briefly:

Code:

Parse error:  syntax error, unexpected $end in D:\wamp\www\forum\admincp\plugin.php(1970) : eval()'d code on line 4
The product then continues to install as normal but sadly no longer functions. Using the item code [ item] <Item name here> [ /item] causes the item name to become underlined and changed into a link to the WoWhead page for that item.

Using just the WoWhead address for the item just stays as the url e.g.: http://www.wowhead.com/?item=33491

Any suggestions?

sweede 12-24-2007 01:57 PM

Quote:

Originally Posted by Danoxth (Post 1404895)
Code:

Parse error:  syntax error, unexpected $end in D:\wamp\www\forum\admincp\plugin.php(1970) : eval()'d code on line 4
The product then continues to install as normal but sadly no longer functions. Using the item code [ item] <Item name here> [ /item] causes the item name to become underlined and changed into a link to the WoWhead page for that item.
Any suggestions?

Uninstall the product completly.
Download the latest 0.3.1a version and add the product again.


All times are GMT. The time now is 02:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01266 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete