ItemStatsDF [v2.0beta]

This mod will allow any part of DragonFly that uses bbcode to be able to use ItemStats
No longer maintained

ItemStatsDF [v1.2]

Postby robojerk » Fri May 04, 2007 2:18 pm

There is obviously something wrong with one of the files for item_stats.

I would look in config_itemstats.php, or you could try over writing the files with new ones....
Last edited by robojerk on Fri May 04, 2007 2:23 pm, edited 1 time in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby Unrest » Sat May 05, 2007 1:04 am

It was in config_itemstats.php -- there was simply an extra bracket in at the end. I really wish I knew how that got there because it was the original, unmodified file--weird stuff.

Really, thanks again for all your help; you helped me put it into perspective and my site is finally rid of those two odd issues. Many, many thanks!
Unrest
WR.net Apprentice
WR.net Apprentice
 
Posts: 11
Joined: Mon Apr 23, 2007 11:10 am

Re: ItemStatsDF [v1.2]

Postby robojerk » Sat May 05, 2007 1:07 am

No problem. =)

:compress: :shaking2: :thumleft: :pirate: :frow: :pale: :joker2: :ff: :bounce: :mrgreen: :thumright:
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby robojerk » Tue May 15, 2007 5:59 am

heh, triple post on this..

The upcoming version of ForumsPro is going to be released soon.. It may break compatibility with itemstats as it breaks compatibility with the current bbcode files..

http://www.myndworx.com/index.php?name= ... cle&sid=33
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby zanix » Tue May 15, 2007 6:25 am

Great...
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

ItemStatsDF [v1.2]

Postby robojerk » Wed May 16, 2007 1:49 am

Rayvenhaus wrote:As far as ForumsPro is concerned, we've taken a stock nbbcode.php and a stock bbcode.js and updated it


If anyone updates to the new version of ForumsPro itemstats will work. the instruction my need some tweaking though. I'll see if I can get it working on my test site today and write some instruction up if my schedule allows me to spend the time to do so.
Last edited by robojerk on Wed May 16, 2007 1:49 am, edited 1 time in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby robojerk » Wed May 16, 2007 2:33 am

Instructions for ForumsPro 2.0.1.0 This has not been released as of yet.

*** UPDATE FPBBCODE.PHP ***

1. Open up fpbbcode.php from root -> includes
2. Go to the line "flag_help=" (Line 200) and move "</script>" to the next line.
3. Add the following before "</script>":
Code: Select all
        item_help="'. $bbcode_common['item'][0].' '.$bbcode_common['item'][1].'";
        
itemico_help="'. $bbcode_common['itemico'][0].' '.$bbcode_common['itemico'][1].'"


4. Go to the line Line 215 (or choose another per your preference)
Code: Select all
        <img alt="'.$bbcode_common['mail'][0].'" class="bbcbutton" onmouseover="forumsprohelpline(\''.$form.'\',\''.$field.'\',\'mail\')" onclick="forumsproBBCwmi(\''.$form.'\',\''.$field.'\',\'email\')" name="email" src="'.$bbbttns_path.'email.gif" />; 

And after it add the following.
Code: Select all
        // [item] and [itemico] - Icons for ItemStats mod
        
if( is_active('item_stats') )
        { 
$content .= '
        <img alt="Item:" class="bbcbutton" onmouseover="helpline(\''
.$form.'\',\''.$field.'\',\'item\')" onclick="forumsproBBCode(\''.$form.'\',\''.$field.'\',this)" name="item" src="'.$bbbttns_path.'item.gif" border="0" />
        <img alt="Item Icon:" class="bbcbutton" style="border:0;" onmouseover="helpline(\''
.$form.'\',\''.$field.'\',\'itemico\')" onclick="forumsproBBCode(\''.$form.'\',\''.$field.'\',this)" name="itemico" src="'.$bbbttns_path.'itemico.gif" border="0" />';
        } 


6. Go to the line Line 552
Code: Select all
        $text preg_replace($patterns$replacements$text); 

and REPLACE with
Code: Select all
        # [item] and [itemico] - Parse text for ItemStats mod
        
if( is_active('item_stats') )
        {
            require_once(
BASEDIR.'modules/item_stats/df_itemstats.php');
            
$text itemstats_parse($text);
        }

        
$text preg_replace($patterns$replacements$text); 


8. Save your fpbbcode.php and upload it to the "includes" directory

*** UPDATE FPBBCODE.PHP *** (English Language File)

1. Go to the line beginning with "
Code: Select all
        'flag'         => array('Flag:','[flag=code]'),"
(Line 106) and add the following after it:

Code: Select all
        'item'        => array('Item:','[item]item[/item]'),
        
'itemico'    => array('Item Icon: [itemico]item[/itemico]'), 


2. Save your fpbbcode.php and upload it to the "language -> english" directory.
Last edited by robojerk on Wed May 16, 2007 4:59 am, edited 15 times in total.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby zanix » Wed May 16, 2007 7:20 am

Robo, thanks for doing the leg work for this
Seems it's mostly the same as nbbcode.php
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

ItemStatsDF [v1.2]

Postby Anaxent » Wed May 16, 2007 8:17 am

Right it seems they have only done this due to the nbbcode.php being a core file and they want to release updayes to the bbcode buttons but do not want to over write any core files.
User avatar
Anaxent
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 642
Joined: Tue Jul 04, 2006 6:27 am
Location: Phoenix, Az

ItemStatsDF [v1.2]

Postby robojerk » Wed May 16, 2007 8:23 am

Yeah, I've been told numerous times on Myndworx now. =)
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby zanix » Thu May 17, 2007 12:25 am

I almost have ItemStatsDF 2.0 ready for release
I have come to almost hate the itemstats code as it pisses me off at times
I just have some more testing to do, but ItemStatsDF should be done soon

This is what I have so far
~ Fixed
+ Added
! Changed

v2.0
~ Updated the itemstats core to latest release 1.5.5.1000
~ Included socket images fix -> http://forums.eqdkp.com/index.php?showtopic=8754
~ When 'integration_mode' is set to "script" mode, itemstats does not honor the setting of 'automatic_search'
+ Admin control for most of the itemstats options
+ Support for DF 9.1.2.1
+ Support for ForumsPro 2.0.1.0
! Removed support for DF 9.0.6.1
. I *think* it might still work, but neither files nor instructions to modify 9.0.6.1 will be given
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

ItemStatsDF [v1.2]

Postby robojerk » Thu May 17, 2007 6:04 am

xml_cache still doesn't appear to work (or atleast it doesn't work for me)

Even though it's a cool/fun feature I would remove it if you can't get it working.. If you do get it to work though maybe someone can come up with a XML generator script.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby zanix » Thu May 17, 2007 6:56 am

I never really looked into the xml_cache
But I'll give it a look over
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: ItemStatsDF [v1.2]

Postby robojerk » Thu May 17, 2007 7:13 am

How it works is there's a xml file in the xml_cache directory, the script just copies this into the database.

It's not a big deal but it;s something fun to add. Like I said, if you can't figure it out just remove the setting from the admin menu because some people get pissy over stuff like that.


[Zanix's Deadly Hedgehog]
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

ItemStatsDF [v1.2]

Postby Mortiky » Fri May 18, 2007 3:37 am

Looking forward to the realease of ItemStatsDF 2.0. If you need a beta tester I would be happy to. My new guild site is coming along nicely and this will add an extra spark to it. Hopefully in the future I can help keep this updated, or at least help provide input.

Respectfully,
Mortiky
User avatar
Mortiky
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Thu May 17, 2007 1:53 am
Location: Sheridan, Wyoming

PreviousNext

Return to ItemStatsDF

Who is online

Users browsing this forum: No registered users and 0 guests

cron