Topic: Adding some new columns to the CP Manage Members page - Version 2.5.3

At includes/templates open members.tpl
FIND:
<td class="gridHeader" width="90" style="text-align: center" nowrap>{lang:"members","joindate"}</td>
BELOW ADD:
<td class="gridHeader" width="90" style="text-align: center" nowrap>Messages</td>
FIND:
<td class="gridOptions{rownum}" style="text-align: center">{joindate}</td>
BELOW ADD:
<td class="gridOptions{rownum}" style="text-align: center">[{totalmessages}] - <a href="{top.virtual_cp_path}index.php?m=membersmessages&p=inbox&id={id}">{lang:"members","view"}</a></td>
FIND:
<td class="gridHeader" colspan="4" style="text-align: center" nowrap>{lang:"members","actions"}</td>
CHANGE: "4" to "5"
FIND
<td class="gridFooter" colspan="9" style="padding: 0px;">
CHANGE "9" TO "10"
FOR ADDING THE EMAIL COLUMN
FIND THE FIRST:
<td class="gridActions{rownum}" width="24" style="text-align: center">
ADD BEFORE:
<td class="gridActions{rownum}" width="24" style="text-align: center"><a class="grid" href="{top.virtual_cp_path}index.php?m=newsletters&p=message&u={username}" title="{lang:"members","send_message"}">
<img src="{top.virtual_path}includes/templates/media/{top.cp_theme}/actions/contact.gif" alt="{lang:"members","send_message"}" border="0" /></a></td>
------------------------------------------------------------------------------

The number you see enclosed between [ ] is showing the TOTAL messages sent and received.
If you click the view link in the Manage Members column you will go to the members inbox. If you get a message no messages found click the members sent box. Remember, in Manage Members column it is showing the TOTAL messages.
For example:


By giving you the total messages in the Manage Members page, it may help you with checking on and controlling spam issues.
------------------------------------------------------------------------------
Now I will discuss the email column.


By having the email icon in each member's row, I can quickly take care of any communication with that member.
In case you don't remember where in the CP you create your templates, it is in your CP at Communicate - Manage Template - Add template.
------------------------------------------------------------------------------
I'm sure there is many more items you can add to the Manage Members page, but I don't have the programming skill to do so. For that matter, I imagine any of the filter items you see when you use the filter function in Manage Members, there is code you can use to add a column to your Manage Members page.
Maybe those who have programming skills could contribute the code by replying to this post -- for example the code to add a Last Visit column.

------------------------------------------------------------------------------
That's it.
Last edited by db3204 (2009-06-06 06:44:11)

