Welcome, Guest. Please Login or Register.
September 16, 2021, 06:14:13 AM
Home Help Search Login 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  |  Topic: [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 16236 times)
nyntti
Noobie
*
Posts: 21


www.nyntti.com


WWW
Re:[Done 1.5.4] Quick Admin
« Reply #45 on: November 24, 2003, 10:28:17 AM »
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, 05: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.

Code: [Select]
     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:

Code: [Select]
<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



WWW
Re:[Done 1.5.4] Quick Admin
« Reply #47 on: December 07, 2003, 01: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  |  Topic: [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.0.18 | SMF © 2021, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.177 seconds with 20 queries.