Welcome to Geeklog, Anonymous Friday, November 22 2024 @ 09:28 pm EST
Geeklog Forums
users.php plugin friendly
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/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.
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.
12
12
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
thanks Blaine.
13
11
Quote
All times are EST. The time is now 09:28 pm.
- 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