vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vRewrite - SEOed URLs for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=104484)

Immortal 01-11-2006 12:42 AM

Do you use a table_prefix? Do this...

AdminCP -> Plugin Manager -> Find vRewrite under the hook "global_complete" -> Choose Edit -> Copy and paste the code using the php tags :)

Illustrious 01-11-2006 12:48 AM

No, that actually doesn't do the trick.

But I think I know why it's giving me that error. Apparently the username has an apostrophe (O'Neal), and it's in a forum location that is hidden to guests, hence why it works when I'm not logged in.

Is there a way to get apostrophes in membernames parsed?

Immortal 01-11-2006 12:52 AM

I just created a username with an apostrophe in it, and it worked flawlessly. Can you follow this, and post the code here?

Quote:

Originally Posted by Immortal
AdminCP -> Plugin Manager -> Find vRewrite under the hook "global_complete" -> Choose Edit -> Copy and paste the code using the php tags


Illustrious 01-11-2006 12:54 AM

It's the one in the zip, I tried the other fix posted in the thread, but I decided to go back since it didn't work either:

PHP Code:

if($vbulletin->options['vRewrite_on']) 

#------------------------------ 
# Replace Forums 
#------------------------------ 
$found preg_match_all('#<a href="forumdisplay\.php\?f=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT forumid, title FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)"); 

    while(
$f $vbulletin->db->fetch_array($res)) 
    { 
        
$title urlize($f['title']); 
        
$fid $f['forumid']; 

        
$output str_replace("<a href=\"forumdisplay.php?f=$fid\"""<a href=\"f-$title-$fid.html\""$output); 
    } 




#------------------------------ 
# Replace User 
#------------------------------ 
$found preg_match_all('#<a href="member\.php\?u=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT userid, username FROM " TABLE_PREFIX "user WHERE userid IN($ids)"); 

    while(
$u $vbulletin->db->fetch_array($res)) 
    { 
        
$username urlize($u['username']); 
        
$uid $u['userid']; 

        
$output str_replace("<a href=\"member.php?u=$uid\"""<a href=\"u-$username-$uid.html\""$output); 
    } 




#------------------------------ 
# Replace showthread.php?goto=newpost 
#------------------------------ 
$found preg_match_all('#<a href="showthread\.php\?goto=newpost&amp;t=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT threadid, title, forumid FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)"); 

    while(
$n $vbulletin->db->fetch_array($res)) 
    { 
        
$title urlize($n['title']); 
        
$tid $n['threadid']; 
        
$fid $n['forumid']; 


        
$output str_replace("<a href=\"showthread.php?goto=newpost&amp;t=$tid\"""<a href=\"$title-$tid-newpost.html\""$output); 
    } 




#------------------------------ 
# Replace Last Post User (Forum) 
#------------------------------ 
$found preg_match_all('#<a href="member\.php\?find=lastposter&amp;f=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT lastposter, forumid FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)"); 

    while(
$f $vbulletin->db->fetch_array($res)) 
    { 
        
$lp $f['lastposter']; 

        
$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='$lp'"); 
        
$lp urlize($lpidinfo['username']); 
        
$lpid $lpidinfo['userid']; 
        
$fid $f['forumid']; 

         

        
$output str_replace("<a href=\"member.php?find=lastposter&amp;f=$fid\"""<a href=\"u-$lp-$lpid.html\""$output); 
    } 




#------------------------------ 
# Replace Last Post User (Thread) 
#------------------------------ 
$found preg_match_all('#<a href="member\.php\?find=lastposter&amp;t=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT lastposter, threadid FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)"); 

    while(
$f $vbulletin->db->fetch_array($res)) 
    { 
        
$lp $f['lastposter']; 

        
$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='$lp'"); 
        
$lp urlize($lpidinfo['username']); 
        
$lpid $lpidinfo['userid']; 
        
$tid $f['threadid']; 

         

        
$output str_replace("<a href=\"member.php?find=lastposter&amp;t=$tid\"""<a href=\"u-$lp-$lpid.html\""$output); 
    } 



#----------------------------------- 
# DO NOT REMOVE OTHERWISE YOU  
# WILL BE SENT A DMCA FOR COPYRIGHT  
# INFRINGEMENT YOU MAY NOT USE THIS  
# PLUGIN WITHOUT THIS LINE OF CODE 
# IF YOU WISE TO REMOVE THIS AND 
# ADD IT TO YOUR STYLE, FEEL FREE 
# AS LONG AS THE COPYRIGHT REMAINS 
#----------------------------------- 

$output .= '<div align="center" class="smallfont">SEOed URLs completed by <a href="http://www.techhelpforum.com">Tech Help Forum</a>.</div>'

#------------------------------ 
# SHOWTHREAD 
#------------------------------ 
$found preg_match_all('#<a href="showthread\.php\?t=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT threadid, forumid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)"); 

    while(
$t $vbulletin->db->fetch_array($res)) 
    { 
        
$title urlize($t['title']); 
        
$tid $t['threadid']; 
        
$fid $t['forumid']; 
        
$foruminfo $vbulletin->db->query_first("SELECT title FROM " TABLE_PREFIX "forum WHERE forumid='$fid'"); 
        
$fname urlize($foruminfo['title']); 

        
$output str_replace("<a href=\"showthread.php?t=$tid\"""<a href=\"$fname/t-$title-$tid.html\""$output); 
    } 




#------------------------------ 
# SHOWTHREAD and page 
#------------------------------ 
$found preg_match_all('#<a href="showthread\.php\?t=([0-9]+)&amp;page=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    
// Keep track of page nums that go with tid's 
    
$temp = array(); 

    for(
$i 0$i $found$i++) 
    { 
        
// $temp[<threadid>] = <page> 
        
$temp$matches[1][$i] ] = $matches[2][$i]; 

        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT threadid, forumid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)"); 

    while(
$t $vbulletin->db->fetch_array($res)) 
    { 
        
$title urlize($t['title']); 
        
$tid $t['threadid']; 
        
$fid $t['forumid']; 
        
$foruminfo $vbulletin->db->query_first("SELECT title FROM " TABLE_PREFIX "forum WHERE forumid='$fid'"); 
        
$fname urlize($foruminfo['title']); 
        
$page $temp[$tid]; 
         

        
$output str_replace("<a href=\"showthread.php?t=$tid&amp;page=$page\"""<a href=\"$fname/t-$title-$tid-page-$page.html\""$output); 


    } 




#------------------------------ 
# showpost 
#------------------------------ 
$found preg_match_all('#<a href="showpost\.php\?p=([0-9]+)&amp;postcount=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        
$temp$matches[1][$i] ] = $matches[2][$i]; 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 


    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT postid, title FROM " TABLE_PREFIX "post WHERE postid IN($ids)"); 

    while(
$p $vbulletin->db->fetch_array($res)) 
    { 
        
$pid $p['postid']; 
        
$postcount $temp[$pid]; 
        
$output str_replace("<a href=\"showpost.php?p=$pid&amp;postcount=$postcount\"""<a href=\"p-$pid.html\""$output);    } 



#------------------------------ 
# Print SHOWTHREAD 
#------------------------------ 
$found preg_match_all('#<a href="printthread\.php\?t=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT threadid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)"); 

    while(
$t $vbulletin->db->fetch_array($res)) 
    { 
        
$title urlize($t['title']); 
        
$tid $t['threadid']; 

        
$output str_replace("<a href=\"printthread.php?t=$tid\"""<a href=\"print-$title-$tid.html\""$output); 
    } 




#------------------------------ 
# Email SHOWTHREAD 
#------------------------------ 
$found preg_match_all('#<a href="sendmessage\.php\?do=sendtofriend&amp;t=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT threadid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)"); 

    while(
$t $vbulletin->db->fetch_array($res)) 
    { 
        
$title urlize($t['title']); 
        
$tid $t['threadid']; 

        
$output str_replace("<a href=\"sendmessage.php?do=sendtofriend&amp;t=$tid\"""<a href=\"sendtofriend-$title-$tid.html\""$output); 
    } 




#------------------------------ 
# New Thread 
#------------------------------ 
$found preg_match_all('#<a href="newthread\.php\?do=newthread&amp;f=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT forumid, title FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)"); 

    while(
$f $vbulletin->db->fetch_array($res)) 
    { 
        
$title urlize($f['title']); 
        
$fid $f['forumid']; 

        
$output str_replace("<a href=\"newthread.php?do=newthread&amp;f=$fid\"""<a href=\"$title-$fid/newthread.php\""$output); 
    } 




#------------------------------ 
# New Post 
#------------------------------ 
$found preg_match_all('#<a href="newreply\.php\?do=newreply&amp;noquote=1&amp;p=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT threadid, postid FROM " TABLE_PREFIX "post WHERE postid IN($ids)"); 

    while(
$t $vbulletin->db->fetch_array($res)) 
    { 
        
$tid $t['threadid']; 
        
$pid $t['postid']; 
        
$threadinfo $vbulletin->db->query_first("SELECT title, forumid FROM " TABLE_PREFIX "thread WHERE threadid='$tid'"); 
        
$title urlize($threadinfo['title']); 
        
$fid $threadinfo['forumid']; 
        
$f fetch_foruminfo($fid);  
        
$fname urlize($f['title']); 



        
$output str_replace("<a href=\"newreply.php?do=newreply&amp;noquote=1&amp;p=$pid\"""<a href=\"$fname/newpostnoquote-$pid.php\""$output); 
    } 




#------------------------------ 
# New Post 
#------------------------------ 
$found preg_match_all('#<a href="newreply\.php\?do=newreply&amp;p=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT threadid, postid FROM " TABLE_PREFIX "post WHERE postid IN($ids)"); 

    while(
$t $vbulletin->db->fetch_array($res)) 
    { 
        
$tid $t['threadid']; 
        
$pid $t['postid']; 
        
$threadinfo $vbulletin->db->query_first("SELECT title, forumid FROM " TABLE_PREFIX "thread WHERE threadid='$tid'"); 
        
$title urlize($threadinfo['title']); 
        
$fid $threadinfo['forumid']; 
        
$f fetch_foruminfo($fid);  
        
$fname urlize($f['title']); 



        
$output str_replace("<a href=\"newreply.php?do=newreply&amp;p=$pid\"""<a href=\"$fname/newpost-$pid.php\""$output); 
    } 




#------------------------------ 
# Search 
#------------------------------ 
$found preg_match_all('#<a href="search\.php\?searchid=([0-9]+)"#i'$output$matches); 

if(
$found

    
// Build an array of ID's 
    
$ids = array(); 

    for(
$i 0$i $found$i++) 
    { 
        if(
is_numeric($matches[1][$i])) 
            
$ids[] = $matches[1][$i]; 
    } 
    
$ids implode(','$ids); 

    
// Go through each 
    
$res $vbulletin->db->query_read("SELECT userid, searchid FROM " TABLE_PREFIX "search WHERE searchid IN($ids)"); 

    while(
$s $vbulletin->db->fetch_array($res)) 
    { 
        
$userid $s['userid']; 
        
$searchid $s['searchid']; 
         

        
$output str_replace("search.php?searchid=$searchid""search-$userid-$searchid.html"$output); 
    } 





#------------------------------ 
# misc pages 
#------------------------------ 
$output str_replace("search.php?do=getnew","search-getnew.html",$output); 
$output str_replace("search.php?do=getdaily","search-getdaily.html",$output); 
$output str_replace("forumdisplay.php?do=markread","markread.html",$output); 


/** 
 * Turn a string into a URL friendly string 
 * 
 * @param string $txt The string to work on 
 * @return string The new string 
 */ 
function urlize($txt

    
$txt unaccent($txt); 
    
$txt html_entity_decode($txt); 
    
$txt str_replace(' ''-'$txt); 
    
$txt preg_replace('#[^a-zA-Z0-9_\-]+#'''$txt); 
    
$txt preg_replace('#[\-]+#''-'$txt); 

    return 
strtolower($txt); 


/** 
 * Turn accented characters into normal characters 
 * 
 * @param string $txt The string to remove the accents from 
 * @return string Your new clean string 
 */ 
function unaccent($txt

    
$trans get_html_translation_table(HTML_ENTITIES); 
     
    foreach(
$trans as $literal => $entity
    { 
        if(
ord($literal) >= 192
        { 
            
$search[]   = $literal
            
$replace[]  = substr($entity11); 
        } 
    } 

    return 
str_replace($search$replace$txt); 



Illustrious 01-11-2006 01:44 AM

Quote:

Originally Posted by Immortal
I just created a username with an apostrophe in it, and it worked flawlessly. Can you follow this, and post the code here?

That's strange, considering when I removed the apostrophe, it worked flawlessly.

ryuji 01-11-2006 08:29 AM

im having pretty much the same sql error problem,
Code:

Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT userid, username FROM user WHERE username='BB mods's';

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 's'' at line 1
Error Number : 1064
Date        : Wednesday, January 11th 2006 @ 04:23:40 AM
Script      : http://www.site.com/forum/index.php?
Referrer    : http://www.site.com/forum/admincp/index.php?do=head
IP Address  : 69.164.103.233
Username    : ryuji
Classname    : vb_database

PHP Code:

if($vbulletin->options['vRewrite_on'])
{
#------------------------------
# Replace Forums
#------------------------------
$found preg_match_all('#<a href="forumdisplay\.php\?f=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT forumid, title FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)");

    while(
$f $vbulletin->db->fetch_array($res))
    {
        
$title urlize($f['title']);
        
$fid $f['forumid'];

        
$output str_replace("<a href=\"forumdisplay.php?f="$fid ."\"""<a href=\"f-"$title ."-"$fid .".html\""$output);
    }


}

#------------------------------
# Replace User
#------------------------------
$found preg_match_all('#<a href="member\.php\?u=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT userid, username FROM " TABLE_PREFIX "user WHERE userid IN($ids)");

    while(
$u $vbulletin->db->fetch_array($res))
    {
        
$username urlize($u['username']);
        
$uid $u['userid'];

        
$output str_replace("<a href=\"member.php?u=$uid\"""<a href=\"u-$username-$uid.html\""$output);
    }


}

#------------------------------
# Replace showthread.php?goto=newpost
#------------------------------
$found preg_match_all('#<a href="showthread\.php\?goto=newpost&amp;t=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT threadid, title, forumid FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)");

    while(
$n $vbulletin->db->fetch_array($res))
    {
        
$title urlize($n['title']);
        
$tid $n['threadid'];
        
$fid $n['forumid'];


        
$output str_replace("<a href=\"showthread.php?goto=newpost&amp;t=$tid\"""<a href=\"$title-$tid-newpost.html\""$output);
    }


}

#------------------------------
# Replace Last Post User (Forum)
#------------------------------
$found preg_match_all('#<a href="member\.php\?find=lastposter&amp;f=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT lastposter, forumid FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)");

    while(
$f $vbulletin->db->fetch_array($res))
    {
        
$lp $f['lastposter'];

        
$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='$lp'");
        
$lp urlize($lpidinfo['username']);
        
$lpid $lpidinfo['userid'];
        
$fid $f['forumid'];

        

        
$output str_replace("<a href=\"member.php?find=lastposter&amp;f=$fid\"""<a href=\"u-$lp-$lpid.html\""$output);
    }


}

#------------------------------
# Replace Last Post User (Thread)
#------------------------------
$found preg_match_all('#<a href="member\.php\?find=lastposter&amp;t=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT lastposter, threadid FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)");

    while(
$f $vbulletin->db->fetch_array($res))
    {
        
$lp $f['lastposter'];

        
$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='$lp'");
        
$lp urlize($lpidinfo['username']);
        
$lpid $lpidinfo['userid'];
        
$tid $f['threadid'];

        

        
$output str_replace("<a href=\"member.php?find=lastposter&amp;t=$tid\"""<a href=\"u-$lp-$lpid.html\""$output);
    }


}
#-----------------------------------
# DO NOT REMOVE OTHERWISE YOU 
# WILL BE SENT A DMCA FOR COPYRIGHT 
# INFRINGEMENT YOU MAY NOT USE THIS 
# PLUGIN WITHOUT THIS LINE OF CODE
# IF YOU WISE TO REMOVE THIS AND
# ADD IT TO YOUR STYLE, FEEL FREE
# AS LONG AS THE COPYRIGHT REMAINS
#-----------------------------------

$output .= '<div align="center" class="smallfont">SEOed URLs completed by <a href="http://www.techhelpforum.com">Tech Help Forum</a>.</div>';

#------------------------------
# SHOWTHREAD
#------------------------------
$found preg_match_all('#<a href="showthread\.php\?t=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT threadid, forumid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)");

    while(
$t $vbulletin->db->fetch_array($res))
    {
        
$title urlize($t['title']);
        
$tid $t['threadid'];
        
$fid $t['forumid'];
        
$foruminfo $vbulletin->db->query_first("SELECT title FROM " TABLE_PREFIX "forum WHERE forumid='$fid'");
        
$fname urlize($foruminfo['title']);

        
$output str_replace("<a href=\"showthread.php?t=$tid\"""<a href=\"$fname/t-$title-$tid.html\""$output);
    }


}

#------------------------------
# SHOWTHREAD and page
#------------------------------
$found preg_match_all('#<a href="showthread\.php\?t=([0-9]+)&amp;page=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    
// Keep track of page nums that go with tid's
    
$temp = array();

    for(
$i 0$i $found$i++)
    {
        
// $temp[<threadid>] = <page>
        
$temp$matches[1][$i] ] = $matches[2][$i];

        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT threadid, forumid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)");

    while(
$t $vbulletin->db->fetch_array($res))
    {
        
$title urlize($t['title']);
        
$tid $t['threadid'];
        
$fid $t['forumid'];
        
$foruminfo $vbulletin->db->query_first("SELECT title FROM " TABLE_PREFIX "forum WHERE forumid='$fid'");
        
$fname urlize($foruminfo['title']);
        
$page $temp[$tid];
        

        
$output str_replace("<a href=\"showthread.php?t=$tid&amp;page=$page\"""<a href=\"$fname/t-$title-$tid-page-$page.html\""$output);


    }


}

#------------------------------
# showpost
#------------------------------
$found preg_match_all('#<a href="showpost\.php\?p=([0-9]+)&amp;postcount=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        
$temp$matches[1][$i] ] = $matches[2][$i];
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);


    
// Go through each
    
$res $vbulletin->db->query_read("SELECT postid, title FROM " TABLE_PREFIX "post WHERE postid IN($ids)");

    while(
$p $vbulletin->db->fetch_array($res))
    {
        
$pid $p['postid'];
        
$postcount $temp[$pid];
        
$output str_replace("<a href=\"showpost.php?p=$pid&amp;postcount=$postcount\"""<a href=\"p-$pid.html\""$output);    }


}
#------------------------------
# Print SHOWTHREAD
#------------------------------
$found preg_match_all('#<a href="printthread\.php\?t=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT threadid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)");

    while(
$t $vbulletin->db->fetch_array($res))
    {
        
$title urlize($t['title']);
        
$tid $t['threadid'];

        
$output str_replace("<a href=\"printthread.php?t="$tid ."\"""<a href=\"print-"$title ."-"$tid .".html\""$output);
    }


}

#------------------------------
# Email SHOWTHREAD
#------------------------------
$found preg_match_all('#<a href="sendmessage\.php\?do=sendtofriend&amp;t=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT threadid, title FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)");

    while(
$t $vbulletin->db->fetch_array($res))
    {
        
$title urlize($t['title']);
        
$tid $t['threadid'];

        
$output str_replace("<a href=\"sendmessage.php?do=sendtofriend&amp;t=$tid\"""<a href=\"sendtofriend-$title-$tid.html\""$output);
    }


}

#------------------------------
# New Thread
#------------------------------
$found preg_match_all('#<a href="newthread\.php\?do=newthread&amp;f=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT forumid, title FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)");

    while(
$f $vbulletin->db->fetch_array($res))
    {
        
$title urlize($f['title']);
        
$fid $f['forumid'];

        
$output str_replace("<a href=\"newthread.php?do=newthread&amp;f=$fid\"""<a href=\"$title-$fid/newthread.php\""$output);
    }


}

#------------------------------
# New Post
#------------------------------
$found preg_match_all('#<a href="newreply\.php\?do=newreply&amp;noquote=1&amp;p=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT threadid, postid FROM " TABLE_PREFIX "post WHERE postid IN($ids)");

    while(
$t $vbulletin->db->fetch_array($res))
    {
        
$tid $t['threadid'];
        
$pid $t['postid'];
        
$threadinfo $vbulletin->db->query_first("SELECT title, forumid FROM " TABLE_PREFIX "thread WHERE threadid='$tid'");
        
$title urlize($threadinfo['title']);
        
$fid $threadinfo['forumid'];
        
$f fetch_foruminfo($fid); 
        
$fname urlize($f['title']);



        
$output str_replace("<a href=\"newreply.php?do=newreply&amp;noquote=1&amp;p=$pid\"""<a href=\"$fname/newpostnoquote-$pid.php\""$output);
    }


}

#------------------------------
# New Post
#------------------------------
$found preg_match_all('#<a href="newreply\.php\?do=newreply&amp;p=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT threadid, postid FROM " TABLE_PREFIX "post WHERE postid IN($ids)");

    while(
$t $vbulletin->db->fetch_array($res))
    {
        
$tid $t['threadid'];
        
$pid $t['postid'];
        
$threadinfo $vbulletin->db->query_first("SELECT title, forumid FROM " TABLE_PREFIX "thread WHERE threadid='$tid'");
        
$title urlize($threadinfo['title']);
        
$fid $threadinfo['forumid'];
        
$f fetch_foruminfo($fid); 
        
$fname urlize($f['title']);



        
$output str_replace("<a href=\"newreply.php?do=newreply&amp;p=$pid\"""<a href=\"$fname/newpost-$pid.php\""$output);
    }


}

#------------------------------
# Search
#------------------------------
$found preg_match_all('#<a href="search\.php\?searchid=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT userid, searchid FROM " TABLE_PREFIX "search WHERE searchid IN($ids)");

    while(
$s $vbulletin->db->fetch_array($res))
    {
        
$userid $s['userid'];
        
$searchid $s['searchid'];
        

        
$output str_replace("search.php?searchid=$searchid""search-$userid-$searchid.html"$output);
    }


}


#------------------------------
# misc pages
#------------------------------
$output str_replace("search.php?do=getnew","search-getnew.html",$output);
$output str_replace("search.php?do=getdaily","search-getdaily.html",$output);
$output str_replace("forumdisplay.php?do=markread","markread.html",$output);
}

/**
 * Turn a string into a URL friendly string
 *
 * @param string $txt The string to work on
 * @return string The new string
 */
function urlize($txt)
{
    
$txt unaccent($txt);
    
$txt html_entity_decode($txt);
    
$txt str_replace(' ''-'$txt);
    
$txt preg_replace('#[^a-zA-Z0-9_\-]+#'''$txt);
    
$txt preg_replace('#[\-]+#''-'$txt);

    return 
strtolower($txt);
}

/**
 * Turn accented characters into normal characters
 *
 * @param string $txt The string to remove the accents from
 * @return string Your new clean string
 */
function unaccent($txt)
{
    
$trans get_html_translation_table(HTML_ENTITIES);
    
    foreach(
$trans as $literal => $entity)
    {
        if(
ord($literal) >= 192)
        {
            
$search[]   = $literal;
            
$replace[]  = substr($entity11);
        }
    }

    return 
str_replace($search$replace$txt);


the hack seems to work perfectly except when you view forumhome, if you manualy go to usercp for example it works fine , same goes for subforums

LincolnForums 01-11-2006 06:15 PM

Not sure if this has been pointed out, but i installed this hack, then installed some themes after it everything went smooth

BUT on showthread and some others the images arent showing up, and the bread crumbs dont work correctly. But only on the newly installed themes.

they look like, http://www.domain.com/forum-name/images.jpg or whatever for some reason.

Didnt try to uninstall this hack and then install after new themes were installed so i dont know if that will fix it or not

derekivey 01-11-2006 07:01 PM

I found the problem Tyler... You aren't using $db->escape_string() in your code.

For example:
PHP Code:

$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='$lp'"); 

Should be:
PHP Code:

$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='".$db->escape_string($lp)."'"); 

That should fix the problems everyone is having...

GJK 01-11-2006 07:29 PM

vbseo isn't even an option for me for several reasons...

#1 Mandatory footer copyright... $150 plus global copyright links? NOT in a million years!
#2 Their self righteous attitude... Kiddy porn? OK, I'll call the feds myself, but some others I've seen mentioned? give me a break lol
#3 probably turn me down anyway! (gambling related)

I'll not only take my biz dollars elsewhere...
I say all of us that were thinking of vbseo, pool our $$$$'s, buy a couple days of offshore man hours to help out Immortal, add some meta features, custom rewrite rules, sitemap gens, take this right to v1.5 & release it as opensource! ;)

I have a lot of experience w/seo & quite a bit with form based seo widgets.
I could whip out some nice xhtml UI's for it.

Any takers?

ryuji 01-11-2006 09:02 PM

Quote:

Originally Posted by derekivey
I found the problem Tyler... You aren't using $db->escape_string() in your code.
That should fix the problems everyone is having...

could you show us how it is used in this specific plugin? your example doesnt really compare with the actual code... the code we have is
PHP Code:

 $res $vbulletin->db->query_read("SELECT forumid, title FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)"); 

the ends dont match up with your example...

derekivey 01-11-2006 09:05 PM

That one is fine, there are a few queries in the plugin. You should have what I posted...

Immortal 01-11-2006 09:23 PM

Thanks Derek....I'll update the plugin shortly. I was thinking of that, but since it was working just fine on my test board - I wasn't sure.

ryuji 01-11-2006 09:41 PM

outright removing the code fixed it... error and code below... :ermm:

Quote:

Fatal error: Call to a member function on a non-object in /home/linkforc/public_html/forum/includes/functions.php(4320) : eval()'d code on line 139
PHP Code:

#------------------------------
# Replace Last Post User (Forum)
#------------------------------
$found preg_match_all('#<a href="member\.php\?find=lastposter&amp;f=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT lastposter, forumid FROM " TABLE_PREFIX "forum WHERE forumid IN($ids)");

    while(
$f $vbulletin->db->fetch_array($res))
    {
        
$lp $f['lastposter'];

        
$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='".$db->escape_string($lp)."'");
        
$lp urlize($lpidinfo['username']);
        
$lpid $lpidinfo['userid'];
        
$fid $f['forumid'];

        

        
$output str_replace("<a href=\"member.php?find=lastposter&amp;f=$fid\"""<a href=\"u-$lp-$lpid.html\""$output);
    }


}

#------------------------------
# Replace Last Post User (Thread)
#------------------------------
$found preg_match_all('#<a href="member\.php\?find=lastposter&amp;t=([0-9]+)"#i'$output$matches);

if(
$found)
{
    
// Build an array of ID's
    
$ids = array();

    for(
$i 0$i $found$i++)
    {
        if(
is_numeric($matches[1][$i]))
            
$ids[] = $matches[1][$i];
    }
    
$ids implode(','$ids);

    
// Go through each
    
$res $vbulletin->db->query_read("SELECT lastposter, threadid FROM " TABLE_PREFIX "thread WHERE threadid IN($ids)");

    while(
$f $vbulletin->db->fetch_array($res))
    {
        
$lp $f['lastposter'];

        
$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='".$db->escape_string($lp)."'");
        
$lp urlize($lpidinfo['username']);
        
$lpid $lpidinfo['userid'];
        
$tid $f['threadid'];

        

        
$output str_replace("<a href=\"member.php?find=lastposter&amp;t=$tid\"""<a href=\"u-$lp-$lpid.html\""$output);
    }





derekivey 01-11-2006 09:48 PM

Wait, try making it this instead:
PHP Code:

$lpidinfo $vbulletin->db->query_first("SELECT userid, username FROM " TABLE_PREFIX "user WHERE username='".$vbulletin->db->escape_string($lp)."'"); 


ryuji 01-11-2006 10:00 PM

that did the trick.. but view first unread's kinda broken
Code:

http://www.site.com/forum/#post1814

Immortal 01-11-2006 10:27 PM

It didn't do that before?

ryuji 01-11-2006 10:36 PM

it didnt work at all until now.. it seems to be somthing to do with the template edit i did to install it because it does it with it disabled but if i remove the template modifications its fine again ... will it cause any problems just to leave the template modifications out?

removing the SHOWTHREAD modification did the trick with the plugin disabled.. im about to try it with it enabled... is there somthing wrong with my template?

heh.. removing the template modification is bad lol... any ideas on fixing the link?

Immortal 01-11-2006 10:41 PM

I've seen issues where other mods take control of it ex:
title-of-thread-id.html0 I have no idea why it does that, so it may be a template modification or another hack that isn't working together right.

Edit...didn't see your edit. Is it possible for you to PM me a link so I can have a nosey around?

ryuji 01-11-2006 10:57 PM

pm sent

ajnin 01-12-2006 01:28 AM

ok, so i got to the point where the arguments about whos vb seo thingy was bigger... i mean better and i stopped reading so i dont know if what i am going to say was covered or not. my thanks goes out to anyone whom is attempting to better this community. both immortal and dean alike.

- %20 should never be in a url... period

- filenames should never be longer(at max) than 31 charcters. its a mac thing

- does this hack have any way to actually prevent duplicate content being spidered by the search enginges?

and yes from what i have read about this hack is that the queries need to be reduced. but knowing that comes from having seen a vbforum die at about 500 users on at one time using a 512 server. mysql is a memory sucking beast. the less times you call upon the evil the better... period. if i were to install this hack on the 10k unique a day forums that i considered in the first place, it would crash the box or jsut slow everything down to a snails pace. even with the 4 gigs of ram that are now in that server.

it seemed like the dean guy was trying to offer some advice, perhaps he should have done so via pm instead of being a jerk and jsut tellign everyone not to install. that wasnt right.

my two cents... i will be looking back into this from time to time, thanks again for the work, i bet version 5 will be awesome ;) (and most likly paid :( )

Immortal 01-12-2006 01:41 AM

Quote:

Originally Posted by ajnin
%20 should never be in a url... period

Personally, I agree. However, I have included the option in 1.0. It is not turned on by default, nor would I do it, but I'll leave it up to the owner.

Quote:

Originally Posted by ajnin
filenames should never be longer(at max) than 31 charcters. its a mac thing

Ooh, excellent. I think that'll make a fine addition to the options in the ACP. I'll see what I can do.
Quote:

Originally Posted by ajnin
- does this hack have any way to actually prevent duplicate content being spidered by the search enginges?

Not currently. With the 1.0 release, it will use 301 redirects (once I get it working) for showthread. I hope to add more additions in the 1.5 release.
Quote:

Originally Posted by ajnin
and yes from what i have read about this hack is that the queries need to be reduced.

As soon as Dean explained what was wrong, it was fixed for 1.0 :)


Quote:

Originally Posted by ajnin
(and most likly paid :( )

vRewrite itself will remain free. I've spent many hours working on it, and I don't have any plans to turn it to paid. However, donations are always very welcomed :)

Gayble 01-12-2006 11:04 AM

I've tried searching showthread.php, newreply.php, and newthread.php, but I CANNOT find "$headinclude" anywhere! :(

I have vB 3.5.3 installed. Someone please help.

ryuji 01-12-2006 03:24 PM

you dont look for them in the php files go to admincp>styles and templates>style manager click on the drop down click edit templates then you will find SHOWTHREAD under 'show thread templates' and newreply and newthread under 'new posting templates'

rootnik 01-12-2006 10:28 PM

I installed this on my patched 3.5.1 and it gave me a fit.

404 errors from links on forumhome and the links on the member list were way of (some of them had my username in the url instead of the user's on the list, and some even had the user ID at the very end of the url behind the .html)

Nobody else has posted this problem, so I'll assume that it is something that I have done wrong myself.

Immortal 01-12-2006 11:13 PM

404 errors? Did you change the rewrite base in the .htaccess?

And I believe that error is something wrong with the plugin I have uploaded...I'll have to take a look shortly.

GamerJunk.net 01-12-2006 11:25 PM

I've upgraded but I didn't get any errors....

Immortal 01-12-2006 11:43 PM

Weird...Well I'm about ready to release 1.0 Preview (since that bug was never fixed) - so hopefully that'll solve the issue.

Immortal 01-13-2006 02:25 AM

Hello Everyone,

I am pleased to announce the release of 1.0 Preview. This is the final version before 1.0 is considered to be stable. This should be perfectly fine to run on a live board now, but please be forewarned.

Changelog
1.0 Preview is a huge change, thanks to everyone who has let me know of bug(s).

-Table prefixes Thanks Cole
-Fixed forumdisplay member info Thanks Derek
-Fixed table prefixes [#2] Thanks eXaulz
-Additional rewrite rules Thanks Aftermath
-Merging threads Thanks croportal
-Less queries and use of THIS_SCRIPT Thanks Dean
-Additonal Rewrite rules Thanks SCI
-Previous/Next Threads Rewrite Thanks StarBuG
-Many many additional rewrites.

It is encouraged everyone who is running .90 to upgrade ASAP.

Upgrade

Upgrading is rather easy this time. Upload your .htaccess overwrite it, change RewriteBase if needed (see install.html if you are unsure).

In the template: memberinfo find $headinclude and add above that:
<base href="$vboptions[bburl]/" />

Import the product and choose "Allow Overwrite". I am not planning on finding many more bugs for the release of 1.0. If you wish to have additional rewrites, I will begin development on 1.5. 1.0 stable will be released when the new post has been fixed.

Thank you everyone for your support :)

contrai 01-13-2006 02:33 AM

this mod have problem with Attachments :surprised: :surprised: i can't use manage Attachments .

Immortal 01-13-2006 02:38 AM

Quote:

Originally Posted by contrai
this mod have problem with Attachments :surprised: :surprised: i can't use manage Attachments .

People have been attaching items on my board perfectly fine. Did you edit the showthread template?

contrai 01-13-2006 02:53 AM

oh no i don't have edit :(

KTBleeding 01-13-2006 03:12 AM

I upgraded and there were issues with the paging. I had about 12 members IM me all at once, "The site links are going crazy! Old threads are coming up!"

Apparently the paging (1,2,3,4,5 etc) take you to extremely old threads. Couple years old, actually.

Just thought I'd report it.

EDIT:

The paging inside the topics themselves.. not forum pages.

Gayble 01-13-2006 07:02 AM

Quote:

Originally Posted by ryuji
you dont look for them in the php files go to admincp>styles and templates>style manager click on the drop down click edit templates then you will find SHOWTHREAD under 'show thread templates' and newreply and newthread under 'new posting templates'

Thankyou ryuji! :)

rootnik 01-13-2006 12:08 PM

Quote:

Originally Posted by Immortal
404 errors? Did you change the rewrite base in the .htaccess?

And I believe that error is something wrong with the plugin I have uploaded...I'll have to take a look shortly.

Some of my member looks look like this

http://www.friendcodes.com/forums/me...corey-1.html05

That person's user name is not "corey". THat is actually my user name.

Then when ever I click on a link I get this standard error

Quote:

Invalid Forum specified. If you followed a valid link, please notify the administrator
This is with the new 1.0 preview

KoC 01-13-2006 05:25 PM

Thanks for this new release. I love this Plugin :rolleyes:

Immortal 01-13-2006 05:59 PM

Quote:

Originally Posted by KTBleeding
I upgraded and there were issues with the paging. I had about 12 members IM me all at once, "The site links are going crazy! Old threads are coming up!"

Apparently the paging (1,2,3,4,5 etc) take you to extremely old threads. Couple years old, actually.

Just thought I'd report it.

EDIT:

The paging inside the topics themselves.. not forum pages.

Hm, weird. Although my doesn't rewrite, but I can see that there is a bug. I'll look more into it shortly.

Quote:

Originally Posted by rootnik
Some of my member looks look like this

http://www.friendcodes.com/forums/m.../corey-1.html05

That person's user name is not "corey". THat is actually my user name.

I've seen this a few times. However, I cannot reproduce this on a unhacked forum.

Quote:

Originally Posted by rootnik
Then when ever I click on a link I get this standard error


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

This is with the new 1.0 preview

Make sure you changed your RewriteBase in the .htaccess and uploaded it correctly.

croportal 01-13-2006 06:02 PM

i didnt install version 1.0 because i have dean C version

immortal is this good and stable version

Snake 01-13-2006 06:26 PM

Bah this mod is still messed up. :( Better buy vBSEO 'cause I haven't got any other choice.

tomasn 01-13-2006 06:49 PM

hi,

i have Vb 3.5.3 and installed vRewrite 1.0 preview and got the error message "Invalid Forum specified. If you followed a valid link, please notify the administrator". This is the same problem as rootnik got. .htaccess is ok and working corectly. Forum is on "http://subd.domain.com/" and RewriteBase /
?

Immortal 01-13-2006 06:50 PM

Quote:

Originally Posted by croportal
i didnt install version 1.0 because i have dean C version

immortal is this good and stable version

It's what I would consider stable. So far only 1 bug has been found since last night and I don't aniticipate anymore. The only reason it was not released as stable since that one bug still exist.

Quote:

Originally Posted by Aftermath
Bah this mod is still messed up. Better buy vBSEO 'cause I haven't got any other choice.

What is "messed up"?

Quote:

Originally Posted by tomasn
hi,

i have Vb 3.5.3 and installed vRewrite 1.0 preview and got the error message "Invalid Forum specified. If you followed a valid link, please notify the administrator". This is the same problem as rootnik got. .htaccess is ok and working corectly. Forum is on "http://subd.domain.com/" and RewriteBase /
?


Let me double check the .htaccess I've uploaded, but it should be working just fine.


All times are GMT. The time now is 12:44 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.05074 seconds
  • Memory Usage 2,385KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_php_printable
  • (19)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
  • (40)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