Go Back   vBulletin Modification Discussions > Free vBulletin Modification Releases > vBulletin Add-ons
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on move from vbseo to zionts within the vBulletin Add-ons forums, part of the Free vBulletin Modification Releases category, at vBulletin Modification Discussions. this about how I moved vbseo to ZiontsSEO without loosing any pages that has been crawed by google already I tested with vbulletin 3.5 and 3.6 rewrite rules (using lighty ) PHP Code:


Comment
 
LinkBack Release Tools
walidaly
Junior Member

vBulletin Version: 3.6 +
 

Mod Version: 1
 

Released: 11-06-2007
 

Installs: 1
 

Last Update: 11-06-2007
 

Rating:
 
Supported
DB Changes
Installer Included
Uses Plugins
Manual Template Changes
Automated Template Changes
Code Changes
Additional Files
Is a Beta!
Release

Release Tools
move from vbseo to zionts

this about how I moved vbseo to ZiontsSEO without loosing any pages that has been crawed by google already

I tested with vbulletin 3.5 and 3.6

rewrite rules (using lighty )
PHP Code:
url.rewrite-once = (
        
"(?i)^/([a-z0-9_-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?.html).*$" => "/forumdisplay.php",
        
"(?i)^/([a-z0-9_-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?.html).*$" => "/showthread.php",
        
"(?i)^/(archive|sitemap)/(.*)$ " => "/$1/index.php/$2",
                
#that's the vbseo part
        
"(?i)^/members/?([^.]+).html$" => "/member.php?mn=$1",
        
"(?i)^/([a-z-_]+)/?(?:index([0-9]+).html)?$" => "/forumdisplay.php?ft=$1&page=$2",
        
"(?i)^/[a-z-_]+/([0-9])+[^.]+.html$" => "/showthread.php?t=$1",

add to functions_zseo.php end
PHP Code:
#functions for getting forum ids from title
#by walid aly http://walid.kurtubba.com
function zeo_get_forumid($string)
{
    global 
$vbulletin;
    
$bit iif($vbulletin->options['zointsseo_url_separator'], '_''-');
    
$string str_replace('-',$bit,$string);
    foreach(
$vbulletin->forumcache as $forums){
        if(
zseo_cleaned_string($forums['title']) == $string)
            return 
$forums['forumid'];
    }
    return 
0;
    
}
#functions for getting member ids from username
#by walid aly http://walid.kurtubba.com
function zeo_get_memberid($string)
{
    global 
$db;
    if(
$u $db->query_first("
                SELECT username, userid 

                FROM " 
TABLE_PREFIX "user

                WHERE username LIKE '"
.$db->escape_string($string)."'

                LIMIT 1

            "
)){
        return 
$u['userid'];
    }
    return 
0;
    

edit file product-zointsseo-2.2.2.xml inside the plugin source files
find
PHP Code:
<hookname>init_startup</hookname>
            <
phpcode><![CDATA[require_once(DIR '/includes/functions_zseo.php');
$vbulletin->zointsseo = array();
if (
$vbulletin->options['zointsseo_on'])

replace with
PHP Code:
<hookname>init_startup</hookname>
            <
phpcode><![CDATA[require_once(DIR '/includes/functions_zseo.php');
$vbulletin->zointsseo = array();
if (
$vbulletin->options['zointsseo_on'])
{
    if(isset(
$_REQUEST['mn']) && THIS_SCRIPT == 'member' )
            
$_REQUEST['u'] = $_REQUEST['userid'] = zeo_get_memberid($_REQUEST['mn']); 
find
PHP Code:
if (THIS_SCRIPT == 'showpost')
            {
                
$_REQUEST['p'] = $_REQUEST['postid'] = intval($zinfo['id']);
            }
        } 
replace with
PHP Code:
if (THIS_SCRIPT == 'showpost')
            {
                
$_REQUEST['p'] = $_REQUEST['postid'] = intval($zinfo['id']);
            }
        }else{
            if(isset(
$_REQUEST['ft']) )
                
$_REQUEST['f'] = $_REQUEST['forumid'] = zeo_get_forumid($_REQUEST['ft']);
        } 
if you've already installed the hook you can do that through 'Plugin Manager' in your admincp on 'Hook Location : init_startup -> Zoints Search Engine Optimization'
- it might not work if you're using datastore file class as it's cached, try to reupload the default datastore_cache.php file that came with vBulletin source
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11-09-2007, 05:04 PM   #2 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,203
Code Monkey is on a distinguished road
Re: move from vbseo to zionts

I'm not sure why anyone who already owned vBSEO would want to move to Zoints but I bet someone would so thanks.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-11-2007, 10:43 PM   #3 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 3
walidaly is on a distinguished road
Re: move from vbseo to zionts

yeah, that was from the time vBSEO was still encrypted...but hey Zionts still free! only costs little adjustment
walidaly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-18-2008, 08:08 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2008
Posts: 11
vAsia is on a distinguished road
Re: move from vbseo to zionts

Does this work with 3.6.8 and 3.7?

Is there a demo?
vAsia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-19-2008, 12:33 AM   #5 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 3
walidaly is on a distinguished road
Re: move from vbseo to zionts

it works up to 3.6.8...not sure about 3.7
try Torrent Finder Forums :: Torrent Search Engine
walidaly is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-11-2008, 01:25 PM   #6 (permalink)
Junior Member
 
Join Date: Jul 2007
Posts: 6
zeus_r6 is on a distinguished road
Re: move from vbseo to zionts

VBSEO seems very costly considering the unsure reviews across the board it receives online
zeus_r6 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Comment




Currently Active Users Viewing This Release: 1 (0 members and 1 guests)
 
Release Tools

Posting Rules
You may not post new releases
You may not post comment
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 02:59 AM.
Online Users 27
Registered 1
Guests 26
Members 3364
Active Members 219
Threads 1687
Posts 7143
Top poster: Code Monkey (2203)
Welcome to our newest member, abstrakt
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images