1
nmshah
question on xbs meta tags module
  • 2008/2/8 14:35

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


i wish to use the xbs meta tags module to generate keywords and description for content created by other modules but the page title should not be changed. What should i be writing in the page title option under xbs tags? pls help

2
adam_m_erick
Re: question on xbs meta tags module

I have been using 2.0.18 for some time and want to SEO. Were you able to make it work?

Any Suggestions?

3
nmshah
Re: question on xbs meta tags module
  • 2008/6/26 20:19

  • nmshah

  • Just can't stay away

  • Posts: 556

  • Since: 2007/7/2 8


no, i wasn,t able to do this, so instead i have started using modules that have their own seo features like pico, smartsection, articles(by phppp)

4
adam_m_erick
Re: question on xbs meta tags module

I haven't started yet but my idea is to combine 2 tutorials and a little insight into great SEO statics inside Xoops.

1. Create the page you want in content.

2. Create minimal XOOPS module

3. Inside the index.php file were it says
* echo "Hello World"
place a php break before it and a php start after.

4. View source of content page created and copy "just" the section that would be in the main block.

5. Paste that section over the "echo "hello word section. You know have a static module.

6. Go back into content and hide the same page in content from the world but save it in case you need to do some quick edits.

7. This part I haven't tested but it should work in theory.
Replace meta name info section with if/else statement found here.

https://xoops.org/modules/smartfaq/fag.php?faqid=362

Instructions on minimal XOOPS module is in the wiki section.

https://xoops.org/modules/mediawiki/index.php/A_minimal_Xoops_module

This should work for some of the pages I really want to stick out. Like the home page.

5
srdjan007
Re: question on xbs meta tags module
  • 2008/7/9 9:55

  • srdjan007

  • Just popping in

  • Posts: 6

  • Since: 2008/7/9 9


Hello there, I have a little problem - big for me I suppose...I am using XOOPS 2.0.18.1, and have succesfuly instaled xbs_tags module. I have changed the footer.php as it is described for 2.0.14:

before the line (at line 39)

$xoopsTpl->display('db:'.$xoopsOption['template_main']);

Insert

/**
* Hack by A Kitson to enable XBS MetaTags
*/
if (file_exists(XOOPS_ROOT_PATH."/modules/xbs_tags/include/metatags.php")) {
include XOOPS_ROOT_PATH."/modules/xbs_tags/include/metatags.php";
}
/**
* End hack
*/

before the line (at line 75)

$xoTheme->render();

Insert

/**
* Hack by A Kitson to enable XBS MetaTags
*/
if (file_exists(XOOPS_ROOT_PATH."/modules/xbs_tags/include/metatags.php")) {
include XOOPS_ROOT_PATH."/modules/xbs_tags/include/metatags.php";
}
/**
* End hack
*/


but if I use the module I am able to change only TITLE of the page but not the description and keywords. Is there some more tricks about this? Do I have to change my theme.html=? or header.php? Could anyone help please. Thx.

6
adam_m_erick
Re: question on xbs meta tags module

From XOOBYDOO a couple of years ago:
Quote:
Change line 61 in the include/metatags.php file to read

$v2014 = ((XOOPS_VERSION == 'XOOPS 2.0.14')||(XOOPS_VERSION == 'XOOPS 2.0.15')||(XOOPS_VERSION == 'XOOPS 2.0.16'));

So from inside the tag module /include/metatags.php

replace with this on line 61
$v2014 = ((XOOPS_VERSION == 'XOOPS 2.0.14')||(XOOPS_VERSION == 'XOOPS 2.0.18')||(XOOPS_VERSION == 'XOOPS 2.3.0')||(XOOPS_VERSION == 'XOOPS 2.3.0-beta'));[/quote]

Worked for me using 2.3.0-beta I was not sure if 2.3.0 or 2.3.0-beta would work. so I used both.

Good Luck

7
srdjan007
Re: question on xbs meta tags module
  • 2008/7/10 12:39

  • srdjan007

  • Just popping in

  • Posts: 6

  • Since: 2008/7/9 9


It is working! Great, you solved my problem! Thx very very much!

8
adam_m_erick
Re: question on xbs meta tags module

Welcome, I'm glad it works for you(and me).

SEO just got a little easier. Thanks to XOOBYDOO

It also works on simple modules I created that just have html content in them so far.

9
carisio
Re: question on xbs meta tags module
  • 2008/9/24 15:50

  • carisio

  • Just popping in

  • Posts: 10

  • Since: 2004/4/10


Hi. I too XOOPS 2.0.18.

I made the same changes that I read here and the module seems to work.
I have set for each module the metatags (Page Title,
Page Description, Keywords)

But if control the source of a page with Firfox or IntenetExplorer I do not see anything new.
The metatags are still those of XOOPS

10
adam_m_erick
Re: question on xbs meta tags module

Make sure in the admin area / page index that you are using the right setting, there are so many. MostOrder, TextOrder, DB. I haven't done a lot with it lately I think once you have entered in data for the meta description you switch it from XOOPS to DB.
Make sure you are not using the XOOPS DB for Meta Tags.

Login

Who's Online

274 user(s) are online (187 user(s) are browsing Support Forums)


Members: 0


Guests: 274


more...

Donat-O-Meter

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

Latest GitHub Commits