vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - YABBSEO[vB] Lite - Another Better SEO Module for vB 3.8.x (https://vborg.vbsupport.ru/showthread.php?t=203849)

Jaxel 02-08-2009 01:11 AM

Quote:

Originally Posted by yabsoft (Post 1736465)
Try to edit .htaccess:
Code:

RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
change to
Code:

RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images|wiki)/
That will make YABBSEO work with your wiki.

I actually tried that... but it didn't fix anything, so I had to uninstall this mod.

Code:

Options +FollowSymLinks
RewriteEngine On

#### vBulletin
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images|w|wiki)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ yabbseo.php?bbseourl=$1&%{QUERY_STRING} [L]

#### MediaWiki
RewriteRule ^wiki/index.php/(.*)$ /wiki/$1 [R,L]
RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /w/index.php [L,QSA]

#### Charset
AddDefaultCharset Off

#### Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)(js|css)$ redirect.php?file=$1$2&type=$2 [L]
</IfModule>

#### ETags
FileETag None

#### Expires
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
</IfModule>

The problem is that I am using this bridge: and while your mod works fine searching for the "forum/yabbseo" folder, it cant find "forum/wiki/yabbseo" folder... since it doesnt exist. The URL to the yabbseo folder should be absolute, not relative.

https://vborg.vbsupport.ru/showthread.php?t=191186

allinvain 02-09-2009 05:12 AM

Quote:

Originally Posted by giorgioarmani (Post 1737295)
Thanks allinvain...

How easy is it to install?

It's quite easy to install as long as you're comfortable with editing your .htaccess . The rest is just simple uploading and importing product from your vbulletin control panel.

allinvain 02-09-2009 05:28 AM

Quote:

Originally Posted by yabsoft (Post 1737319)
Add the following code into your yabbseo/data/config.php:
PHP Code:

'image:' => 
    array (
      
=> 'background\\-',
      
=> 'url',
      
=> '\\(',
      
=> '\\>',
      
=> '1',
    ), 

after
PHP Code:

'import' => 
    array (
      
=> '\\@',
      
=> 'url',
      
=> '\\(',
      
=> '\\"',
      
=> '1',
    ), 


Excellent! That did the trick! :) Thanks. Now the only other issue that I believe needs to be fixed is some sort of workaround for the odd character names..if possible.

Check out this link:

http://www.forexnirvana.com/memberlists/*.html?pp=30

Click on the "^eagle^".....for an example.

UPDATE: Ok, found another problem, now the new posts links won't work...it badly mangles the link..ie

"http://www.forexnirvana.com/f-/--p1262.html#post1262"

oddly enough it doesn't do it for all posts.

AGAIN UPDATE: on my ok it works again now..I'm confused, that the heck is going on..lol

yabsoft 02-09-2009 11:28 AM

Quote:

Originally Posted by Jaxel (Post 1737442)
I actually tried that... but it didn't fix anything, so I had to uninstall this mod.

Code:

Options +FollowSymLinks
RewriteEngine On

#### vBulletin
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images|w|wiki)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ yabbseo.php?bbseourl=$1&%{QUERY_STRING} [L]

#### MediaWiki
RewriteRule ^wiki/index.php/(.*)$ /wiki/$1 [R,L]
RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /w/index.php [L,QSA]

#### Charset
AddDefaultCharset Off

#### Gzip
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)(js|css)$ redirect.php?file=$1$2&type=$2 [L]
</IfModule>

#### ETags
FileETag None

#### Expires
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType text/css A2592000
ExpiresByType application/x-javascript A2592000
</IfModule>

The problem is that I am using this bridge: and while your mod works fine searching for the "forum/yabbseo" folder, it cant find "forum/wiki/yabbseo" folder... since it doesnt exist. The URL to the yabbseo folder should be absolute, not relative.

https://vborg.vbsupport.ru/showthread.php?t=191186

Try to arrange your code :
Code:

#### vBulletin
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images|w|wiki)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ yabbseo.php?bbseourl=$1&%{QUERY_STRING} [L]

#### MediaWiki
RewriteRule ^wiki/index.php/(.*)$ /wiki/$1 [R,L]
RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /w/index.php [L,QSA]

like this
Code:

#### MediaWiki
RewriteRule ^wiki/index.php/(.*)$ /wiki/$1 [R,L]
RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /w/index.php [L,QSA]

#### vBulletin
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images|w|wiki)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ yabbseo.php?bbseourl=$1&%{QUERY_STRING} [L]


yabsoft 02-09-2009 11:51 AM

Quote:

Originally Posted by allinvain (Post 1738428)
Excellent! That did the trick! :) Thanks. Now the only other issue that I believe needs to be fixed is some sort of workaround for the odd character names..if possible.

Check out this link:

http://www.forexnirvana.com/memberlists/*.html?pp=30

Click on the "^eagle^".....for an example.

UPDATE: Ok, found another problem, now the new posts links won't work...it badly mangles the link..ie

"http://www.forexnirvana.com/f-/--p1262.html#post1262"

oddly enough it doesn't do it for all posts.

AGAIN UPDATE: on my ok it works again now..I'm confused, that the heck is going on..lol

Do you have the hook "Search members" enabled under YABBSEO module at vB AdminCP? I have tested the same username at my test forum, and it is working fine.

About the new post url, I before came across such behaver also, but it disappear soon and I could not track the issue. But I am trying to modify the code to stop this happen again. This may cost an extra sql query to make the url redirect correct.

By the way, anyone installed my module experiences any higher server loading?

trickfly 02-09-2009 01:45 PM

Does this work along side vbSEO ? or will it interfere with it ?

Ekremxx 02-09-2009 02:03 PM

Quote:

Originally Posted by Adam21 (Post 1732870)
Edit: Its there a way to remove the forum id from the rewrite url?
i.e:
Code:

http://www.myforum.com/forum/forumid-forum description/thread title.html


i cant remove that...
'forumtitleonly' => '1', i try but cant run i romove

f{forum_id cant run cant find adress:S

Invalid Forum specified. If you followed a valid link, please notify the administrator

elmati 02-09-2009 03:27 PM

Quote:

Originally Posted by yabsoft (Post 1738616)
Do you have the hook "Search members" enabled under YABBSEO module at vB AdminCP? I have tested the same username at my test forum, and it is working fine.

About the new post url, I before came across such behaver also, but it disappear soon and I could not track the issue. But I am trying to modify the code to stop this happen again. This may cost an extra sql query to make the url redirect correct.

By the way, anyone installed my module experiences any higher server loading?


Where is the hook "Search members" enabled under YABBSEO module at vB AdminCP? i cant find that...

in vbulletin options i cant find any yabbseo options...

yabsoft 02-09-2009 04:29 PM

Quote:

Originally Posted by elmati (Post 1738778)
Where is the hook "Search members" enabled under YABBSEO module at vB AdminCP? i cant find that...

in vbulletin options i cant find any yabbseo options...

Oh la la, the hook was missing in my attachment. Now you can add it manually:

Plugins & Products>Add New Plugin
Product: YABBSEO[vB]
Hook Location: member_start
Title: Search members
Plugin PHP Code:
PHP Code:

include 'yabbseo/forumhook/match_member.php'

Or we will update the our module soon and so you can upgrade it directly.

yabsoft 02-09-2009 04:31 PM

Quote:

Originally Posted by trickfly (Post 1738675)
Does this work along side vbSEO ? or will it interfere with it ?

I don't think it will work with VBSEO. Two products both aim to reswrite forum urls to the static one. So we don't have any reason to install them at the same time.


All times are GMT. The time now is 04:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01360 seconds
  • Memory Usage 1,775KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (3)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete