[Beta] - who wisited last 24 Hours

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
WheelGuy
Registered User
Posts: 201
Joined: Tue Jan 30, 2007 4:07 pm
Contact:

Re: [Alpha] - who wisited today

Post by WheelGuy » Tue May 29, 2007 3:30 am

I keep getting an error which points to the code i have listed below the error..

Code: Select all

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING 

$user_last24h_link = '<a title ="'. $user->format_date($row['user_lastvisit'], $config['default_dateformat'], true) . '" href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $row['user_id']) . '"' . $user_colour . '>' . $user_last24h_link . '</a>';
          }
          else
          {
             $user_last24h_link = ($user_colour) ? '<span' . $user_colour . '>' . $user_last24h_link . '</span>' : $user_last24h_link;
          }

          $last24h_userlist .= ($last24h_userlist != '') ? ', ' . $user_last24h_link : $user_last24h_link;

          if (!$last24h_userlist)
          {
             $$last24h_userlist = $user->lang['NO_ONLINE_USERS'];
          }

User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Alpha] - who wisited today

Post by nickvergessen » Tue May 29, 2007 10:22 am

BuffettWorld wrote:and didn't display hidden users :D
mine doesn't but for admins if you want :ugeek:
Also Bots can be listed, guests are counted and the record is displayed
No Support via PM

yakusha
Registered User
Posts: 71
Joined: Mon Apr 03, 2006 8:30 pm

Re: [Alpha] - who wisited today

Post by yakusha » Tue May 29, 2007 12:01 pm

yes, not showing hidden users :)

WheelGuy
Registered User
Posts: 201
Joined: Tue Jan 30, 2007 4:07 pm
Contact:

Re: [Alpha] - who wisited today

Post by WheelGuy » Tue May 29, 2007 12:28 pm

Any help, ideas or clues to fix the error I posted above???


<!-- Still scratching head to figure this problem out.... --!>

WheelGuy
Registered User
Posts: 201
Joined: Tue Jan 30, 2007 4:07 pm
Contact:

Re: [Alpha] - who wisited today

Post by WheelGuy » Tue May 29, 2007 4:26 pm

:?: No help huh :?:

BuffettWorld
Registered User
Posts: 41
Joined: Fri Dec 17, 2004 5:31 am

Re: [Alpha] - who wisited today

Post by BuffettWorld » Tue May 29, 2007 11:14 pm

yakusha wrote:yes, not showing hidden users :)
I thought I tested it by logging out as admin and it was still showing known hidden users

ZeroT
Registered User
Posts: 56
Joined: Mon May 21, 2007 6:07 pm

Re: [Alpha] - who wisited today

Post by ZeroT » Wed May 30, 2007 3:16 pm

This is working a treat on my site, very happy with it, although it does show hidden users both to me as an admin and everyone else, even as a non logged in user.

LeClair
Registered User
Posts: 17
Joined: Fri Sep 29, 2006 8:17 pm

Re: [Alpha] - who wisited today

Post by LeClair » Fri Jun 01, 2007 10:49 pm

Edit: includes/functions.php
+ index_body.html
not work..
This instruction not correct.. :|

yakusha
Registered User
Posts: 71
Joined: Mon Apr 03, 2006 8:30 pm

Re: [Alpha] - who wisited today

Post by yakusha » Sat Jun 02, 2007 12:29 am


LeClair
Registered User
Posts: 17
Joined: Fri Sep 29, 2006 8:17 pm

Re: [Alpha] - who wisited today

Post by LeClair » Sat Jun 02, 2007 11:57 am

Pls paste complete edit instruction ;)
Edit: Delete links
Last edited by LeClair on Sun Jun 03, 2007 9:50 pm, edited 1 time in total.

yakusha
Registered User
Posts: 71
Joined: Mon Apr 03, 2006 8:30 pm

Re: [Beta] - who wisited today - 0.3.0

Post by yakusha » Sat Jun 02, 2007 5:04 pm

new relaase active...

added language support...

road map:
[pending] - Modx Support
[pending] - SubSilver2 Support
[pending] - Hidden users support

BuffettWorld
Registered User
Posts: 41
Joined: Fri Dec 17, 2004 5:31 am

Re: [Beta] - who wisited today - 0.3.0

Post by BuffettWorld » Sun Jun 03, 2007 4:24 am

yakusha wrote:new relaase active...

added language support...

road map:
[pending] - Modx Support
[pending] - SubSilver2 Support
[pending] - Hidden users support
Looking forward to adding this mod on my board when the hidden users support comes online. Thanks yakusha Image

Tw3nt
Registered User
Posts: 145
Joined: Tue Oct 19, 2004 7:17 am

Re: [Beta] - who wisited today - 0.3.0

Post by Tw3nt » Sun Jun 03, 2007 6:34 am

Is there an English site out there using this mod? - I would like to see how it looks before I install it.
I don't really understand it by looking at the other language.

ZeroT
Registered User
Posts: 56
Joined: Mon May 21, 2007 6:07 pm

Re: [Beta] - who wisited today - 0.3.0

Post by ZeroT » Mon Jun 04, 2007 12:17 pm

Tw3nt wrote:Is there an English site out there using this mod? - I would like to see how it looks before I install it.
I don't really understand it by looking at the other language.
sure, this is how it looks on mine http://www.cmmoc.co.uk/newforum/index.php

i also changed it from 24 hrs to 48 hrs.

still shows hidden users mind you.

LeClair
Registered User
Posts: 17
Joined: Fri Sep 29, 2006 8:17 pm

Re: [Beta] - who wisited today - 0.3.0

Post by LeClair » Sat Jun 09, 2007 9:17 pm

My edit no works :cry:
Edit ok ? My edit: http://www.cznhl.com/last_visit_mod_editace.zip

Locked

Return to “[3.0.x] MODs in Development”