News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Guild Wars BBCODE for SMF

Started by amlucent, May 17, 2009, 06:06:48 PM

Previous topic - Next topic

amlucent

GWBBCODE v1.8.3-4 for SMF
Packaged for SMF by Amlucent aka Alchemist




Support topic | Link to Mod | Mirror





What is Guild Wars BBCODE?

Guild Wars BBCODE adds image and description popups for the over 2000 skills from the PC game Guild Wars.    This is very handy for creating player builds. Have you ever felt the need to have a synthesized view of a team build to interact with your allies, or lead it better?  Ever felt annoyed having to go to a fan site every time you want to know the exact description of a skill mentioned in a discussion?

Then maybe would you be interested in gwBBCode for your forum..


How do I use GWBBCODE?

Here is a tutorial and demo of the mod


FAQs: Frequently Asked Questions

- How do I teach my users how to use GWBBCODE?

Upon installation the above tutorial was placed in your forums help section.  Direct your users there.

- Where can I get those pretty Tango profession icons like are used at http://www.gwgoodolddays.com ?

The tango icons are available for download HERE. Follow the instructions to enable them on your website.

- All the skills default to the PVP versions, can I change it to the PVE Versions by default?

Yes, you can change the default gameplay by editing the /gwbbcode/config_default.inc.php file.  Change the line

define('GWBBCODE_GAMEPLAY', 'PvP');

to

define('GWBBCODE_GAMEPLAY', 'PvE');

in this file you can also change the default Kurzick/Luxon allegiance skills and even which Wiki skills link to when clicked.


BUGs and Known Issues with this Mod

-Any skills thats name contains an apostrophe will not display correctly.  For example, The skill "Bull's Strike" will not display.  *The work around is to simply type "Bulls Strike" without the apostrophe.

-Make sure that Search engine friendly URLs option in SMF is DISABLED.

-Skill descriptions are outdated? To update your skill descriptions to current follow Liu Pi's instructions:

Quote from: Liu PiI am indeed busy on other projects ^^
If you want to update your gwBBCode skill database, gwShack's database is now automatically updated from the official GuildWars wiki!
There are two ways to get gwShack's up-to-date files:

- Either upload the content of this small package to your gwbbcode directory: gwbbcode_updated_db.zip
- Or individually replace your gwBBcode files with these: skill_db_1.php, skill_db_2.php and skillname_db.php, then check if you have the latest skill icons from here in your img_skills.

If you guys want, I could create a RSS feed to keep you informed of such updates..

Edit: The files above (even the zip one) are automatically updated when GuildWars wiki is.

-Enclosing gwbbcode items with [pre] tags will not prevent gwbbcode from being parsed on SMF as stated in the tutorial.  Instead you should use SMF built-in [nobbc] tag to prevent any bulletin board code from parsing.

-If the gwbbcode pickup feature does not function properly double check to make sure that pickup.php and pickup_db.php are writable with the appropriate permissions ie 777 or 755.  Also, depending upon how your site is layed out you may need to enable subdomain independant cookies in your admin area.

-This Ajax Chat Mod will operate with this mod but you will have to copy your "gwbbcode" folder into the root of the "chat" folder.  IF you receive an  XML Parsing Error: follow the instructions HERE

-It has been reported to me that this mod is incompatible with the custom form mod.  I am working on it.. but its low on my priorities.


Compatibility

This mod should work on any version of SMF 1.1.x and any version of SMF 2.0 (Beta 4 or later).

All previous versions of this mod MUST be uninstalled BEFORE installing this version. Also, make sure to backup your database and files first.


Support

After the installation please seek support for gwbbcode at http://gwshack.us.


License

GWBBCODE is licensed under the GNU Public License v2. GWBBCODE is available along with its source code at http://www.gwshack.us.  All skill icons, names and descriptions are property of ArenaNet.


Changelog


  • 6/21/09 - v1.8.3-4 The Pickup function of gwbbcode is now fully operational for SMF 1.1x and 2.0.  Discover details of this great feature's usage in the tutorial. Updated skills and descriptions to reflect game update on 06/18/09.  Updated Spawning Power bonus to weapon spells to reflect dev update on 06/18/09.

  • 6/04/09 - v1.8.3-3 Fixed a major bug which caused skill descriptions not to display popups unless the smf new line was present in the theme.  Updated and clearified a few lines in the gwbbcode tutorial.

  • 5/15/09 - v1.8.3-2 Updated Skill descriptions to current as of 5/15/2009.  Added gwbbcode tutorial to install into the help section of SMF (Thanks again SiNaN!)

  • 4/29/09 - v1.8.3-1 Contained is gwbbcode version 1.8.3.  This is the first package of gwbbcode for SMF so I will do versions like linux packages.. this is v1.8.3-1.


Credits

-Most of all, thanks to Lui Pi at gwshack.us for making gwbbcode

-Thanks to DeathClaw for the original instructions for enabling gwbbcode for SMF.

-A big thanks to BlueDream/SiNaN from simplemachines.org and simpleportal.net for helping me with SMF and the "Help Section".

-Thanks to M-DVD for solving the extra pesky news line bugs causing no skill description popup.

.LORD.


ʟink

Wow; I *just* made a site for a guild a couple of days ago. This will be a great improvement to it; thanks!
Obedire est vivere, Vivere est obedire


Propaganistas

Hiya,

if you have pm notification turned on, the file dynamic.tpl doesn't get parsed and is sent along in the notification as plain text:

QuoteYou have just been sent a personal message by Admin on Forum.

IMPORTANT: Remember, this is just a notification. Please do not reply to this email.

The message they sent you was:

/*
*//*
*/if (!GWBBCODE_HOOK) {/*
*//*
*/   var GWBBCODE_HOOK = true;/*
*//*
*/   var gwbb_dynamic_url = 'gwbbcode';/*
*//*
*/   /*
*//*
*/   /* Include the overDiv div *//*
*//*
*/   var overdiv_div = document.createElement('div');/*
*//*
*/   overdiv_div.id = 'overDiv';/*
*//*
*/   document.body.insertBefore(overdiv_div, document.body.firstChild);/*
*//*
*//*
*//*
*/   /* Include the send iframe for the pickup feature *//*
*//*
*/   var send_frame = document.createElement('iframe');/*
*//*
*/   send_frame.id = 'send';/*
*//*
*/   send_frame.style.display = 'none';/*
*//*
*/   send_frame.src = 'about:blank';/*
*//*
*/   document.body.insertBefore(send_frame, document.body.firstChild);/*
*//*
*//*
*//*
*/   /* Include the gwbbcode.css *//*
*//*
*/   var headID = document.getElementsByTagName("head")[0];         /*
*//*
*/   var cssNode = document.createElement('link');/*
*//*
*/   cssNode.type = 'text/css';/*
*//*
*/   cssNode.rel = 'stylesheet';/*
*//*
*/   cssNode.href = 'gwbbcode/gwbbcode.css';/*
*//*
*/   cssNode.media = 'screen';/*
*//*
*/   headID.appendChild(cssNode);/*
*//*
*/   /*
*//*
*/   /* Include overlib.js *//*
*//*
*/   var include_overlib = document.createElement('script');/*
*//*
*/   include_overlib.type = 'text/javascript';/*
*//*
*/   include_overlib.src = 'gwbbcode/overlib.js';/*
*//*
*/   document.body.insertBefore(include_overlib, document.body.firstChild);/*
*//*
*//*
*//*
*/   /* Include gwbbcode.js *//*
*//*
*/   var include_gwbbcode = document.createElement('script');/*
*//*
*/   include_gwbbcode.type = 'text/javascript';/*
*//*
*/   include_gwbbcode.src = 'gwbbcode/gwbbcode.js';/*
*//*
*/   document.body.insertBefore(include_gwbbcode, document.body.firstChild);/*
*//*
*/}/*
*//*
*/Test Message
Test Message
Test Message
Test Message
Test Message
Test Message

Reply to this Personal Message here: ****

This is also an issue in the original package downloaded from gwshack.

Greetz
Propa

amlucent

New development for those that wish to use gwbbcode in conjunction with the ajax chat mod.  This Ajax Chat Mod will operate with this mod but you will have to copy your "gwbbcode" folder into the root of the "chat" folder.  IF you recieve an  XML Parsing Error: follow the instructions HERE

Currently, gwbbcode will not be parsed in ajax chat.  I am planing on figuring out how to enable it but for now it works for those that cant wait.

amlucent

GWBBCODE 1.8.3-3 released.  Contains a major bug fix that will enable everyone to use the smf news line however you would like.. even use themes that contain no news line  ;D.

I have big plans for 1.8.3-4...  after I figure out how to implement them  :o  stay tuned.

amlucent

#6
1.8.3-4 released.  I could not get all the things I wanted done with it (Maybe for the next release) but one major task that is perfectly supported now is the pickup feature!  If you have any trouble getting the pickup feature to function make sure your pickup.php and pickup.db are both writable. Enjoy..

neuikc

Updated the package as posted yesterday. I'm getting some logged errors related to gwbbcode now:

Quote2: include_once() [<a href='function.include'>function.include</a>]: Failed opening '../SSI.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Refers to line 156 of gwbbcode.inc.php being the culprit. Ideas?

neuikc

Having some problems with the pickup feature (of course). It's not adding any names, no errors in log. I verified that pickup_db.php is chmod'd 666, any other suggestions?

amlucent

#9
Quote from: amlucent on May 17, 2009, 06:06:48 PM
-If the gwbbcode pickup feature does not function properly double check to make sure that pickup.php and pickup_db.php are writable with the appropriate permissions ie 777 or 755.

777, or if you server is finicky like mine 755, not 666.

neuikc

Yea, I had tried 777 too, lol, 755 did the trick thanks! - :)

h78509

Looks amazing. RC2 version is sorely needed!

amlucent

I am working on an RC2 version but it is going slowly because of my new job.  Except for the tutorial in the help section, I think everything will work on RC2 if you use the old core theme.

h78509

Quote from: amlucent on January 25, 2010, 04:43:30 PM
I am working on an RC2 version but it is going slowly because of my new job.  Except for the tutorial in the help section, I think everything will work on RC2 if you use the old core theme.

I'm using a customized Curve so I'll wait for the RC2 version. Thanks anyways.

If you do a GW2 version when the game comes out, this mod will probably become very popular. I can't imagine any GW2 forum that uses SMF not wanting to use this mod.

amlucent

New Beta Version compatible with 2.0 RC3, those interested can download it HERE

hlhollenst

I realize this is a low priority, and yes i have researched around and looked at the code myself.  Is there any fixes dirty or clean to make custom form mod to work with gwbbcode

rulezGrog

Quote from: amlucent on July 19, 2010, 01:57:21 AM
New Beta Version compatible with 2.0 RC3, those interested can download it HERE

I can`t download the mod, i have this error: " Sorry, but you are not allowed to access the gallery " Can anyone help me or post another link to download this version of the mod.

I use smf rc4.

Thanks

amlucent

Quote from: rulezGrog on December 07, 2010, 01:56:49 AM
Quote from: amlucent on July 19, 2010, 01:57:21 AM
New Beta Version compatible with 2.0 RC3, those interested can download it HERE

I can`t download the mod, i have this error: " Sorry, but you are not allowed to access the gallery " Can anyone help me or post another link to download this version of the mod.

I use smf rc4.

Thanks

Can you access this?  I looked at the permissions and they look fine for guest read access.

http://gwgoodolddays.com/index.php?action=media;sa=album;in=32

halzero

you can get to the page you link, but you cant download the file.

is this project still going? I understand the original gwbbcode programmer isnt working on it anymore.

amlucent

Ok, link should now show download as an option for guests.  Correct, gwbbcode is not being maintained by its creator or hosted at gwshack.us anylonger however he still supplies skill updates through google project hosting.. so essentially it has just moved..

http://code.google.com/p/gwbbcode/

Advertisement: