HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[RESOLVED] Change to Member List??

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#95610 (In Topic #19019)
Avatar

Honoured member

Question for the group:

By default, my member list page displays 4 columns:  Username, Primary Usergroup, Posts and Join Date (see below)



I have added a required custom field to users profiles called "City" (again, see below)



Since the members page isn't one that has the edit option at the bottom, I'm going to guess that this is something that will need to be changed at the template level, but ... I'm not sure?  In addition, I'm hoping that by adding this to the member list page, that a user can type in a city name in the search and it will return a list of members with that same value.

The site is running 8.1.6 and using Government Theme.  If a template edit is required, any guidance in terms of which template to change and what changes to make, would be most appreciated.

Thanks!

Mark


Last edit: by superiorpyro
Back to the top
 
Posted
Rating:
#95661
Avatar

Honoured member

I've continued to dig, but unfortunately I have a hunch this can't be done  :'(
Back to the top
 
Posted
Rating:
#95773
Avatar

Honoured member

I have the same exact need and am drawing a blank on where to go to edit this into the memberlist page.

In lieu of Username, Primary Usergroup, Posts and Join Date columns… I need to see:
Avatar, First& Last Name, State and another of my custom fields.

Who can help us here?

Where else can we go for help?

Is there anyone I can hire, who I can trust, who KNOWS OC Portal and who can accomplish what I need done?
Back to the top
 
Posted
Rating:
#95774
Avatar

Community saint

I can point you at the file, but I can't advise on what you need to do to achieve what you're after.

If it is any help at all, take a look at OCF_MEMBER_PROFILE_ABOUT.tpl and you'll see all the parameters are called in there.

How to edit? Beyond my pay grade, I'm afraid!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#95775
Avatar

AndrewMorgan said

I have the same exact need and am drawing a blank on where to go to edit this into the memberlist page.

In lieu of Username, Primary Usergroup, Posts and Join Date columns… I need to see:
Avatar, First& Last Name, State and another of my custom fields.

Who can help us here?

Where else can we go for help?

Is there anyone I can hire, who I can trust, who KNOWS OC Portal and who can accomplish what I need done?

Hi,

You could open a support ticket or try the "member directory boxes" addon for a different kind of layout.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95781
Avatar

Honoured member

Fletch said



How to edit? Beyond my pay grade, I'm afraid!

 :thumbs:

hahahahaha, that's funny! Ok, I will look and see what I can mess up there. I believe I can do what needs done now that I know exactly where it is. We'll see. Thanks!
Back to the top
 
Posted
Rating:
#95784
Avatar

Honoured member

Chris Graham said

AndrewMorgan said

I have the same exact need and am drawing a blank on where to go to edit this into the memberlist page.

In lieu of Username, Primary Usergroup, Posts and Join Date columns… I need to see:
Avatar, First& Last Name, State and another of my custom fields.

Who can help us here?

Where else can we go for help?

Is there anyone I can hire, who I can trust, who KNOWS OC Portal and who can accomplish what I need done?

Hi,

You could open a support ticket or try the "member directory boxes" addon for a different kind of layout.


Hey Chris, how do I go about installing this tar file?
Back to the top
 
Posted
Rating:
#95785
Avatar

Community saint

In your admin area under "Structure->Addons" look for the link to import nonbundled addons and in there you can select and install addons automatically.
Back to the top
 
Posted
Rating:
#95787
Avatar

Honoured member

Fletch said

I can point you at the file, but I can't advise on what you need to do to achieve what you're after.

If it is any help at all, take a look at OCF_MEMBER_PROFILE_ABOUT.tpl and you'll see all the parameters are called in there.

How to edit? Beyond my pay grade, I'm afraid!

 :thumbs:

Thanks Fletch.  I had a look at the template this morning and while I suspect that you're correct, that's not a simple template and I really don't know enough about coding pages to make the change without destroying everything else along the way!

Mark
Back to the top
 
Posted
Rating:
#95788
Avatar

Community saint

Fletch said

… Beyond my pay grade, I'm afraid!
hehehe point up

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#95789
Avatar

Honoured member

Chris Graham said

AndrewMorgan said

I have the same exact need and am drawing a blank on where to go to edit this into the memberlist page.

In lieu of Username, Primary Usergroup, Posts and Join Date columns… I need to see:
Avatar, First& Last Name, State and another of my custom fields.

Who can help us here?

Where else can we go for help?

Is there anyone I can hire, who I can trust, who KNOWS OC Portal and who can accomplish what I need done?

Hi,

You could open a support ticket or try the "member directory boxes" addon for a different kind of layout.


Chris, I installed and like the "member directory boxes" addon however the SEARCH function on it, which I desire to keep, gives this error when attempting to use it:
"Forbidden

You don't have permission to access /RapidResponseSystem/data/iframe.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at bikerdownministry.com Port 80"


WHAT TO DO?

(thanks for your help:-)
Back to the top
 
Posted
Rating:
#95790
Avatar

That's odd. How did you install ocPortal originally? (I'm surprised you didn't have it then too). That file needs the same permissions as index.php, so try making sure they're the same.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95791
Avatar

Honoured member

Chris Graham said

That's odd. How did you install ocPortal originally? (I'm surprised you didn't have it then too). That file needs the same permissions as index.php, so try making sure they're the same.
OC was installed originally with my QuickInstall in my Cpanel. I'm checking permission settings of each file now. thanks (P.S. In the near future we should have budget for hiring you and or yours to do various customs. We are looking forward to it)

WELL... both files already have the same permissions, both are 644

My version is 9.0.5 so would THAT have something to do with it?


Last edit: by AndrewMorgan
Back to the top
 
Posted
Rating:
#95792
Avatar

Cool/uncool. If you want to open a free bug report ticket with FTP access, and make sure the problem is still there so I can step through it, I'll take a look.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95793
Avatar

Honoured member

Chris Graham said

Cool/uncool. If you want to open a free bug report ticket with FTP access, and make sure the problem is still there so I can step through it, I'll take a look.

OK, and also when I attempted to upgrade from 9.0.5 to 9.0.6 I had a master PW issue…. followed the tutorial on THAT with no avail so I changed the master PW back to its original state and left it alone…

I am headed over to open a ticket now with ftp access for you.

Once we get these lil issues working, and when we vote in our budget, perhaps you may like to be the one to build our OCportal into the special mobile app we are desiring :)… creating ticket now>>>
Back to the top
 
Posted
Rating:
#95796
Avatar

Honoured member

Back to the top
 
Posted
Rating:
#95797
Avatar

Thanks, I see your ticket has come in and am about to take a look.

followed the tutorial on THAT with no avail so I changed the master PW back to its original state and left it alone…

It's possible a tutorial got out of date. Which one is it? (or copy and paste what it said)

Once we get these lil issues working, and when we vote in our budget, perhaps you may like to be the one to build our OCportal into the special mobile app we are desiring

Thanks for the info, yes, please open a ticket with us when you're ready. I've noted this possibility down.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95805
Avatar

Hi again,

So, I could not actually find a problem on your site as such. The member directory boxes are working for me. I have tuned the layout a bit you you (always nice to have someone's site as a test case to tweak our code), as the large number of CPFs set to display with content previews meant the boxes got very tall and misaligned.
It could use a lot more tuning, particularly trying to minimise how much you display in each box, tuning the search filter, etc; that's the kind of thing we can do quite quickly via a support ticket (you can do it yourself, but it requires editing some CSS and templates, it's not point&click).

I did get a 500 error when viewing php-info, but then it went away. I suspect the host is running modsecurity. We get this a lot nowadays (although it's not anything specific to ocPortal). modsecurity runs some statistical analyses to see if it thinks you're a hacker, and blocks you based on it. Complain to the webhost if it persists and they should be able to do something about it.

Regarding the master password, I just tested that you can edit info.php so the:

Code

$SITE_INFO['admin_password']='!<censored>';
line becomes:

Code

$SITE_INFO['admin_password']='somenewpassword';
And that works. You have to make sure the exclamation mark (!) is removed when you do this, as that is basically a hint to ocPortal that the password is encrypted, and if you're putting it in manually, of course it isn't anymore.

If you've found some instructions that contradict what I'm saying here somehow, or are confusing, please let me know and I can review.


Regarding the general question of this topic, member directory columns. That's not configurable. Someone could sponsor us to make it configurable, and that might be worthwhile in some cases, but there's not a whole lot of space anyway, which is why the boxes addon is the preferred way of doing it for those who need more displayed here. Boxes is more like how something like Facebook would work, probably for similar design (space) reasons.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#95809
Avatar

Honoured member

Thank you Mr. G, you always go out of your way here and we all appreciate it.   I'm just curious:  I didnt find a "member directory boxes" addon, but I did find "Cool_member_directory" are they the same thing?
Back to the top
 
Posted
Rating:
#95810
Avatar

Yes it was renamed for v9, and became more powerful.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand