1
doosh
Re: SEO hack for CBB v3.08
  • 2008/11/11 11:05

  • doosh

  • Just popping in

  • Posts: 6

  • Since: 2008/9/11


I've found this line on the newbb/seo_url.php file which can sanitize the urls like I want but only if you are using Multilanguage


* if XOOPS ML is presentlet's sanitize the title with the current language      */      $myts = MyTextSanitizer::getInstance();    if (method_exists($myts, 'formatForML')) {       $title = $myts->formatForML($title);      }


But I'm using Xlanguage. Can anyone with decent php knowledge show me how to change this to do the same for sites using Xlanguage?

Actually i need it to just choose the english language title for the url

Thanks



2
doosh
Re: SEO hack for CBB v3.08
  • 2008/10/30 6:41

  • doosh

  • Just popping in

  • Posts: 6

  • Since: 2008/9/11


Bump



3
doosh
Re: SEO hack for CBB v3.08
  • 2008/10/28 4:44

  • doosh

  • Just popping in

  • Posts: 6

  • Since: 2008/9/11


I've just installed this hack, its just what I was looking for so thanks a lot!

But I have a few new problems

1. Newbb Blocks that are displayed outside the forum pages (eg homepage) do not have their URL's changed - how can I correct this?

2. My changed URLs still show the ugly old stuff after the title,, so like this:

forum/t/794/essay-writing/?&forum=28&post_id=3806#forumpost3806

Can i get rid of this last bit?

3. I use Xlanguage and the second language is chinese so the url shows both titles with langauge tags (but the chinese displays as gibberish), like this:

enhello-my-title-is-here-enzh%CA%D0%B3%A1%D1%A7%D7-zh

[en] and [zh] being the language tags. Is there any way i can correct this? If not I'll have to go back to the old ugly urls. Is there any way to tell the seo rewrite to just add the words that lie between the [en] tags? Or perhaps can i make it just add the first four words to the title? That way it might end up like this:

forum/t/794/enhello-my-title-is

Not perfetct but better than nothing

Thanks so much. Really hope someone can help me with this. I really need to improve seo but I'm not too hot on rewrite



4
doosh
Re: Renaming /modules/ can I make this change?
  • 2008/9/20 2:35

  • doosh

  • Just popping in

  • Posts: 6

  • Since: 2008/9/11


Can anyone tell me if i can use this method to rename already installed modules - what changes are required?



5
doosh
Re: Renaming /modules/ can I make this change?
  • 2008/9/17 3:39

  • doosh

  • Just popping in

  • Posts: 6

  • Since: 2008/9/11


Thank you very much

Turns out the problem was because I hadn't done it for the uploads folder (thought it was just full of images). That did it

Can I ask for more help?

Can I use this same method to rename modules? What search and replaces would be needed?

I tried to search and replace all files in one module, simply replacing the old name for the new one and then rename the module folder but that didn't work..(blank pages)

Can anyone advise how to do this?

Thanks a lot



6
doosh
Re: Renaming /modules/ can I make this change?
  • 2008/9/11 12:21

  • doosh

  • Just popping in

  • Posts: 6

  • Since: 2008/9/11


Hi I just tried to do this. But there are some problems. Most of my website is ok but on admin side I can't do anything.

I cleared the cache but now when i try to enter admin, after pressing 'this is my first time to enter admin..' I just get a blank page (and no adminmenu.php is generated in my cache).

Also although I can go to the admin of my modules by typing in their address but if i try to update anything I also get the blank page.

And two of my modules don't display (just a blank page).

I've made the above changes and uploaded many times.

Sorry to be a pain but I am stuck. Can anyone help me figure what the problem is? Thanks

I am on XOOPS 2.0.18




TopTop



Login

Who's Online

226 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

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

Latest GitHub Commits