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 12-17-2012, 03:20 PM
draugluin's Avatar
draugluin draugluin is offline
Member
 
Join Date: Oct 2011
Location: germany
Posts: 120
Gender: Unknown/Other
Credits: 10,749
draugluin is on a distinguished road
Default Mys v 1.3.2 - own created pages

in Mys 1.3.1 I have pages with a structure like this
PHP Code:
<?php
include("functions/functions.php");
include(
"functions/functions_users.php");
include(
"functions/functions_adopts.php");
include(
"inc/lang.php");

if(
$isloggedin == "yes")     

$article_title "Title";
$article_content " and more text...<br>
    <img src=http://site.com/pic/pic.gif> 
        <a href=http://thissite.com>
                  <img src=http://picutres.com/nature/wood.gif  ></a>
"
;
 
echo 
showpage($article_title$article_content$date);
?>
I would like to generate a map with coords, mouseovereffects and so on.

Is there a ability to create this in Mys 1.3.2 and if so ... how ?

Reply With Quote
  #2  
Old 12-17-2012, 04:31 PM
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,685
Hall of Famer is on a distinguished road
Default

umm it isnt that much different from Mys v1.3.1, I'll convert your sample code to Mys v1.3.2 compatible format:

PHP Code:
 <?php 
require("inc/init.php"); 

if(
$mysidia->user->isloggedin){      

$title "title";  
$content " and more text...<br> 
    <img src=http://site.com/pic/pic.gif>  
        <a href=http://thissite.com> 
                  <img src=http://picutres.com/nature/wood.gif  ></a> 
"

$mysidia->page->settitle($title);
$mysidia->page->addcontent($content);

$mysidia->output();  
}
?>
Note you need to create a lang file in the folder /lang with the name lang_{$scriptname}.php. Otherwise the script will show a lang file not found error message.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 12-18-2012, 12:11 AM
draugluin's Avatar
draugluin draugluin is offline
Member
 
Join Date: Oct 2011
Location: germany
Posts: 120
Gender: Unknown/Other
Credits: 10,749
draugluin is on a distinguished road
Default

@ HoF

aaah...great. thank you
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
I created a responsive template audition Questions and Supports 0 02-01-2014 05:02 PM
Pages Alaric Questions and Supports 5 06-18-2013 03:42 AM
Text Box in Pages? Clessidra Questions and Supports 5 06-13-2013 06:51 PM
1.3.2 promocode for pages draugluin Questions and Supports 1 12-10-2012 03:36 PM
Editing pages. Saphira Questions and Supports 1 01-11-2009 04:46 PM


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

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