Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Welcome to the Official Site of PHP-Fusion
Sign In
Not a member yet? Click here to register.
Navigation
8 Replies | Latest reply on 24-09-2012 08:08 by WEC
Sheldon
Sheldon Posted 11 years ago 616 posts

UPDATED: 6.01.13 ChangeLog

Written by IceWasp

UPDATED: NOV 5th 07

Change log:

Quote

contact.php
Find (64):
<td><textarea name='message' rows='10' class='textbox' style='width: 320px'></textarea></td>

Replace with:
<td><textarea name='message' rows='10' cols='58' class='textbox'></textarea></td>

edit_profile.php
Find (124):
<textarea name='user_sig' rows='5' class='textbox' style='width:295px'>".$userdata['user_sig']."</textarea><br>

Replace with:
<textarea name='user_sig' rows='5' cols='53' class='textbox'>".$userdata['user_sig']."</textarea><br>

maincore.php
Find (347):
$text = preg_replace('#\[mail=([\r\n]*)([^\s\'\";:\+]*?)\](.*?)([\r\n]*)\[/mail\]#si', '<a href=\'mailto:\2\'>\2</a>', $text);

Replace with:
$text = preg_replace('#\[mail=([\r\n]*)([^\s\'\";:\+]*?)\](.*?)([\r\n]*)\[/mail\]#si', '<a href=\'mailto:\2\'>\3</a>', $text);

Find (479):
if (iSUPERADMIN && ($group == "0" || $group == "101" || $group == "102" || $group == "103")) { return true; }

Replace with:
if (iSUPERADMIN) { return true; }

maintenance.php
Find (60):
ob_end_flush();

Before, add:
mysql_close();

messages.php
Find (310):
echo "<table align='center' cellpadding='0' cellspacing='' width='500px'>\n";

Replace with:
echo "<table align='center' cellpadding='0' cellspacing='0' width='500'>\n";

Find (397):
if (!$data['message_smileys']) $reply_message = parsesmileys($reply_message);

Replace with:
if ($data['message_smileys'] == "y") $reply_message = parsesmileys($reply_message);

Find (413, 414):
   if (iADMIN && !isset($msg_id)) {
      $user_groups = getusergroups();

Before, add:
   if ($msg_send == 0) { $user_list .= "<option value='---' disabled>---</option>\n"; }
   

print.php
Find (17):
echo "<html>

Replace with:
echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'
  'http://www.w3.org/TR/html4/loose.dtd'>
<html>

Find (19):
<title>".$settings['sitename']."</title>

After, add:
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>

Find (42):
$res = true;      $data = dbarray($result);

Replace with:
$res = true;

Find (55 - 63):
   if (dbrows($result) != 0) {
      $data = dbarray($result);
      $news = stripslashes($data['news_news']);
      if ($data['news_breaks'] == "y") $news = nl2br($news);
      if ($data['news_extended']) {
         $news_extended = stripslashes($data['news_extended']);
         if ($data['news_breaks'] == "y") $news_extended = nl2br($news_extended);
      } else {
         $news_extended = "";

Replace with:
   $res = false;
   if (dbrows($result)) {
      $data = dbarray($result);
      if (checkgroup($data['news_visibility'])) {
         $res = true;
         $news = stripslashes($data['news_news']);
         if ($data['news_breaks'] == "y") $news = nl2br($news);
         if ($data['news_extended']) {
            $news_extended = stripslashes($data['news_extended']);
            if ($data['news_breaks'] == "y") $news_extended = nl2br($news_extended);
         } else {
            $news_extended = "";
         }

Find (69 - 70):
      if ($news_extended) echo "<hr>\n<b>".$locale['402']."</b>\n<hr>\n$news_extended\n";
   }

After, add:
   if (!$res) { fallback("index.php"); }

Find (73):
</html>\n";

After, add:

mysql_close();

ob_end_flush();

profile.php
Find (73):
if (!isset($userdata['user_id']) || $data['user_id'] != $userdata['user_id']) {

Replace with:
if (iMEMBER && $data['user_id'] != $userdata['user_id']) {

register.php
Find (245):
<textarea name='user_sig' rows='5' class='textbox' style='width:295px'>".$userdata['user_sig']."</textarea><br>

Replace with:
<textarea name='user_sig' rows='5' cols='53' class='textbox'>".$userdata['user_sig']."</textarea><br>

search.php
Find (272):
echo "<span class='small'><font class='alt'>".$locale['451']."</font> ".showdate("%d.%m.%y", $data['weblink_datestamp'])." |

Replace with:
echo "<span class='small'><font class='alt'>".$locale['454']."</font> ".showdate("%d.%m.%y", $data['weblink_datestamp'])." |

setuser.php
Find (25):
<table width='100%' height='100%'>

Replace with:
<table width='100%' style='height:100%'>

submit.php
Find (39 - 40):
      if (dbrows($result)) {
         while ($data = dbarray($result)) $opts .= "<option>".$data['weblink_cat_name']."</option>\n";

Replace with:
      while ($data = dbarray($result)) {
         if (checkgroup($data['weblink_cat_access'])) $opts .= "<option>".$data['weblink_cat_name']."</option>\n";
      }
      if (!empty($opts)) {

Find (128):
<td class='tbl'><textarea class='textbox' name='news_body' rows='8' style='width:300px;'>$news_body</textarea></td>

Replace with:
<td class='tbl'><textarea class='textbox' name='news_body' rows='8' cols='54'>$news_body</textarea></td>

Find (158):
$article_cat = $_POST['article_cat'];

Replace with:
$article_cat = isNum($_POST['article_cat']) ? $_POST['article_cat'] : "0";

Find (178 - 182):
      if (dbrows($result)) {
         while ($data = dbarray($result)) {
            if (isset($_POST['preview_article'])) $sel = ($article_cat == $data['article_cat_id'] ? " selected" : "");
            $cat_list .= "<option value='".$data['article_cat_id']."'$sel>".$data['article_cat_name']."</option>\n";
         }

Replace with:
      while ($data = dbarray($result)) {
         if (isset($_POST['preview_article'])) $sel = ($article_cat == $data['article_cat_id'] ? " selected" : "");
         if (checkgroup($data['article_cat_access'])) $cat_list .= "<option value='".$data['article_cat_id']."'$sel>".$data['article_cat_name']."</option>\n";
      }
      if (!empty($cat_list)) {

Find (197):
<td class='tbl'><textarea class='textbox' name='article_snippet' rows='3' style='width:300px;'>$article_snippet</textarea></td>

Replace with:
<td class='tbl'><textarea class='textbox' name='article_snippet' rows='3' cols='54'>$article_snippet</textarea></td>

Find (201):
<td class='tbl'><textarea class='textbox' name='article_body' rows='8' style='width:300px;'>$article_body</textarea></td>

Replace with:
<td class='tbl'><textarea class='textbox' name='article_body' rows='8' cols='54'>$article_body</textarea></td>

Find (271 - 272):
      if (dbrows($result)) {
         while ($data = dbarray($result)) $opts .= "<option value='".$data['album_id']."'>".$data['album_title']."</option>\n";

Replace with:
      while ($data = dbarray($result)) {
         if (checkgroup($data['album_access'])) $opts .= "<option value='".$data['album_id']."'>".$data['album_title']."</option>\n";
      }
      if (!empty($opts)) {

Find (282):
<td class='tbl'><textarea name='photo_description' rows='5' class='textbox' style='width:250px;'></textarea></td>

Replace with:
<td class='tbl'><textarea name='photo_description' rows='5' cols='35' class='textbox' style='width:250px;'></textarea></td>

administration/articles.php
Find (92):

Replace with:
} else { $editlist .= "<option value='---' disabled>---</option>\n"; }

administration/comments.php
Find (43):
<td align='center' class='tbl'><textarea name='comment_message' rows='5' class='textbox' style='width:400px'>".$data['comment_message']."</textarea><br>

Replace with:
<td align='center' class='tbl'><textarea name='comment_message' rows='5' cols='74' class='textbox'>".$data['comment_message']."</textarea><br>

Find (94):
echo "<script>

Replace with:
echo "<script type='text/javascript'>

administration/custom_pages.php
Find (110):
$action = FUSION_SELF.$aidlink."&page_id=$page_id";

Replace with:
$action = FUSION_SELF.$aidlink."&amp;page_id=$page_id";

Find (133):
<td width='80%' class='tbl'><input type='textbox' name='page_title' value='$page_title' class='textbox' style='width: 250px;'>

Replace with:
<td width='80%' class='tbl'><input type='text' name='page_title' value='$page_title' class='textbox' style='width: 250px;'>

administration/downloads.php
Find (83):
<td class='tbl'><textarea name='download_description' rows='5' class='textbox' style='width:380px;'>".$download_description."</textarea></td>

Replace with:
<td class='tbl'><textarea name='download_description' rows='5' cols='70' class='textbox'>".$download_description."</textarea></td>

Find (148):
<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['download_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['download_cat_id']."'></td>

Replace with:
<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['download_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['download_cat_id']."' alt=''></td>

administration/faq.php
Find (158):
<td class='tbl'><textarea name='faq_answer' rows='5' class='textbox' style='width:335px;'>".phpentities(stripslashes($faq_answer))."</textarea></td>

Replace with:
<td class='tbl'><textarea name='faq_answer' rows='5' cols='61' class='textbox'>".phpentities(stripslashes($faq_answer))."</textarea></td>

Find (199):
<td class='tbl2'><img onclick=\"javascript:flipBox('".$data['faq_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['faq_cat_id']."'> ".$data['faq_cat_name']."</td>

Replace with:
<td class='tbl2'><img onclick=\"javascript:flipBox('".$data['faq_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' alt='' name='b_".$data['faq_cat_id']."'> ".$data['faq_cat_name']."</td>

administration/forums.php
Find (244):
<textarea name='forum_description' rows='2' class='textbox' style='width:285px;'>$forum_description</textarea></td>

Replace with:
<textarea name='forum_description' rows='2' cols='51' class='textbox'>$forum_description</textarea></td>

administration/members.php
Remove line (93):
</tr>

Find (195):
<td class='tbl1'>".number_format($data['user_posts'])."</td>

Replace with:
<td class='tbl2'>".number_format($data['user_posts'])."</td>

Find (334):
<td class='tbl'><textarea name='user_sig' rows='5' class='textbox' style='width:295px'>".$data['user_sig']."</textarea><br>

Replace with:
<td class='tbl'><textarea name='user_sig' rows='5' cols='53' class='textbox'>".$data['user_sig']."</textarea><br>

administration/photoalbums.php
Find (197):
<td class='tbl'><input type='textbox' name='album_title' value='$album_title' maxlength='100' class='textbox' style='width:330px;'></td>

Replace with:
<td class='tbl'><input type='text' name='album_title' value='$album_title' maxlength='100' class='textbox' style='width:330px;'></td>

Find (201):
<td class='tbl'><textarea name='album_description' rows='5' class='textbox' style='width:330px;'>$album_description</textarea><br>

Replace with:
<td class='tbl'><textarea name='album_description' rows='5' cols='60' class='textbox'>$album_description</textarea><br>

Find (217):
<input type='textbox' name='album_order' value='$album_order' maxlength='4' class='textbox' style='width:40px;'>

Replace with:
<input type='text' name='album_order' value='$album_order' maxlength='4' class='textbox' style='width:40px;'>

administration/photos.php
Find (164):
opentable($locale['400']." - ($photo_id - $photo_title)");

Replace with:
opentable($locale['401']." - ($photo_id - $photo_title)");

Find (175):
opentable($locale['401']);

Replace with:
opentable($locale['400']);

Find (181):
<td class='tbl'><input type='textbox' name='photo_title' value='$photo_title' maxlength='100' class='textbox' style='width:330px;'></td>

Replace with:
<td class='tbl'><input type='text' name='photo_title' value='$photo_title' maxlength='100' class='textbox' style='width:330px;'></td>

Find (185):
<td class='tbl'><textarea name='photo_description' rows='5' class='textbox' style='width:330px;'>$photo_description</textarea><br>

Replace with:
<td class='tbl'><textarea name='photo_description' rows='5' cols='60' class='textbox'>$photo_description</textarea><br>

Find (199):
<td class='tbl'><input type='textbox' name='photo_order' value='$photo_order' maxlength='5' class='textbox' style='width:40px;'></td>

Replace with:
<td class='tbl'><input type='text' name='photo_order' value='$photo_order' maxlength='5' class='textbox' style='width:40px;'></td>

administration/settings_main.php
Find (109):
<td width='50%' class='tbl'><textarea name='intro' rows='6' class='textbox' style='width:230px;'>".phpentities(stripslashes($settings2['siteintro']))."</textarea></td>

Replace with:
<td width='50%' class='tbl'><textarea name='intro' rows='6' cols='40' class='textbox'>".phpentities(stripslashes($settings2['siteintro']))."</textarea></td>

Find (113):
<td width='50%' class='tbl'><textarea name='description' rows='6' class='textbox' style='width:230px;'>".$settings2['description']."</textarea></td>

Replace with:
<td width='50%' class='tbl'><textarea name='description' rows='6' cols='40' class='textbox'>".$settings2['description']."</textarea></td>

Find (118):
<td width='50%' class='tbl'><textarea name='keywords' rows='6' class='textbox' style='width:230px;'>".$settings2['keywords']."</textarea></td>

Replace with:
<td width='50%' class='tbl'><textarea name='keywords' rows='6' cols='40' class='textbox'>".$settings2['keywords']."</textarea></td>

Find (121):
<td width='50%' class='tbl'><textarea name='footer' rows='6' class='textbox' style='width:230px;'>".phpentities(stripslashes($settings2['footer']))."</textarea></td>

Replace with:
<td width='50%' class='tbl'><textarea name='footer' rows='6' cols='40' class='textbox'>".phpentities(stripslashes($settings2['footer']))."</textarea></td>

administration/settings_misc.php
Find (74):
<td width='50%' class='tbl'><textarea name='bad_words' rows='5' class='textbox' style='width:250px;'>".$settings2['bad_words']."</textarea></td>

Replace with:
<td width='50%' class='tbl'><textarea name='bad_words' rows='5' cols='44' class='textbox'>".$settings2['bad_words']."</textarea></td>

Find (110):
<td width='50%' class='tbl'><textarea name='maintenance_message' rows='5' class='textbox' style='width:250px;'>".stripslashes($settings2['maintenance_message'])."</textarea></td>

Replace with:
<td width='50%' class='tbl'><textarea name='maintenance_message' rows='5' cols='44' class='textbox'>".stripslashes($settings2['maintenance_message'])."</textarea></td>

administration/shoutbox.php
Find (66):
<td class='tbl'><textarea name='shout_message' rows='3' class='textbox' style='width:250px;'>".str_replace("<br>", "", $data['shout_message'])."</textarea></td>

Replace with:
<td class='tbl'><textarea name='shout_message' rows='3' cols='44' class='textbox'>".str_replace("<br>", "", $data['shout_message'])."</textarea></td>

Find (71 - 72):
</form>
</table>\n";

Replace with:
</table>
</form>\n";

administration/submissions.php
Find (86):
$articles

Replace with:
$articles<tr>

administration/weblinks.php
Find (71):
<td class='tbl'><textarea name='weblink_description' rows='5' class='textbox' style='width:380px;'>".$weblink_description."</textarea></td>

Replace with:
<td class='tbl'><textarea name='weblink_description' rows='5' cols='70' class='textbox'>".$weblink_description."</textarea></td>

Find (120):
<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['weblink_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['weblink_cat_id']."'></td>

Replace with:
<td class='tbl2' align='right'><img onclick=\"javascript:flipBox('".$data['weblink_cat_id']."')\" src='".THEME."images/panel_".$p_img.".gif' name='b_".$data['weblink_cat_id']."' alt=''></td>

forum/postedit.php
Find (61 - 62):
</tr>
</td>

Replace with:
</td>
</tr>

Find (194 - 196):
<input type='button' value='quote' class='button' style='width:45px;' onClick=\"addText('message', '

Quote

', '
');\">
</td>
</tr>

After add:
<tr>

forum/viewthread.php
Find (184):
if ($data['user_aim'] && file_exists(THEME."forum/aim.gif")) {

Replace with:
if ($data['user_aim']) {

Find (188):
echo "<a href='http://web.icq.com/wwp?Uin=".$data['user_icq']."' target='_blank'><img src='".THEME."forum/icq.gif' alt='".$data['user_icq']."' style='border:0px;'></a> ";

Replace with:
echo "<a href='http://icq.com/people/about_me.php?uin=".$data['user_icq']."' target='_blank'><img src='".THEME."forum/icq.gif' alt='".$data['user_icq']."' style='border:0px;'></a> ";

Find (200 - 201):
echo "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".THEME."forum/pm.gif' alt='".$locale['571']."' style='border:0px;'></a>
</td>

Replace with:
      if (iMEMBER && $data['user_id'] != $userdata['user_id']) echo "<a href='".BASEDIR."messages.php?msg_send=".$data['user_id']."'><img src='".THEME."forum/pm.gif' alt='".$locale['571']."' style='border:0px;'></a>\n";
echo "</td>

includes/class.httpdownload
Find (1):

Replace with:
<?php

includes/comments_include.php
Find (102):
<td align='center'><textarea name='comment_message' rows='6' class='textbox' style='width:400px'></textarea><br>

Replace with:
<td align='center'><textarea name='comment_message' rows='6' cols='74' class='textbox'></textarea><br>

ratings_include.php
Find (52):
echo "<input type='submit' name='post_rating' value='".$locale['r103']."' class='button'>

Replace with:
echo "<input type='submit' name='post_rating' value='".$locale['r103']."' class='button'></div>

Find (80):
echo "</td>\n</table>\n</td>\n</tr>\n</table>";

Replace with:
echo "</table>\n</td>\n</tr>\n</table>\n";

infusions/shoutbox_panel/shoutbox_panel.php
Find (44):
fallback(FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : ""));

Replace with:
fallback(FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&", "&", FUSION_QUERY) : ""));

Find (46):
echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".str_replace("&","&",FUSION_QUERY) : "")."'>

Replace with:
echo "<form name='chatform' method='post' action='".FUSION_SELF.(FUSION_QUERY ? "?".FUSION_QUERY : "")."'>

Find (55):
echo "<textarea name='shout_message' rows='4' class='textbox' style='width:140px;'></textarea>

Replace with:
echo "<textarea name='shout_message' rows='4' cols='25' class='textbox'></textarea>

Edited by IceWasp on 14-11-2007 16:51, 11 years ago
Sheldon King
Technical Administrator
IT Solutions Provider

8 Replies

Sort replies by
pher-d
pher-dPosted 11 years ago 113 posts
First line must be in attachment:
$action = FUSION_SELF."?page_id=$page_id";
www.phpfusion-tr.com
PHP Fusion TransFusion Official Turkish Translator
PHP Fusion Turkey Official Support Site Administrator
PHP Fusion Official Crew Member
halilbicakci
halilbicakciPosted 10 years ago 4 posts
[allegro]Te&#351;ekkürler[/allegro]
halilbicakci
halilbicakciPosted 10 years ago 4 posts
Thanks
Support
SupportPosted 10 years ago 3 posts
Thanks
robbieB
robbieBPosted 10 years ago 47 posts
Re. 6.01.15 latest release:
news.php lines 63, 71, 81, 92 have "iSUPERADMIN & & " added when compared to my pre-update version?? Can't find any mention of this in the CVS or wherever.
WEC
WECPosted 10 years ago 946 posts
Seems like the changes to news.php was added to the full package only somewhere between 6.01.4 and 6.01.10.
robbieB
robbieBPosted 10 years ago 47 posts
OK, thanks WEC :)
WEC
WECPosted 10 years ago 946 posts
Think that it is a mistake that the iSUPERADMIN restriction was added to news.php in the full package.

Maybe one from the staff can confirm that?

Actions

Sharing

More topics like this

You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Sheldon

UPDATED: 6.01.13 ChangeLog
by Sheldon Posted 11 years ago