1
kaotik
Migrate to Mywords - 1 script for multiple modules
  • 2010/5/3 13:38

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


This 1 script will migrate the following modules: News, Content and Smartsection to MyWords.
This new version also has some added tweaks.
I'm adding more modules to migration list.

Download

2
acegamer
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/3 15:45

  • acegamer

  • Not too shy to talk

  • Posts: 162

  • Since: 2005/7/11


you have some demo?

3
kaotik
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/3 16:54

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


no, I don't have a demo of mywords.
You can try the new comments on my site. Just click on tutorials.

Have you ever tried wordpress? Think of MyWords as a xoops module designed from scratch, based on wordpress concepts.
It's an incredibly easy content module!! I'm really excited about this Any user can take this and immediately start publishing to the web!

Mywords is also tied into rmcommon. Which provides added functionality to other modules. It gives you a powerful and modern comment system. A great image and media manager and more.

It also has a terrific admin theme.

4
option
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/3 17:01

  • option

  • Just popping in

  • Posts: 50

  • Since: 2006/5/24


demo? yes.
http://leetudestino.com/articulos/
Thanks Kaotik

5
kaotik
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/3 17:06

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


option: Nice site!!
I espcially like the social bookmarks js at the bottom of the page

6
demian
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/3 23:56

  • demian

  • Quite a regular

  • Posts: 225

  • Since: 2008/4/29


option..

really nice site ....

wow is that really mywords ?

how do you do the seo thing...how do you remove the module in url and rename the module?

7
bjuti
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/4 9:19

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Great. MyWord does need only meta description to be awsome!

8
kaotik
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/4 10:34

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I've provided a meta description and keywords solution here.

9
bjuti
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/4 10:52

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Gee! Tnx! Is far as I seen it's automatic generation? Is is possible user to enter meta desc. of it's own? Eg. Every article that I wrote i do make specific meta desc enabling unique criteria for Google with keywords stiffing etc. :)

10
kaotik
Re: Migrate to Mywords - 1 script for multiple modules
  • 2010/5/4 11:22

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


bjuti:
This will allow you to add custom descriptions and keywords per post. If you don't add them, the site will generate them automaticly.

open mywords/post around line 170 find:
//Trackback
if ($post->getVar('pingstatus')) {
    
$tb = new MWTrackback($xoopsConfig['sitename'], $editor->getVar('name'));
    
RMTemplate::get()->add_head(
            
$tb->rdf_autodiscover(date('r'$post->getVar('pubdate')), $post->getVar('title'), TextCleaner::getInstance()->truncate($post->content(true), 255), $post->permalink(), MWFunctions::get_url(true).$post->id(), $editor->getVar('name'))
    );
}


replace with this:
//Trackback
if ($post->getVar('pingstatus')) {
    
$tb = new MWTrackback($xoopsConfig['sitename'], $editor->getVar('name'));
    
RMTemplate::get()->add_head(
            
$tb->rdf_autodiscover(date('r'$post->getVar('pubdate')), $post->getVar('title'), TextCleaner::getInstance()->truncate($post->content(true), 255), $post->permalink(), MWFunctions::get_url(true).$post->id(), $editor->getVar('name'))
    );
}

$metaDesc=$post->get_meta('mymeta_desc',false);
$Mdesc substr($post_arr['text'], 0150);
$Mdesc=strip_tags($Mdesc);

if (empty(
$metaDesc)) {
    
$xoTheme->addMeta'meta''description'$Mdesc);
} else {
    
$xoTheme->addMeta'meta''description'$metaDesc);
}

$metaKeys=$post->get_meta('mymeta_keys',false);
if (empty(
$metaKeys)) {
    
$Mkeys=preg_replace('/s/',','$Mdesc); //replace all spaces with ,
    
$xoTheme->addMeta'meta''keywords'$Mkeys);
} else {
    
$xoTheme->addMeta'meta''keywords'$metaKeys);
}


Now edit your post and ADD these 2 custom fields:
mymeta_desc
-Used for description
mymeta_keys
-Used for keywords

Login

Username:
Password:

Lost Password? Register now!

Who's Online

63 user(s) are online (36 user(s) are browsing Support Forums)


Members: 1


Guests: 62


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits