![]() |
#9
|
|||
|
|||
![]()
Oh yeah! Sure thing.
Simply open the myadoptsview.php file in the /view folder, and find the following piece of code: Code:
$forumComment = new Comment("Forum BBCode: "); $forumComment->setUnderlined(); $forumcode = "[img]{$mysidia->path->getAbsolute()}levelup/siggy/{$adopt->getAdoptID()}[/img]"; $forumArea = new TextArea("forumcode", $forumcode, 4, 50); $forumArea->setReadOnly(TRUE); $altComment = new Comment("Alternative BBCode: "); $altComment->setUnderlined(); $altcode = "[img]{$mysidia->path->getAbsolute()}get/{$adopt->getAdoptID()}.gif\"[/img]"; $altArea = new TextArea("altcode", $altcode, 4, 50); $altArea->setReadOnly(TRUE); $htmlComment = new Comment("HTML BBCode: "); $htmlComment->setUnderlined(); $htmlcode = "<a href='{$mysidia->path->getAbsolute()}levelup/click/{$adopt->getAdoptID()}' target='_blank'> <img src='{$mysidia->path->getAbsolute()}levelup/siggy/{$adopt->getAdoptID()}' border=0></a>"; $htmlArea = new TextArea("htmlcode", $htmlcode, 4, 50); $htmlArea->setReadOnly(TRUE); Here I added my resizing preference to the first BBCode option: Code:
$forumComment = new Comment("Forum BBCode: "); $forumComment->setUnderlined(); $forumcode = "[img height=126 width=145]{$mysidia->path->getAbsolute()}levelup/siggy/{$adopt->getAdoptID()}[/img]"; $forumArea = new TextArea("forumcode", $forumcode, 4, 50); $forumArea->setReadOnly(TRUE); Code:
$altComment = new Comment("Alternative BBCode: "); $altComment->setUnderlined(); $altcode = "[img height=126 width=145]{$mysidia->path->getAbsolute()}get/{$adopt->getAdoptID()}.gif\"[/img]"; $altArea = new TextArea("altcode", $altcode, 4, 50); $altArea->setReadOnly(TRUE); Code:
$htmlComment = new Comment("HTML BBCode: "); $htmlComment->setUnderlined(); $htmlcode = "<a href='{$mysidia->path->getAbsolute()}levelup/click/{$adopt->getAdoptID()}' target='_blank'> <img src='{$mysidia->path->getAbsolute()}levelup/siggy/{$adopt->getAdoptID()}' width='145' height='126' border=0></a>"; $htmlArea = new TextArea("htmlcode", $htmlcode, 4, 50); $htmlArea->setReadOnly(TRUE); Hope this helps somebody. :) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DigiChars | Vaporman87 | Adoptables Sites Showcase | 1 | 04-07-2014 12:57 PM |
What's New? |
What's Hot? |
What's Popular? |