Welcome to Geeklog Wednesday, June 03 2020 @ 03:09 am EDT

Geeklog Forums

users.php plugin friendly


Status: Banned

machinari

Forum User
Full Member
Registered: 22/03/04
Posts: 1512
I was working on my dq plugin and decided to make users.php ever so slightly more plugin friendly. ie, to display "last 10 posts.." and "total stats" without the end user having to always replace/modify users.php and add template files whenever they had a plugin that wanted to post stats in the user profile display.

so, a couple of standard changes: 1 function already existed in lib-plugins, needed one more; of course the profile.thtml was modified to accomodate a plugin's variables; and said variables display in 3 new and small usertemplate files; and in users.php only 1 line was added and 1 line edited.

Note: I'm not talking about the profile edit form, just the profile display. of course the same idea would apply there, but I didn't do that.

now plugins may integrate into the user display, just like the forum does now, but without having to deliver a package with new users.php file, template files, etc. this is assuming that my mod or some variation of it is accepted into the core.

so... who do I ask, and/or who can i send my diff to? or should i submit a patch to the bug tracker? tho this isn't at all a bug.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 16/07/02
Posts: 1232
Location:Canada
If you are already a member of the mailing list geeklog-devtalk then you should register. This is a mailing list where you can discuss your code and ideas.

Dirk has created a FAQ entry on this here

Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 22/03/04
Posts: 1512

thanks Blaine.
 Quote

All times are EDT. The time is now 03:09 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content