Welcome, Guest. Please Login or Register.
November 28, 2024, 08:45:17 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.x] Who's Online w/ Hidden Users w/ Flags « previous next »
Pages: 1 ... 7 8 [9] 10 11 ... 15 Reply Ignore Print
Author Topic: [Done 1.5.x] Who's Online w/ Hidden Users w/ Flags  (Read 69833 times)
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #120 on: February 21, 2003, 10:55:14 PM »
Reply with quote

Quote from: Gobalopper on July 24, 2002, 03:10:52 AM
This mod allows you to see what people are doing on the fourm and restrict who can view it.

Download RC4 here, only works with 1.5.1 build 42.
http://www.dune2k.com/Who-RC4.zip

Aside from some compatability changes I had to make in order to work with the other mods in my collection, this works great! Thank you!!!
Logged

GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:[Beta 1.5.1] Who's Online
« Reply #121 on: February 22, 2003, 01:28:27 PM »
Reply with quote

Wiziwig
The URL to your forum is broken.
I am interested in seeing your forum as you have already got some of the mods working that i want.
Please let me know whatbthe correct URL is.
Thanks
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
Walhalla
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.1] Who's Online
« Reply #122 on: February 26, 2003, 01:17:31 PM »
Reply with quote

I've made the changes... everything seems to be fine till I press the whos online button.. than I got this error:

2: Unable to access ./Sources/Who.php
(/home/virtual/site110/fst/var/www/html/test/xxx/index.php ln 301)


Does anyone know what the problem is?
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #123 on: February 26, 2003, 04:26:22 PM »
Reply with quote

Did you upload the Who.php file to the correct directory?
Logged
Walhalla
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.1] Who's Online
« Reply #124 on: February 26, 2003, 06:40:59 PM »
Reply with quote

ok, the mod works for so far that I don't get strange errors any more, the next problem I got is that the mod isn't up to date.. every member keeps viewing the main index, but I know for sure they are viewing other sections... when I keep refreshing the views don't change..  :(
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #125 on: February 26, 2003, 08:50:23 PM »
Reply with quote

I'm guessing you didn't read the instructions and your database wasn't updated like it should be.
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Beta 1.5.1] Who's Online
« Reply #126 on: February 26, 2003, 09:46:00 PM »
Reply with quote

That, or they all really are just sitting looking at the index page! ;D
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #127 on: March 07, 2003, 07:00:22 AM »
Reply with quote

Anyone interested in a "Hidden" feature? It would basically allow people to hide their online status to everyone but the admin and global mods.
Logged
smacktalk
Full Member
***
Posts: 236


No Personal Text!!

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #128 on: March 07, 2003, 09:13:07 AM »
Reply with quote

Quote from: Gobalopper on March 07, 2003, 07:00:22 AM
Anyone interested in a "Hidden" feature? It would basically allow people to hide their online status to everyone but the admin and global mods.

As long as it can be disabled. ;D
Logged

As a well-spent day brings happy sleep, so a life well spent brings happy death.
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Beta 1.5.1] Who's Online
« Reply #129 on: March 07, 2003, 10:01:20 AM »
Reply with quote

I would LOVE a 'hidden' feature for this :D I'd sell body parts for it, in fact. I wonder.. any chance that this type of thing could apply to the main index as well? The bottom of the page, it shows everybody who's logged in. Would it be possible to replace the person's name, with a 'Hidden/Guest' listing, and add up all the people who are guests and hidden on it? :P Sort of like the UBB does, I guess.
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #130 on: March 07, 2003, 08:59:59 PM »
Reply with quote

Ya it would show the number of hidden users at the bottom. I will probably make it an enhancement to the Who's Online mod so if you don't want it you don't need to install it.
Logged
buster
Jr. Member
**
Posts: 74


Caught a lama YESSSSSSSSS

Re:[Beta 1.5.1] Who's Online
« Reply #131 on: March 07, 2003, 11:06:33 PM »
Reply with quote

Well it works for rc44 too but you have to change one little thing for that.
<search for>
function WriteLog()
{
   global $REMOTE_ADDR, $username, $db_prefix, $ID_MEMBER;

   $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)
         VALUES (IFNULL(INET_ATON('$REMOTE_ADDR'), -1), $logTime)") 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)
         VALUES ($ID_MEMBER, $logTime)") or database_error(__FILE__, __LINE__);
   }
}
</search for>

<replace>
function 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=INET_ATON('$REMOTE_ADDR')") or database_error(__FILE__, __LINE__);
      $request = mysql_query ("
         INSERT INTO {$db_prefix}log_online
            (identity, logTime, url, ip)
         VALUES (INET_ATON('$REMOTE_ADDR'), $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 ("
         INSERT INTO {$db_prefix}log_online
            (identity, logTime, url, ip)
         VALUES ($ID_MEMBER, $logTime, '$QUERY_STRING', '$REMOTE_ADDR')") or database_error(__FILE__, __LINE__);
   }
}
</replace>

This worked for me  ;)
Keep on going the good work on mods ;D
Logged

If practice makes perfect and nobody is perfect why practice?
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #132 on: March 07, 2003, 11:17:08 PM »
Reply with quote

Yep the next version will have that fix.
Logged
Wiziwig
Sr. Member
****
Posts: 407


Programmer and Users Liason and Manager

WWW
Re:[Beta 1.5.1] Who's Online
« Reply #133 on: March 08, 2003, 03:02:44 PM »
Reply with quote

Keep me updated when you re-release, could you please? :)

Quote from: Gobalopper on March 07, 2003, 11:17:08 PM
Yep the next version will have that fix.
Logged

1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Beta 1.5.1] Who's Online
« Reply #134 on: March 09, 2003, 04:44:28 PM »
Reply with quote

I'd also suggest taking this out of Beta ;D Seems to work fine for everybody who installs it correctly
Logged
Pages: 1 ... 7 8 [9] 10 11 ... 15 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.x] Who's Online w/ Hidden Users w/ Flags « 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.042 seconds with 20 queries.