News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Aion Syndication

Started by vbgamer45, August 22, 2009, 08:02:12 AM

Previous topic - Next topic

Yabco

I never had any problems installing mods trough the browser in PAckages area. Only unsolved problem that i have with smf was database conversion from phpbb2 to smf.

Before i installed this mod i used only this line:
<script type="text/javascript" src="http://www.aionarmory.com/js/extooltips.js"></script>
as they said on aionarmory. It was pain in the ass to use, but it worked fine.

Arantor

Hmm. My mod uses that very line of Javascript, though the [item] etc tags should be gearing it up for you to make life a little easier.

The thing that concerns me is that the request isn't getting out to the Aion Armory site to gather the data - which is why you get the link issues you do. If you can install via the browser I believe you should be able to use that, though your phpinfo() seems to disagree.

Yours is the first case I've encountered thus far, and I think more investigation is going to be needed.
Holder of controversial views, all of which my own.


Yabco

tell me if i need to provide any info.


Arantor

Right now I need to dig into the SMF source and figure out why the browser works but this doesn't. I have a feeling I know why though. Updates as I have them.
Holder of controversial views, all of which my own.


rbutters

#44
First, this is a great mod. Kudos to you for putting it together. =)

I am having a slight problem, though, and hope you might be able to help me. I installed fine, and edited my custom theme's (BacknBlack 2.0 RC1.2) template as directed. Pulling from aionarmory works flawlessly. However, I do not see the bbcode images (item, quest, etc). I checked my error log and saw that url_fopen was off on my server. However, I have the ability to change this and I did so, turning url_fopen back on. Now I no longer get error messages in my log, but I still do not see the images in the message editor.

The images uploaded correctly, and I parsed the changes applied by the package manager and everything seems to have been changed correctly.

Do you have any suggestions? And please let me know if there is anything I can provide that would help you troubleshoot this.

Many thanks.

---UPDATE---

Rather than delete this, I thought I would explain the "I'm with stupid" solution, in the event any future users are as bone headed as I was. =) The images upload to the default bbc image directory, and I was using a custom theme. Therefore I copied the images to that theme's bbc folder as well and voila, fixed.

Thanks again for a great mod. My Aion team will get a lot of use out of it.

Arantor

To put the images in the editor, they're currently in Themes/default/images/bbc, and will need to be copied to Themes/yourtheme/images/bbc to show up in the editor.

As for url_fopen being off, that is seemingly the cause of Yabco's issue, but I need to dig into how the package browser works because that actually works.
Holder of controversial views, all of which my own.


rbutters

Quote from: Arantor on September 07, 2009, 05:01:13 AM
To put the images in the editor, they're currently in Themes/default/images/bbc, and will need to be copied to Themes/yourtheme/images/bbc to show up in the editor.

As for url_fopen being off, that is seemingly the cause of Yabco's issue, but I need to dig into how the package browser works because that actually works.

You beat me to the post, please see previous. =) And thanks again.

Skuggan


Greetings,

I've installed this mod automatically through my admin panel, and then I edited the index.template.php to add a line there cause I'm not using default theme, I'm using Andromeda, a premium theme from Bloc over at TinyPortal.

The linking works great as long as I use the id-number, but if I try to use an items name it wont show up in that theme, it does show up in the default theme tho, any ideas?


Arantor

There is a Javascript file that needs to be added into your custom theme; if you look in the file: Themes/default/index.template.php, there is a line in <script> that refers to aionarmory.com, which needs to be added to your custom theme's index.template.php file.
Holder of controversial views, all of which my own.


Skuggan


I added this line to the index.template.php

<script type="text/javascript" src="hxxp:www.aionarmory.com/js/extooltips.js [nonactive]"></script>

The problem I have is that I can use [item]123123[/item] but I cant link same item by using [item]items exact name[/item]

Arantor

That is likely related to the above problem too, actually.

Please can I see a phpinfo() file? (What is a phpinfo() file?) Please PM me the link if you're not comfortable sharing it publicly.
Holder of controversial views, all of which my own.


Omniverse

 I plan to implement this on my guild site in the near future.

However... I will need to modifiy it as we are a multigame guild. We already have one that uses [ item ]. So I hope to modify it to be [ aionitem ] or [ aitem ].

I assume it won't be to difficult, but wanted to ask if its ok if I do so, and any tips you might have for me to do it.
I also only want an item bbc button added to the post box, so plan to remove the others (not enough space for every game to have all the tags, people have to manually use ones other than for items).

I will basically go through the code and change all instances of item to aitem for instance.

Arantor

That should about do it; just be careful to rename the image to the same thing.

Let me know if you have problems with it.
Holder of controversial views, all of which my own.


qqmoar

Hello!

Firstly thanks for this great mod. Works ok, only thing is i can't get it to work properly using the NPC tags.
I link NPC but the "hover" function doesn't work, nor does it show an icon.

Only a grey link like default smf links on my forum.

If u wanna test: hxxp:www.qqmoar.org/index.php?action=forum [nonactive]

Works great with items tho. :s


Thanks a bunch!

Arantor

No, and I doubt it'll get fixed.

The issue is that the Javascript doesn't handle NPC entries properly - but that's provided by AionArmory itself (which I have to use; I can't modify the file and redistribute it)

I will go back over this again to double check though, as I need to revisit some other aspects of this shortly.
Holder of controversial views, all of which my own.


qqmoar

Quote from: Arantor on September 24, 2009, 03:40:50 AM
No, and I doubt it'll get fixed.

The issue is that the Javascript doesn't handle NPC entries properly - but that's provided by AionArmory itself (which I have to use; I can't modify the file and redistribute it)

I will go back over this again to double check though, as I need to revisit some other aspects of this shortly.


Awesome, thanks for your quick reply ;)

Omniverse

Ok, got it installed. Thanks for your work on this mod.

One request. Would it be possible to add the color formating to the link names? So a blue item would show a blue item link for instance. I notice the javascript has this option.

One issue, and possible fix. I notice not all names will work. Any name with an ' in it returns the id 0 link. Perhaps a problem with parsing the ' ?
Also, for some reason, I can't get any quests to work, at least ones I have tried (just a few).

Arantor

I spent a lot of time fighting with the ' the first time around. It worked fine in testing - since I was deliberately using a name with ' in it.

What quests did you try?

As for formatting, if you have the JS added to your theme it should manage that itself anyway. (I note it doesn't for NPCs, but I'm still not sure yet if that's because I've done something wrong or if the JS is wrong)
Holder of controversial views, all of which my own.


Omniverse

#58
I tried several with and without a '. Ones with an ' returned the 0 id link. Using the id number for the same items would work fine. Even if I enter a name that has an ' in it, but leave the ' out, still get a id=0.


I tried the 2 Tutty quests. Search for Tutty on the database.

Hmm, My link names get no color formating in posts. Any ideas why (if its sposed to be that way already)?

Arantor

Do you get the popup if you hover over them?
Holder of controversial views, all of which my own.


Advertisement: