phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Users online in the past 24 or 48 hours?

Temporary forum to obtain support for MODs/Styles while phpbb.com is down

Users online in the past 24 or 48 hours?

Postby gorepitdotnet » Tue Feb 10, 2009 7:57 pm

Ive seen this on a few phpBB forums. I would really like this, where would I find this? I cannot find it anywhere! Is there something you do in the ACP, or is it an actual MOD?
gorepitdotnet
Registered User
 
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: Users online in the past 24 or 48 hours?

Postby COD3M4ST3R-X » Tue Feb 10, 2009 7:59 pm

gorepitdotnet wrote:Ive seen this on a few phpBB forums. I would really like this, where would I find this? I cannot find it anywhere! Is there something you do in the ACP, or is it an actual MOD?

NV Who Was here
for a demo visit
http://www.flying-bits.org/index.php :D
Image
Long Live PhpBB!
User avatar
COD3M4ST3R-X
Registered User
 
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan

Re: Users online in the past 24 or 48 hours?

Postby gorepitdotnet » Tue Feb 10, 2009 8:18 pm

Thanks!

Does this only work for prosilver? I want to use it for subsilver2?
gorepitdotnet
Registered User
 
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: Users online in the past 24 or 48 hours?

Postby COD3M4ST3R-X » Tue Feb 10, 2009 8:24 pm

gorepitdotnet wrote:Thanks!

Does this only work for prosilver? I want to use it for subsilver2?

Yes! it works for Subsilver2. :D
Image
Long Live PhpBB!
User avatar
COD3M4ST3R-X
Registered User
 
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan

Re: Users online in the past 24 or 48 hours?

Postby gorepitdotnet » Tue Feb 10, 2009 8:27 pm

Thanks!

one last q please quick!!

Copy: root/install_wwh/schemas/*.sql
To: install_wwh/schemas/*.sql

what does *.sql mean? the *? Does that mean??
gorepitdotnet
Registered User
 
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: Users online in the past 24 or 48 hours?

Postby COD3M4ST3R-X » Tue Feb 10, 2009 8:33 pm

gorepitdotnet wrote:Thanks!

one last q please quick!!

Copy: root/install_wwh/schemas/*.sql
To: install_wwh/schemas/*.sql

what does *.sql mean? the *? Does that mean??

.SQL=Structured Query Language
Image
Long Live PhpBB!
User avatar
COD3M4ST3R-X
Registered User
 
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan

Re: Users online in the past 24 or 48 hours?

Postby darcie » Tue Feb 10, 2009 8:40 pm

The asterisk is a "wildcard," meaning it stands in place for anything. So the instructions are telling you to copy over all files ending in .sql, or in this case, the whole install_wwh folder, which contains a schemas folder, and a number of .sql files.
User avatar
darcie
Moderator Team
Moderator Team
 
Posts: 186
Joined: Mon Mar 12, 2007 7:32 pm
Location: Almost the coast

Re: Users online in the past 24 or 48 hours?

Postby gorepitdotnet » Tue Feb 10, 2009 8:58 pm

Thanks!

Where abouts do I put the code in the index_body.html for subsilver2?? Im confused, I keep getting it in the wrong place lol!

the code:

Code: Select all
<!-- IF WHO_WAS_HERE_LIST2 -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p>
   <!-- ELSEIF U_ACP -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{L_WWH_UPDATE_NEED}</p>
   <!-- ENDIF -->


Any ideas where?
gorepitdotnet
Registered User
 
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: Users online in the past 24 or 48 hours?

Postby COD3M4ST3R-X » Wed Feb 11, 2009 3:11 am

gorepitdotnet wrote:Thanks!

Where abouts do I put the code in the index_body.html for subsilver2?? Im confused, I keep getting it in the wrong place lol!

the code:

Code: Select all
<!-- IF WHO_WAS_HERE_LIST2 -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p>
   <!-- ELSEIF U_ACP -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{L_WWH_UPDATE_NEED}</p>
   <!-- ENDIF -->


Any ideas where?

Well see the Subsilver2 instructions for that.
What style are you using?
Post the index_body.html code here.
Image
Long Live PhpBB!
User avatar
COD3M4ST3R-X
Registered User
 
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan

Re: Users online in the past 24 or 48 hours?

Postby gorepitdotnet » Wed Feb 11, 2009 6:44 pm

Okay :)

my index_body.html

Code: Select all
<!-- INCLUDE overall_header.html -->

<!-- IF U_MCP -->
   <div id="pageheader">
      <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
   </div>

   <br clear="all" /><br />
<!-- ENDIF -->

<!-- INCLUDE forumlist_body.html -->

<span class="gensmall"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --> | <a href="{U_TEAM}">{L_THE_TEAM}</a></span><br />

<br clear="all" />

<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
   <br clear="all" />

   <table class="tablebg" width="100%" cellspacing="1">
   <tr>
      <td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td>
   </tr>
   <tr>
   <!-- IF LEGEND -->
      <td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <!-- ELSE -->
      <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <!-- ENDIF -->
      <td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
   </tr>
   <!-- IF LEGEND -->
      <tr>
         <td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td>
      </tr>
   <!-- ENDIF -->
   </table>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
   <br clear="all" />

   <table class="tablebg" width="100%" cellspacing="1">
   <tr>
      <td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td>
   </tr>
   <tr>
      <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td>
      <td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td>
   </tr>
   </table>
<!-- ENDIF -->

<br clear="all" />

<table class="tablebg" width="100%" cellspacing="1">
<tr>
   <td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td>
</tr>
<tr>
   <td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td>
   <td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td>
</tr>
<tr>
<!-- IF WHO_WAS_HERE_LIST2 -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p>
   <!-- ELSEIF U_ACP -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{L_WWH_UPDATE_NEED}</p>
   <!-- ENDIF -->
</tr>
</table>

<!-- IF not S_USER_LOGGED_IN -->
   <br clear="all" />

   <form method="post" action="{S_LOGIN_ACTION}">
   
   <table class="tablebg" width="100%" cellspacing="1">
   <tr>
      <td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
   </tr>
   <tr>
      <td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
   </tr>
   </table>
   {S_FORM_TOKEN}
   </form>

<!-- ENDIF -->

<br clear="all" />

<table class="legend">
<tr>
   <td width="20" align="center">{FORUM_NEW_IMG}</td>
   <td><span class="gensmall">{L_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center">{FORUM_IMG}</td>
   <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center">{FORUM_LOCKED_IMG}</td>
   <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->


the part which I dont know where to place:

Code: Select all
<!-- IF WHO_WAS_HERE_LIST2 -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{WHO_WAS_HERE_LIST2} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p>
   <!-- ELSEIF U_ACP -->
      <h3>{L_WHO_WAS_HERE}</h3>
      <p>{L_WWH_UPDATE_NEED}</p>
   <!-- ENDIF -->


If you can see where it is now, http://www.gorepit.net/forum/

I want it under the statistics box, but I cannot seem to get it there. Also I want it above the login at the bottom. Im not sure, but I would like it in another table cell like the other statistic, whos online, and birthday cells.

Thanks in advance! :)
gorepitdotnet
Registered User
 
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Next

Return to phpBB 3.0.x MOD/Style Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest