We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
TCG Card Search BBcode; Works with MTG, Yugioh, and Pokemon
Topic Started: Feb 17 2011, 06:52 PM (947 Views)
Xero
Member Avatar
Member
[ *  *  *  * ]
This code adds allows you to post card links within card tags ([card]Name of card[/card]) which, when clicked, will bring up a popup page with the appropriate search result.

Preview - Click here. Click the links in the posts at the bottom. (Scion of the Wild and Mycoloth) The code is set to MTG cards on my board.

NOTE: Do NOT use more that one of these at a time! They will NOT work together! If, however, you PM me, I'll make a code for you so that they do.

Just put one of the following codes Below the Board.

Magic: The Gathering version: click to toggle


Yu-Gi-Oh! version: click to toggle


Pokemon version: click to toggle
Offline Profile Quote Post Goto Top
 
The Syndicate
Member Avatar
Member
[ *  * ]
Awesome code, PM'ed you for a updated version.

Issue though, when I do [card]Blue eyes white dragon[/card] & [card]Red eyes black dragon[/card], it shows as one big link, like it can't tell there are 2 cards in 1 post?
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
The RegEx just needs to be modified. Change '(.*)' to '(.+?)'
Online Profile Quote Post Goto Top
 
The Syndicate
Member Avatar
Member
[ *  * ]
Worked! 10/10 as usual Cory! :D Thank you.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
DealsFor.me - The best sales, coupons, and discounts for you
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply