Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.1.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2011, 05:12 PM
The Codfin Keeper's Avatar
The Codfin Keeper The Codfin Keeper is offline
A Codfin draws near!
 
Join Date: Jan 2011
Location: Either CT or the Slug's house
Posts: 91
Gender: Male
Credits: 13,562
The Codfin Keeper is on a distinguished road
Default BBCode Adoptable Reference - VERY SMALL MOD

Okay, this is a code so users can reference adoptables on your site without having to use img and url codes wherever there's BBCode enabled.

Under the folder inc, open up bbcodes.php:

Where it has all the BBCodes, under one of them put:

PHP Code:
$text preg_replace('|\[adoptable\](.+?)\[\/adoptable\]|i''<a href="/levelup.php?id=$1"><img src="/siggy.php?id=$1"></a>'$text); 
...where "adoptable" can be changed to your liking.

Have fun, and this is a very small mod, if you didn't see so by the title.
__________________

Yacker
Quote:
Originally Posted by Mankey Pokemon Card when another one is on top of it
([33) Ka\______
Does 40 damage\___
counter on Mankey. \______

Last edited by The Codfin Keeper; 02-13-2011 at 06:54 AM.
Reply With Quote
  #2  
Old 02-12-2011, 08:08 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 57,775
RoconzaArt is an unknown quantity at this point
Default

Um I don't understand can you explain it to me.
__________________
Reply With Quote
  #3  
Old 02-13-2011, 01:50 AM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 31,274
PTGigi
Default

Oh hey this :3 I remember you talking about this 8D

To ignore the 'yoursite' thing you can change it to:
Code:
<img src="/siggy.php?id=$1">
Something like that :3 It auto adds the beginning

Why is my text red all of a sudden? D:
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
Reply With Quote
  #4  
Old 02-13-2011, 06:53 AM
The Codfin Keeper's Avatar
The Codfin Keeper The Codfin Keeper is offline
A Codfin draws near!
 
Join Date: Jan 2011
Location: Either CT or the Slug's house
Posts: 91
Gender: Male
Credits: 13,562
The Codfin Keeper is on a distinguished road
Default

@Gigi - lol ok I'll change that.

@Roconza - basically it's adding a new BBCode to the list of BBCodes (bold, italics, color, image, url, etc.) that allows users to reference an adoptable (levelup link and image) using one BBCode tag. This involves going into that BBCode file on your Mys site, and adding this in so you and other users can use it wherever BBCode is allowed on your site.
__________________

Yacker
Quote:
Originally Posted by Mankey Pokemon Card when another one is on top of it
([33) Ka\______
Does 40 damage\___
counter on Mankey. \______
Reply With Quote
Reply


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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Support for BBCode jason1234h Questions and Supports 2 07-22-2013 12:46 AM
Messed up BBCode SilverDragonTears Questions and Supports 19 02-13-2012 11:50 AM
Extra BBcode AlexC Mys v1.2.x Mods 0 04-14-2011 01:48 PM
HTML instead of BBCODE PokePets Questions and Supports 3 08-09-2010 06:36 AM
BBCode Fireballchad Addons/Mods Graveyard 5 09-19-2009 09:09 AM


All times are GMT -5. The time now is 12:44 AM.

Currently Active Users: 1151 (0 members and 1151 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636