9
   

phpBB Search Engine Optimization - Sessions, static ( SEO )

 
 
bernie213
 
  1  
Tue 10 Jan, 2006 11:00 pm
Well, I got it to work, the only problem is it now wont refresh my newest member signed up, any suggestions?
0 Replies
 
Tintin74
 
  1  
Mon 16 Jan, 2006 11:46 am
MOd rewrite
There's a way to transform the pointed url in the phpbb jumpbox in a "mod rewrite url" ?

Thank you for your help

Tintin
0 Replies
 
adalmi
 
  1  
Sat 21 Jan, 2006 02:12 am
Hello,

This is my first time i use PhpBB.
I want to use your code for rewrite but i don't know where to place it.
Can you give me some advice, in what file must be place, what i must replace, etc..?

Alex
0 Replies
 
Friends4U
 
  1  
Mon 23 Jan, 2006 06:09 am
When is there an update?
0 Replies
 
john95051
 
  1  
Tue 24 Jan, 2006 04:59 pm
Again new version of this MOD?
Well, just finished all 141 pages, my eye hurts.
I am using phpbb 2.019 (latest) and attempt to install this MOD. BUT, Sad found many code listed in the readme for replacement are simply not exist in 2.019 or they are not in same file.

eg. very first change in index.php is not there. is that possible that people out there or developer can help with more specific instructions?

Have not see any other MOD been supported in such consistent way and it is encouraging.
My best Regards.
0 Replies
 
bernie213
 
  1  
Tue 24 Jan, 2006 06:00 pm
Sid stays?
everything thing seems to be working, but I noticed that the SID seems to stay, only sometimes. Sometimes it won't be at a topic, sometimes it will.
I dont want to get dinged by dup content with google...
0 Replies
 
PCGUY112887
 
  1  
Wed 25 Jan, 2006 11:12 am
Should I wait and expect an update to this mod to come out soon, or go ahead and install 2.0? I have an extreamely modified forum and installing and updating isn't an easy task for me.
0 Replies
 
john95051
 
  1  
Wed 25 Jan, 2006 01:37 pm
Re: Again new version of this MOD?
john95051 wrote:
Well, just finished all 141 pages, my eye hurts.
I am using phpbb 2.019 (latest) and attempt to install this MOD. BUT, Sad found many code listed in the readme for replacement are simply not exist in 2.019 or they are not in same file.

eg. very first change in index.php is not there. is that possible that people out there or developer can help with more specific instructions?

Have not see any other MOD been supported in such consistent way and it is encouraging.
My best Regards.


Embarrassed I figured out why I can't find those code. I am using 2.019 & CH2.14 MOD. That MOD changed a lot core code and index.php was the one has a lot of modification.

Fresh installed a 2.019 with this MOD and it works great.

Great MOD. Cool
0 Replies
 
izghitu
 
  1  
Fri 27 Jan, 2006 01:54 pm
Hello,
I use able2know SEO on my forum, it is working fine.
I wanted to add a MOD that shows the last 10 new posts/topics on index. The problem is that the post/topics that are showed by this MOD are not able2know SEO, I mean that they are not ????.html

Here is the MOD:

Code:##############################################################
## MOD Title: Latest active topics on index
## MOD Author: zparta < ....... > (Jens Holmqvist) ......
## MOD Description: Show the latest active topics on index and the amout of topics to show is ACP changeable
## MOD Version: 1.1.9
##
## Installation Level: Easy
## Installation Time: ~1 Minutes
## Files To Edit: index.php, templates/subSilver/index_body.tpl, language/lang_english/lang_main.php, language/lang_english/lang_admin.php, admin/admin_board.php, templates/subSilver/admin/board_config_body.tpl
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: ...... for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: .........
##############################################################
## Author Notes: this works with the global announcement mod has
## different picture for different kind of topic
## and only shows topics the user is allowed to view
## Thanks to: LifeIsPain for helping me with the auth part!!
##
##############################################################
## MOD History:
##
## 2005-05-31 - Version 1.1.9
## - Fixed yet another validation error that me personaly think was uneseceray like put { and } on seperate lines :P
## - They could just have sent me a PM about this and released it anyways since it didn't interfere with the funtionality but what to do, what to do.
## 2005-05-28 - Version 1.1.8
## - Fixed a bug where the new auth array stuff wouldnt be put to the right place
## 2005-03-24 - Version 1.1.7
## - Fixed two validation errors
## 2005-03-05 - Version 1.1.6
## - Fixed a validation error
## 2005-03-01 - Version 1.1.5
## - Fixed a small bug that made topics in forums that they where only allowed to know that it existed where displayed
## - I have also tested it on a fresh install on phpBB 2.0.13 and it works like a charm
## 2004-02-17 - Version 1.1.4
## - Fixed validation problem
## 2003-12-25 - Version 1.1.3
## - Fixed categories hierarchy compability problem
## 2003-11-01 - Version 1.1.2
## - Fixed validation problem
## 2003-10-27 - Version 1.1.1
## - Fixed user profile bug
## 2003-10-20 - Version 1.1.0
## - Added amount of topics shown to be changeable by admin
## 2003-10-20 - Version 1.0.9
## - Changed the if statment to fit the coding standards
## 2003-10-15 - Version 1.0.8
## - Changed to last post in the topic instead of the first when cliking the link
## 2003-10-11 - Version 1.0.7
## - Fixed hardcoded language bug
## 2003-10-11 - Version 1.0.6
## - Fixed a minor bug with locked topics
## 2003-10-11 - Version 1.0.5
## - Fixed linkage and some mod-db compliant stuff
## 2003-08-24 - Version 1.0.4
## - Fixed the linkage
## 2003-08-23 - Version 1.0.3
## - Fixed the 10 windows issue (template problem)
## 2003-08-07 - Version 1.0.2
## - Fixed the parse error
## 2003-08-07 - Version 1.0.1
## - Fixed the bug that it didn't show the first post
## 2003-08-07 - Version 1.0.0
## - Initial release should work just fine
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ SQL ]------------------------------------------
#
INSERT INTO phpbb_config ( config_name, config_value ) VALUES ('topics_on_index', '10');

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['marquee_topic'] = 'Last %s Active Topics';

#
#-----[ OPEN ]------------------------------------------
#
admin/admin_board.php

#
#-----[ FIND ]------------------------------------------
#
"L_ENABLE_PRUNE" => $lang['Enable_prune'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
"L_TOPICS_ON_INDEX" => $lang['Topics_on_index'],

#
#-----[ FIND ]------------------------------------------
#
"PRUNE_NO" => $prune_no,

#
#-----[ AFTER, ADD ]------------------------------------------
#
"TOPICS_ON_INDEX" => $new['topics_on_index'],

#
#-----[ OPEN ]------------------------------------------
#
index.php

#
#-----[ FIND ]------------------------------------------
#
//
// Start output of page
//

#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// Obtain new post information for marquee
// of new posts
//
//
// Get Viewable Forums
//
// function to merge two auth arrays to one
function array_merge_replace($array, $newValues)
{
foreach ($newValues as $key => $value)
{
if ( is_array($value) )
{
if ( !isset($array[$key]) )
{
$array[$key] = array();
}
$array[$key] = array_merge_replace($array[$key], $value);
}
else
{
if ( isset($array[$key]) && is_array($array[$key]) )
{
$array[$key][0] = $value;
}
else
{
if ( isset($array) && !is_array($array) )
{
$temp = $array;
$array = array();
$array[0] = $temp;
}
$array[$key] = $value;
}
}
}
return $array;
}
$ary = array();
$ary2 = array();
$ary = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata, $forum_data);
$ary2 = auth(AUTH_READ, AUTH_LIST_ALL, $userdata, $forum_data);
$is_auth_ary = array_merge_replace($ary, $ary2);
$auth_view_forum_sql = '';
for($i = 0; $i < $total_categories; $i++)
{
$cat_id = $category_rows[$i]['cat_id'];
$display_forums = false;
for($j = 0; $j < $total_forums; $j++)
{
if ( $is_auth_ary[$forum_data[$j]['forum_id']]['auth_view'] && $is_auth_ary[$forum_data[$j]['forum_id']]['auth_read'] && $forum_data[$j]['cat_id'] == $cat_id )
{
$display_forums = true;
$auth_view_forum_sql .= ($auth_view_forum_sql == '' ? '' : ', ' ) . $forum_data[$j]['forum_id'];
}
}
}
$auth_view_forum_sql = ($auth_view_forum_sql == '' ? '(0)' : '(' . $auth_view_forum_sql . ')');

//
// Get The Data
//
$template->assign_vars(array(
'MARQUEE_TOPIC' => str_replace("%s",$board_config['topics_on_index'],$lang['marquee_topic']) )
);

$sql = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id, t.topic_type, t.topic_status, p.post_id, p.poster_id,
p.post_time, u.user_id, u.username, u.user_lastvisit
FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
WHERE t.forum_id IN " . $auth_view_forum_sql . " AND t.topic_id = p.topic_id
AND f.forum_id = t.forum_id
AND t.topic_status <> 2
AND p.post_id = t.topic_last_post_id
AND p.poster_id = u.user_id
ORDER BY t.topic_last_post_id DESC";

if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query recent posts marquee information', '', __LINE__, __FILE__, $sql);
}

if ($row = $db->sql_fetchrowset($result))
{
$db->sql_freeresult($result);
}

if( count($row) <= $board_config['topics_on_index'] )
{
$topics = count($row);
}
else
{
$topics = $board_config['topics_on_index'];
}

for($i = 0; $i < $topics; $i++)
{
$mar_title = $row[$i]["topic_title"];
$mar_url = $phpbb_root_path . 'viewtopic.'.$phpEx.'?'.POST_TOPIC_URL.'='.$row[$i]["topic_id"];
$mar_user = $row[$i]["username"];
if ( $row[$i]["topic_status"] == TOPIC_LOCKED )
{
if ( $row[$i]["post_time"] > $row[$i]["user_lastvisit"] )
{
$pic = $images['folder_locked_new'];
}
else
{
$pic = $images['folder_locked'];
}
}
else
{
if ( $row[$i]["topic_type"] == POST_GLOBAL_ANNOUNCE )
{
if ( $row[$i]["post_time"] > $row[$i]["user_lastvisit"] )
{
$pic = $images['folder_global_announce_new'];
}
else
{
$pic = $images['folder_global_announce'];
}
}
else if ( $row[$i]["topic_type"] == POST_ANNOUNCE )
{
if ( $row[$i]["post_time"] > $row[$i]["user_lastvisit"] )
{
$pic = $images['folder_announce_new'];
}
else
{
$pic = $images['folder_announce'];
}
}
else if ( $row[$i]["topic_type"] == POST_STICKY )
{
if ( $row[$i]["post_time"] > $row[$i]["user_lastvisit"] )
{
$pic = $images['folder_sticky_new'];
}
else
{
$pic = $images['folder_sticky'];
}
}
else { if ( $row[$i]["post_time"] > $userdata['user_lastvisit'] )
{
$pic = $images['folder_new']; }else{ $pic = $images['folder'];
}
}
}
$template->assign_block_vars('marqueerow', array(
'FOLD_URL' => $pic,
'TOPIC_TITLE' => $row[$i]["topic_title"],
'TOPIC_URL' => append_sid($phpbb_root_path . 'viewtopic.'.$phpEx.'?'.POST_TOPIC_URL.'='.$row[$i]["topic_id"]),
'USERNAME' => $row[$i]["username"],
'USER_PROF' => append_sid($phpbb_root_path . 'profile.'.$phpEx.'?mode=viewprofile$amp;u='.$row[$i]["user_id"]),
'POST_DATE' => create_date($board_config['default_dateformat'], $row[$i]["post_time"], $board_config['board_timezone']))
);
}

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_user_logged_out -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline" height="100%">
<tr>
<td class="catHead" height="28"><a name="login"></a><span class="cattitle">{MARQUEE_TOPIC}</span></td>
</tr>
<tr>
<td class="row1" valign="top"><span class="gen">
<marquee id="recent_topics" behavior="scroll" direction="up" height="100" scrolldelay="100" scrollamount="2">
<table cellpadding="4" cellSpacing="1" width="100%">
<!-- BEGIN marqueerow -->
<tr valign="top">
<td class="row2" vAlign="center" align="middle" width="20">
<img src="{marqueerow.FOLD_URL}">
</td>
<td class="row2" width="352">
<span class="forumlink"><a href="{marqueerow.TOPIC_URL}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{marqueerow.TOPIC_TITLE}</a></span>
<span class="gensmall"><br /></span>
</td>
<td class="row2" vAlign="center" align="middle" width="78">
<span class="gensmall"><a href="{marqueerow.USER_PROF}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{marqueerow.USERNAME}</a></span>
</td>
<td class="row2" vAlign="center" noWrap align="middle" width="100">
<span class="gensmall">{marqueerow.POST_DATE}</span>
</td>
</tr>
<!-- END marqueerow -->
</table>
</marquee>
</td>
</tr>
</table>

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<td class="row2"><input type="radio" name="prune_enable" value="1" {PRUNE_YES} /> {L_YES}  <input type="radio" name="prune_enable" value="0" {PRUNE_NO} /> {L_NO}</td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1">{L_TOPICS_ON_INDEX}</td>
<td class="row2"><input class="post" type="text" name="topics_on_index" size="3" maxlength="2" value="{TOPICS_ON_INDEX}" /></td>
</tr>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


Can you please tell me what to change to make it show the URLs of the new topics/posts able2know SEO?

Thank you.
0 Replies
 
elephantspike
 
  1  
Sun 29 Jan, 2006 10:02 pm
Quote:
The problem is that the post/topics that are showed by this MOD are not able2know SEO, I mean that they are not ????.html


I am having the exact same delemna with a very similar mod called Topics Anywhere from phpbb.com that generates a javascript code that can put just such a latest topics listing on any site on the web. I am using it to redirect traffic from my old ezboard location to my new phpbb board on my own domain.

The problem is that users (and spiders) that go through the topics anywhere links don't get the modified .html urls, but the original .php variable urls. Google is crawling and listing both url variations for some pages and I am afraid they will slap me with a duplicate content penalty.

I realize that Craven de Kere does not offer support for other people's mods, but can anyone point me towards some info on how to make that topics anywhere mod link to urls that conform with the url rewrites from this mod?
0 Replies
 
cellcorner
 
  1  
Sun 12 Feb, 2006 01:22 am
craven, is it possible to rename the generated html pages of individual posts as My-Individual-Post-Here.html

I think the SEO value in this case is grater
0 Replies
 
dataguru
 
  1  
Sun 12 Feb, 2006 05:48 pm
NT and your mod
Man, my brain is jelly!

I made the changes from here:
Able2Know.com Search Engine Optimization 2.0.0.txt

But given I'm running phpbb on a NT server, the write ascii files aspect of your mod won't work... right?
(phpBB static URLs mod _rewrite 1.0.0.txt and upgrade to 2.0.0 from 1.0.2.txt)? So I'll need to go find another mod that works with NT to write static pages?

Thanks,
Betty
0 Replies
 
rady
 
  1  
Mon 13 Feb, 2006 02:02 am
Can someone help me? I have installed the search engine optimization hack and it's great except one thing. in the viewforum.php (rewritten as nyknicksforum-.html) the pagination of the topics appear as knicks20-15.html, knicks20-30.html, etc.
But in the vewtopic.php (rewritten knicks.html) the pagination appears like this: knicks25.html&postdays=0&postorder=asc&&start=30 instead of knicks25-0-asc-30.html

What can i do?
Can anyone help please?

Thanks in advance
0 Replies
 
xadet3
 
  1  
Tue 14 Feb, 2006 02:05 pm
Ive installed this on this forum. Edit [Moderator]: Link removed

But the links are still *.php
0 Replies
 
Friends4U
 
  1  
Tue 14 Feb, 2006 03:23 pm
update...
When is there an update for this mod?
0 Replies
 
Newbie2
 
  1  
Thu 16 Feb, 2006 08:50 am
Does this mod change styles and existing posts
Hi

I am not very technical and just wondered if I apply this SEO mod will it cause and problems with the look of my PHPBB2 board. Also will it delete all my existing posts?

Many thanks
0 Replies
 
Friends4U
 
  1  
Thu 16 Feb, 2006 10:01 am
No, no worries.
0 Replies
 
BookMarc
 
  1  
Thu 16 Feb, 2006 03:52 pm
Hye people,

i could use a little help.

i have setup this mod... on numerology.cc

done everything that was asked. now the odd thing is if i type say numerology.cc/forum-9.html or say numerology.cc/about2345.html it works great. with this atleast we know the rewrite works.

but otheriwse if i dont manually type the above in it just does like the normal numerology.cc/viewforum.php?f=9 and not the html thing.

i am using phpbb 2.0.17

have i done something wrong or what exactly is happening?

Thanks in advance.
0 Replies
 
Friends4U
 
  1  
Fri 17 Feb, 2006 01:38 am
Try to logout... then it works...
0 Replies
 
dfauthor
 
  1  
Sat 18 Feb, 2006 10:23 am
Dear Craven,

I tried your mod, I'm having some problems. Can you possibly help me please.

If a guest tries to view the posts in the forums, the page will not load, it just simply reloads the forum's index page.

If I login, pages can be viewed, however they're not in html format, but only in the php format.

Do you know how this can be rectified and how logged in users can also see all pages on the forum in html format too, I noticed you were going to modify your existing mod so logged in users can view it in this format too, but I've not come across any additions in this thread or any others here.

Thank you. Smile

DF Author.
0 Replies
 
 

Related Topics

SEO - Going from 0 PR on up - Discussion by jespah
How Rich Pins work ??? - Question by OnceUponAtime
Need a bit of Google advice - Question by bible quizzer
Google Indexing Issue - Question by brainstudioz
Bing Search results - Discussion by iankyra
What is best way for Off-Page seo in 2017? - Question by honesttravel1
 
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 04/19/2024 at 07:47:51