Kunena 6.3.0 released
The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3
Question Category Subscriptions - Default Subscribed?
Will it be possible to set Category Subscriptions by default for new all users? Also for the initial setup after the upgrade? Currently I am not seeing this in RC3?
Naturally they would be able to change their subscriptions if they want, but by default I need everyone subscribed. We use our forums as a mailing list to ensure everyone is up to date if they dont log into the website. But as noted, if they want to remove their subscriptions they can.
Thank You.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Also, I subscribed to this topic when I posted it, and I just now confirmed it in my profile, but I did not receive a email saying you replied?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
For this example to make it easy to locate the info I would need to change we will use the following info:
Category Name: KingKong
Category ID: 234987
Now, from my looking in the **/components/com_kunena/kunena.php file I located the following code which I believe is used to subscribe to a category:
lines 526-549
How would this be edited and placed into the system - kunena plugin file (**/plugins/system/kunena.php) ?? I will work on it and if I happen to stumble across it I will post the solution here. In the mean time I am reaching out for help. :silly:
Thanks a ton!
Please Log in or Create an account to join the conversation.
it would work, however it did not.... note I did use a real category ID but reguardless if I had not it still should have put it in the mysql table, which it did not.
So I then went as far as to do a complete login to the database (yes I changed the values to real values), and this still did not work. For the life of me I can not seem to get ANYTHING to insert into the table.... wth????
of course I am able to manually enter values into the table, so that will solve my migration issue, but I still need it to automatically add new users.
Any of you coding gods have an idea???
Thanks!
Please Log in or Create an account to join the conversation.
now, obviously we dont want this to run every single time a user changes pages on the website (which is what its doing right now with the above code). So I have tried to implement a check on the user's last login seeing as I dont know any other way to check for the user being new.
what I have to attempt this is:
Now, this is stopping it from setting the logged in user subscribed to the category whenever they change pages on the website, in fact its not subscribing at all right now because it is not finding a match for the if statement.... That is where something is wrong, its not catching when the user has a lastvisitDate of 0000-00-00 00:00:00 to which my theory is that this is set to the current time/date the instant you log in, before the "system - kunena plugin" even runs the php file with the above code....
any thoughts?
Please Log in or Create an account to join the conversation.
So you will need to do something like this when user gets created:
That will subscribe user to all selected categories, including those he cannot see. Well, that should be OK as they are not counted if user doesn't have permissions..
Please Log in or Create an account to join the conversation.
WARNING: Never use this for large sites with many users. Sending email is pretty slow and even if you use this for one category, it may make posting messages into it REALLY SLOW.
So this feature may be useful for small sites having maybe up to 50-100 users. Well, maybe we will have better emailing system for the next version.
Please Log in or Create an account to join the conversation.
PS. this subject belongs into hacks category..
Please Log in or Create an account to join the conversation.