Go Back   AionSource.com > Aion-Related Support Forums > AionArmory
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices

AionArmory A place to discuss AionArmory.com, provide feedback, or report bugs!

Reply
 
LinkBack Thread Tools Display Modes
Old 08-20-2009, 11:52 AM   #1 (permalink)
AionArmory Staff
 
Join Date: Jun 2009
Thanks: 0
Thanked 11 Times in 6 Posts

Character: Kryptyx
Class: Assassin
Legion: Pandemic
Race: Asmodians
Server: Lumiel

Talking PHPBB3 Aion Armory - Complete Syndication

This modification will allow you post [item]s and [spell]s on your forums. You may either post name of the item/spell or the ID. This mod is intended for PHPBB3 version 3.0.5, although it may (and should) work on previous version of PHPBB3. Make sure you backup your files prior to editing!

Recent Changes:
Version 1.1 Released
Added support for Recipes!
Removed image dependencies.
Tweaked CSS styles.
Bug fixes.

Version 1.0 Released
Initial Release

Installation instructions:

Step 1: Download the mod
http://aionpandemic.com/aionarmory/aionarmory1.1.zip

Step 2: Install
Open the "install.xml" with your web browser and follow the instructions carefully. Do not forget the DIY instructions at the bottom!

Step 3: Test
Test [item]s and [spell]s on your forums. Valid modifiers are: text, icon, small, medium and large.

---

If you wish to change the default way an [item], [spell], [recipe] is returned change the line $modifer = 'normal'; to be any of the valid modifiers for both functions in the functions.php

---

Why this version is "faster" than the normal way:

This method does not use aionarmory's "extooltips.js" to convert items and spells on page load. It instead caches the data into the database and retrieves it on page load. This will help reduce external dependencies and page load. You can adjust the styles in the armory.css file.

----

Screenshots:






__________________

Leader of Pandemic

Last edited by Kryptyx; 11-16-2009 at 09:42 AM..
Kryptyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-20-2009, 09:00 PM   #2 (permalink)
Soldier
 
Join Date: Jul 2009
Location: Chicago
Thanks: 0
Thanked 0 Times in 0 Posts

Character: Brewerr
Class: Ranger
Race: Elyos
Server: Yustiel

Send a message via AIM to Brewer SOTD Send a message via Yahoo to Brewer SOTD
I seem to be unable to get this to work.

__________________
Brewerr - Ranger (Main)
Brewer - Templar (Alt)
Sword of the Dragon
Brewer SOTD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-20-2009, 10:28 PM   #3 (permalink)
AionArmory Staff
 
Join Date: Jun 2009
Thanks: 0
Thanked 11 Times in 6 Posts

Character: Kryptyx
Class: Assassin
Legion: Pandemic
Race: Asmodians
Server: Lumiel

Post the link to your boards, what seems to be the problem? Do you get errors or does it just not work?

__________________

Leader of Pandemic
Kryptyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-20-2009, 10:31 PM   #4 (permalink)
Soldier
 
Join Date: Jul 2009
Location: Chicago
Thanks: 0
Thanked 0 Times in 0 Posts

Character: Brewerr
Class: Ranger
Race: Elyos
Server: Yustiel

Send a message via AIM to Brewer SOTD Send a message via Yahoo to Brewer SOTD
No errors, I just get the text of whatever I put together the tags. Just click on my Legion linker on the left side to go to our site.

-------------------------

Nevermind now, the error turned out to be server side issues. This works great, big thanks to Kryptyx

__________________
Brewerr - Ranger (Main)
Brewer - Templar (Alt)
Sword of the Dragon

Last edited by Brewer SOTD; 08-21-2009 at 02:19 AM.. Reason: Automerged Double-Post.
Brewer SOTD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-21-2009, 08:11 AM   #5 (permalink)
AionArmory Staff
 
Join Date: Jun 2009
Thanks: 0
Thanked 11 Times in 6 Posts

Character: Kryptyx
Class: Assassin
Legion: Pandemic
Race: Asmodians
Server: Lumiel

For those who are interested in this mod, I have made some updates to the install page.

I was able to get it running on Brewer's forums last night, make sure your server has "allow_url_fopen" set to "on".

__________________

Leader of Pandemic
Kryptyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 12:48 AM   #6 (permalink)
Daeva
 
Join Date: Aug 2009
Thanks: 0
Thanked 0 Times in 0 Posts

Race: Elyos

I like this feature. However I am running into some issues and was wondering if you can help me figure out what the problem is...

When viewing a post with the Bbcode I get an error at the top of the page:

Code:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4001: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4001: file_get_contents(http://www.aionarmory.com/ajaxIDLookup.aspx?type=1&id=100900189) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found
I double checked the code on everything and there was no type or mistakes....hmm...


edit: Not sure if my host allows me to enable it >.>
Any other way to do this?

Last edited by ed2490; 08-23-2009 at 01:06 AM..
ed2490 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 01:24 AM   #7 (permalink)
AionArmory Staff
 
Join Date: Jun 2009
Thanks: 0
Thanked 11 Times in 6 Posts

Character: Kryptyx
Class: Assassin
Legion: Pandemic
Race: Asmodians
Server: Lumiel

Yes, Brewer SOTD had the same issue.

To fix it simple upload the following code in a php.ini file to your site root:
Code:
allow_url_fopen = On;
You can do this in any text editor like notepad. Save it as "php.ini" and upload to your root folder. If it still does not work, try uploading it to your forums directory, but the site root should resolve the issue.

__________________

Leader of Pandemic
Kryptyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 02:13 AM   #8 (permalink)
Daeva
 
Join Date: Aug 2009
Thanks: 0
Thanked 0 Times in 0 Posts

Race: Elyos

I did what you recommended and it still didn't work. I put it in both the ROOT and forums ROOT and it still didn't work. I tried e-mailing my host so I'm just going to see if they can do it for me. In the meantime...is there no other way to enable this feature? I'd really love to have this for my forum. Such an awesome feature.

Thanks for the help.


edit:

Very odd but for some reason it partially works for both Skills and Items when I use this:
Code:
[ url=URLHERE]text here[/url]
It just doesn't change the text color or have a little icon next to it.

Last edited by ed2490; 08-23-2009 at 02:31 AM..
ed2490 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 02:30 PM   #9 (permalink)
AionArmory Staff
 
Join Date: Jun 2009
Thanks: 0
Thanked 11 Times in 6 Posts

Character: Kryptyx
Class: Assassin
Legion: Pandemic
Race: Asmodians
Server: Lumiel

Yes, what happens is the JS file from AionArmory will append the tooltips to whatever has a valid http://aionarmory link to an item or spell... what the mod does is fetches data about the item or spell and changes the links to look nicer.

It really breaks down to your server not having allow_url_fopen turned on... If you can do a PHP info and see if you have cURL support. If you do I'll tweak the functions so they work for you.

__________________

Leader of Pandemic
Kryptyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 05:38 PM   #10 (permalink)
Daeva
 
Join Date: Aug 2009
Thanks: 0
Thanked 0 Times in 0 Posts

Race: Elyos

Sent you a pm.
ed2490 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 08:50 PM   #11 (permalink)
Soldier
 
Join Date: Jul 2009
Location: Chicago
Thanks: 0
Thanked 0 Times in 0 Posts

Character: Brewerr
Class: Ranger
Race: Elyos
Server: Yustiel

Send a message via AIM to Brewer SOTD Send a message via Yahoo to Brewer SOTD
Kryptyx is a helpful fellow for someone with red beady eyes and claws

__________________
Brewerr - Ranger (Main)
Brewer - Templar (Alt)
Sword of the Dragon
Brewer SOTD is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 09:01 PM   #12 (permalink)
Officer
 
rapidxone's Avatar
 
Join Date: Apr 2009
Location: SoCal
Thanks: 0
Thanked 0 Times in 0 Posts

Class: Gladiator
Legion: Untamed
Race: Asmodians
Server: Vaizel

anything like this for vBulletin?

__________________
Musashi of Untamed!

get untamed!
visit www.untamedlegion.com
rapidxone is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-23-2009, 11:05 PM   #13 (permalink)
AionArmory Staff
 
Join Date: Jun 2009
Thanks: 0
Thanked 11 Times in 6 Posts

Character: Kryptyx
Class: Assassin
Legion: Pandemic
Race: Asmodians
Server: Lumiel

@ed2490:
Thanks for the FTP access, that made things a lot easier. I installed a cURL version to fetch the data instead of using "file_get_contents" I use a custom function called "aionarmory_cURL". I made a test post and it seemed to work, I also uploaded the images and css files, they were missing.

Also, If you have any errors try clearing out the 2 cache SQL tables. They could of been populated with bad info since it could not fetch the data before. Feel free to PM me or post here with anything else.

@rapidxone:
Sorry, I have not modified vBulletin before. I'm sure someone with a familiar background can port the functions I have to work though.

---

I have actually updated the installation instructions to use cURL by default, I think it may work on more hosting providers.

__________________

Leader of Pandemic

Last edited by Kryptyx; 08-23-2009 at 11:21 PM..
Kryptyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2009, 01:03 AM   #14 (permalink)
Daeva
 
Join Date: Aug 2009
Thanks: 0
Thanked 0 Times in 0 Posts

Race: Elyos

Wow I cannot thank you enough for doing that for me. Thank you very much! you have no idea how happy I am
Anyways, for those people looking for a syndication, than this mod is very awesome. It's straight forward and very easy to use.

EDIT:

after checking the FTP I noticed the files were in the ROOT. I thought you meant the root of where the forums are at. My bad on that one.

Last edited by ed2490; 08-24-2009 at 01:18 AM..
ed2490 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-24-2009, 08:23 AM   #15 (permalink)
AionArmory Staff
 
Join Date: Jun 2009
Thanks: 0
Thanked 11 Times in 6 Posts

Character: Kryptyx
Class: Assassin
Legion: Pandemic
Race: Asmodians
Server: Lumiel

Quote:
Originally Posted by ed2490 View Post
Wow I cannot thank you enough for doing that for me. Thank you very much! you have no idea how happy I am
Anyways, for those people looking for a syndication, than this mod is very awesome. It's straight forward and very easy to use.

EDIT:

after checking the FTP I noticed the files were in the ROOT. I thought you meant the root of where the forums are at. My bad on that one.
No problem, Yeah sorry if the instructions were a little confusing about the upload files. Glad everything is working.

-------------------------

Some people were asking me to add some more modifiers to the BBCode so you can post larger icons. I have revised the installation instructions into a valid MODX installation for PHPBB3. Simply download the zip and follow the instructions on the install.xml file.

__________________

Leader of Pandemic

Last edited by Kryptyx; 08-24-2009 at 10:45 AM.. Reason: Automerged Double-Post.
Kryptyx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump