1

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

[img]http://www.filipina-lady.net/test253/manage01.jpg[/img]

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>

------------------------------------------------------------------------------

[img]http://www.filipina-lady.net/test253/manage02.jpg[/img]


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:

[img]http://www.filipina-lady.net/test253/manage03.jpg[/img]

[img]http://www.filipina-lady.net/test253/manage04.jpg[/img]

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.

[img]http://www.filipina-lady.net/test253/manage05.jpg[/img]

[img]http://www.filipina-lady.net/test253/manage06.jpg[/img]

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.

[img]http://www.filipina-lady.net/test253/manage07.jpg[/img]

------------------------------------------------------------------------------

That's it.

Last edited by db3204 (2009-06-06 06:44:11)

2

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

very good tutorials ... thanks ...

3

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

Thank You DB. Awesome Tutorial!

4

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

If you will change icons for inbox and sent ...
[img]http://www.webbsupport.eu/image/cp_icons_small.jpg[/img]
You can save the icons ...
[img]http://www.webbsupport.eu/image/inbox.gif[/img] inbox.gif
[img]http://www.webbsupport.eu/image/sent.gif[/img] sent.gif
upload them to /includes/templates/media/rainbow/nav/
and replace icons inbox.gif and sent.gif with the new icons.

Last edited by gugu (2009-05-23 03:20:52)

5

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

Nice job, thanks alot db3204.

6

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

you write:
Now I will discuss the email column
My question:
I can´t find this in my cp I have 2.5.3
how can I get it there ?

7

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

Yikes...thanks for pointing that out.

At includes/templates open members.tpl

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>


NOTE: Edit and made changes to tutor above



Let me know if it works out.


Thanks

Last edited by db3204 (2009-06-06 07:31:58)

8

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

work like a charm ...thanks...

9

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

db another great tutor, will really help to track and monitor messages.

Lets hope as you pointed out, others will post some other helpful tutors for different ides for the Manage Members Section.

10

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

well done Dan, thanks
added this to my site

11

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

This forum section is for tutorials and tips only. Do not post technical support questions here.

Use an appropriate forum section and link to a tutorial if necessary

12

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

No you have it the other-way-round.

The sticky rules asks that you

Create a new topic for your tutorial question in the appropriate forum and place your link there to reference the tutorial thread.

not post your technical Support question on the tutorial thread

As you have it. 
you're reading a book on how to repair a leaking kitchen sink and directly after reading about the repaired  sink in the same chapter there's a quick question about a leaking roof.

The leaking roof question is not connected or related to the leaking kitchen sink repair. but there it is.

Not posting questions on tutorials helps keep the tutorial forum manageable and much more easier to read without the need of the members guessing if that tutorial finished or not.

Last edited by seeme101 (2009-08-18 08:41:28)

13

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

Excellent addition.  Thanks for your work.

14

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

For those who are confused like i was .... this funktion is included in version 2.7 already ... ;-)