xoops forums

Forum Index


Board index » All Posts (nmshah)




nmshah

Just can't stay away
Posted on: 2013/5/7 15:00
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#1

Re: Meta tag module "XBS MetaTags" or similar

Y0u can also look for a module by Trabis "defacer", it has the ability to add meta tags to pages from other modules.


nmshah

Just can't stay away
Posted on: 2012/7/4 13:10
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#2

Re: Starting a Content/News Module Development Team

Quote:
@Mariane

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.

what do you think?


+1


nmshah

Just can't stay away
Posted on: 2012/5/3 20:56
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#3

Import and update user details with csv

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.

Can some one suggest a module/s for the same...


nmshah

Just can't stay away
Posted on: 2012/4/24 6:12
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#4

Re: XOOPS 2.5.5 Final Released

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.


nmshah

Just can't stay away
Posted on: 2012/4/12 10:09
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#5

Re: XOOPS 2.5.5 RC Testing

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.


nmshah

Just can't stay away
Posted on: 2012/4/11 20:10
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#6

Re: XOOPS 2.5.5 RC Testing

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)



nmshah

Just can't stay away
Posted on: 2012/3/19 8:27
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#7

Re: XOOPS 2.5.5 Beta Issues

I also get the following error when I use xoopsimage manager within publisher module

Warning: Class xoopsmodule not found in file /class/xoopsload.phpat line 105 in file /class/xoopsload.php line 105


nmshah

Just can't stay away
Posted on: 2012/3/15 16:58
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#8

Re: XOOPS 2.5.5 Beta Issues

Disabled jgrowl

No error in contact 1.7.1 module still and the mails are also not being sent

In xforms, I get the following error:

Warning: mkdir() [function.mkdir]: No such file or directory in file

/modules/xforms/include/common.php line 19


nmshah

Just can't stay away
Posted on: 2012/3/14 18:08
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#9

hacking publisher and its clones to use same instances of js and css

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
$xoTheme->addStylesheet(PUBLISHER_URL '/css/publisher.css');

To
//$xoTheme->addStylesheet(PUBLISHER_URL . '/css/publisher.css');


b. Publisher\include\functions.php
Changed line 37
<link type="text/css" href="' . PUBLISHER_URL . '/css/publisher.css" rel="stylesheet" />

To
//<link type="text/css" href="' . PUBLISHER_URL . '/css/publisher.css" rel="stylesheet" />

c. Publisher/item.php
Changed lines 44 to 47
From
$xoTheme->addStylesheet(PUBLISHER_URL '/css/jquery.popeye.style.css');
$xoTheme->addScript(XOOPS_URL '/browse.php?Frameworks/jquery/jquery.js');
$xoTheme->addScript(PUBLISHER_URL '/js/jquery.popeye-2.0.4.js');
$xoTheme->addScript(PUBLISHER_URL '/js/publisher.js');

To
// $xoTheme->addStylesheet(PUBLISHER_URL . '/css/jquery.popeye.style.css');
// $xoTheme->addScript(XOOPS_URL . '/browse.php?Frameworks/jquery/jquery.js');
// $xoTheme->addScript(PUBLISHER_URL . '/js/jquery.popeye-2.0.4.js');
// $xoTheme->addScript(PUBLISHER_URL . '/js/publisher.js');

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

a. Loading jquery from googleapi

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

b. Loading js and css files only in publisher module
<{if $xoops_dirname=='publisher'}>
<
link rel="stylesheet" type="text/css" media="all" href="<{xoImgUrl css/blog.css}>" />
<
link rel="stylesheet" type="text/css" media="all" href="<{xoImgUrl css/ jquery.popeye.style.css}>" />

  <
script type="text/javascript" src="<{xoImgUrl js/publisher.js}>"></script>
  <
script type="text/javascript" src="<{xoImgUrl js/ jquery.popeye-2.0.4.js }>"></script>
<{/if}>

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">
    <!--
//<![CDATA[
    
$blog(document).ready(function ()
    {
        var 
options = {
            
caption:    'permanent'
        
}

        
$blog('#ppy3').popeye(options);
    });
    
//]]>-->
</script>

To
<script type="text/javascript">
    <!--
//<![CDATA[
    
$publisher(document).ready(function ()
    {
        var 
options = {
            
caption:    'permanent'
        
}

        
$publisher('#ppy3').popeye(options);
    });
    
//]]>-->
</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.

Changed in the above point 3 (b)
<{if $xoops_dirname=='publisher'}>

To
<{if $xoops_dirname=='blog' || $xoops_dirname=='work' || $xoops_dirname=='publisher'}>


10. Checked blog and work module to see that they are working correctly.

So now I have three instances of publisher using the same css and js.


nmshah

Just can't stay away
Posted on: 2012/3/14 12:48
nmshah
nmshah (Show more)
Just can't stay away
Posts: 556
Since: 2007/7/2 8
#10

Re: XOOPS 2.5.5 Beta Issues

Jquery is being loaded only once. You can check the modules online here

http://swayamsat.org/modules/xforms/ and
http://swayamsat.org/modules/contact/



TopTop
(1) 2 3 4 ... 49 »