| :: |
| Author |
Message |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 11:43 am Post subject: ready for zero dupe |
|
|
i dont need the censoring right away so can I go ahead and apply
We can just save this SQL when we know there will be massive redirections and put it back once
the HTTP 301 storm has passed.
->>To do this, you'll need to :
Replace :
_________
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
// Define censored word matches
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_title) : $topic_title;
With :
______etc...??
what file are these changes to be made????? |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13607
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:01 pm Post subject: Re: ready for zero dupe |
|
|
I do not understand this
The previous find-add before put something else before
}
?>
so where does this last add-before go? after or before the previous edit??
The following FIND and BEFORE, ADD in phpbb_seo/phpbb_seo_class.php may have already been performed
by another phpBB SEO mod.
To make sure about it, please make sure your phpbb_seo/phpbb_seo_class.php does not already contain
the code in the BEFORE, ADD.
If so, just skip this step
#
#-----[ FIND ]------------------------------------------
# Note : This particular replace may have already been performed
# If so, just skip this step
}
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
# Note : This particular replace may have already been performed
# If so, just skip this step
/**
* check start var consistency
*/
function seo_start($start = 0, $limit = 0) {
if ($limit > 0) {
$start = ( is_int( $start/$limit ) ) ? $start : intval($start/$limit)*$limit;
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
} else {
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
}
}
# |
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:06 pm Post subject: Re: ready for zero dupe |
|
|
the test worked ok
still unsure of edits in my last post--it is not clear where to put
**
* check start var consistency
*/
function seo_start($start = 0, $limit = 0) {
if ($limit > 0) {
$start = ( is_int( $start/$limit ) ) ? $start : intval($start/$limit)*$limit;
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
} else {
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
}
} |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13607
|
Posted: Wed Feb 21, 2007 12:06 pm Post subject: Re: ready for zero dupe |
|
|
I'm not sure to understand you well here.
You just need to add :
| Code: | /**
* check start var consistency
*/
function seo_start($start = 0, $limit = 0) {
if ($limit > 0) {
$start = ( is_int( $start/$limit ) ) ? $start : intval($start/$limit)*$limit;
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
} else {
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
}
} |
Before :
in phpbb_seo_class.php, and only if this particular piece of code was not already installed in the file by another mod (which should not be the case, the concerned mod is not released yet ).
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:07 pm Post subject: Re: ready for zero dupe |
|
|
| ok done-i will upload all files now |
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:09 pm Post subject: Re: ready for zero dupe |
|
|
| files now uploaded |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13607
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:16 pm Post subject: Re: ready for zero dupe |
|
|
OK now what?
leave robots to allow forums etc??
and are there any redirection issues?
btw I did not change the censor code
the gym style also works ok now |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13607
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:21 pm Post subject: Re: ready for zero dupe |
|
|
ok thanks
lets see how it long it takes for the indexing to improve  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13607
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:29 pm Post subject: Re: ready for zero dupe |
|
|
| i thought i fixed that yesterday--still not styling correctly?? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13607
|
|
| Back to top |
|
 |
|
|