| :: |
| Author |
Message |
Ľubor PR0

Joined: 13 Feb 2007 Posts: 52 Location: Slovakia,Bratislava
|
Posted: Sun Oct 14, 2007 8:08 am Post subject: RC6 |
|
|
| These seo mod it's getting at RC6 either?Yes/No? |
|
|
| Back to top |
|
 |
|
 |
janmyszkier
Joined: 12 Oct 2007 Posts: 43 Location: Wroclaw, Poland.
|
Posted: Sun Oct 14, 2007 7:09 pm Post subject: Re: RC6 |
|
|
I'm like 95% sure it will, since most of the code are security and layout fixes
do a backup, try it and optionally go back to the old files and database. Or... wait for RC6 Premod
take care |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
Ľubor PR0

Joined: 13 Feb 2007 Posts: 52 Location: Slovakia,Bratislava
|
Posted: Mon Oct 15, 2007 4:29 pm Post subject: Re: RC6 |
|
|
I have here problem in adjusting:
| Code: | #
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
$tpl_prefix . 'BASE_URL' => $base_url,
$tpl_prefix . 'PER_PAGE' => $per_page,
$tpl_prefix . 'PREVIOUS_PAGE' => ($on_page == 1) ? '' : $base_url . "{$url_delim}start=" . (($on_page - 2) * $per_page),
$tpl_prefix . 'NEXT_PAGE' => ($on_page == $total_pages) ? '' : $base_url . "{$url_delim}start=" . ($on_page * $per_page),
$tpl_prefix . 'TOTAL_PAGES' => $total_pages)
);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$prev = ($on_page == 1) ? '' : $base_url . "{$url_delim}start=" . (($on_page - 2) * $per_page);
$next = ($on_page == $total_pages) ? '' : $base_url . "{$url_delim}start=" . ($on_page * $per_page);
if (is_object($phpbb_seo)) {
$page_string = str_replace($url_delim . 'start=0', '', $page_string);
$page_string = preg_replace(array('`(\.[a-z0-9]+)(&|\?)start=([0-9]+)`i', '`(/)(&|\?)start=([0-9]+)`i'), array($phpbb_seo->seo_delim['start'] . '\\3\\1', '\\1' . $phpbb_seo->seo_static['pagination'] . '\\3' . $phpbb_seo->seo_ext['pagination']), $page_string);
$prev = preg_replace(array('`(\.[a-z0-9]+)(&|\?)start=([0-9]+)`i', '`(/)(&|\?)start=([0-9]+)`i'), array($phpbb_seo->seo_delim['start'] . '\\3\\1', '\\1' . $phpbb_seo->seo_static['pagination'] . '\\3' . $phpbb_seo->seo_ext['pagination']), $prev);
$prev = str_replace(array($phpbb_seo->seo_delim['start'] . '0', $phpbb_seo->seo_static['pagination'] . '0' . $phpbb_seo->seo_ext['pagination']), '', $prev);
$next = preg_replace(array('`(\.[a-z0-9]+)(&|\?)start=([0-9]+)`i', '`(/)(&|\?)start=([0-9]+)`i'), array($phpbb_seo->seo_delim['start'] . '\\3\\1', '\\1' . $phpbb_seo->seo_static['pagination'] . '\\3' . $phpbb_seo->seo_ext['pagination']), $next);
}
$template->assign_vars(array(
$tpl_prefix . 'BASE_URL' => $base_url,
$tpl_prefix . 'PER_PAGE' => $per_page,
$tpl_prefix . 'PREVIOUS_PAGE' => $prev,
$tpl_prefix . 'NEXT_PAGE' => $next,
$tpl_prefix . 'TOTAL_PAGES' => $total_pages)
);
// www.phpBB-SEO.com SEO TOOLKIT END |
|
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
Posted: Tue Oct 16, 2007 9:30 am Post subject: Re: RC6 |
|
|
We are currently validating the updates, but as far as the phpBB SEO mod rewrite, it will be very easy.
This particular part will now be :
| Code: | #
#-----[ FIND ]------------------------------------------
#
$template->assign_vars(array(
$tpl_prefix . 'BASE_URL' => $base_url,
'A_' . $tpl_prefix . 'BASE_URL' => addslashes($base_url),
$tpl_prefix . 'PER_PAGE' => $per_page,
$tpl_prefix . 'PREVIOUS_PAGE' => ($on_page == 1) ? '' : $base_url . "{$url_delim}start=" . (($on_page - 2) * $per_page),
$tpl_prefix . 'NEXT_PAGE' => ($on_page == $total_pages) ? '' : $base_url . "{$url_delim}start=" . ($on_page * $per_page),
$tpl_prefix . 'TOTAL_PAGES' => $total_pages,
));
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$prev = ($on_page == 1) ? '' : $base_url . "{$url_delim}start=" . (($on_page - 2) * $per_page);
$next = ($on_page == $total_pages) ? '' : $base_url . "{$url_delim}start=" . ($on_page * $per_page);
if (is_object($phpbb_seo)) {
$page_string = str_replace($url_delim . 'start=0', '', $page_string);
$page_string = preg_replace(array('`(\.[a-z0-9]+)(&|\?)start=([0-9]+)`i', '`(/)(&|\?)start=([0-9]+)`i'), array($phpbb_seo->seo_delim['start'] . '\\3\\1', '\\1' . $phpbb_seo->seo_static['pagination'] . '\\3' . $phpbb_seo->seo_ext['pagination']), $page_string);
$prev = preg_replace(array('`(\.[a-z0-9]+)(&|\?)start=([0-9]+)`i', '`(/)(&|\?)start=([0-9]+)`i'), array($phpbb_seo->seo_delim['start'] . '\\3\\1', '\\1' . $phpbb_seo->seo_static['pagination'] . '\\3' . $phpbb_seo->seo_ext['pagination']), $prev);
$prev = str_replace(array($phpbb_seo->seo_delim['start'] . '0', $phpbb_seo->seo_static['pagination'] . '0' . $phpbb_seo->seo_ext['pagination']), '', $prev);
$next = preg_replace(array('`(\.[a-z0-9]+)(&|\?)start=([0-9]+)`i', '`(/)(&|\?)start=([0-9]+)`i'), array($phpbb_seo->seo_delim['start'] . '\\3\\1', '\\1' . $phpbb_seo->seo_static['pagination'] . '\\3' . $phpbb_seo->seo_ext['pagination']), $next);
}
$template->assign_vars(array(
$tpl_prefix . 'BASE_URL' => $base_url,
'A_' . $tpl_prefix . 'BASE_URL' => addslashes($base_url),
$tpl_prefix . 'PER_PAGE' => $per_page,
$tpl_prefix . 'PREVIOUS_PAGE' => $prev,
$tpl_prefix . 'NEXT_PAGE' => $next,
$tpl_prefix . 'TOTAL_PAGES' => $total_pages)
);
// www.phpBB-SEO.com SEO TOOLKIT END |
Other minor changes will be made to the templates, should be released later today or tomorrow.
 |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
loveseo PR0

Joined: 29 Aug 2007 Posts: 73 Location: Egypt
|
Posted: Wed Oct 17, 2007 12:56 am Post subject: Re: RC6 |
|
|
| SeO wrote: | The code changes for the phpBB SEO mods will be minor and hopefully released tomorrow
So far I can tell you that you won't find the $profile_url code change in includes/function, and that it is not required any more. |
thanks very much we are waiting it |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
TomaS PR2

Joined: 08 Jun 2007 Posts: 226
|
|
| Back to top |
|
 |
janmyszkier
Joined: 12 Oct 2007 Posts: 43 Location: Wroclaw, Poland.
|
Posted: Thu Oct 18, 2007 2:20 pm Post subject: Re: RC6 |
|
|
| TomaS i think you should make a new topic about this, I hope mods will split it:) does your forum run on UTF-8 characters or iso-8859-2 ? |
|
|
| Back to top |
|
 |
GoodOmens
Joined: 18 Oct 2007 Posts: 7
|
Posted: Thu Oct 18, 2007 2:24 pm Post subject: Re: RC6 |
|
|
Sweet I'll give it a look.
Hopefully there is a change file for people that had previous versions. |
|
|
| Back to top |
|
 |
GoodOmens
Joined: 18 Oct 2007 Posts: 7
|
Posted: Thu Oct 18, 2007 2:40 pm Post subject: Re: RC6 |
|
|
One question ... I don't have this in subsilver:
| Code: |
#
styles/prosilver/template/overall_header.html
#
#-----[ FIND ]------------------------------------------
#
var onload_functions = new Array();
var onunload_functions = new Array();
|
Where would this be? |
|
|
| Back to top |
|
 |
janmyszkier
Joined: 12 Oct 2007 Posts: 43 Location: Wroclaw, Poland.
|
Posted: Thu Oct 18, 2007 2:43 pm Post subject: Re: RC6 |
|
|
edited my post:
ok my bad subsilver doesn't have these lines but:
| Code: |
styles/prosilver/template/overall_header.html
|
should tell you where to look for  |
|
|
| Back to top |
|
 |
GoodOmens
Joined: 18 Oct 2007 Posts: 7
|
Posted: Thu Oct 18, 2007 3:02 pm Post subject: Re: RC6 |
|
|
Make sure you refresh your templates before editing functions.php
Not doing so will lock you out of the ACP.
In more particular, this edit:
| Code: | #
#-----[ FIND ]------------------------------------------
#
if (defined('HEADER_INC'))
{
return;
}
#
#-----[ AFTER, ADD]------------------------------------------
# |
Needs the template edits to be in place to work. You need acp access to refresh the templates and make the changes live ...
If you make that edit before the template edits (And making the template edits "live" you will not be able to log into the ACP.
Also for subsilver2 (Or subsilver2 based templates):
| Code: | #
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/overall_header.html
#-----[ FIND ]------------------------------------------
#
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<script type="text/javascript">
// <![CDATA[
#
#-----[ AFTER, ADD]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
var seo_delim_start = '{SEO_START_DELIM}';
var seo_static_pagination = '{SEO_SATIC_PAGE}';
var seo_ext_pagination = '{SEO_EXT_PAGE}';
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
|
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
TomaS PR2

Joined: 08 Jun 2007 Posts: 226
|
Posted: Thu Oct 18, 2007 4:49 pm Post subject: Re: RC6 |
|
|
| janmyszkier wrote: | | TomaS i think you should make a new topic about this, I hope mods will split it:) does your forum run on UTF-8 characters or iso-8859-2 ? | yes i will do that.I use only utf code.After install it works great until i have start new topic or send reply and click on show my post then show that sentence:No mod for posting was choose so now i cant use this seo mod.
Anyway it looks very good mainly that acp control is nice and very practice
to SeO thx man i didnt see post whit that Žž charackter.ok now only solv thw problem whit posting and i am happy user of this great mod |
_________________ phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center |
|
| Back to top |
|
 |
|
|