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 02-20-2011, 08:27 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: 11,201
The Codfin Keeper is on a distinguished road
Default Some sort of variable?

I looked at the code of the main theme on my site, and it references things like :SITENAME: and :SIDEFEED: .

How can I make my own?
__________________

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
  #2  
Old 02-20-2011, 08:36 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,503
Hall of Famer is on a distinguished road
Default

Well you can modify enddayne's template on your own, simply open the html file templates/simple/template.html and find the corresponding codes to edit. Do not remove copyrights though, unless you have her permission.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 02-20-2011, 08:39 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: 11,201
The Codfin Keeper is on a distinguished road
Default

I didn't remove any copyrights, just so you know. ^^

I have nothing in /simple except the inc folder and starter.html.
__________________

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
  #4  
Old 02-20-2011, 09:39 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,503
Hall of Famer is on a distinguished road
Default

Oh I am sorry the html file is named starter.html in Mys v1.1.x series. Open it with a text editor and change the site name and site owner part of the codes.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 02-20-2011, 09:42 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: 11,201
The Codfin Keeper is on a distinguished road
Default

I try that, but what I don't understand is, how were each of the variable things like :SITENAME: and :SIDEFEED: were defined - that's what I'm trying to find out.
__________________

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
  #6  
Old 02-20-2011, 09:49 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,503
Hall of Famer is on a distinguished road
Default

Well this is not what I am talking about. The site name and slogan can be edited in admin control panel. Near the bottom of the page you should be able to find a line that looks like this:

PHP Code:
<p><a href="">Your Site</a> &copy;Copyright Year <a href="">Your Name</a> <brPowered by <a href="http://www.mysidiaadoptables.com/forum" target="_blank">Mysidia Adoptables v1.1.4</a> &#9733; Theme by <a href="http://design.sessions-st.net">Sessions Street</a> ★ Valid <a href="http://validator.w3.org/check?uri=referer">HTML</a> &amp; <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></p> 
Edit the 'your site' and 'your name' parts to whatever you like, and leave the rest of codes unchanged.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 02-20-2011, 09:51 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: 11,201
The Codfin Keeper is on a distinguished road
Default

What I was originally asking is, where are the variables like in;

PHP Code:
<tr><td><h1>:SITENAME:<span><strong>:SLOGAN:</strong> &lceil; :ARTICLETITLE: &rfloor;</span
defined?
__________________

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
  #8  
Old 02-20-2011, 09:57 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,503
Hall of Famer is on a distinguished road
Default

Oh this is actually not PHP. I believe it is referenced to the site settings you can manually edit in admin control panel though.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #9  
Old 02-20-2011, 10:09 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,506
fadillzzz is an unknown quantity at this point
Default

You want to make one of those?
just put something like this before the echo $template line
PHP Code:
$template replace(':NEWVAR:',$newvar,$template); 
now in the template .html file, just a put the :NEWVAR: whereever you want. But don't forget to define the $newvar variable in the .php file else it will be blank
Reply With Quote
  #10  
Old 02-20-2011, 11:17 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: 11,201
The Codfin Keeper is on a distinguished road
Default

Thank you fadillzzz! :)

lol unfortunately the code I'm trying to make appear using that messes up regardless...but I'll keep that for future reference. :)
__________________

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

Thread Tools
Display Modes

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
Mys v1.3.1 Group sort StarGirl Mys v1.3.x Mods 60 09-17-2018 04:46 AM
1.3.4 - group sort draugluin Questions and Supports 6 01-16-2017 12:02 PM
variable currency idea schepers12 Suggestions and Feature Requests 5 05-19-2013 11:16 PM
Switching themes... anyone know the variable mythic Questions and Supports 0 09-15-2011 12:43 PM
sort adoptables Blackmagic Questions and Supports 3 12-01-2009 03:05 PM


All times are GMT -5. The time now is 02:29 PM.

Currently Active Users: 462 (0 members and 462 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