Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved auto links
#1
Not Solved
hi!

i'm not sure if this question has been asked already!... i couldn't find anything on it. if it has.. i apologise!

i morderate http://orderandchaosduelsforum.com/

it is a forum that discusses a trading card game.

is there a way for our members to type the name of the card and the name of the card automatically becomes a link to the wiki page that details the stats of card?

For example:

I type Laurelai

and it automatically becomes a link to:

http://orderandchaosduels.wikia.com/wiki/Laurelai

this would help our forum tremendously!

Thank you!
#2
Not Solved
You are going to have to make or use a API from that website, or you can tell you members to stop being lazy and use the hyperlink bb code
#3
Not Solved
so everyone will just have to do this instead?

"[url equals weblink]"

"Card name"

"[ forrward slash url]"


what's an API?
#4
Not Solved
you can add a new custom MyCode for your requirement by taking guidance from wiki type links thread
#5
Not Solved
Sorry complete noob with the terminology.

And the link you provided I didn't really understand

How do I setup the custom mycodes?

Ok I found the site explaining it

http://docs.mybb.com/Admin_CP_Config_MyCode.html

But unfortunately I'm not admin... So it's hard for me to understand .

so how can our members use the codes to create links to the wiki site for each card available?
#6
Not Solved
^ the links are there for providing required guidance!
Expression:  
\[\[(.*?)\]\]

Replace:
<a target="_blank" href="http://orderandchaosduels.wikia.com/wiki/$1" title="Wikipedia:  $1">$1</a>

if you are confused, would you like to give temporary admin panel access to add required custom MyCode
#7
Not Solved
You might also find this helpful. You can test regexs.
#8
Not Solved
Thanks all. We made a [card]card name[/card] mycode which links to the wiki

Working great!


Forum Jump:


Users browsing this thread: 1 Guest(s)