Point 2) could be this : phpBB SEO premod 3.0.6 released!
The issue with post urls looks like a problem with the update, did you install all the required code change in all your styles ?
Moderator: Moderators

dcz wrote:Point 2) could be this : phpBB SEO premod 3.0.6 released!
The issue with post urls looks like a problem with the update, did you install all the required code change in all your styles ?
onclick="var form_name = 'postform';var text_name = 'message';attach_form = document.forms[form_name].elements['attachments']; comm._HTML('[attachment=' + attach_form.value + ']', '[/attachment]',attach_form.options[attach_form.selectedIndex].text);" />
install.xml wrote:NOTE: profile and user messages pages ID removing:
__________________________________________________
phpBB/member/nicknames VS phpBB/nicknames-uxx.html
If you use profile and / or user messages pages ID removing, you should know that a custom urlencode
will be used to circumvent a bug with mod_rewrite.
This imply that some chars like "&", "/", "#" and spaces will always be double encoded.
For example a user named rock&roll will require rock%2526roll (double urlencoded &) to be usable.
( http://www.php.net/urlencode => http://issues.apache.org/bugzilla/show_bug.cgi?id=34602 )
There are other issues with custom characters, like accents, which will add some urlencoded chars in urls.
It's not an SEO issue, since bots knows about urlencoding, but it can end up building pretty long url with multi byte characters.
This does not concern the a-zA-Z0-9 chars, underscore ("_"), hyphen ("-") and dot (".") included.
In phpbb_seo/phpbb_seo_class.php, you will no longer see different methods.
This of course means that the ID removing on profile and user messages pages is more comfy and universally efficient
to use with alphanumeric chars user names (without accents).
If you only allow alphanumeric chars for your user nicknames, then you can make the injection process faster by adding :
return $url;
right after :
function seo_url_encode( $url ) {
Remember that keeping the ID here will always work and that you still can simulate a folder structure for user messages pages.

dcz wrote:1) Profile id removing is only handy if you only allow alphanumerical characters for nicknames :
So this answers to point 2) as well.
This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
dcz wrote:3) Post urls are statically rewritten because they are duplicate of topic urls. You can install the zero duplicate mod to make sure that they won't be indexed, and the no duplicate mod to translate most of them to topic urls.
Also, you did not mod your styles/envision/template/forum_fn.js, use prosilver code change for it, as well as all other prosilver code changes from the install on your style.
dcz wrote:4) Since your style seems prosilver based, you should try to activate the "load phpBB css" option, should render better. Just make sure you clear gym's cache once done, using the maintenance link in main GYM acp page.
Br33zer wrote:I have edited the phpbb_seo/phpbb_seo_class.php file and added return $url; after function seo_url_encode( $url ) {
Br33zer wrote:I have already installed Zero Duplicate and No Dupe MODs, but still the post URLs don't show the topic title. They just appear as: -http://www.my-forum.com/#p1434 which clicked returns nothing. Infact by default the post URL should have been: -http://www.my-forum.com/post1434.html#p1434
And my style is based on subsilver2. That is why I had not edited the template/forum_fn.js as nothing was mentioned about this edit in subsilver2 xml install file.
Br33zer wrote:Even enabling the load phpBB css option would not make it render properly. And as said above, the style is based on subsilver2.
Br33zer wrote:Also, about the attachment error I had mentioned previously. Can you please tell me what could be wrong?

dcz wrote:It's the opposite, you should only do it if your nickname are limited to a-z0-9_-. characters.
So let's say you do not use profile id removing, can you elaborate about your Admin tools link problem?
have you tried to activate phpBB debug to see if any error message shows up ?
dcz wrote:This is a template implementation issue. Make sure you modded the overall_header.html file properly.
dcz wrote:Try deleting the .xsl files in subsilver2/template/gym_sitemaps/ and clearing GYM's cache.
Br33zer wrote:It does not show any error. But the links for the Admin tools or Mod tools are not proper. For example, the Banning link shows:http://www.my-forum.com/mcp.php?i=ban&mode=user&u=0&sid=9e8dfebc9e1411a2cf3354f9a6bd15c4
See the u=0.
Br33zer wrote:dcz wrote:Try deleting the .xsl files in subsilver2/template/gym_sitemaps/ and clearing GYM's cache.
I have done this. But doesn't help.

case 'profile':
// Build correct profile url - only show if not anonymous and permission to view profile if registered user
// For anonymous the link leads to a login page.
if ($user_id && $user_id != ANONYMOUS && ($user->data['user_id'] == ANONYMOUS || $auth->acl_get('u_viewprofile')))
{
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
// $profile_url = ($custom_profile_url !== false) ? $custom_profile_url . '&u=' . (int) $user_id : str_replace(array('={USER_ID}', '=%7BUSER_ID%7D'), '=' . (int) $user_id, $_profile_cache['base_url']);
global $phpbb_seo, $phpbb_root_path, $phpEx;
$phpbb_seo->set_user_url( $username, $user_id );
if ($custom_profile_url !== false) {
$profile_url = reapply_sid($custom_profile_url . (strpos($custom_profile_url, '?') !== false ? '&' : '?' ) . 'u=' . (int) $user_id);
} else {
$profile_url = append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . (int) $user_id);
}
// www.phpBB-SEO.com SEO TOOLKIT END
}
else
{
$profile_url = '';
}
// Return profile
if ($mode == 'profile')
{
return $profile_url;
}
// no break;
}
if (($mode == 'full' && !$profile_url) || $mode == 'no_profile')
{
return str_replace(array('{USERNAME_COLOUR}', '{USERNAME}'), array($username_colour, $username), (!$username_colour) ? $_profile_cache['tpl_noprofile'] : $_profile_cache['tpl_noprofile_colour']);
}
return str_replace(array('{PROFILE_URL}', '{USERNAME_COLOUR}', '{USERNAME}'), array($profile_url, $username_colour, $username), (!$username_colour) ? $_profile_cache['tpl_profile'] : $_profile_cache['tpl_profile_colour']);
}
'U_USER_ADMIN' => ($auth->acl_get('a_user')) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", 'i=users&mode=overview&u=' . $user_id, true, $user->session_id) : '',
'U_USER_ADMIN' => ($auth->acl_get('a_user')) ? append_sid("{$phpbb_root_path}adm/index.$phpEx", 'i=users&mode=overview&u=' . $user_id, true, $user->session_id) : '', function seo_url_encode( $url ) {
return $url; function seo_url_encode( $url ) {
Users browsing this forum: No registered users and 5 guests