How to make a new page use Itemstats
#31
Posted 16 May 2006 - 04:28 PM
Try reuploading viewnews.php from the itemstats package (or check that the correct modifications are there)
#32 Guest_SleazyC_*
Posted 16 May 2006 - 05:51 PM
psyker7, on May 16 2006, 08:28 PM, said:
Try reuploading viewnews.php from the itemstats package (or check that the correct modifications are there)
viewnews.php looks fine but I'll take another look and see if I missed something.
EDIT
I think I found something. Was digging through some old code for some of the older itemstats version (mainly 1.0) and found this line of code causing people problems.
<iframe name=\"item_stats\" src=\"http://www.crusadersvalorous.org/items/index.php?linked=1&news=true&item=\\1\" width=\"450\" height=\"260\" scrolling=\"no\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\"></iframe>"
I have no idea where this piece of code is I have been digging through my files but haven't found anything yet.
EDIT #2 - The piece of code was in my function.php which apparently was never edited. I just grabbed the Full version of Itemstats 1.3 and replaced the file and it is now fixed.
#33 Guest_Greenwing_*
Posted 17 May 2006 - 11:44 AM
SleazyC, on May 16 2006, 05:51 PM, said:
EDIT
I think I found something. Was digging through some old code for some of the older itemstats version (mainly 1.0) and found this line of code causing people problems.
<iframe name=\"item_stats\" src=\"http://www.crusadersvalorous.org/items/index.php?linked=1&news=true&item=\\1\" width=\"450\" height=\"260\" scrolling=\"no\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\"></iframe>"
I have no idea where this piece of code is I have been digging through my files but haven't found anything yet.
EDIT #2 - The piece of code was in my function.php which apparently was never edited. I just grabbed the Full version of Itemstats 1.3 and replaced the file and it is now fixed.
Functions.php was overwritten with the latest eqdkp patch. You just helped me find this gremlin in my code too. Thank you.
#34 Guest_norg_*
Posted 02 June 2006 - 01:14 AM
I'm responsible for the updating of our DKP but I don't actually host the database or any of that. I asked the guy who does do that if he could add one of your price list pages, but he couldn't get the [itemicon] tags to work -- he seemed unfamiliar with itemstats/phpbb_itemstats.php, as if we didn't have one?
Here's the page we did end up doing for reference, but the tables are all messed up with names instead of icons. http://mrp.potentia....etpoints.php?s=
#35
Posted 02 June 2006 - 03:34 AM
norg, on Jun 2 2006, 07:14 PM, said:
I'm responsible for the updating of our DKP but I don't actually host the database or any of that. I asked the guy who does do that if he could add one of your price list pages, but he couldn't get the [itemicon] tags to work -- he seemed unfamiliar with itemstats/phpbb_itemstats.php, as if we didn't have one?
Here's the page we did end up doing for reference, but the tables are all messed up with names instead of icons. http://mrp.potentia....etpoints.php?s=
3rd post of this topic.
http://forums.eqdkp....indpost&p=17772
#36 Guest_norg_*
Posted 02 June 2006 - 04:04 AM
Quote
basically:
~~~~~~~~~
Open itemstats/phpbb_itemstats.php
Yeah I showed him this, but he was like "uh..PHPBB? We don't use that." Forgive my ignorance because as I said, I don't run EQDKP myself, but is this 'phpbb_itemstats.php' something all users of EQDKP/Itemstats should have?
#37
Posted 02 June 2006 - 04:19 AM
You will find that the place where the [item] tags are parsed is actually in that file.
So for itemicon to work, it also needs ot be in this file.
#38 Guest_Neco_*
Posted 02 June 2006 - 05:18 AM
psyker7, on Jun 2 2006, 01:19 PM, said:
You will find that the place where the [item] tags are parsed is actually in that file.
So for itemicon to work, it also needs ot be in this file.
Y HALLO THAR, im the guy Norg is refering to, and indeed we do not use phpBB, i've done the changes to phpbb_itemstats.php (for whatever reason I still don't really understand...) and http://mrp.potentia.org/setpoints.php isn't really working with [itemicon], it works fine with [item] and I've checked if phpbb_itemstats.php even gets accessed and doesn't seem to be the case.
itemstats/eqdkp_itemstats.php:include_once(dirname(__FILE__) . '/phpbb_itemstats.php');
Awesome, it is included, but not really since setpoints.php isn't picking up the changes...
Im shit in real life and apparently missed that the match for itemicon should PERHAPS BE INCLUDED IN THE FUNCTION.... so yeah, disregard all this and send me match to burn myself with or something.
#39
Posted 02 June 2006 - 07:32 AM
Quote
/e bundles up Nefarian and sends him off to burn yo ass.
#40 Guest_Rigure_*
Posted 19 June 2006 - 06:19 PM
Neco, on Jun 2 2006, 08:18 AM, said:
itemstats/eqdkp_itemstats.php:include_once(dirname(__FILE__) . '/phpbb_itemstats.php');
Awesome, it is included, but not really since setpoints.php isn't picking up the changes...
Im shit in real life and apparently missed that the match for itemicon should PERHAPS BE INCLUDED IN THE FUNCTION.... so yeah, disregard all this and send me match to burn myself with or something.
that post made me lol in rl...man..
#41 Guest_Khelben_*
Posted 27 June 2006 - 04:37 AM
Basically, is it be as simple as a module of code I can add to an HTML page to pull the info? If so, what is that nugget of code?
#42 Guest_Rigure_*
Posted 28 June 2006 - 11:42 AM
Khelben, on Jun 27 2006, 07:37 AM, said:
Basically, is it be as simple as a module of code I can add to an HTML page to pull the info? If so, what is that nugget of code?
you might try looking at the setpoints.php code . search for it on the forums. Basicly it puts the html into a php format and goes from there..that MIGHT be what your looking for. Other than that you might try explaining a bit more of what your trying to do.


Sign In
Register
Help


Back to top
MultiQuote