Welcome, Guest. Please Login or Register.
October 03, 2024, 11:23:05 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  |  Mod Ideas and Creation  |  Matt « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Matt  (Read 534 times)
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Matt
« on: January 21, 2002, 11:05:44 AM »
Reply with quote

I download your..  Don't Show MySQL Info in Admin Center

I installed it on my SE 1.1.0 board and it still shows the info for MySQL. Does this mod only work with 1.0.0?
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:Matt
« Reply #1 on: January 21, 2002, 11:16:41 AM »
Reply with quote

LOL, Man not my night.

I tried installing your add smily mod for 1.1.0 now I can't even use my site. Here the error I get.

2: Supplied argument is not a valid MySQL result resource
(/home/gamerzalliance/community/Sources/Subs.php ln 686)

 :'(
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Dave A
Full Member
***
Posts: 213


I love YaBB SE!

WWW
Re:Matt
« Reply #2 on: January 21, 2002, 03:42:50 PM »
Reply with quote

Matt has noticed those errors!  And an advice is that all the mods are in Beta!  :)  So download at your own risk!  :)
Logged

----------------------------------------------------------
Come and join my forums at
http://www.dkanet.com/mboard/
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:Matt
« Reply #3 on: January 21, 2002, 08:31:10 PM »
Reply with quote

Well this is the error lines from subs.php
[code]
   if ($enableSmilies) {
    {
      $message = parsesmilies($message);
        $SQL_query = mysql_query("SELECT * FROM ".$db_prefix."smilies ORDER BY id");
        $i = 0;
        while($smilie = mysql_fetch_array($SQL_query)) {
           $message = str_replace($smilie[kode],"<img src=$imagesdir/$smilie[url]>",$message);
           $count++;
        }
 
     
( This is the specific line that causing the error from above )

while($smilie = mysql_fetch_array($SQL_query)) {


What you guys think?[/code]
« Last Edit: January 22, 2002, 02:28:52 PM by Jeff Lewis » Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
irbrian
Sr. Member
****
Posts: 489


I create. Therefore I am.

brian@inverse-reality.com WWW
Re:Matt
« Reply #4 on: January 22, 2002, 12:22:21 AM »
Reply with quote

Seems to me it doesn't like the fields its being told to search. Is the smilie field correct in the database? Also I would personally use:

$SQL_query = mysql_query("SELECT * FROM {$db_prefix}smilies ORDER BY id");

instead of:

$SQL_query = mysql_query("SELECT * FROM ".$db_prefix."smilies ORDER BY id");

Just because that seems to be the most common syntax.. I'm not familiar with the .'s though and I still know very little about PHP so its very likely I have no idea what I'm talking about.
Logged

Imparting great wisdom daily to those who will mistake my words as such.
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:Matt
« Reply #5 on: January 22, 2002, 01:20:52 AM »
Reply with quote

I would think it is right.

I just let SE installed all the datebase, never chaged it.

I'll try your chages too.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Dave A
Full Member
***
Posts: 213


I love YaBB SE!

WWW
Re:Matt
« Reply #6 on: January 22, 2002, 02:39:07 AM »
Reply with quote

That mod hasn't been working right!  :(
Logged

----------------------------------------------------------
Come and join my forums at
http://www.dkanet.com/mboard/
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Matt
« Reply #7 on: January 22, 2002, 02:14:31 PM »
Reply with quote

You mean the Smilies Mod ?!

It works for me !

I had to change 2 tiny things, but now it works great !
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Dave A
Full Member
***
Posts: 213


I love YaBB SE!

WWW
Re:Matt
« Reply #8 on: January 22, 2002, 08:10:48 PM »
Reply with quote

:)  2 tiny things  :)
Logged

----------------------------------------------------------
Come and join my forums at
http://www.dkanet.com/mboard/
Matt Siegman
Super Duper Developer
YaBB God
*****
Posts: 927


Red Hot!

ICQ - 95930457 WWW
Re:Matt
« Reply #9 on: January 22, 2002, 10:10:22 PM »
Reply with quote

Actually, that is a new error :)
I would fix this stuff, but that would involve me getting off my laxy butt and fixing it, and I just found some cool new features I wanna put in Package Manager :)
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Matt « 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.114 seconds with 21 queries.