Welcome, Guest. Please Login or Register.
November 30, 2024, 04:45:50 AM
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  |  [Add-on 1.5.1 & 1.5.2] User Browsing (07/19) « previous next »
Pages: 1 2 3 [4] Reply Ignore Print
Author Topic: [Add-on 1.5.1 & 1.5.2] User Browsing (07/19)  (Read 22964 times)
J-Fan Guy
Noobie
*
Posts: 31


I got this negative karma from clicking a llama.

WWW
Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #45 on: July 28, 2003, 07:20:56 PM »
Reply with quote

I'm sure I've done all of that multiple times. It should be noted that I have a highly modded board that has been upgraded more than once. The code is getting really messy, so few of the mods actually install automatically for me anymore. I have to manually figure out where the mod codes are inserted. This has generally worked out okay. The mods are fully running correctly right now, except the fact that everyone is appearing as a Guest.

I also had the old userbrowsing mod installed. It didn't work anymore because I upgraded to a newer version of YaBB SE. That's why I was trying to install your new one. I had to uninstall the old userbrowsing first.

Are you sure you have no idea why my problem is happening? Do you have a guess about which part of the code is most likely to be causing this problem? Which file? Is it a database problem or a coding problem? If you have any ideas, it would be very much appreciated. Thank you.
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #46 on: July 28, 2003, 07:26:07 PM »
Reply with quote

i'm guessing there's something wrong in WriteLog(); sql query in Subs.php
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
J-Fan Guy
Noobie
*
Posts: 31


I got this negative karma from clicking a llama.

WWW
Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #47 on: July 28, 2003, 08:47:10 PM »
Reply with quote

That's exactly what I thought. I've looked it over many times though, and it's exactly the one that appears in the mod. Perhaps something vital to another one of my mods got deleted in the process. The database also looks fine, and the "Who's On" page seems to work.

Quotefunction WriteLog ()
{
   global $REMOTE_ADDR, $username, $db_prefix, $ID_MEMBER, $QUERY_STRING;

   $logTime = time();

   if ($ID_MEMBER == -1 && !empty($REMOTE_ADDR) && ip2long($REMOTE_ADDR) != -1)
   {
      $request = mysql_query ("
         DELETE FROM {$db_prefix}log_online
         WHERE logTime < " . ($logTime - 900) . "
            OR identity=IFNULL(INET_ATON('$REMOTE_ADDR'), -1)") or database_error(__FILE__, __LINE__);
      $request = mysql_query ("
         REPLACE INTO {$db_prefix}log_online
            (identity, logTime, url, ip)
         VALUES (IFNULL(INET_ATON('$REMOTE_ADDR'), -1), $logTime, '$QUERY_STRING', '$REMOTE_ADDR')") or database_error(__FILE__, __LINE__);
   }
   else
   {
      if (!is_numeric($ID_MEMBER))
         $ID_MEMBER = -1;
      $request = mysql_query ("
         DELETE FROM {$db_prefix}log_online
         WHERE logTime < " . ($logTime - 900) . "
            OR identity=$ID_MEMBER") or database_error(__FILE__, __LINE__);
      $request = mysql_query ("
         REPLACE INTO {$db_prefix}log_online
            (identity, logTime, url, ip)
         VALUES ($ID_MEMBER, $logTime, '$QUERY_STRING', '$REMOTE_ADDR')") or database_error(__FILE__, __LINE__);
   }
}

I have the following mods that I know of installed:
Karma Mod
Mood Mod
1.4.1 Bugfixes 02-11-12
IP Scan
Global Moderater Center
Guests can't view profiles

Anyone have any ideas?
« Last Edit: July 28, 2003, 08:49:26 PM by J-Fan Guy » Logged
J-Fan Guy
Noobie
*
Posts: 31


I got this negative karma from clicking a llama.

WWW
Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #48 on: July 28, 2003, 09:08:09 PM »
Reply with quote

Oh, it's probably because I'm running YaBB SE 1.4.1, right? I don't know how I can upgrade to 1.5.4 without messing up all my installed mods.
Logged
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #49 on: October 24, 2003, 12:21:08 AM »
Reply with quote

ahh man, it was working great on my 1.5.4 then I went into the modsettings and changed the color of my calendar and now the who'sonline is gone..

no icon on top, no settings, nada :(

any guesses as to what happened and how to fix it?
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #50 on: October 24, 2003, 01:09:57 AM »
Reply with quote

I'm guessing you accidentally turned off the who's online setting when you changed your calendar.  Double check it, then if that fails, double check the settings table in phpmyadmin.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #51 on: October 24, 2003, 05:09:35 AM »
Reply with quote

I guess it is time I install a phpmyadmin or whatever..

There isn't a checkbox in there, checked it like a million times..

I am going to run through the boardmod steps with both of the mods right now to make sure I somehow didn't get something wrong, then I am at a loss..
Logged
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #52 on: October 24, 2003, 05:22:01 AM »
Reply with quote

allrighty, just went through every step on the two mods and everything was ok, now what?

thanks!
Logged
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #53 on: October 24, 2003, 05:47:12 AM »
Reply with quote

found the phpadmin, need to install but not tonight.. what do I look for tomorrow when I dig in? I also tried invision and phpbb2 and I'd like to delete their remnants, is that gonna be obvious?
Logged
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #54 on: October 24, 2003, 07:49:32 PM »
Reply with quote

Ok, I have gone back over all of the settings, attempted to re-run the php database setupfiles (won't run cause they allready exist) and I am stuck  :'(

Maybe I should delete the table entries? Which ones? heeeeeeeeeelp!! :)
Logged
BrandonMiller
Jr. Member
**
Posts: 52


I'm a llama!

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #55 on: October 24, 2003, 07:50:26 PM »
Reply with quote

as a summary the button on the index page is gone, the mod is not working, and there is no settings check box or anything in the modsettings. I have double checked all the files and they seem to be ok..
Logged
hedging
Noobie
*
Posts: 30


Thank u guyz for such great forum system

WWW
Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #56 on: December 06, 2003, 01:01:14 AM »
Reply with quote

Excuse my English

I like this mod but I got some questions

First and the most important - What should I change in BoardIndex to show also the number of guests Viewing the forum.

Second - is this mod compatible with hide online status mod.


The idea is to do something like this:
Completed mods (5 Viewing)

5 is with guests!

Thank you in advance!
« Last Edit: December 06, 2003, 09:43:15 AM by hedging » Logged

Mikhail
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #57 on: December 30, 2003, 09:57:36 PM »
Reply with quote

Quote from: hedging on December 06, 2003, 01:01:14 AM
First and the most important - What should I change in BoardIndex to show also the number of guests Viewing the forum.
i don't really know...
sorry, i don't have the time to check that right now...


QuoteSecond - is this mod compatible with hide online status mod.
I haven't tried it, but I'm guessing its not compatible
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Black Hawk
Jr. Member
**
Posts: 83


YaBB SE RULEZ!!

WWW
Re:[Add-on 1.5.1 & 1.5.2] User Browsing (07/19)
« Reply #58 on: December 31, 2003, 06:53:05 PM »
Reply with quote

Wow, this is a fabulous mod!! I've been looking for this! I can't wait until my board is back up, because we got a new serv and all, so it went back a month, so I don't have any of my mods or messages anymore. ::) I'm gonna install that once I get my board back up-to-date!! ;D ;D
Logged

Always fear the hawk...
Pages: 1 2 3 [4] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Add-on 1.5.1 & 1.5.2] User Browsing (07/19) « 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.016 seconds with 21 queries.