Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin Developers: Hook Requests
#44
schoschie Wrote:* installed the Multi-User plug-in to have support for adding and managing users from /admin
Correct, this is meant to be this way...at least for now
schoschie Wrote:* installed the i18n custom fields plug-in; it automatically adds a "user" field to new pages and fills it with the logged-in user
3.1 does this by default w/o a plugin
schoschie Wrote:* because I did not find the appropriate plug-in hook, hacked the loop in pages.php to check for each iteration if the logged-in user is the same as the user field stored in the page data. If not, skip the page (do not list it). It was only one line and worked fine.
That pages loop changed a bit in 3.1 - it now uses the cache functions (used to be Noodles101's page caching plugin). At this point, i am not sure where to add the hook - inside the caching function output call, or where it uses that passed data on pages.php

The only case i can see to add it to the caching function call is because that function now powers many things that you would want to 'filter':
1. pages.php
2. backups.php
3. template dropdown on edit.php
4. eventually sitemap.php (hopefully before 3.1 ships)

thoughts? have either of you tried the 3.1 beta yet?
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply


Messages In This Thread
Plugin Developers: Hook Requests - by ccagle8 - 2010-01-18, 13:45:08
RE: Plugin Developers: Hook Requests - by shawn_a - 2015-10-18, 09:19:33
Plugin Developers: Hook Requests - by Nijikokun - 2010-01-18, 14:49:02
Plugin Developers: Hook Requests - by ccagle8 - 2010-01-19, 00:00:30
Plugin Developers: Hook Requests - by n00dles101 - 2010-01-19, 04:27:04
Plugin Developers: Hook Requests - by internet54 - 2010-01-19, 05:59:48
Plugin Developers: Hook Requests - by ccagle8 - 2010-01-19, 06:36:23
Plugin Developers: Hook Requests - by Nijikokun - 2010-01-19, 08:56:53
Plugin Developers: Hook Requests - by n00dles101 - 2010-01-19, 09:01:56
Plugin Developers: Hook Requests - by ccagle8 - 2010-01-19, 09:53:09
Plugin Developers: Hook Requests - by Nijikokun - 2010-01-19, 09:58:25
Plugin Developers: Hook Requests - by n00dles101 - 2010-01-19, 10:03:17
Plugin Developers: Hook Requests - by oToom - 2010-01-20, 02:50:10
Plugin Developers: Hook Requests - by n00dles101 - 2010-01-20, 03:00:07
Plugin Developers: Hook Requests - by internet54 - 2010-01-20, 07:31:01
Plugin Developers: Hook Requests - by n00dles101 - 2010-01-20, 07:39:25
Plugin Developers: Hook Requests - by Nijikokun - 2010-01-21, 11:05:30
Plugin Developers: Hook Requests - by Sanddorn - 2010-02-22, 07:19:33
Plugin Developers: Hook Requests - by JWH_Matthew - 2010-02-22, 12:34:58
Plugin Developers: Hook Requests - by ccagle8 - 2010-02-22, 13:12:23
Plugin Developers: Hook Requests - by crashfellow - 2010-03-07, 17:04:49
Plugin Developers: Hook Requests - by ccagle8 - 2010-03-07, 23:28:35
Plugin Developers: Hook Requests - by ccagle8 - 2010-03-08, 01:09:07
Plugin Developers: Hook Requests - by superyms - 2010-03-08, 02:11:49
Plugin Developers: Hook Requests - by SamWM - 2010-05-15, 06:19:06
Plugin Developers: Hook Requests - by RobA - 2010-11-19, 08:27:37
Plugin Developers: Hook Requests - by RobA - 2010-11-23, 03:44:51
Plugin Developers: Hook Requests - by mvlcek - 2011-01-25, 07:05:41
Plugin Developers: Hook Requests - by mvlcek - 2011-01-25, 07:08:03
Plugin Developers: Hook Requests - by mvlcek - 2011-01-25, 07:13:24
Plugin Developers: Hook Requests - by Actimele - 2011-03-15, 15:54:17
Plugin Developers: Hook Requests - by RobA - 2011-04-22, 09:12:08
Plugin Developers: Hook Requests - by Connie - 2011-04-22, 15:26:55
Plugin Developers: Hook Requests - by Carlos - 2011-04-23, 01:38:00
Plugin Developers: Hook Requests - by RobA - 2011-04-23, 01:43:07
Plugin Developers: Hook Requests - by Carlos - 2011-04-23, 02:18:22
Plugin Developers: Hook Requests - by schoschie - 2011-06-25, 08:39:45
Plugin Developers: Hook Requests - by dominionit - 2011-07-15, 15:02:00
Plugin Developers: Hook Requests - by ccagle8 - 2011-07-17, 11:44:42
Plugin Developers: Hook Requests - by dominionit - 2011-07-17, 18:17:03
Plugin Developers: Hook Requests - by dominionit - 2011-07-18, 06:33:30



Users browsing this thread: 1 Guest(s)