1
solomongaby
Re: SEO Hack for news Module
  • 2007/11/18 0:47

  • solomongaby

  • Just popping in

  • Posts: 5

  • Since: 2007/10/4


marcionline : you have to put the Rewrite rules in the root .htaccess file

mesol :
My guess without seing the code is that some how the 2 hacks are in conflict with each ever. To solve you're problem contact me by IM at you're choise ( yahoo, MSN, ICQ ) that you can find in my profile



2
solomongaby
Re: SEO Hack for news Module
  • 2007/11/15 20:13

  • solomongaby

  • Just popping in

  • Posts: 5

  • Since: 2007/10/4


can i have you're site URL so we can try and fix you're problem



3
solomongaby
Re: SEO Hack for news Module
  • 2007/11/11 8:48

  • solomongaby

  • Just popping in

  • Posts: 5

  • Since: 2007/10/4


I have added the linux rewrinting in the post.
As far as special caracters .... i have added ' and " as special characters to be replaced. If you find any more character, you can just add them in the function make_url().
Or you can post them here and i will add them.

Thank you all for you're reply's



4
solomongaby
SEO Hack for news Module
  • 2007/11/10 16:58

  • solomongaby

  • Just popping in

  • Posts: 5

  • Since: 2007/10/4


After reading about people interest in SEO ... and urlrewriting for the XOOPS news Module i decided to write an article about how to achive that.

The article explains how to go from
www.website.com/module/news/index.php?storytopic=5
to
http://www.ps2home.co.uk/ps2-c5-reviews.html
where ps2 is the module's name and reviews the topic name

and from
http://www.website.com/modules/news/article.php?storyid=24
to
http://www.website.com/ps2-191-the-simpsons-game.html
where ps2 is the module's name and the-simpsons-game is the articles name

Curently we are working on an installer to make easyer for people to install the hack.

You can find the article at GSDesign Blog



5
solomongaby
Re: How to clone News 1.44 module?
  • 2007/10/4 22:18

  • solomongaby

  • Just popping in

  • Posts: 5

  • Since: 2007/10/4


the error i myself encountered is

Fatal error: Call to undefined function: pspid() in C:\Domains\ps2home.co.uk\wwwroot\modules\psp\index.php on line 192

why this apear is beacause news section has a class called NewsStory extends XoopsStory wich is in the main class dir of xoops, and storyid() - that is the original name of the function before replace - is in the XoopsStory class.

The current fix i made is to replace all the pspid() back to the original storyid() .... seemed to work.

I will keep you posted :)

Cheers

[later edit]

it stoped all the errors ... but the storyid is not shown ... and so you can view/edit/delete news :( .... still searching for a solution

so far this seems to work ...
use clone script but remove the line 'storyid' => 'newsectionid',
you still need to rename a file :
article.php -> newsectionitem.php

and in that file find :
$xoopsOption['template_main'] = 'ps3_ps3item.html';
see how it has an extra ps3 ( that was my case ) the proper name is ps3_item.html

so far so good ... wish me luck




TopTop



Login

Username:
Password:

Lost Password? Register now!

Who's Online

47 user(s) are online (23 user(s) are browsing Support Forums)


Members: 0


Guests: 47


more...

Donat-O-Meter

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

Latest GitHub Commits