all these features are available in publisher, so I think we can create 3 templates inside this module : 1- to be used as blog 2- to be used for articles and news 3- to be used as content module.
I am building a new site where I need to do the following:
1. Add custom fields to user registration form. (I think can be done with the profile module that comes with xoops 2.5)
2. Periodically Import a list of users from a csv file, register them and add to a specific group and send a mail to these users with a generate password link.
3. Periodically update existing user details using a csv file and add them to a new group.
4. Also send mails to specific groups periodically & iff possible sms the members using a sms gateway.
Heavy CPU usage is a big concern even for me. My site got suspended for the same reason. I have deactivated APCAL module which seemed to be atleast part of the problem.
Now the cpu usage is down to 66% to 80% which is still too high, just my account is not getting suspended.
I am trying out extcal to replace APCAL on my site, lets see how does that go in a day or two.
Have disabled APCal will give it some time, test and revert again. Also if the problem is caused by apcal, anything that can be done to resolve it because schedules is one of the important sections of this site.
After I had updated my site from Xoops 2.5.4 to 2.5.5 beta and then to RC, it shows very high cpu consumption (anywhere between 66 to 100%), my site was suspended in between for this reason.
The modules I am using are: publisher (3 clones) extgallery APCal defacer mymenus xoopsfaq
Server details: Apache version 2.2.22 PHP version 5.2.17 MySQL version 5.1.61-cll Architecture i686 Operating system linux Path to sendmail /usr/sbin/sendmail Path to Perl /usr/bin/perl Perl version 5.8.8 Kernel version 2.6.18-374.12.1.el5.lve0.8.54 cPanel Pro 1.0 (RC1)
Tutorial to use the same css and .js file for all clones of publisher. 1. First I made the following changes to the publisher module a. Publisher/footer.php line25 Changed
The above steps are taken to stop the module from adding css & js files to the site (* I don’t use the rating function in any instance of publisher so did not touch behavior.js or rating.js.)
2. Next copied a. publisher.js and jquery.popeye-2.0.4.js from modules/publisher/js/ to themes/mytheme/js/
b. publisher.css and jquery.popeye.style.css from modules/publisher/css to themes/mytheme/css
3. Load the css and js files directly in the theme
4. Checked that the module is working as it should on my site after the above changes. 5. Cloned the module using the cloning feature in the admin area. The new modules are blog & work 6. Modified the templates of both blog and work to change css id and class. Replaced blog / work with publisher, everything else remaining same.
So for example in templates/blog_display_full.html
<div class="blog_collaps_title">
Becomes
<div class="publisher_collaps_title">
7. Also in all templates wherever there is a javascript code replaced
$blog
With
$publisher
So for example in templates/blog_item.html Line 170 to 181
Changed
<script type="text/javascript">
script>
To
<script type="text/javascript">
script>
8. Installed blog and work from the module installation section 9. Updated theme to include the css and js in blog and work module too.