11
aproape
Re: SEO hack for CBB v3.08
  • 2007/11/3 8:17

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Hi there riceking,

Quote:

riceking wrote:
Maybe what you did is something creative.

But I don't understand why the hack is better than "Simplied URL", as you said.

Does google search engine prefer to get a '.htm' static page under a site's root path directly, or prefer to explode a site's layers to get a dynamic page?


The main reason is the URL itself.

With Simplified URLs hack you get the /forum+topic+id.. etc

With the one we implemented - you no longer have the '+'s [which are a bit annoying by the way] and, most importantly, you have the topic title in the url which in turn does help with SEO.


Here,
aproape



12
aproape
Re: SEO hack for CBB v3.08
  • 2007/11/3 2:53

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Hi there mesol!

Quote:

mesol wrote:
With some modification, I think this hack can also be implemented in News module.


Correct. We are not using News atm - only SmartSection - but the attached hack is pretty easy to adapt to other modules as well [most likely you have to re-write the .htaccess rules as well as the header.php [or equivalent] in the module itself and the list of files that are used to serve the content].

Quote:

If I have Simplified URs hack activate in my site, do I have to inactivate it first (by commenting require simplified.php; in mainfile.php) ?


My apologies - I forgot to mention that if you have simplified URLs - you have to cancel the forums module by using the $cancel_module variable in simplified_url.php file.

$cancel_module = "newbb";

[unless you have other modules already canceled] [I will add this to the original post and archive - just in case].

Quote:

by the way, i try for my newbb butthe url become like this

http://www.mydomain.com/forum/t/266//&forum=42


Try the above..

also - make sure ALL modifications are made - from the first post [you shouldn't have that empty string between /266//


Here,
aproape



13
aproape
Re: SEO hack for CBB v3.08
  • 2007/11/2 19:36

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Heya suico,

Quote:

suico wrote:
Great job, have you submitted it as a patch in sourceforge.net for the cbb developers to include this feature in their next release?



Err - nope! I wasn't aware of that being in existence actually - and.. I will look into it. *smile*


Quote:

Thanks for sharing!


You're welcome!

I'd like to hear if anyone else has implemented it successfully and, by the way - I put there v3.08 however I am sure it can be back-ported to other versions as well - I just didn't tested with anything else.


Here,
aproape



14
aproape
Re: Search Engine Optimization (SEO)
  • 2007/11/2 17:50

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Good morning everyone,

I just made a post re:SEO for CBB v3.08- maybe this will help others as well:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=61568&forum=15

Enjoy!


Here,
aproape



15
aproape
SEO hack for CBB v3.08
  • 2007/11/2 17:03

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Good morning everyone!

We have implemented a better SEO for newbb and thought anyone else might benefit for this change.

It's working [for us at least] much better than using just the Simplified URL's mapping - and it looks much nicer

The results:

www.yourwebsite.com/SEO_forums_name/t/xx/topic_title/

IMPORTANT: You need apache + mod_rewrite installed in order for this hack to work.

Also, if you have suin's Simplified URLs hack - you have to cancel the forums module by using the $cancel_module variable in simplified_url.php file.

$cancel_module = "newbb";

[unless you have other modules already canceled, at which point you use $cancel_module = "other_module | newbb | etc"].

Now, to be a bit more descriptive:

1. SEO_forums_name => you define it. Can be anything, really.

2. /t/xx/ => identifier for the topic id. It will be created automatically by CBB when you make a new topic [/t/23/, /t/42/ and so on].

3. topic_title => the exact title of the topic - with dashes.

To give a real example, this particular topic [I am writing], would be:

https://xoops.org/forums/t/61568/seo-hack-for-cbb-v3.08/

We have used part of the SEO generation code from SmartSection - to make things more portable and easier.

Currently we are running XOOPS v2.0.16 with simplified URLs hack - and this new one for CBB v3.08 - all running very smoothly

Installation:

Download the archive from:

SEO for CBB v3.08

Step 1:

Put the following two lines in .htaccess in the root of your XOOPS installation [BEFORE the simplified URLs lines!]

RewriteRule ^SEO_forums_name/([a-z]+)/([0-9]+)(/(.+))? modules/newbb/seo.php?seoOp=$1&seoArg=$2&seoOther=$4&%{QUERY_STRING} [L]
RewriteRule ^SEO_forums_name(/)? modules/newbb/?%{QUERY_STRING} [L]


[make sure you replace SEO_forums_name with anything else you want for your URL => forums, forum, veryniceforums, etc!]

[I included these two lines already in a text file in the archive - considering these forums are breaking up the lines].

The same variable name needs to be replaced inside the seo_url.php file => [look for SEO_MODULE_NAME on line 7].

Step 2:

Add seo.php and seo_url.php from the archive into /modules/newbb/ directory - where you installed CBB

Step 3:

Replace header.php with the one from the archive - inside /modules/newbb/ directory.

[make sure that any changes you did to header.php - if any - are still valid or moved to the new file].

I hope this hack will help more people and sites and.. who knows - maybe we will see the new CBB version with SEO fully enabled! *smile*


Here,
aproape



16
aproape
Re: send PM link in CBB 3.08
  • 2007/8/7 2:27

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Heya mjoel,

Quote:

mjoel wrote:
thanks aproape ..


You're welcome!

If you need more help with it or anything - let me know.

It doesn't look exactly like the old userbar but it does the trick for us and I am happy with it. *smile*

Enjoy!


Cheers,
aproape



17
aproape
Re: send PM link in CBB 3.08
  • 2007/8/6 11:08

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Good morning everyone,

I was looking as well for the userbar functionality for CBB v3.08 and, of course, it's not there anymore..

However - I came across a hack done last year I believe by [KICKASSAMD?] which is no longer on his site so - I took it and host it on mine.

It's made for v3.04 however we are using it on v3.08 without any issues.

[back first - as always!] - I have also modified the icon_profile.gif and included the .png in case someone feels more artsy *smile*.

CBB_userbar

Also - if you want to adjust the elements to be shown - edit class/user.php and comment out the lines after [KICKASSAMD] comment..

Enjoy!


Cheers,
aproape



18
aproape
Re: Mp Manager 2.6 beta
  • 2007/8/5 17:07

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Hi there,

OK - Just found another thread on your support site:

http://lexode.info/mods/modules/newbb/viewtopic.php?topic_id=86&forum=2

- which - _might_ take care of the lost PMs.. we'll see. pmlite modified already.

The compatibility question still remains - can we use v2.6 with x2.0.16?

Merci!!


Cheers,
aproape



19
aproape
Re: Mp Manager 2.6 beta
  • 2007/8/5 16:55

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Hi there,

Is v2.6 compatible with XOOPS v2.0.16?

If not - can it be made - by any chance? [I don't know if I we can upgrade our v2.0.16 to the custom v2.0.17.. yet?]

--

Also - we found a bug in v2.5 - where can we report it? Not sure if it's still present in v2.6 - it seems that - sometimes, PMs get lost [meaning - they are sent to UID 0 instead of the person they are meant to - and they stay in DB unread forever].

Thanks!


Cheers,
aproape




TopTop
« 1 (2)



Login

Who's Online

180 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

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

Latest GitHub Commits