The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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
Developer Last Online: Jan 2014
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:
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:
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:
Plugins & Products>Add New Plugin Product: Code:
YABBSEO[vB] Code:
member_start Code:
Search members PHP Code:
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
Supporters / CoAuthors Show Your Support
|
Comments |
#152
|
|||
|
|||
Search for posts by {username} is not seo'd as seen here
http://vgchat.info/forum/search.php?do=finduser&u=73 after clicking stats page & hovering over to find posts for them fix please? |
#153
|
|||
|
|||
I installed the script and now all i get is
Code:
Script written by Stephen Yabziz | > Date started: 1th March 2007 +-------------------------------------------------------------------------- */ # yabbseo cp redirecting if(VB_AREA=='AdminCP'&&$_GET['yabbseo']==1) { $vbulletin->scriptpath='yabbseocp.php'; } # only parsing forum area! if(VB_AREA!='Forum') return ''; require_once( 'yabbseo/seo.init.php' ); # YABBSEO is disabled by itself if(defined('YABBSEOACTIVE')&&YABBSEOACTIVE==0) return ; # using the one at vB admin panel if(!$vbulletin->options['bburl']) { die("YABBSEO need [Forum URL] setup at [AdminCP > vBulletin Options > Site Name / URL / Contact Details]"); } $urlparts = parse_url($vbulletin->options['bburl']); $YABBCONFIG['GLOBAL']['bbscript_url'] = $YABBCONFIG['GLOBAL']['absolutebburl']? $vbulletin->options['bburl']:$urlparts['path']; $YABBCONFIG['GLOBAL']['bbscript_path'] = $urlparts['path'].'/'; $YABBCONFIG['GLOBAL']['localhost'] = str_replace('www.','',$urlparts['host']); # adding localhost to the exclusive lists $YABBCONFIG['GLOBAL']['exclusive_externalurls'][]=$YABBCONFIG['GLOBAL']['localhost']; $YABBCONFIG['GLOBAL']['exclusive_externalurls'][]='www.'.$YABBCONFIG['GLOBAL']['localhost']; ############################# # begin extending Database ############################# if (!function_exists('spl_object_hash')) { /** * Returns the hash of the unique identifier for the object. * * @param object $object Object * @author Rafael M. Salvioni * @return string */ function spl_object_hash($object) { if (is_object($object)) { ob_start(); var_dump($object); $dump = ob_get_contents(); ob_end_clean(); //if (preg_match('/^object\(([a-z0-9_]+)\)\#(\d)+/i', $dump, $match)) { // return md5($match[1] . $match[2]); //} return md5($dump); } return null; } } $dbtype = strtolower($vbulletin->config['Database']['dbtype']); if($dbtype=='mysql'||$dbtype=='') $dbclass = 'vB_Database'; if($dbtype=='mysql_slave') $dbclass = 'vB_Database_Slave'; if($dbtype=='mysqli') $dbclass = 'vB_Database_MySQLi'; if($dbtype=='mysqli_slave') $dbclass = 'vB_Database_MySQLi_Slave'; if($dbtype=='mysqli'||$dbtype=='mysqli_slave') $newcode = @file_get_contents('yabbseo/forumhook/db_extend2.php'); else $newcode = @file_get_contents('yabbseo/forumhook/db_extend.php'); eval("class YABBDB extends $dbclass{ " . $newcode . " } "); $mydb = new YABBDB($vbulletin); $arrVars = get_class_vars($dbclass); foreach ($arrVars as $key=>$value) { $mydb->$key =& $db->$key; } unset($arrVars); $db = $mydb; unset($mydb); ############################# # end extending Database ############################# # 301 redirect is disabled if($YABBCONFIG['GLOBAL']['301_redirect']==0||$_POST) { return ; } /** * Processing forum_id: * 1. recover it from forum titles? * 2. checking if the forum titles are changed */ # get forum id from unique forum title #if($YABBCONFIG['GLOBAL']['forumtitleonly']==1&&'forumdisplay.php'==YABBSEO_THIS_SCRIPT) if('forumdisplay.php'==YABBSEO_THIS_SCRIPT&&$bbvalues['f']==0) { global $vbulletin,$bbvalues; # use custom forum titles? $forumcache = BuildForumTitles(); # compare the forum title with the one in db # and check if the title is changed foreach($forumcache as $forumid=>$forumrow) { if($bbvalues['forum_title']==MakeUrls($forumrow['title_clean'])) { $vbulletin->GPC['forumid']=$forumid; break; } } } # checking if the forum titles are changed: avoid the title changes, # the below code for the script forumdisplay.php called from yabbseo.php $redirect_301 = 0; if('forumdisplay.php'==YABBSEO_THIS_SCRIPT #&&$YABBCONFIG['GLOBAL']['forumtitleonly']==0 &&$bbvalues['f'] &&( in_array('forum_title',$YABBCONFIG['URL']['seovars']['forumdisplay']) ||strlen($bbvalues['forum_title']) ) ) { global $vbulletin,$bbvalues; # use custom forum titles? $forumcache = BuildForumTitles(); $org_forumrow = $forumcache[$bbvalues['f']]; if($bbvalues['forum_title']!=MakeUrls($org_forumrow['title_clean'])) { $redirect_301 = true; unset($_GET['bbseourl']); unset($_GET['forum_title']); } } # get query $bbquery = defined('IN_YABBSEO') ? $bbvalues : $_GET; # redirecting showthread.php?p=x to showthread.php?t=x&page=x # redirecting forum_title/thread_title_postid.html to forum_title/thread_title/index_page.html if ($YABBCONFIG['GLOBAL']['redirect_showthreadpost']==1&&THIS_SCRIPT=='showthread'&&!empty($bbquery['p'])) { $postinfo = verify_id('post', $bbquery['p'], 0, 1); $postid =& $postinfo['postid']; $threadedmode = 0; if ($vbulletin->options['allowthreadedmode'] AND !$show['search_engine']) { if (!isset($threadedmode)) { // Set threaded mode from user options if it doesn't exist in cookie or url passed form $threadedmode = $vbulletin->userinfo['threadedmode'] == 3 ? 0 : $vbulletin->userinfo['threadedmode']; } } $postorder = $vbulletin->userinfo['postorder'] ? 'DESC': ''; $postinfo = verify_id('post', $postid, 1, 1); $threadid = $postinfo['threadid']; // assign to the bbvalues $bbvalues['t'] = $threadid; $getpagenum = $db->query_first(" SELECT COUNT(*) AS posts FROM " . TABLE_PREFIX . "post AS post WHERE threadid = $threadid AND visible = 1 AND dateline " . iif(!$postorder, '<=', '>=') . " $postinfo[dateline] "); $vbulletin->GPC['pagenumber'] = ceil($getpagenum['posts'] / 10); $bbquery['page']=$vbulletin->GPC['pagenumber']; $redirect_301 = true; } # if direct access to dynamical url, redirect to static url # or the forum titles are changed, 301 redirect to new forum title page if(defined('IN_YABBSEO')&&!$redirect_301) return ''; /** * Get forum vars: */ $shortvars = array( 'f' => 'forumid', 't' => 'threadid', 'p' => 'postid', 'u' => 'userid', 'a' => 'announcementid', 'c' => 'calendarid', 'e' => 'eventid', 'q' => 'query', 'pp' => 'perpage', 'page' => 'pagenumber', 'sort' => 'sortfield', 'order' => 'sortorder', '0' => 'forum_title', '1' => 'thread_title', ); foreach($shortvars as $longvar) { unset($bbquery[$longvar]); } $bbscript = THIS_SCRIPT.'.php'; $bbinput = $bbquery; /** * Redirecting forum index page */ if(THIS_SCRIPT=='index') { //$new_url = BBUrlConverter('forumindex'); } /** * Redirecting forum display page */ if(THIS_SCRIPT=='forumdisplay') { $forumid = intval($bbinput['f']); $new_url = sitemap_forumdisplay($forumid,$bbinput,$bbscript); } /** * Redirecting thread page */ if(THIS_SCRIPT=='showthread') { if($bbquery['t']) { $threadid = intval($bbquery['t']); unset($bbinput['f']); $new_url = sitemap_showthread($threadid,$bbinput,$bbscript); } elseif($bbquery['p']) { $postid = intval($bbquery['p']); unset($bbinput['f']); unset($bbinput['t']); $new_url = sitemap_showthreadpost($postid,$bbinput,$bbscript); } } /** * Redirecting showpost page */ if(THIS_SCRIPT=='showpost') { $postid = intval($bbquery['p']); $new_url = sitemap_showpost($postid,$bbinput,$bbscript); } /** * Redirecting announcement page */ if(THIS_SCRIPT=='announcement') { $announcementid = intval($bbquery['f']); $new_url = sitemap_announcement($announcementid,$bbinput,$bbscript); } /** * Redirecting member list page */ if(THIS_SCRIPT=='memberlist') { $url_data = array( '{ltr}'=>strtolower($bbquery['ltr']), '{memberlist_page}'=>$bbquery['page'], '{bbscript}'=>$bbscript, '{bbquery}'=>$p['query'], '{bbinput}'=>$bbinput, ); $new_url = sitemap_memberlist($bbinput,$bbscript); } /** * Redirecting member page */ if(THIS_SCRIPT=='member') { $userid = intval($bbquery['u']); $new_url = sitemap_member($userid,$bbinput,$bbscript); } /** * 301 redirect dynamical url */ if(strlen($new_url)) { $new_url = @str_replace('&','&',$new_url); header("HTTP/1.1 301 Moved Permanently"); header("location:$new_url"); exit; } ?> i have mod_rewrite aktive. i think the installation killed my database is that possible? edit: ok i worked around the bug. i deleted all the code in the files and then i could deinstall it. thanks |
#154
|
|||
|
|||
Mistake, please delete moderator.
|
#155
|
|||
|
|||
Quote:
|
#156
|
|||
|
|||
A new version of YABBSEO is available with lots of improved features. A detailed upgrade guide and explanation of yabbseo/data/config.php are created in this post:
https://vborg.vbsupport.ru/showthrea...49#post1731132 |
#157
|
|||
|
|||
Is it fully utf-8 compatible?
|
#158
|
|||
|
|||
Do you have a way of converting URLs altered by other URL rewrite mods, such as TfSEO or C-Logic SEO?
Also, when vBulletin 4.0 comes out with its own expanded SEO capabilities, would that render this mod moot? Peace, Gene |
#159
|
||||
|
||||
this mod is the best vb seo system
i was try it by my self the 301 redirect is the best its work if i uninstall vbseo and recover my old links loooooooooooool i love that mod sooooooooooo much thanks allot yabsoft you have great maind i hate to work with vbseo after this mod |
#160
|
||||
|
||||
Looks great, I'll try it !
|
#161
|
|||
|
|||
Yes, you can choose the charset for your forum. And YABBSEO is working with any charset.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|