Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Looking for yet Another MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Looking for yet Another MOD
PostPosted: 05/27/2007 3:51 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 4:03 PM
Location: Esperance, Australia
australC_1xa.gif
Does anyone know of a MOD that says who has been online in the last 24 hours?
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: [Solved] Looking for yet Another MOD
PostPosted: 05/27/2007 4:38 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 6:03 PM
Location: Upside down
australC_1xa.gif
Show last visited users --> http://www.phpbb.com/community/viewtopic.php?t=398165
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: [Solved] Looking for yet Another MOD
PostPosted: 05/27/2007 4:51 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 4:03 PM
Location: Esperance, Australia
australC_1xa.gif
Thanks, is it easymod Compatible?
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: [Solved] Looking for yet Another MOD
PostPosted: 05/27/2007 5:35 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 4:03 PM
Location: Esperance, Australia
australC_1xa.gif
Works thanks Very Happy
Oh Nightrider, can you please have a look at it (in the page_footer.php I think) and see if you can change the blue text to #FFCC00 and the mod & admin colour the same as the [ Administrator ]   [ Moderator ] colours,

Thanks  headbang
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: Looking for yet Another MOD
PostPosted: 05/27/2007 3:14 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:03 AM
Location: St Pete, FL
peace.gif
This is what needed to be corrected to change the blue text to match the rest.  The class needed to be adjusted:

OPEN
templates/freeMind/index_body.tpl

FIND
Code:
<span class="gensmall">{LAST_VISIT_USER_LIST}</span>

REPLACE WITH
Code:
<span class="greygensmall">{LAST_VISIT_USER_LIST}</span>

To correct the color of admins and moderators, the theme font color assignments needed to be changed from fontcolor2 and fontcolor3 to fontcolor5 and fontcolor6.  This is what I needed to correct to do that in two separate places in the page_header.php file:

OPEN
includes/page_header.php

FIND
Code:
if ( $row['user_level'] == ADMIN )
{
   $row['username'] = '<b>' . $row['username'] . '</b>';
   $style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
   $row['username'] = '<b>' . $row['username'] . '</b>';
   $style_color = 'style="color:#' . $theme['fontcolor2'] . '"';

REPLACE WITH
Code:
if ( $row['user_level'] == ADMIN )
{
   $row['username'] = '<b>' . $row['username'] . '</b>';
   $style_color = 'style="color:#' . $theme['fontcolor5'] . '"';
}
else if ( $row['user_level'] == MOD )
{
   $row['username'] = '<b>' . $row['username'] . '</b>';
   $style_color = 'style="color:#' . $theme['fontcolor6'] . '"';

It should be displaying properly now...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Looking for yet Another MOD
PostPosted: 05/27/2007 9:06 PM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 4:03 PM
Location: Esperance, Australia
australC_1xa.gif
Thanks Mate  Applause  Applause
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: Looking for yet Another MOD
PostPosted: 05/28/2007 1:01 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:03 AM
Location: St Pete, FL
peace.gif
As always, you are quite welcome Dan!!!

banana  blob8  banana  blob8  banana  blob8  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Looking for yet Another MOD
PostPosted: 05/28/2007 2:20 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 4:03 PM
Location: Esperance, Australia
australC_1xa.gif
I will find a way to pay you back someday Wink
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
Re: [Solved] Looking for yet Another MOD
PostPosted: 05/28/2007 4:13 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:03 AM
Location: St Pete, FL
peace.gif
I'm still waiting for you to win big in the lottery...

banana  banana  banana  banana  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Looking for yet Another MOD
PostPosted: 05/28/2007 4:15 AM Reply with quote
Hawk
danrider
Hawk
Posts 193
Word Cnt. 9,285
BDay Jun 8
Sign Gemini
Sex Sex:Male
Joined: Apr 25, 2007
Local time: 4:03 PM
Location: Esperance, Australia
australC_1xa.gif
haha if i ever do there will be $100 coming your way!  headbang

Btw do you think this mod will do what its suppose to?

MOD Title: Show Search Bot
MOD Description: This mod add Search Bot in the liste of connected user, in the "who is online" page, and in the administration index.

Code:
##############################################################
## MOD Title: Show Search Bot
## MOD Author: yakusha < > (phpBB Turkiye) http://www.canver.net
## MOD Description: This mod show search bots on whois online bar, whois online page
## and ACP index page..
##
## MOD Version: 2.0.0
##
## Installation Level: EASY
## Installation Time: 3 minutes
## Files To Edit:
## - page_header.php
## - viewonline.php
## - admin/index.php
## Included Files: n/a
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##
############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##
############################################################
## Author Notes:
## Designed from Show Search Bot 1.0.0
## MOD Author: WILLEM Aurelien < > http://www.team-azerty.com/
## Ip adresses updated and new adresses added
## VoilĂ , Omni-Explorer, Pompos is deleted
##
############################################################
## MOD History:
## 2.0.0 / 06.01.2007
## Second Release
##
############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#

viewonline.php
  
#
#-----[ FIND ]------------------------------------------
#

      if ( $row['session_ip'] != $prev_ip )
      {
         $username = $lang['Guest'];

#
#-----[ AFTER, ADD ]------------------------------------------
#

         //MOD Show Search Bot
         $tmp_list = explode(".", decode_ip($row['session_ip']));
         if
         (
            ($tmp_list[0] == "64" && $tmp_list[1] == "68")  ||
            ($tmp_list[0] == "64" && $tmp_list[1] == "233" && $tmp_list[2] == "173") ||
            ($tmp_list[0] == "66" && $tmp_list[1] == "249") ||
            ($tmp_list[0] == "216" && $tmp_list[1] == "239")
         )
         { //Google
            $username = 'Google';
         }
         if
         (
            ($tmp_list[0] == "63" && $tmp_list[1] == "194" && $tmp_list[1] == "155") ||
            ($tmp_list[0] == "65" && $tmp_list[1] == "54" && $tmp_list[2] == "164") ||
            ($tmp_list[0] == "65" && $tmp_list[1] == "55") ||
            ($tmp_list[0] == "131" && $tmp_list[1] == "107") ||
            ($tmp_list[0] == "207" && $tmp_list[1] == "46") ||
            ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146")
         )
         { //MSN
            $username = 'MSN';
         }
         if
         (
            ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "230") ||
            ($tmp_list[0] == "66" && $tmp_list[1] == "163" && $tmp_list[1] == "170") ||
            ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
            ($tmp_list[0] == "68" && $tmp_list[1] == "142") ||
            ($tmp_list[0] == "72" && $tmp_list[1] == "30") ||
            ($tmp_list[0] == "74" && $tmp_list[1] == "6") ||

            ($tmp_list[0] == "202" && $tmp_list[1] == "160") ||
            ($tmp_list[0] == "202" && $tmp_list[1] == "212" && $tmp_list[2] == "5") ||

            ($tmp_list[0] == "209" && $tmp_list[1] == "131") ||
            ($tmp_list[0] == "209" && $tmp_list[1] == "191") ||

            ($tmp_list[0] == "216" && $tmp_list[1] == "32" && $tmp_list[2] == "237") ||
            ($tmp_list[0] == "216" && $tmp_list[1] == "109" && $tmp_list[1] == "126") ||
            ($tmp_list[0] == "216" && $tmp_list[1] == "239" && $tmp_list[1] == "193")
         )
         { //Yahoo
            $username = 'Yahoo';
         }
         //End Show Search Bot
  
#
#-----[ OPEN ]------------------------------------------
#

includes/page_header.php
  
#
#-----[ FIND ]------------------------------------------
#

         // Skip multiple sessions for one user
         if ( $row['session_ip'] != $prev_session_ip )
         {
            $guests_online++;

#
#-----[ AFTER ADD ]------------------------------------------
#

            //MOD Show Search Bot
            $tmp_list = explode(".", decode_ip($row['session_ip']));
            if
            (
               ($tmp_list[0] == "64" && $tmp_list[1] == "68")  ||
               ($tmp_list[0] == "64" && $tmp_list[1] == "233" && $tmp_list[2] == "173") ||
               ($tmp_list[0] == "66" && $tmp_list[1] == "249") ||
               ($tmp_list[0] == "216" && $tmp_list[1] == "239")
            )
            { //Google
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Google</span>' : '<span style="color:#' . $theme['body_link'] . '">Google</span>';
            }
            if
            (
               ($tmp_list[0] == "63" && $tmp_list[1] == "194" && $tmp_list[1] == "155") ||
               ($tmp_list[0] == "65" && $tmp_list[1] == "54" && $tmp_list[2] == "164") ||
               ($tmp_list[0] == "65" && $tmp_list[1] == "55") ||
               ($tmp_list[0] == "131" && $tmp_list[1] == "107") ||
               ($tmp_list[0] == "207" && $tmp_list[1] == "46") ||
               ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146")
            )
            { //MSN
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">MSN</span>' : '<span style="color:#' . $theme['body_link'] . '">MSN</span>';
            }
            if
            (
               ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "230") ||
               ($tmp_list[0] == "66" && $tmp_list[1] == "163" && $tmp_list[1] == "170") ||
               ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
               ($tmp_list[0] == "68" && $tmp_list[1] == "142") ||
               ($tmp_list[0] == "72" && $tmp_list[1] == "30") ||
               ($tmp_list[0] == "74" && $tmp_list[1] == "6") ||

               ($tmp_list[0] == "202" && $tmp_list[1] == "160") ||
               ($tmp_list[0] == "202" && $tmp_list[1] == "212" && $tmp_list[2] == "5") ||

               ($tmp_list[0] == "209" && $tmp_list[1] == "131") ||
               ($tmp_list[0] == "209" && $tmp_list[1] == "191") ||

               ($tmp_list[0] == "216" && $tmp_list[1] == "32" && $tmp_list[2] == "237") ||
               ($tmp_list[0] == "216" && $tmp_list[1] == "109" && $tmp_list[1] == "126") ||
               ($tmp_list[0] == "216" && $tmp_list[1] == "239" && $tmp_list[1] == "193")
            )
            { //Yahoo
               $online_userlist .= ( $online_userlist != '' ) ? ', ' . '<span style="color:#' . $theme['body_link'] . '">Yahoo</span>' : '<span style="color:#' . $theme['body_link'] . '">Yahoo</span>';
            }
            //End Show Search Bot

#
#-----[ OPEN ]------------------------------------------
#

admin/index.php
  
#
#-----[ FIND ]------------------------------------------
#

         $guest_ip = decode_ip($onlinerow_guest[$i]['session_ip']);

#
#-----[ AFTER ADD ]------------------------------------------
#

         //MOD Show Search Bot
         $name_guest = $lang['Guest'];
         $tmp_list = explode(".", $guest_ip);
         if
         (
            ($tmp_list[0] == "64" && $tmp_list[1] == "68")  ||
            ($tmp_list[0] == "64" && $tmp_list[1] == "233" && $tmp_list[2] == "173") ||
            ($tmp_list[0] == "66" && $tmp_list[1] == "249") ||
            ($tmp_list[0] == "216" && $tmp_list[1] == "239")
         )
         { //Google
         $name_guest = 'Google';
         }
         if
         (
            ($tmp_list[0] == "63" && $tmp_list[1] == "194" && $tmp_list[1] == "155") ||
            ($tmp_list[0] == "65" && $tmp_list[1] == "54" && $tmp_list[2] == "164") ||
            ($tmp_list[0] == "65" && $tmp_list[1] == "55") ||
            ($tmp_list[0] == "131" && $tmp_list[1] == "107") ||
            ($tmp_list[0] == "207" && $tmp_list[1] == "46") ||
            ($tmp_list[0] == "207" && $tmp_list[1] == "66" && $tmp_list[2] == "146")
         )
         { //MSN
            $name_guest = 'MSN';
         }
         if
         (
            ($tmp_list[0] == "66" && $tmp_list[1] == "94" && $tmp_list[2] == "230") ||
            ($tmp_list[0] == "66" && $tmp_list[1] == "163" && $tmp_list[1] == "170") ||
            ($tmp_list[0] == "66" && $tmp_list[1] == "196") ||
            ($tmp_list[0] == "68" && $tmp_list[1] == "142") ||
            ($tmp_list[0] == "72" && $tmp_list[1] == "30") ||
            ($tmp_list[0] == "74" && $tmp_list[1] == "6") ||

            ($tmp_list[0] == "202" && $tmp_list[1] == "160") ||
            ($tmp_list[0] == "202" && $tmp_list[1] == "212" && $tmp_list[2] == "5") ||

            ($tmp_list[0] == "209" && $tmp_list[1] == "131") ||
            ($tmp_list[0] == "209" && $tmp_list[1] == "191") ||

            ($tmp_list[0] == "216" && $tmp_list[1] == "32" && $tmp_list[2] == "237") ||
            ($tmp_list[0] == "216" && $tmp_list[1] == "109" && $tmp_list[1] == "126") ||
            ($tmp_list[0] == "216" && $tmp_list[1] == "239" && $tmp_list[1] == "193")
         )
         { //Yahoo
            $name_guest = 'Yahoo';
         }
         //End Show Search Bot
      
#
#-----[ FIND ]------------------------------------------
#
          
            "USERNAME" => $lang['Guest'],

#
#-----[ AFTER ADD ]------------------------------------------
#
      
            "USERNAME" => $name_guest,
    
#
#-----[ SAVE & CLOSE ]------------------------------------------
#EOM
Back to Top
View user's profile Find all posts by danrider Send private message [ Hidden ] Visit poster's website MSN Messenger Phoogle Map
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.128s (PHP: 63% - SQL: 37%) - SQL queries: 57 - GZIP disabled - Debug on