Welcome, Guest. Please Login or Register.
April 19, 2024, 05:41:23 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

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 20418 times)
markd
Noobie
*
Posts: 11


I'm a llama!

Re:[Done 1.5.4] Quick Admin
« Reply #15 on: October 07, 2003, 12:08:46 AM »
Reply with quote

Hmm.. When I apply the mod, all I get is a blank white page with the footer at the bottom.  The index page loads fine, but when I got to access a board, everything is blank except for the footer.

This happens when logged in as admin, a user, or a guest.

-markd
Logged
Scorpion
Noobie
*
Posts: 33


WWW
Re:[Done 1.5.4] Quick Admin
« Reply #16 on: October 07, 2003, 12:14:15 AM »
Reply with quote

Link to site? Maybe you missed a step of the installation? I tested it on a clean install of YaBB SE and it worked fine for me...
Logged
markd
Noobie
*
Posts: 11


I'm a llama!

Re:[Done 1.5.4] Quick Admin
« Reply #17 on: October 07, 2003, 12:26:59 AM »
Reply with quote

Oh, and I used BoardMod to install it, and it installed just fine with no errors, step by step mode.

-markd
Logged
markd
Noobie
*
Posts: 11


I'm a llama!

Re:[Done 1.5.4] Quick Admin
« Reply #18 on: October 07, 2003, 12:44:04 AM »
Reply with quote


Find:
   global $curposlinks, $cgi, $yytitle, $settings, $start, $modSettings, $viewResults, $ID_MEMBER, $db_prefix;

Replace With:
   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>';



Okay.. i reinstalled it, but closed the comment line.  notice how you start a comment to hide the javascript functions <!-- so after the second brace } I put a --> to close the comment.

Now, the board loads fine, except, I don't see the extra admin functions next to the posts.

-markd
Logged
markd
Noobie
*
Posts: 11


I'm a llama!

Re:[Done 1.5.4] Quick Admin
« Reply #19 on: October 07, 2003, 12:54:44 AM »
Reply with quote

Okay, it's working now.  It was definately the closing of the comment that fixed it.  Works like a champ now.

thanx!

-markd
Logged
Cerberus
Full Member
***
Posts: 100


Who's a llama?!

WWW
Re:[Done 1.5.4] Quick Admin
« Reply #20 on: October 07, 2003, 06:54:13 PM »
Reply with quote

Great idea on converting this :) !
Logged

Best Regards, Cerberus
Check out http://www.pocketpcrussia.com :)
Scorpion
Noobie
*
Posts: 33


WWW
Re:[Done 1.5.4] Quick Admin
« Reply #21 on: October 08, 2003, 12:46:12 AM »
Reply with quote

Quote from: markd on October 07, 2003, 12:44:04 AM

Find:
   global $curposlinks, $cgi, $yytitle, $settings, $start, $modSettings, $viewResults, $ID_MEMBER, $db_prefix;

Replace With:
   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>';



Okay.. i reinstalled it, but closed the comment line.  notice how you start a comment to hide the javascript functions <!-- so after the second brace } I put a --> to close the comment.

Now, the board loads fine, except, I don't see the extra admin functions next to the posts.

-markd

Thanks for finding that bug. I noticed that in my templates which had the "avoid html tags" <!-- and -->
the message index wouldn't work. Always thought it was a yabbse bug. Btw, all you need to do is get rid of the "<!--" in the message index and it'll work. :)

Updated the boardmod file to new changes
Logged
nyntti
Noobie
*
Posts: 21


www.nyntti.com

nyntti@msn.fi WWW
Re:[Done 1.5.4] Quick Admin
« Reply #22 on: November 17, 2003, 07:55:35 PM »
Reply with quote

hi.

im receiving the same error.

every other pages r ok, but the list of subjets, where the mod should appear (it is there, except the admin text is missing above) is gone, and im having an error (mysql) from line 258, which is:

Quote<td class="windowbg2" valign="middle" width="27%" bgcolor="' . $color['windowbg2'] . '">
                 <font size="1">' . $mydate . '<br />' . $txt[525] . ' ' . $lastposter . '</font></td>';
if (($settings[7] == "Administrator") || ($settings[7] == "Global Moderator")) {
  print "<td class=\"windowbg\" valign=\"middle\" bgcolor=\"$color[windowbg2]\"><a href=\"$cgi;action=sticky;threadid=$mnum;sticky=$isSticky;q=1\">$qaimg[1]</a> <a href=\"$cgi;action=lock;threadid=$mnum;q=1\">$qaimg[2]</a> <a href=\"$cgi;action=movethread;threadid=$mnum;q=1\">$qaimg[3]</a> <a href=\"javascript:DoConfirm('$txt[162]','$cgi;action=removethread2;threadid=$mnum;sesc=$sc');\">$qaimg[4]</a></td>";
  }
print <<<EOT
</tr>
EOT;
     }                   <-- HERE SOMEWHERE
  }



what can i do?
Logged

-nyntti-
Scorpion
Noobie
*
Posts: 33


WWW
Re:[Done 1.5.4] Quick Admin
« Reply #23 on: November 19, 2003, 03:42:16 AM »
Reply with quote

I don't see anything wrong. Do you have a link to your boards? And did you install this mod on a clean version of yabb?
Logged
nyntti
Noobie
*
Posts: 21


www.nyntti.com

nyntti@msn.fi WWW
Re:[Done 1.5.4] Quick Admin
« Reply #24 on: November 19, 2003, 02:58:53 PM »
Reply with quote

yes its clean.

first mod.

www.nyntti.com/keskustelu

i've took it off, becouse it didnt work.

dunno what i missed.
Logged

-nyntti-
Scorpion
Noobie
*
Posts: 33


WWW
Re:[Done 1.5.4] Quick Admin
« Reply #25 on: November 19, 2003, 07:46:15 PM »
Reply with quote

I think the problem is that your using a Spanish language pack. This mods edits the English language pack. Since ur using Spanish.lng, the mod looks through that for the proper text. Since there is no qaimg value, it comes up blank.

Also, can you tell me what the mysql error says?
Logged
nyntti
Noobie
*
Posts: 21


www.nyntti.com

nyntti@msn.fi WWW
Re:[Done 1.5.4] Quick Admin
« Reply #26 on: November 19, 2003, 08:31:12 PM »
Reply with quote

im not using spanish language pack, im finnish. and i made the changes in there.

no matter what is the error, but i have a hunch it is the languagefile.....
Logged

-nyntti-
Scorpion
Noobie
*
Posts: 33


WWW
Re:[Done 1.5.4] Quick Admin
« Reply #27 on: November 19, 2003, 08:32:47 PM »
Reply with quote

What does the error say?
Logged
nyntti
Noobie
*
Posts: 21


www.nyntti.com

nyntti@msn.fi WWW
Re:[Done 1.5.4] Quick Admin
« Reply #28 on: November 20, 2003, 01:51:19 PM »
Reply with quote

"Parse error: parse error in /home/int2000/13047/html/keskustelu/Sources/MessageIndex.php on line 448"

its nearly working now.

i dont receive the mysql error anymore, i think it was the server.

here is my MessageIndex.php:
http://www.nyntti.com/keskustelu/Sources/MessageIndex.txt
« Last Edit: November 20, 2003, 01:53:49 PM by nyntti » Logged

-nyntti-
Scorpion
Noobie
*
Posts: 33


WWW
Re:[Done 1.5.4] Quick Admin
« Reply #29 on: November 20, 2003, 07:35:20 PM »
Reply with quote

Quote from: nyntti on November 20, 2003, 01:51:19 PM
"Parse error: parse error in /home/int2000/13047/html/keskustelu/Sources/MessageIndex.php on line 448"

its nearly working now.

i dont receive the mysql error anymore, i think it was the server.

here is my MessageIndex.php:
http://www.nyntti.com/keskustelu/Sources/MessageIndex.txt

Well, I don't see anything wrong with line 448. You say its nearly working, what else is wrong?
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.015 seconds with 20 queries.