| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
googleandroid
Joined: 04 Dec 2007 Posts: 3
|
Posted: Wed Dec 05, 2007 2:53 am Post subject: Black Pearl Template with this MOD help |
|
|
Ok i have the black pearl template on my forum and when installing this mod my template does not have the following:
| Code: | var onload_functions = new Array();
var onunload_functions = new Array(); |
I do not have this code in the overallheader
| Code: | | <a href="#p{postrow.POST_ID}"> |
I do not have this code in viewtopic_body.html
So are there any workarounds to make this mod work without these codes? Or where can I find these codes or how can I add them and into where?
Thanks |
|
|
| Back to top |
|
 |
|
 |
Peter77 phpBB SEO Team


Joined: 10 May 2006 Posts: 512 Location: Michigan
|
Posted: Wed Dec 05, 2007 3:45 am Post subject: Re: Black Pearl Template with this MOD help |
|
|
| It might be best to wait for MM to update his template... since he is going to upgrade it to RC8, and the SEO MODs are not ready for RC8 just yet. soon for sure. |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3477
|
Posted: Wed Dec 05, 2007 2:14 pm Post subject: Re: Black Pearl Template with this MOD help |
|
|
| googleandroid wrote: |
I do not have this code in viewtopic_body.html
|
That's no big deal and can even not be required with your template.
Here is the code changes for subsilver2, that will be added in the next release :
| Code: | #
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/overall_header.html
#
#-----[ FIND ]------------------------------------------
#
<head>
#
#-----[ AFTER, ADD ]------------------------------------------
#
{SEO_BASE_HREF}
#
#-----[ FIND ]------------------------------------------
#
function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
if (page !== null && !isNaN(page) && page > 0)
{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
}
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto()
{
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
var perpage = '{PER_PAGE}';
var base_url = '{A_BASE_URL}';
var seo_delim_start = '{SEO_START_DELIM}';
var seo_static_pagination = '{SEO_SATIC_PAGE}';
var seo_ext_pagination = '{SEO_EXT_PAGE}';
if (page !== null && !isNaN(page) && page > 0) {
var seo_page = (page - 1) * per_page;
if ( base_url.indexOf('?') >= 0 ) {
document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page;
} else if ( seo_page > 0 ) {
var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);
if (seo_type1 !== null) {
document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1;
}
var seo_type2 = base_url.match(/\/$/);
if (seo_type2 !== null) {
document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination;
}
} else {
document.location.href = base_url;
}
}
}
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/viewtopic_body.html
#
#-----[ FIND ]------------------------------------------
#
<a href="#wrapheader">
#
#-----[ REPLACE WITH ]------------------------------------------
#
<a href="{U_VIEW_TOPIC}#wrapheader"> |
Can be useful in case your template is based on subsilver2 more than prosilver.
Hope this helps. |
_________________ 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 |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |