-

[2.0.22] Online/Offline Status Images

General phpBB2 Discussion and Support
Forum rules
To receive support you must become a donor unless otherwise specified in the release topic.

Please read these topics for more information:
Web Services/Support/Private Mod Access

Re: [2.0.22] Online/Offline Status Images

Postby EXreaction » Tue Jun 05, 2007 10:50 pm

No plans to add in the hidden option.

Because I am no longer updating any phpBB2 modifications.

But IIRC, it should be very simple to make it check to see if the user is hidden or not...
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] Online/Offline Status Images

Postby Dazzle » Fri Jun 22, 2007 6:35 am

Thanks for the mod,

Have a problem though, i'm using the XboxXtreme style and i'm not sure which part to edit in groupcp_info_body.tpl as obviously the file is different from subsilver. i could send you the file or paste it here ;)

this is the part of the MOD i cant do:
Code: Select all
#
#-----[ FIND ]---------------------------------------------
# Note: This is not the full line
# Should be colspan="7"

colspan="{%:1}"

#
#-----[ INCREMENT ]-------------------------------------
# If you don't know how to use the increment, find colspan="7", replace it with colspan="8"

%:1 +1

#
#-----[ FIND ]---------------------------------------------
# Note: This is not the full line
# Should be colspan="7"

colspan="{%:1}"

#
#-----[ INCREMENT ]-------------------------------------
# If you don't know how to use the increment, find colspan="7", replace it with colspan="8"

%:1 +1


thanks if you can help! :D
Dazzle
Member
Member
 
Posts: 3
Joined: Fri Jun 22, 2007 6:28 am
Blog: View Blog (0)

Re: [2.0.22] Online/Offline Status Images

Postby EXreaction » Fri Jun 22, 2007 10:10 am

Upload the file here.
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] Online/Offline Status Images

Postby Dazzle » Fri Jun 22, 2007 1:15 pm

here is the XboxXtreme groupcp_info_body.tpl file:
Code: Select all
 
<form action="{S_GROUPCP_ACTION}" method="post">

<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center">
   <tr>
      <td align="left" class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
   </tr>
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="3%" align="left"><img src="templates/XboxXtreme/images/t_head_left.gif" width="47" height="24"></td>
    <td width="94%" align="center" background="templates/XboxXtreme/images/t_head_bkgd.gif"><span class="forumtitle">&nbsp;Usergroups&nbsp;</span></td>
    <td width="3%" align="right"><img src="templates/XboxXtreme/images/t_head_right.gif" width="47" height="24"></td>
  </tr>
</table>
<table class="forumline" width="95%" cellspacing="1" cellpadding="4" border="0">
   <tr>
      <th class="thHead" colspan="7" height="25">{L_GROUP_INFORMATION}</th>
   </tr>
   <tr>
      <td class="row1" width="20%"><span class="gen">{L_GROUP_NAME}:</span></td>
      <td class="row2"><span class="gen"><b>{GROUP_NAME}</b></span></td>
   </tr>
   <tr>
      <td class="row1" width="20%"><span class="gen">{L_GROUP_DESC}:</span></td>
      <td class="row2"><span class="gen">{GROUP_DESC}</span></td>
   </tr>
   <tr>
      <td class="row1" width="20%"><span class="gen">{L_GROUP_MEMBERSHIP}:</span></td>
      <td class="row2"><span class="gen">{GROUP_DETAILS} &nbsp;&nbsp;
      <!-- BEGIN switch_subscribe_group_input -->
      <input class="mainoption" type="submit" name="joingroup" value="{L_JOIN_GROUP}" />
      <!-- END switch_subscribe_group_input -->
      <!-- BEGIN switch_unsubscribe_group_input -->
      <input class="mainoption" type="submit" name="unsub" value="{L_UNSUBSCRIBE_GROUP}" />
      <!-- END switch_unsubscribe_group_input -->
      </span></td>
   </tr>
   <!-- BEGIN switch_mod_option -->
   <tr>
      <td class="row1" width="20%"><span class="gen">{L_GROUP_TYPE}:</span></td>
      <td class="row2"><span class="gen"><input type="radio" name="group_type" value="{S_GROUP_OPEN_TYPE}" {S_GROUP_OPEN_CHECKED} /> {L_GROUP_OPEN} &nbsp;&nbsp;<input type="radio" name="group_type" value="{S_GROUP_CLOSED_TYPE}" {S_GROUP_CLOSED_CHECKED} />   {L_GROUP_CLOSED} &nbsp;&nbsp;<input type="radio" name="group_type" value="{S_GROUP_HIDDEN_TYPE}" {S_GROUP_HIDDEN_CHECKED} />   {L_GROUP_HIDDEN} &nbsp;&nbsp; <input class="mainoption" type="submit" name="groupstatus" value="{L_UPDATE}" /></span></td>
   </tr>
   <!-- END switch_mod_option -->
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td  width="47" height="24" align="left" valign="top"><img src="templates/XboxXtreme/images/t_bottom_left.gif"  width="47" height="24"></td>
    <td align="left" valign="top" background="templates/XboxXtreme/images/t_bottom_bkgd.gif"><img src="templates/XboxXtreme/images/spacer.gif" width="1" height="24"></td>
    <td  width="47" height="24" align="right" valign="top"><img src="templates/XboxXtreme/images/t_bottom_right.gif"  width="47" height="24"></td>
  </tr>
</table>

{S_HIDDEN_FIELDS}

</form>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="3%" align="left"><img src="templates/XboxXtreme/images/t_head_left.gif" width="47" height="24"></td>
    <td width="94%" align="center" background="templates/XboxXtreme/images/t_head_bkgd.gif"><span class="forumtitle">&nbsp;Usergroup Members&nbsp;</span></td>
    <td width="3%" align="right"><img src="templates/XboxXtreme/images/t_head_right.gif" width="47" height="24"></td>
  </tr>
</table>
<form action="{S_GROUPCP_ACTION}" method="post" name="post">
<table width="95%" cellpadding="4" cellspacing="1" border="0" class="forumline">
   <tr>
     <th class="thCornerL" height="25">{L_PM}</th>
     <th class="thTop">{L_USERNAME}</th>
     <th class="thTop">{L_POSTS}</th>
     <th class="thTop">{L_FROM}</th>
     <th class="thTop">{L_EMAIL}</th>
     <th class="thTop">{L_WEBSITE}</th>
     <th class="thCornerR">{L_SELECT}</th>
   </tr>
   <tr>
     <td class="catSides" colspan="8" height="28"><span class="cattitle">{L_GROUP_MODERATOR}</span></td>
   </tr>
   <tr>
     <td class="row1" align="center"> {MOD_PM_IMG} </td>
     <td class="row1" align="center"><span class="gen">{MOD_USERNAME}</span></td>
     <td class="row1" align="center" valign="middle"><span class="gen">{MOD_POSTS}</span></td>
     <td class="row1" align="center" valign="middle"><span class="gen">{MOD_FROM}</span></td>
     <td class="row1" align="center" valign="middle"><span class="gen">{MOD_EMAIL_IMG}</span></td>
     <td class="row1" align="center">{MOD_WWW_IMG}</td>
     <td class="row1" align="center"> &nbsp; </td>
   </tr>
   <tr>
     <td class="catSides" colspan="8" height="28"><span class="cattitle">{L_GROUP_MEMBERS}</span></td>
   </tr>
   <!-- BEGIN member_row -->
   <tr>
     <td class="{member_row.ROW_CLASS}" align="center"> {member_row.PM_IMG} </td>
     <td class="{member_row.ROW_CLASS}" align="center"><span class="gen">{member_row.USERNAME}</span></td>
     <td class="{member_row.ROW_CLASS}" align="center"><span class="gen">{member_row.POSTS}</span></td>
     <td class="{member_row.ROW_CLASS}" align="center"><span class="gen"> {member_row.FROM}
      </span></td>
     <td class="{member_row.ROW_CLASS}" align="center" valign="middle"><span class="gen">{member_row.EMAIL_IMG}</span></td>
     <td class="{member_row.ROW_CLASS}" align="center"> {member_row.WWW_IMG}</td>
     <td class="{member_row.ROW_CLASS}" align="center">
     <!-- BEGIN switch_mod_option -->
     <input type="checkbox" name="members[]" value="{member_row.USER_ID}" />
     <!-- END switch_mod_option -->
     </td>
   </tr>
   <!-- END member_row -->

   <!-- BEGIN switch_no_members -->
   <tr>
     <td class="row1" colspan="7" align="center"><span class="gen">{L_NO_MEMBERS}</span></td>
   </tr>
   <!-- END switch_no_members -->

   <!-- BEGIN switch_hidden_group -->
   <tr>
     <td class="row1" colspan="7" align="center"><span class="gen">{L_HIDDEN_MEMBERS}</span></td>
   </tr>
   <!-- END switch_hidden_group -->

   <!-- BEGIN switch_mod_option -->
   <tr>
      <td class="catBottom" colspan="8" align="right">
         <span class="cattitle"><input type="submit" name="remove" value="{L_REMOVE_SELECTED}" class="mainoption" /></span>
      </td>
   </tr>
   <!-- END switch_mod_option -->
</table>
<table width="95%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td  width="47" height="24" align="left" valign="top"><img src="templates/XboxXtreme/images/t_bottom_left.gif"  width="47" height="24"></td>
    <td align="left" valign="top" background="templates/XboxXtreme/images/t_bottom_bkgd.gif"><img src="templates/XboxXtreme/images/spacer.gif" width="1" height="24"></td>
    <td  width="47" height="24" align="right" valign="top"><img src="templates/XboxXtreme/images/t_bottom_right.gif"  width="47" height="24"></td>
  </tr>
</table>
<table width="95%" cellspacing="2" border="0" align="center" cellpadding="2">
   <tr>
      <td align="left" valign="top">
      <!-- BEGIN switch_mod_option -->
      <span class="genmed"><input type="text"  class="post" name="username" maxlength="50" size="20" /> <input type="submit" name="add" value="{L_ADD_MEMBER}" class="mainoption" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></span><br /><br />
      <!-- END switch_mod_option -->
      <span class="nav">{PAGE_NUMBER}</span></td>
      <td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
   </tr>
</table>

{PENDING_USER_BOX}

{S_HIDDEN_FIELDS}</form>

<table width="95%" cellspacing="2" border="0" align="center">
  <tr>
   <td valign="top" align="right">{JUMPBOX}</td>
  </tr>
</table>
Dazzle
Member
Member
 
Posts: 3
Joined: Fri Jun 22, 2007 6:28 am
Blog: View Blog (0)

Re: [2.0.22] Online/Offline Status Images

Postby EXreaction » Fri Jun 22, 2007 1:28 pm

I found those parts in your file...

The last two parts like the following:
colspan="7"

Search for the last 2 and replace them with:
colspan="8"
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] Online/Offline Status Images

Postby Dazzle » Fri Jun 22, 2007 1:31 pm

ok thanks alot for your help and such a quick response! :D
Dazzle
Member
Member
 
Posts: 3
Joined: Fri Jun 22, 2007 6:28 am
Blog: View Blog (0)

Re: [2.0.22] Online/Offline Status Images

Postby coroner » Fri Jun 29, 2007 11:04 pm

Hello again! I believe I broke something and could really use your expertise.

When I open the member list while logged off the images stopped showing. The path seems to be broken.

Here's the path: "http://cscoroner.com/phpBB2/templates/Glass/images/lang_/icon_offline.gif"

When logged on the images appear.

Here's the path: "http://cscoroner.com/phpBB2/templates/Glass/images/lang_english/icon_offline.gif"

The word "english" is gone??????????

Any idea where to look for the missing word in the link or could it be a data base issue?

Please let me know.

Thanks!
coroner
Member
Member
 
Posts: 3
Joined: Mon May 21, 2007 2:00 am
Blog: View Blog (0)

Re: [2.0.22] Online/Offline Status Images

Postby EXreaction » Sat Jun 30, 2007 11:19 am

That would probably be an issue with your config table.

I believe it was called 'default_lang', and it should be in phpbb_config in the database. You will have to check for it manually with phpMyAdmin.
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

Re: [2.0.22] Online/Offline Status Images

Postby coroner » Sat Jun 30, 2007 8:59 pm

Thanks for the help. I have this:

Image

Can't seem to find anything else? Wright before I found this I had removed an "anonymous" user from the table. I don't know where It came from and It was member#1 but on the board I was #1. Once removed, The board showed me as #1 but the table shows me as #2? Think this might have something to do with it? If you could, I could set you up as admin on the board so you could have a look at the setting to see if maybe there's something there that could be causing this to happen.

Please let me know and once again, thank you very much for all your efforts and support.
coroner
Member
Member
 
Posts: 3
Joined: Mon May 21, 2007 2:00 am
Blog: View Blog (0)

Re: [2.0.22] Online/Offline Status Images

Postby EXreaction » Sat Jun 30, 2007 10:36 pm

You should not have removed the anon user from the board. That is going to be the cause of the error.
Grateful for the mods I've built? Then donate!
User avatar
EXreaction
Site Owner
Site Owner
 
Posts: 4988
Joined: Wed Jun 28, 2006 5:08 pm
Blog: View Blog (53)

PreviousNext

Return to phpBB2



Who is online

Users browsing this forum: No registered users and 1 guest