ruud

Location Netherlands
Gender Male
Age Not specified
Member since September 23rd, 2013
Last seen 2 years ago
Topics 64
Replies 194
Points 134
About ruud: No information provided.

Recent activity
  • ruud replied to the topic Cool! CJBlog 2.0 :).

    Okay, maybe it is best that if I have something that I want to implement I first raise an issue (functional request) on github. Based on that we can decide if and how to...
  • ruud replied to the topic Cool! CJBlog 2.0 :).

    Hi Maverick, ... and then finally... I am doing an upgrade of the template of one of my major blog sites. Want to also upgrade to cjblog 2.0.1 when...
  • Ruud van Lent created new topic Cool! CJBlog 2.0 :).

    Hi Maverick, you mentioned it earlier... cjblog 2 was in te making. Just found the beta and installed it! first impression: WOW!   Will be testing and giving feedback over the next days: a lot has changed and I already noticed that the features we created on git are not all present / working. Are you planning to share the code on github? like the 1.4.2 code?  
  • Ruud van Lent replied to the topic Cjblog how to auto publish blog post..

    Hi John, for bloggin CjBlog uses the default Joomla functionality. So the Joomla Article ACL's are implemented. For bloggin you need author ACL (member of that group), with that ACL you can do the following: Author - This group allows a user to post content, usually via a link in the User Menu. They can submit new content, select options to show the item on the front page and select dates for publishing but they cannot directly publish any content. When content is submitted by an Author level user, they receive the message, “Thanks for your submission. Your submission will now be reviewed before being posted to the site.” They can edit only their own articles but only when that article has been published and is visible. If you want your blogger to be able to also publish a blog, then he should have Publisher ACL, but that would also mean he could edit (and change) other people's blogs.   What you could do is change the permissions for the author group to also 'edit state' (allowed). That way the author is able to edit the state of the articles he has access to (his own). Back-end -> Content -> Articles -> [Options] -> tab [Permissions] -> --author -> Edit state 'Allowed' (default = inhereted) Should be tested :)  
  • Ruud van Lent replied to the topic parse user-profile-layout page thru content plugins.

    Maverick wrote: That should work. Just would like to let you know that I am already started working on v4 and have already completed most of the coding part. Also there are significant amount of changes (end-to-end) in this version. I will include this particular change in that version. Thanks Maverick for the update, was wondering what the status was and I am very pleased that you are actively working on the new version. Can't wait to test :)
  • Ruud van Lent replied to the topic parse user-profile-layout page thru content plugins.

    Hi Maverick, sorry for the late reply. was unable to login on your site seems that has been fixed :) Just had a look at your suggestion, would like do propose a different approach.   Only place the content plugin is not triggered where it should in my case in is the user profile page. It is possible to parse specific text via the content plugins by using the following function: JHtml::_('content.prepare', $text); (see: https://docs.joomla.org/Triggering_content_plugins_in_your_extension)   so when I change views/profile/tmpl/default.php <div class="user-about">                        <?php echo JHtml::_('content.prepare', CJFunctions::preprocessHtml($this->profile['about'], false, $bbcode));?></div> the content plugins get triggered on only the about text in the user profile page. Next thing is to make this conditional with a back-end parameter.   Would this solution work for you?
  • Ruud van Lent created new topic parse user-profile-layout page thru content plugins.

    Hi, We are currently using a new feature of Easy Profile to display the author's linked social media accounts in his author profile. This is done via the code {user socialconnect xyz} which is then parsed via the Easy Profile content plugin.   Works (almost) perfect: the follow me buttons show up nice under the blog, but they do not show up in the authors user-profile-layout page (see attached image)   I can adjust the code for this page to also be subject to content plugins, but wanted to check here first. Is this a good idea? should it be always on (easiest) Should it be a configuration option: 'Prepare content': Yes / No? (like the custom html module)
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Hi Maverick, I changed it to core.showprofile. did two PR's on github for component and contenplugin, rest of the updated files will be sent via mail :)
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Maverick wrote: Sure. Not yet checked all files, will go through and come back if any questions. Thank you. Thanks, eager to learn and share :) looking forward to it!
  • Ruud van Lent said thank you to Maverick for his/her reply to the topic Feature discussion: extra's for (paying) bloggers.

    Sure. Not yet checked all files, will go through and come back if any questions. Thank you.
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Just emailed you that changed: plg_articlesuggestions (+randow articles), mod_articlesuggestions and mod_cjbloggers This is a really cool feature if you don't mind me saying so :)))
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Okay, so did two PR's against your code: 1. in the component create ACL for pro_capabilities, change the article and user listing to only add profile url to username / avatar when ACL = allowed 2. in the content plugin did the same.   I decided not to do it via cjlib as currently you are not able to differentiate what component is calling the routine to return the profile url. So changing it in the cjlib api would impact other components.   What I haven't done is set the default value to allowed for group author. I'm not sure how to do that, read something that pointed me to a sql upgrade procedure, but I cannot estimate what the impact of this is. So currently nobody has the pro_capabities unless explicit set in the components options. will also be doing the needed code changes on topblogger module, article suggestions module and plugin, but they are not on github so will sent you the files when done :) View Avatar link | Name link | About textDONE > Article (content plugin) X | X | XN.A. > Category listing (component) - | - | -DONE > Article listing (component) X | X | -DONE > User listing (component) X | X | XTop bloggers (module) X | - | -Article suggestions module (module) X | - | -Article suggestions plugin (plugin) X | - | -  
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Okay, thanks. Will come up with some code proposals :)
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    hi Maverick, thanks for your repy. I am not using thsein other extensions. But I am trying to come up with a solution that is generic: so not only for me. If it is genereic and you ' adopt'  it as part of the release then I do not have to redo these changes everytime a new version is released of the api / cjblog component. Also then this willadd value not only for me but for everybody using cjblog and wants to have this feature :) Lookig at it that way: is changing the api still the way to go? When it is only for me then it is the easiest way, but that would ' blobk'  other users / extension.      
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Hi, because Iam only using cjblog I do not know if changing the api will also affect other components. The 'pr-blogging' acl will only be avalable in cjblog but should not impact the way the profiles are served from the api to other corejoomla components... correct? or are there no other corejoomla components that utilize these api function(s)?  
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Okay, we are getting there :) the reason why I suggested changing the api was because then a lot more changes in separate files coud be skipped. If I adjust in the api so that eg the hyperlink on the avatar must be 'empty' because of acl pro-blogger, then I do not need to change content plugin, user list, mod bloggers, mod articlesuggestions and plg article suggestions :)
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Hi, step 1. Yes. step 2. this needs to be coded into cjblog, correct? step 3. correctI think our misunderstanding is in step 2. So the code changes are: 1 in cjblog component add acl part 2. in all files that display avatar, username and about text. The ones I summed up above. so eg in plg content default.php add check if creator of the blog that is displayed to a guest has pro-capability rigths assigned > change nothing. If rights NOT assigned remove profile link from avatar and username and do not display about text correct?      
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Hi Maverick, What I am trying to achieve is that there are two flavors of authors: basic authors and 'pro-bloggers'. The pro-blogger is a blogger who (in our case) is assigned to a Joomla usergroup 'problogger' via Akeeba subscriptions. The pro-bblogger is member of Joomla group author and problogger The basic author is only member of the Joomla group 'author'. The basic and pro-blogger differ in cjblog functionality: although they can both blog, the problogger's avatar and username (in the different views) are linked to his profile, also will his about text show under his blogs and in the userslisting. The basic blogger does van an avatar and username, but these are not linked to his profile. Also his about text will NOT show under the blog and in the user listings. In the current implementation everybody is a pro-blogger. So this is author of the displayed blog related and not related to the user who is visiting the website or the blog. the toggle is: is the author of the blog you are reading member of the problogger group (payed blogger), then show his profile and about text. Is the author not member of this group, then do not show profile and about text. it is also possible to not change the api, but then more files (views, modules and plugins) need to be changed. Does this make things clearer? By implementing this, cjblog offers a way to monitize via bloggers (buying subscriptions to showcase themselves)
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Hi Maverick, I don't think the ACL route will work. ACL are limiting things for the visitor / logged in user, but what we want to achieve is limit things for the article author. I have in inventarised all pages that are impacted and came up with an easy solution that will add this feature :) Use case: if the article author is NOT member of group specified in cjblog component variable 'blogger' (configurable via back-end): Remove url from avatar Remove url from username Do not show 'About' text The variable [blogger] defaults to Joomla group 'Author' so when not configured nothing changes :) View Avatar link | Name link | About textArticle (content plugin) X | X | XCategory listing (component) - | - | -Article listing (component) X | X | -User listing (component) X | X | XTop bloggers (module) X | - | -Article suggestions module (module) X | - | -Article suggestions plugin (plugin) X | - | - proposed changes: 1. CjLibApi > in function getUserProfileUrl check if $userId is member of [blogger] variable. If NOT $url="#" > This small change will impact the Avatar link and Name link 2. in cjblog content plugin > add check if userid is member of [blogger] variable. if NOT set $about = ""; 3. User listing (component) > same logic as #2 (content plugin)   So to sum up: 1. create new variable (type: usergrouplist) in cjblog component [blogger] (or other logical name). Set default value to 'author' nothing changes! 2. configure new variable [logger]  to the usergrouplist that the 'pro-bloggers' are member of: nothing changes for the members of group 'pro-blogger', for authors who are NOT member of configured 'pro-blogger' group, the avatar, profile link and about text will not be shown.   Note: the user still has a profile page and will be able to enter and change profile text: nothing changes here, it is only not reachable via the avatar or user name (link). This leaves room for creative users to remember the path (url) to their profile and link that themselves somewhere. Not a big one thou.   What do you think Maverick? I could conribute and test the changes if you would like me to :) regards, Ruud
  • Ruud van Lent replied to the topic Feature discussion: extra's for (paying) bloggers.

    Cool, the more I think about it, the more it makes sense :)

Powered by CjForum

Site Search

Trending Topics

Upload Track button not working
  • 9 replies
Hallo, I have a problem uploading new gps tracks. Clicking on the...

Latest questions
  • 1 reply
I am trying to recreate the very slim (just a header and topic...

Owner
  • 1 reply
I only have two questions per survey. Is it possible to place them...

GPS TOOLS v5.1.1 : IMPOSSIBLE TO CREATE TRACK
  • 1 reply
Hi Maverick, IMPORTANT ISSUE : After installing v5.1.1, it's...

Import Wordpress posts
  • 1 reply
Is there a migrator to do this? I have a site with nearly 600 posts...

Subscribe Newsletter