Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2017, 07:59 PM
aquapyrofan aquapyrofan is offline
Member
 
Join Date: Apr 2017
Posts: 48
Gender: Unknown/Other
Credits: 8,486
aquapyrofan is on a distinguished road
Default GD Question

I know Mysidia uses GD to write the text on images and I'm planning to use it, but is there any way to change what text it writes? Where would I find that in the code? Right now my site's URL is too long to work with it so I'm planning to change some of the text around.
Reply With Quote
  #2  
Old 05-03-2017, 08:21 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 66,013
Dinocanid is on a distinguished road
Default

For writing text on images, did you mean the banner at the top of the site? If so, that doesn't use GD, it can be found in your theme's template.tpl file towards the top, similar to this:
HTML Code:
<div id="wrapper" style="text-align:center;">
	<div id="header"><a href="{$path}index">{$site_name}</a></div>
Just replace {$site_name} with something shorter if the name it's pulling is too long.
If not, what were you referring to? Since I haven't noticed any other instances where mysidia does this.
__________________
Reply With Quote
  #3  
Old 05-03-2017, 08:51 PM
aquapyrofan aquapyrofan is offline
Member
 
Join Date: Apr 2017
Posts: 48
Gender: Unknown/Other
Credits: 8,486
aquapyrofan is on a distinguished road
Default

Quote:
Originally Posted by Dinocanid View Post
For writing text on images, did you mean the banner at the top of the site? If so, that doesn't use GD, it can be found in your theme's template.tpl file towards the top, similar to this:
HTML Code:
<div id="wrapper" style="text-align:center;">
	<div id="header"><a href="{$path}index">{$site_name}</a></div>
Just replace {$site_name} with something shorter if the name it's pulling is too long.
If not, what were you referring to? Since I haven't noticed any other instances where mysidia does this.
No, I meant on the images from the BBcode/HTML, for example this one:


See how my site's URL is cut off?
Reply With Quote
  #4  
Old 05-03-2017, 09:12 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 66,013
Dinocanid is on a distinguished road
Default

Oh! Well in that case I'm not sure either. I looked through the class files and myadoptsview.php but couldn't find anything for it.
__________________
Reply With Quote
  #5  
Old 05-04-2017, 08:08 AM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 114,221
Abronsyth is on a distinguished road
Default

I recently stumbled upon it, can't remember where, though. I'll do a search quickly.

EDIT:
Check out public function siggy() in levelup.php

You should find this a few lines down the function:
PHP Code:
        // Build text for siggy
            
$str1 "Name: ".$this->adopt->getName();
            
$str2 "Owner: ".$this->adopt->getOwner();
            
$str3 "Click Here to Feed Me!";
            
$str4 "More Adopts at:";
            
$str5 "www.".constant("DOMAIN"); 
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 05-04-2017 at 08:44 AM.
Reply With Quote
  #6  
Old 05-04-2017, 08:03 PM
KatFennec's Avatar
KatFennec KatFennec is offline
Member
 
Join Date: Apr 2017
Posts: 57
Gender: Female
Credits: 7,919
KatFennec is on a distinguished road
Default

Is there a way to allow it to work with .png files in addition to .gif?
__________________
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


All times are GMT -5. The time now is 08:33 PM.

Currently Active Users: 9839 (0 members and 9839 guests)
Threads: 4,080, Posts: 32,024, 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