Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
YABBSEO[vB] Lite - Another Better SEO Module for vB 3.8.x Details »»
YABBSEO[vB] Lite - Another Better SEO Module for vB 3.8.x
Version: 1.1, by yabsoft yabsoft is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 01-31-2009 Last Update: 03-28-2010 Installs: 76
Uses Plugins
Additional Files Translations  
No support by the author.

The FULL version is available here.

YABBSEO[vB] Lite

YABBSEO[vB] is a well-developed easy-to-use lighty module for vBulletin aiming at optimizing your forum for Search Engines. This is a lite version and a full version will come with GUI for controling lots of options of YABBSEO.

Main Features:
1. Customised Forumdisplay, Showthread, Member profile url, etc...
Edit yabbseo/data/config.php:
PHP Code:
'template' => 
    array (
      
'showthreadpage' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}-page{thread_page}.html',
      
'showthread' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}.html',
      
'showthreadnew' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}-newpost.html',
      
'showthreadpost' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}-p{post_id}.html#post{post_id}',
      
'forumdisplaypage' => 'f{forum_id}-{forum_title}/index{forum_page}.html',
      
'forumindex' => 'forumindex.html',
      
'forumdisplay' => 'f{forum_id}-{forum_title}',
      
'member' => 'members/{username}.html',
      
'memberlistpage' => 'memberlists/{member_page}.html',
      
'memberlistltr' => 'memberlists/{letter}.html',
      
'memberlistltrpage' => 'memberlists/{letter}-{member_page}.html',
      
'memberlist' => 'memberlists',
    ), 
2. Built-in Multiple languages supported. You don't need manually list the special chars to convert. Tested with Deutsch, Espa?ol, Fran?ais, T?rk?e.

3. 301 safe redirecting dynamical url to the above static url.

4. Add "no=follows" for all external site url.

5. Lots of options in yabbseo/data/config.php. For example, removing comman words in static url, customised keyword separator. Ability to create your customised url for other content.

6. Parse archive pages and redirect thread links to the static one.

7. Improve meta keywords for thread pages.

8. Canonicalization Url Support.

9. Redirect external urls by a custom script.

Lots of other improments...

Live Demo(vB3.7.1:
http://yabsoft.info/demo/vbforum

Live Site(vB 3.8.4):
https://yabsoft.com/forum

------------------------------------------
|YABBSEO[vB] Installation Requirements
------------------------------------------

1. Mod-rewrite Module for Apache server.
2. Entered Forum URL at vBulletin Admin CP > vBulletin Options > Site Name / URL / Contact Details.

Installing YABBSEO[vB]

Quote:
1. Extracting the installation package

Download and extract the installation package into a directory in your local computer.

2. Uploading YABBSEO[vB] to the Server.

You only need upload all files in /upload to your vBulletin installation.

3. Go into vBulletin's Admin CP > Plugins & Products > Manage Products.

a). Click on 'Import Product' and select 'overwrite'.
b). Click on the 'Browse' button, and browse to the location where YABBSEO[vB]'s installation package was extracted.
c). Find a file named Product-YABBSEOLite-1.0.xml in the root directory YABBSEO[vB].
d). Click on 'Import'.

4. Uploading the .htaccess file

If your server does not have a .htaccess file in its root, then upload the .htaccess file found in the YABBSEO[vB]'s installation package.

If your server already has a .htaccess file in its root of vBulletin installation, then the content of YABBSEO[vB]'s .htaccess will have to be merged into the main .htaccess file.
Versions:
YABBSEO[vB] Lite v1.1.0 At 01 Nov 2009
YABBSEO[vB] Lite v1.0.1 At 15 Feb 2009
YABBSEO[vB] Lite v1.0.0 At 05 Feb 2009

Updates of YABBSEO v1.1: Latest version!
Please see the following post with detailed directions and explanations of yabbseo/data/config.php.

Updates of YABBSEO v1.0.1:
1. Now YABBSEO supports mysqli connection.
2. Fix a serious bug that cause script not to parse the external url correctly.
3. Adding a miss hook in v1.0.0 for search members to redirect to the correct profile url.
4. Adding some HTML tags parsing to correct some images not showing.
5. Fixing some redirecting error reported by members here.
6. Fix a bug for parsing the birthday members profile url in the front page of forum.

How to update your installation of YABBSEO v1.0.1:
Untill now, you only need redownload the attachment to update the php scripts files and then reimporting the product XML file. BUT you must be careful if you have modified the file yabbseo/data/config.php. When you upload new scripts, please don't overwrite your customised config.php. And a backup of old installation is recommended when you make any updates on current installation.

Some previous installation may not include such TAG parsings in yabbseo/data/config.php, if yes, you need add them manually(suppose you don't want to overwrite config.php directly)
PHP Code:
'import' =>
    array (
      
=> '\\@',
      
=> 'url',
      
=> '\\(',
      
=> '\\"',
      
=> '1',
    ),
    
'image:' =>
    array (
      
=> 'background\\-',
      
=> 'url',
      
=> '\\(',
      
=> '\\>',
      
=> '1',
    ), 
The previous installation miss a hook called "Search members" at Plugins & Products>Plugin Manager, if you don't want to reimport the product XML file, you can add this hook as follows:
Plugins & Products>Add New Plugin
Product:
Code:
YABBSEO[vB]
Hook Location:
Code:
member_start
Title:
Code:
Search members
Plugin PHP Code:
PHP Code:
include 'yabbseo/forumhook/match_member.php'

Support
We provide tech support for the lite version via vB.org forum. If you have any questions, just reply this thread or PM me.

Click INSTALL if you like this plug-in.

Download Now

File Type: zip YABBSEO-Lite-v1.1.zip (57.3 KB, 347 views)
File Type: zip YABBSEO[vB]-Lite-1.0.zip (39.0 KB, 44 views)
File Type: zip YABBSEO[vB]-Lite-1.0.1.zip (39.1 KB, 86 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-01-2009, 05:56 PM
yabsoft yabsoft is offline
 
Join Date: Jun 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade guide for YABBSEO Lite v1.1:

BACKUP OLD INSTLLATIONS ARE ABSOLUTELTLY NECCESSARY!

Quote:
Before you upgrade, you need know we have changed the product id of YABBSEO Lite to be "yabbseo" in v1.1(in v1.0 and v1.0.1, it was yabbseolite). So a product import from vBulletin CP will create a new product, not upgrading your YABBSEO lite v1.0 or 1.0.1.
So for upgrading YABBSEO v1.0 or v1.0.1 to v1.1, you can follow the following steps:
1. Disable the YABBSEO v1.0 or v1.0.1
2. Upload all scripts in YABBSEO v1.1 to your server to overwrite all of your old files.
3. Import the product-YABBSEO-Lite.xml from vBulltein > Plugins.
4. If you have modified yabbseo/data/config.php, you donot need upload the new config.php in the downloaded YABBSEO Lite v1.1 to overwite your modified config.php in the step 2.
5. Check if YABBSEO v1.1 is working fine with your forum. If it is OK, you can delete YABBSEO v1.0 or 1.0.1 which is already disabled in step 1.


Explanation of some sections of config.php:

GLOBAL Configuration in yabbseo/data/config.php:

absolutebburl: 1 or 0
Quote:
1: your domain will be automatically added in all forum urls:
forum/f_id/t_id.html -> http://yourdomain.com/forum/f_id/t_id.html.
0: YABBSEO will detect the relative urls to be absolute one:
images/buttons/xxx.gif -> /forum/images/buttons/xxx.gif
301_redirect: 1 or 0
Quote:
1: Redirect dynamically urls to the static ones:
showthread.php?t=x to http://yourdomain.com/forum/f_id/t_id.html
redirect_showthreadpost: 1 or 0
Quote:
1: redirect showthread.php?p=id to http://yourdomain.com/forum/f_id/t_id.html#postid
or http://yourdomain.com/forum/f_id/t_i..._x.html#postid if the post is not on the first page.
nofollowurls:
PHP Code:
array (
'script' => '',
'fragment' => 'goto_threadtools',
'query' => 
array (
'nojs' => '1',
), 
),
Quote:
The above options are the criterons to detect which urls to add "nofollow" attribute:
script: the php script name or html file name
fragment: the parts after #
query: an array which holds the parameters in the forum urls.

The above example will match the urls like this:

.*.*?nojs=1#goto_threadtools
specialchars_convert
PHP Code:
array (
'"' => '',
'\'' => '',
), 
Quote:
The array holds the special chars and their correpondences in english to convert.
keyword_separator: - or _ or other symbol
Quote:
The separator will be used to separator the keywords in static forum urls
seourl_stopwords:
PHP Code:
array (
=> 'an',
=> 'a',
=> 'on',
=> 'to',
), 
Quote:
This is an array to hold the common words you want to remove from the static forum urls.
redirect_externalurl: 1 or 0
Quote:
Convert the external urls on your forum to something like this:
http://externalsite.com to http://yoursite.com/bbredir.php?url=...ternalsite.com
exclusive_externalurls
PHP Code:
array (
=> 'yabsoft.com',
=> 'www.yabsoft.com',
=> '127.0.0.1',
), 
Quote:
This is an array to hold the urls which are not to be converted as above if redirect_externalurl is enabled, for example your friend sites.
post_parseurl: 0 or 1

Quote:
If this option is enabled(=1), YABBSEO will try to parse all forum links by even query the database to get the information. By default, this is turned off: since YABBSEO can parse every normal forum links. Some links could not be parsed in rare cases: you use cite another dynamically thread url in your current thread, the cited dynamically url could not be parsed by default. But this will redirect to the static one after users click it.
Url Template Setting in yabbseo/data/config.php
PHP Code:
'template' => 
    array (
      
'showthreadpage' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}-page{thread_page}.html',
      
'showthread' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}.html',
      
'showthreadnew' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}-newpost.html',
      
'showthreadpost' => 'f{forum_id}-{forum_title}/{thread_title}-{thread_id}-p{post_id}.html#post{post_id}',
      
'forumdisplaypage' => 'f{forum_id}-{forum_title}/index{forum_page}.html',
      
'forumindex' => 'forumindex.html',
      
'forumdisplay' => 'f{forum_id}-{forum_title}',
      
'member' => 'members/{username}.html',
      
'memberlistpage' => 'memberlists/{member_page}.html',
      
'memberlistltr' => 'memberlists/{letter}.html',
      
'memberlistltrpage' => 'memberlists/{letter}-{member_page}.html',
      
'memberlist' => 'memberlists',
    ), 
The array holds the static url templates which be automatically loaded for the dynamical url according to its key: for example, the template
'forumdisplay' => 'f{forum_id}-{forum_title}',
will be used for all dynamically urls of forumdiaplay.php.

Quote:
You can modify the above templates to get your cutomised template, but you must be care about the order of templates. The order of templates in the array is just the order to match each static url: for example, a static forum url "f1-main-forum.html" is passed, YABBSEO will try to follow the order of templates in array to match the the url "f1-main-forum.html". Once one template(for example,f{forum_id}-{forum_title}) matches the url, the corresponding {forum_id} and {forum_title} will be extracted. But it is important to note that different orders may give the chances that the incorrect template matches the url before YABBSEO tries to use "f{forum_id}-{forum_title}" to match it.
Reply With Quote
  #3  
Old 02-01-2009, 06:06 PM
jujubins's Avatar
jujubins jujubins is offline
 
Join Date: May 2007
Location: Rio de Janeiro - Brazil
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great!

Installed...
Reply With Quote
  #4  
Old 02-01-2009, 06:08 PM
yabsoft yabsoft is offline
 
Join Date: Jun 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks This is my first released addon for vB!
Reply With Quote
  #5  
Old 02-01-2009, 06:15 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it support turkish character?
Reply With Quote
  #6  
Old 02-01-2009, 06:28 PM
rizelim's Avatar
rizelim rizelim is offline
 
Join Date: Nov 2006
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks @yabsoft my forum problem.My forum root .htaccess file How to edit file..
Attached Files
File Type: (49.9 KB, 0 views)
Reply With Quote
  #7  
Old 02-01-2009, 06:28 PM
jujubins's Avatar
jujubins jujubins is offline
 
Join Date: May 2007
Location: Rio de Janeiro - Brazil
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, string given in [path]/includes/class_core.php on line 717

Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, string given in [path]/includes/class_core.php on line 717

Warning: mysqli_query() expects parameter 1 to be mysqli, string given in [path]/yabbseo/forumhook/301.php(46) : eval()'d code on line 7

Warning: mysqli_query() expects parameter 1 to be mysqli, string given in [path]/yabbseo/forumhook/301.php(46) : eval()'d code on line 7
How it works with subdomain?
Reply With Quote
  #8  
Old 02-01-2009, 06:37 PM
yabsoft yabsoft is offline
 
Join Date: Jun 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jujubins View Post
How it works with subdomain?
I only tested my addon with mysql server. But your vB is using mysqli. Maybe that is the reason of your errors. Now maybe you should disable the mod and I will try to make it work with mysqli. When it is done, I will update here. Sorry for the issues.
Reply With Quote
  #9  
Old 02-01-2009, 06:44 PM
yabsoft yabsoft is offline
 
Join Date: Jun 2006
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rizelim View Post
thanks @yabsoft my forum problem.My forum root .htaccess file How to edit file..
Could you PM your link to check your issue?
Reply With Quote
  #10  
Old 02-01-2009, 06:52 PM
rizelim's Avatar
rizelim rizelim is offline
 
Join Date: Nov 2006
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yabsoft View Post
Could you PM your link to check your issue?
http://ahsenforum.com/f194-forum-kur...rallary-7.html

turkish character problem!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07896 seconds
  • Memory Usage 2,378KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (8)bbcode_php
  • (17)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete