Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

error en sitemap del Phpbb Seo GYM MODTema Solucionado

Soporte de MODs para phpBB 3.0.x
Dudas sobre AutoMOD aquí por favor.
Cerrado

0
No hay votos
 
Votos totales: 0

Nacho1191
Miembro
Mensajes: 246
Registrado: 11 Ene 2005, 07:25
Género:
Edad: 41

error en sitemap del Phpbb Seo GYM MOD

#1

Mensaje por Nacho1191 »

Antes que todo la instalacion de los Seo mod, no aparece ningún error y están debidamente instalados, apareciendo cada cual en el ACP. Son las ultimas versiones del: Seo Url, Zero Duplicated, y Gym Sitemap.

Son 3 problemas que tengo:

1. Una vez instalado el phpbb Seo Gym y configurado para aparecer con el Url Rewrite y el Zero Duplicated, tambien actualizado el .httacces, solo algunas url de los topics aparecen con el nombre(name topic.html), la mayoría aparecen como topicxx.html.
este es mi .httacces:

Código: Seleccionar todo

    # Lines That should already be in your .htacess
    <Files "config.php">
    Order Allow,Deny
    Deny from All
    </Files>
    <Files "common.php">
    Order Allow,Deny
    Deny from All
    </Files>

    # You may need to un-comment the following lines
    # Options +FollowSymlinks
    # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
    # Options -MultiViews
    # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
    RewriteEngine On
    # Uncomment the statement below if you want to make use of
    # HTTP authentication and it does not already work.
    # This could be required if you are for example using PHP via Apache CGI.
    # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    # REWRITE BASE
    RewriteBase /foro/
    # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
    # RewriteCond %{HTTP_HOST} !^www\.gmugen\.com$ [NC]
    # RewriteRule ^(.*)$ http://www.gmugen.com/foro/$1 [QSA,L,R=301]

    # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    #####################################################
    # PHPBB SEO REWRITE RULES ALL MODES
    #####################################################
    # AUTHOR : dcz www.phpbb-seo.com
    # STARTED : 01/2006
    #################################
    # FORUMS PAGES
    ###############
    # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
    # RewriteRule ^forum\.html$ index.php [QSA,L,NC]
    # FORUM ALL MODES
    RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ viewforum.php?f=$2&start=$4 [QSA,L,NC]
    # TOPIC WITH VIRTUAL FOLDER ALL MODES
    RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
    # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
    RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
    # PHPBB FILES ALL MODES
    RewriteRule ^resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ download/file.php?id=$2&t=$1 [QSA,L,NC]
    # PROFILES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/?$ memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
    # USER MESSAGES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
    # GROUPS ALL MODES
    RewriteRule ^(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
    # POST
    RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^active-topics(-([0-9]+))?\.html$ search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^unanswered(-([0-9]+))?\.html$ search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^newposts(-([0-9]+))?\.html$ search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
    # UNREAD POSTS
    RewriteRule ^unreadposts(-([0-9]+))?\.html$ search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
    # THE TEAM
    RewriteRule ^the-team\.html$ memberlist.php?mode=leaders [QSA,L,NC]
    # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

    #####################################################
    # GYM Sitemaps & RSS
    # Global channels
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
    # HTML Global news & maps
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^(news|maps)/?(page([0-9]+)\.html)?$ map.php?$1&start=$3 [QSA,L,NC]
    # END GYM Sitemaps & RSS
    #####################################################

    # FORUM WITHOUT ID & DELIM ALL MODES
    # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([a-z0-9_-]+)(-([0-9]+))\.html$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([a-z0-9_-]+)\.html$ viewforum.php?forum_uri=$1 [QSA,L,NC]
    # FIX RELATIVE PATHS : FILES
    RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ $1 [QSA,L,NC,R=301]
    # FIX RELATIVE PATHS : IMAGES
    RewriteRule ^.+/(styles/.*|images/.*)/$ $1 [QSA,L,NC,R=301]
    # END PHPBB PAGES
    #####################################################

    #####################################################
    # GYM Sitemaps & RSS
    # HTML Module additional modes
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ map.php?$2=$4&$1&start=$6 [QSA,L,NC]
    # Main feeds & channels
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
    # Module feeds
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
    # Module feeds without ids
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
    # Google SitemapIndex
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^sitemapindex\.xml(\.gz)?$ sitemap.php?gzip=$1 [QSA,L,NC]
    # Module cat sitemaps
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
    # Module sitemaps
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
    # END GYM Sitemaps & RSS
    #####################################################
2. cuando me meto al google sitemap ACP, me aparece:
The configured URL for Google mode is not consistant with phpBB one. The URL must use the same domain or sub-domain and the same protocol (http:// or https://) as phpBB. Even though the configured URL for Google mode is correct, the path to phpBB ($phpbb_root_path) set in http://www.gmugen.com/foro/sitemap.php is wrong. This can only occur when $phpbb_root_path was manually modified and / or the file was moved.
Note that $phpbb_root_path must be a valide relative path from the directory where sitemap.php is to the directory where phpBB is installed, and that it must start with "./".
According to your settings, $phpbb_root_path should be set to ./ in sitemap.php.
Go fix configuration : Google Sitemaps URL
siendo que en el sitemap.php alojado en la carpeta /foro/ lo tengo configurado:

Código: Seleccionar todo

$phpbb_root_path = './foro/';
y en el acp lo tengo colocado:
Google Sitemaps URL: http://www.gmugen.com/foro/
Producto de lo anterior,al querer ver el sitemap en el index (http://gmugen.com/foro/sitemap.php)
me sale el siguiente error:
Warning: include(./foro/common.php) [function.include]: failed to open stream: No such file or directory in /home/gmugenco/public_html/foro/sitemap.php on line 13

Warning: include(./foro/common.php) [function.include]: failed to open stream: No such file or directory in /home/gmugenco/public_html/foro/sitemap.php on line 13

Warning: include() [function.include]: Failed opening './foro/common.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gmugenco/public_html/foro/sitemap.php on line 13

Fatal error: Call to a member function session_begin() on a non-object in /home/gmugenco/public_html/foro/sitemap.php on line 15
donde la linea 13 y 15 de ese archivo corresponden:

Código: Seleccionar todo

include($phpbb_root_path . 'common.' . $phpEx);
$user->session_begin();
Desconosco que puede estar mal ya que mi configuracion conrresponde como lo mostré al principio.

3. El channellist en el index http://gmugen.com/foro/gymrss.php?channels&news, me aparece:
Error al cargar la hoja de estilo: Ha ocurrido un error desconocido (805303f4)http://www.gmugen.com/foro/gym_sitemaps ... theme_id-3
tampoco sé que es lo que pasa con ese archivo.

Lo paradojico de todo esto es que el resto de las funciones del GYM sitemap, funcionan a la perfección...

Agradecería que me pudieran ayudar, tal vez me ayude la configuracion que tienen acá, ya que son los mods instalados y tenemos la misma root.

Saludos
[URL: http://www.generacionretro.net/
Versión phpBB: phpBB3 (3.0.14)
MODs Instalados:
| Mostrar
Advanced BBCode Box 3 (aka ABBC3)
AOS notificaciones
AOS Quien a Visitado un Tema
Guests Past 24 hours on index
Default Random 'No Avatar'.
Inactive and Banned Users` Custom Titles & Avatars
Prime Trash Bin
Introduciator
Advanced Rules Page
Ultimate Points
Hidden content until reply
phpBB3 Form Maker/Creator Mod
Thanks for posts
Pay For Link MOD v1.0.2
Notify topic starter on moderator action
Special and Normal Rank Images
Welcome on index
Report to topic
Prime Post Revisions
Profile Fields Control MOD
Topic solved
PM Spy
Post Models
Custom Header Logo
Activity Stats MOD
ACP Add User MOD
NV advanced last topic titles
Auto Groups MOD
Topic Evaluation/Rating
Quick Title Edition
MOD Version Check
Prime Warnings
Post Bot
Share On
Categorize Announcements and Stickies
Profile Views List
User Rank Progression Bar
Adaptive Hide BBcodes
Hidden content for groups can view
Menu System
New topics need approval
Moderator Messages
Prime Subject Check
Topic in "Who is Online"
Moderator Needed
Parse BBCode in Custom Profile Fields
Prime Links
cBB Blockgets
Country Flags User Edition
Youtube Videos Gallery
Username Colour Change MOD
Topics Icons in new column
Medal System
Sitemap FX
Official Topic Index
Static Pages
Advertisement Management
Pastebin
User Reminder
Anti Double Post
Welcome PM on first Login (WPM)
Precise Similar Topics II
Profile friends list mod
Prime Notify
View Poster IP in viewtopic
Auto Backup
Limit Post as Count per Forum
Modification of Terms of Use
Multiple Newsletter Add On
Smashable Christmas Lights
Force To Read Topics
Upcoming Birthday list
cBB Blog
First Topic [pic] on Forum Index
JQ Preview
Forum Viewer
SmiX.MODs Feed News Center
FIND
Topics Only Visible to OP
Advanced Smilies Table
cBB Chat
cBB Chat Addon para cBB Blockgets
Classifieds MOD
Referral MOD With Contests
phpBB Gallery
phpBB Topic Tagging
Mini News
Post Count Requirements
Guest Views
Plantilla(s) usada(s): prosilver
Servidor: pagado generacionretro.net
Conversión desde otro sistema de foros: no

Nacho1191
Miembro
Mensajes: 246
Registrado: 11 Ene 2005, 07:25
Género:
Edad: 41

Re: error en sitemap del Phpbb Seo GYM MOD

#2

Mensaje por Nacho1191 »

agrego otro inconveniente que tengo que es compatibilizar el topic solved con estos mods SEO, según he leído lo hicieron en este foro. alguien me podría decir que hacer?
[URL: http://www.generacionretro.net/
Versión phpBB: phpBB3 (3.0.14)
MODs Instalados:
| Mostrar
Advanced BBCode Box 3 (aka ABBC3)
AOS notificaciones
AOS Quien a Visitado un Tema
Guests Past 24 hours on index
Default Random 'No Avatar'.
Inactive and Banned Users` Custom Titles & Avatars
Prime Trash Bin
Introduciator
Advanced Rules Page
Ultimate Points
Hidden content until reply
phpBB3 Form Maker/Creator Mod
Thanks for posts
Pay For Link MOD v1.0.2
Notify topic starter on moderator action
Special and Normal Rank Images
Welcome on index
Report to topic
Prime Post Revisions
Profile Fields Control MOD
Topic solved
PM Spy
Post Models
Custom Header Logo
Activity Stats MOD
ACP Add User MOD
NV advanced last topic titles
Auto Groups MOD
Topic Evaluation/Rating
Quick Title Edition
MOD Version Check
Prime Warnings
Post Bot
Share On
Categorize Announcements and Stickies
Profile Views List
User Rank Progression Bar
Adaptive Hide BBcodes
Hidden content for groups can view
Menu System
New topics need approval
Moderator Messages
Prime Subject Check
Topic in "Who is Online"
Moderator Needed
Parse BBCode in Custom Profile Fields
Prime Links
cBB Blockgets
Country Flags User Edition
Youtube Videos Gallery
Username Colour Change MOD
Topics Icons in new column
Medal System
Sitemap FX
Official Topic Index
Static Pages
Advertisement Management
Pastebin
User Reminder
Anti Double Post
Welcome PM on first Login (WPM)
Precise Similar Topics II
Profile friends list mod
Prime Notify
View Poster IP in viewtopic
Auto Backup
Limit Post as Count per Forum
Modification of Terms of Use
Multiple Newsletter Add On
Smashable Christmas Lights
Force To Read Topics
Upcoming Birthday list
cBB Blog
First Topic [pic] on Forum Index
JQ Preview
Forum Viewer
SmiX.MODs Feed News Center
FIND
Topics Only Visible to OP
Advanced Smilies Table
cBB Chat
cBB Chat Addon para cBB Blockgets
Classifieds MOD
Referral MOD With Contests
phpBB Gallery
phpBB Topic Tagging
Mini News
Post Count Requirements
Guest Views
Plantilla(s) usada(s): prosilver
Servidor: pagado generacionretro.net
Conversión desde otro sistema de foros: no

Nacho1191
Miembro
Mensajes: 246
Registrado: 11 Ene 2005, 07:25
Género:
Edad: 41

Re: error en sitemap del Phpbb Seo GYM MOD

#3

Mensaje por Nacho1191 »

sorry por ser tan insistente... pero alguien puede ayudarme??
[URL: http://www.generacionretro.net/
Versión phpBB: phpBB3 (3.0.14)
MODs Instalados:
| Mostrar
Advanced BBCode Box 3 (aka ABBC3)
AOS notificaciones
AOS Quien a Visitado un Tema
Guests Past 24 hours on index
Default Random 'No Avatar'.
Inactive and Banned Users` Custom Titles & Avatars
Prime Trash Bin
Introduciator
Advanced Rules Page
Ultimate Points
Hidden content until reply
phpBB3 Form Maker/Creator Mod
Thanks for posts
Pay For Link MOD v1.0.2
Notify topic starter on moderator action
Special and Normal Rank Images
Welcome on index
Report to topic
Prime Post Revisions
Profile Fields Control MOD
Topic solved
PM Spy
Post Models
Custom Header Logo
Activity Stats MOD
ACP Add User MOD
NV advanced last topic titles
Auto Groups MOD
Topic Evaluation/Rating
Quick Title Edition
MOD Version Check
Prime Warnings
Post Bot
Share On
Categorize Announcements and Stickies
Profile Views List
User Rank Progression Bar
Adaptive Hide BBcodes
Hidden content for groups can view
Menu System
New topics need approval
Moderator Messages
Prime Subject Check
Topic in "Who is Online"
Moderator Needed
Parse BBCode in Custom Profile Fields
Prime Links
cBB Blockgets
Country Flags User Edition
Youtube Videos Gallery
Username Colour Change MOD
Topics Icons in new column
Medal System
Sitemap FX
Official Topic Index
Static Pages
Advertisement Management
Pastebin
User Reminder
Anti Double Post
Welcome PM on first Login (WPM)
Precise Similar Topics II
Profile friends list mod
Prime Notify
View Poster IP in viewtopic
Auto Backup
Limit Post as Count per Forum
Modification of Terms of Use
Multiple Newsletter Add On
Smashable Christmas Lights
Force To Read Topics
Upcoming Birthday list
cBB Blog
First Topic [pic] on Forum Index
JQ Preview
Forum Viewer
SmiX.MODs Feed News Center
FIND
Topics Only Visible to OP
Advanced Smilies Table
cBB Chat
cBB Chat Addon para cBB Blockgets
Classifieds MOD
Referral MOD With Contests
phpBB Gallery
phpBB Topic Tagging
Mini News
Post Count Requirements
Guest Views
Plantilla(s) usada(s): prosilver
Servidor: pagado generacionretro.net
Conversión desde otro sistema de foros: no

Avatar de Usuario
Alorse
Ex Staff
Mensajes: 5144
Registrado: 22 Mar 2008, 02:14
Género:
Edad: 37

Re: error en sitemap del Phpbb Seo GYM MOD

#4

Mensaje por Alorse »

Yo te puedo ayudar con la duda del segundo mensaje, pero metiste muchas dudas en un mismo tema... sinceramente da hasta pereza leerlo... déjame busco la solución que le dimos al Topic Solved en este foro y te la pongo.

Para la primer duda, creo que te hace falta el No Duplicate, que es diferente al Zero Duplicate.

Avatar de Usuario
Alorse
Ex Staff
Mensajes: 5144
Registrado: 22 Mar 2008, 02:14
Género:
Edad: 37

Re: error en sitemap del Phpbb Seo GYM MOD

#5

Mensaje por Alorse »

leviatan21 escribió:Antes de irme a dormir, descubrí que el Topic Solved había dejado de funcionar, hoy buscando y buscando encontré la causa, el SEO TOOLKIT Zero dupe hacia que no fuera posible que funcionara.

hice varias pruebas, y la única que me funcionó es la siguiente :
Abrir :

Código: Seleccionar todo

raíz/viewtopic.php
Buscar :

Código: Seleccionar todo

// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe
$phpbb_seo->seo_opt['zero_dupe']['start'] = $phpbb_seo->seo_chk_start( $start, $config['posts_per_page'] );
if (!empty($phpbb_seo->seo_opt['url_rewrite'])) {
	$phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=$start"));
}
if ( $post_id && !$view && !$phpbb_seo->set_do_redir_post()) {
	$phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array(
		'p' => array('val' => $post_id, 'keep' => true, 'force' => true, 'hash' => "p$post_id"),
		'hilit' => array('val' => (($highlight_match) ? $highlight : ''), 'keep' => !empty($highlight_match)),
	);
} else {
	$seo_watch = request_var('watch', '');
	$seo_unwatch = request_var('unwatch', '');
	$seo_bookmark = request_var('bookmark', 0);
	$keep_watch = (boolean) ($seo_watch == 'topic' && $user->data['is_registered']);
	$keep_unwatch = (boolean) ($seo_unwatch == 'topic' && $user->data['is_registered']);
	$keep_hash = (boolean) ($keep_watch || $keep_unwatch || $seo_bookmark);
	$seo_uid = max(0, request_var('uid', 0));
	$phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array(
		'uid' => array('val' => $seo_uid, 'keep' => (boolean) ($keep_hash && $seo_uid)),
		'f' => array('val' => $forum_id, 'keep' => true, 'force' => true),
		't' => array('val' => $topic_id, 'keep' => true, 'force' => true, 'hash' => $post_id ? "p$post_id" : ''),
		'p' => array('val' => $post_id, 'keep' =>  ($post_id && $view == 'show' ? true : false), 'hash' => "p$post_id"),
		'watch' => array('val' => $seo_watch, 'keep' => $keep_watch),
		'unwatch' => array('val' => $seo_unwatch, 'keep' => $keep_unwatch),
		'bookmark' => array('val' => $seo_bookmark, 'keep' => (boolean) ($user->data['is_registered'] && $config['allow_bookmarks'] && $seo_bookmark)),
		'start' => array('val' => $phpbb_seo->seo_opt['zero_dupe']['start'], 'keep' => true, 'force' => true),
		'hash' => array('val' => request_var('hash', ''), 'keep' => $keep_hash),
		'st' => array('val' => $sort_days, 'keep' => true),
		'sk' => array('val' => $sort_key, 'keep' => true),
		'sd' => array('val' => $sort_dir, 'keep' => true),
		'view' => array('val' => $view, 'keep' => $view == 'print' ? (boolean) $auth->acl_get('f_print', $forum_id) : (($view == 'viewpoll' || $view == 'show') ? true : false)),
		'hilit' => array('val' => (($highlight_match) ? $highlight : ''), 'keep' => (boolean) !(!$user->data['is_registered'] && $phpbb_seo->seo_opt['rem_hilit'])),
	);
	if ($phpbb_seo->seo_opt['zero_dupe']['redir_def']['bookmark']['keep']) { // Prevent unessecary redirections
		// Note : bookmark, watch and unwatch cases could just not be handled by the zero dupe (no redirect at all when used),
		// but the handling as well acts as a poweful security shield so, it's worth it ;)
		unset($phpbb_seo->seo_opt['zero_dupe']['redir_def']['start']);
	}
}
$phpbb_seo->seo_chk_dupe();
// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe
Reemplazar por :

Código: Seleccionar todo

// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe
// Topic solved FIX - START
if (!$solved_id && !$unsolved)
{
// Topic solved FIX - END
$phpbb_seo->seo_opt['zero_dupe']['start'] = $phpbb_seo->seo_chk_start( $start, $config['posts_per_page'] );
if (!empty($phpbb_seo->seo_opt['url_rewrite'])) {
	$phpbb_seo->seo_path['canonical'] = $phpbb_seo->drop_sid(append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=$start"));
}
if ( $post_id && !$view && !$phpbb_seo->set_do_redir_post()) {
	$phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array(
		'p' => array('val' => $post_id, 'keep' => true, 'force' => true, 'hash' => "p$post_id"),
		'hilit' => array('val' => (($highlight_match) ? $highlight : ''), 'keep' => !empty($highlight_match)),
	);
} else {
	$seo_watch = request_var('watch', '');
	$seo_unwatch = request_var('unwatch', '');
	$seo_bookmark = request_var('bookmark', 0);
	$keep_watch = (boolean) ($seo_watch == 'topic' && $user->data['is_registered']);
	$keep_unwatch = (boolean) ($seo_unwatch == 'topic' && $user->data['is_registered']);
	$keep_hash = (boolean) ($keep_watch || $keep_unwatch || $seo_bookmark);
	$seo_uid = max(0, request_var('uid', 0));
	$phpbb_seo->seo_opt['zero_dupe']['redir_def'] = array(
		'uid' => array('val' => $seo_uid, 'keep' => (boolean) ($keep_hash && $seo_uid)),
		'f' => array('val' => $forum_id, 'keep' => true, 'force' => true),
		't' => array('val' => $topic_id, 'keep' => true, 'force' => true, 'hash' => $post_id ? "p$post_id" : ''),
		'p' => array('val' => $post_id, 'keep' =>  ($post_id && $view == 'show' ? true : false), 'hash' => "p$post_id"),
		'watch' => array('val' => $seo_watch, 'keep' => $keep_watch),
		'unwatch' => array('val' => $seo_unwatch, 'keep' => $keep_unwatch),
		'bookmark' => array('val' => $seo_bookmark, 'keep' => (boolean) ($user->data['is_registered'] && $config['allow_bookmarks'] && $seo_bookmark)),
		'start' => array('val' => $phpbb_seo->seo_opt['zero_dupe']['start'], 'keep' => true, 'force' => true),
		'hash' => array('val' => request_var('hash', ''), 'keep' => $keep_hash),
		'st' => array('val' => $sort_days, 'keep' => true),
		'sk' => array('val' => $sort_key, 'keep' => true),
		'sd' => array('val' => $sort_dir, 'keep' => true),
		'view' => array('val' => $view, 'keep' => $view == 'print' ? (boolean) $auth->acl_get('f_print', $forum_id) : (($view == 'viewpoll' || $view == 'show') ? true : false)),
		'hilit' => array('val' => (($highlight_match) ? $highlight : ''), 'keep' => (boolean) !(!$user->data['is_registered'] && $phpbb_seo->seo_opt['rem_hilit'])),
	);
	if ($phpbb_seo->seo_opt['zero_dupe']['redir_def']['bookmark']['keep']) { // Prevent unessecary redirections
		// Note : bookmark, watch and unwatch cases could just not be handled by the zero dupe (no redirect at all when used),
		// but the handling as well acts as a poweful security shield so, it's worth it ;)
		unset($phpbb_seo->seo_opt['zero_dupe']['redir_def']['start']);
	}
}
$phpbb_seo->seo_chk_dupe();
// Topic solved FIX - START
}
// Topic solved FIX - END
// www.phpBB-SEO.com SEO TOOLKIT END -> Zero dupe
O sea que lo que hago es que se saleteen las modificaciones por el Zero dupe si se está marcando/desmarcando como solucionado

Dejo constancia de esta solución por si descubrimos alguna mejor solución o conflicto :cachas:

Nacho1191
Miembro
Mensajes: 246
Registrado: 11 Ene 2005, 07:25
Género:
Edad: 41

Re: error en sitemap del Phpbb Seo GYM MOD

#6

Mensaje por Nacho1191 »

gracias alorse!
bueno ya he solucionado casi todos los problemas, solo me queda el punto 1:
solo algunas url de los topics aparecen con el nombre(name topic.html), la mayoría aparecen como topicxx.html.
instale el no duplicated, actualice el .httacces, pero todavía veo temas con nombre y sin nombre... no creo que sean duplicados porque me he fijado que hay topics no comunes que igual asi no aparece el nombre.

sugerencias?
[URL: http://www.generacionretro.net/
Versión phpBB: phpBB3 (3.0.14)
MODs Instalados:
| Mostrar
Advanced BBCode Box 3 (aka ABBC3)
AOS notificaciones
AOS Quien a Visitado un Tema
Guests Past 24 hours on index
Default Random 'No Avatar'.
Inactive and Banned Users` Custom Titles & Avatars
Prime Trash Bin
Introduciator
Advanced Rules Page
Ultimate Points
Hidden content until reply
phpBB3 Form Maker/Creator Mod
Thanks for posts
Pay For Link MOD v1.0.2
Notify topic starter on moderator action
Special and Normal Rank Images
Welcome on index
Report to topic
Prime Post Revisions
Profile Fields Control MOD
Topic solved
PM Spy
Post Models
Custom Header Logo
Activity Stats MOD
ACP Add User MOD
NV advanced last topic titles
Auto Groups MOD
Topic Evaluation/Rating
Quick Title Edition
MOD Version Check
Prime Warnings
Post Bot
Share On
Categorize Announcements and Stickies
Profile Views List
User Rank Progression Bar
Adaptive Hide BBcodes
Hidden content for groups can view
Menu System
New topics need approval
Moderator Messages
Prime Subject Check
Topic in "Who is Online"
Moderator Needed
Parse BBCode in Custom Profile Fields
Prime Links
cBB Blockgets
Country Flags User Edition
Youtube Videos Gallery
Username Colour Change MOD
Topics Icons in new column
Medal System
Sitemap FX
Official Topic Index
Static Pages
Advertisement Management
Pastebin
User Reminder
Anti Double Post
Welcome PM on first Login (WPM)
Precise Similar Topics II
Profile friends list mod
Prime Notify
View Poster IP in viewtopic
Auto Backup
Limit Post as Count per Forum
Modification of Terms of Use
Multiple Newsletter Add On
Smashable Christmas Lights
Force To Read Topics
Upcoming Birthday list
cBB Blog
First Topic [pic] on Forum Index
JQ Preview
Forum Viewer
SmiX.MODs Feed News Center
FIND
Topics Only Visible to OP
Advanced Smilies Table
cBB Chat
cBB Chat Addon para cBB Blockgets
Classifieds MOD
Referral MOD With Contests
phpBB Gallery
phpBB Topic Tagging
Mini News
Post Count Requirements
Guest Views
Plantilla(s) usada(s): prosilver
Servidor: pagado generacionretro.net
Conversión desde otro sistema de foros: no

Avatar de Usuario
Alorse
Ex Staff
Mensajes: 5144
Registrado: 22 Mar 2008, 02:14
Género:
Edad: 37

Re: error en sitemap del Phpbb Seo GYM MOD  Tema Solucionado

#7

Mensaje por Alorse »

A mi en mi foro me pasa, pero solo con temas que tienen títulos muy cotos o en su defecto el titulo del tema tiene palabras muy cortas que el SEO no toma.
Sera por eso?

memoadian
Elite
Mensajes: 1572
Registrado: 27 Jun 2009, 13:07
Edad: 38

Re: error en sitemap del Phpbb Seo GYM MOD

#8

Mensaje por memoadian »

lo que yo hice es activar la redirección. no se si te sirva pero en
ACP->phpbb seo->Cero Duplicados

le das en todo, y con eso serás redireccionado al post con los nombres completos.
Datos de soporte
URL: http://manganimemas.com/foro
Versión phpBB: phpBB3 (3.0.9)
MODs Instalados:
Advertisement management, Jquery quick edit,
Block foro externo, Reimg image resizer,
PhpbbSEO, Multi race ranks,
Auto backup, Multiple ranks,
phpbb-seo dynamic meta tags, breizh ajax checks,
barra de mitch, Imágen campos personalizados,
centrar avatar, full quick reply editor,
ign style colored names, perfil a la izquierda,
nv newspage, phpbb security, prime links,
smilie creator, user ranks progresion bar,
buttons menu, prime notify,

Plantilla(s) usada(s): prosilver
Servidor: Pago
Actualización desde otra versión: si
Conversión desde otro sistema de foros: no
__________________________________________________________________________________________________
Instalo mods
Administrador de manganimemas.
__________________________________________________________________________________________________

Nacho1191
Miembro
Mensajes: 246
Registrado: 11 Ene 2005, 07:25
Género:
Edad: 41

Re: error en sitemap del Phpbb Seo GYM MOD

#9

Mensaje por Nacho1191 »

memoadian escribió:lo que yo hice es activar la redirección. no se si te sirva pero en
ACP->phpbb seo->Cero Duplicados

le das en todo, y con eso serás redireccionado al post con los nombres completos.
sip ya lo tenía todo eso configurado, pero no me ha dado resultados.
además otra duda:
solo algunos subforos estan con el sitemap Imagen, como configuro eso para que se almacenen todos los subforos?
[URL: http://www.generacionretro.net/
Versión phpBB: phpBB3 (3.0.14)
MODs Instalados:
| Mostrar
Advanced BBCode Box 3 (aka ABBC3)
AOS notificaciones
AOS Quien a Visitado un Tema
Guests Past 24 hours on index
Default Random 'No Avatar'.
Inactive and Banned Users` Custom Titles & Avatars
Prime Trash Bin
Introduciator
Advanced Rules Page
Ultimate Points
Hidden content until reply
phpBB3 Form Maker/Creator Mod
Thanks for posts
Pay For Link MOD v1.0.2
Notify topic starter on moderator action
Special and Normal Rank Images
Welcome on index
Report to topic
Prime Post Revisions
Profile Fields Control MOD
Topic solved
PM Spy
Post Models
Custom Header Logo
Activity Stats MOD
ACP Add User MOD
NV advanced last topic titles
Auto Groups MOD
Topic Evaluation/Rating
Quick Title Edition
MOD Version Check
Prime Warnings
Post Bot
Share On
Categorize Announcements and Stickies
Profile Views List
User Rank Progression Bar
Adaptive Hide BBcodes
Hidden content for groups can view
Menu System
New topics need approval
Moderator Messages
Prime Subject Check
Topic in "Who is Online"
Moderator Needed
Parse BBCode in Custom Profile Fields
Prime Links
cBB Blockgets
Country Flags User Edition
Youtube Videos Gallery
Username Colour Change MOD
Topics Icons in new column
Medal System
Sitemap FX
Official Topic Index
Static Pages
Advertisement Management
Pastebin
User Reminder
Anti Double Post
Welcome PM on first Login (WPM)
Precise Similar Topics II
Profile friends list mod
Prime Notify
View Poster IP in viewtopic
Auto Backup
Limit Post as Count per Forum
Modification of Terms of Use
Multiple Newsletter Add On
Smashable Christmas Lights
Force To Read Topics
Upcoming Birthday list
cBB Blog
First Topic [pic] on Forum Index
JQ Preview
Forum Viewer
SmiX.MODs Feed News Center
FIND
Topics Only Visible to OP
Advanced Smilies Table
cBB Chat
cBB Chat Addon para cBB Blockgets
Classifieds MOD
Referral MOD With Contests
phpBB Gallery
phpBB Topic Tagging
Mini News
Post Count Requirements
Guest Views
Plantilla(s) usada(s): prosilver
Servidor: pagado generacionretro.net
Conversión desde otro sistema de foros: no

Cerrado

Volver a “Soporte de MODs”