Welcome, Guest. Please Login or Register.
April 25, 2024, 02:01:08 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.4] Quick Admin « previous next »
Pages: 1 2 3 [4] Reply Ignore Print
Author Topic: [Done 1.5.4] Quick Admin  (Read 20481 times)
nyntti
Noobie
*
Posts: 21


www.nyntti.com

nyntti@msn.fi WWW
Re:[Done 1.5.4] Quick Admin
« Reply #45 on: November 24, 2003, 03:28:17 PM »
Reply with quote

Works fine now, thx big time!

I asked about that code before, and Scorpion told me it was fine.

Thx anyway, for caring.
Logged

-nyntti-
EliteRides
Jr. Member
**
Posts: 83


EliteRides.com

WWW
Re:[Done 1.5.4] Quick Admin
« Reply #46 on: December 06, 2003, 10:31:37 PM »
Reply with quote

To save someone else the weeks of trouble... After reinstalling the entire forum, mods and all, a problem came down to the Quick Admin mod.

     echo '
        <script language="JavaScript1.2" type="text/javascript"><!--
        function DoConfirm(message, url)
        {
           if (confirm(message))
              location.href = url;
        }
     </script>';


Removed the part above from the step below:

<edit file>
Sources/MessageIndex.php
</edit file>

<search for>
   global $curposlinks, $cgi, $yytitle, $settings, $start, $modSettings, $viewResults, $ID_MEMBER, $db_prefix;
</search for>

<replace>
  global $curposlinks, $cgi, $yytitle, $settings, $start, $modSettings, $viewResults, $ID_MEMBER, $db_prefix, $qatxt, $qaimg, $sc;

     echo '
        <script language="JavaScript1.2" type="text/javascript"><!--
        function DoConfirm(message, url)
        {
           if (confirm(message))
              location.href = url;
        }
     </script>';


It rendered the MessageIndex dysfunctional on Macs and in Netscape:
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.4] Quick Admin
« Reply #47 on: December 07, 2003, 06:05:03 AM »
Reply with quote

You forgot the --> before the </script>.

-[Unknown]
Logged
Pages: 1 2 3 [4] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.4] Quick Admin « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.024 seconds with 21 queries.