| :: |
| Author |
Message |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Fri May 26, 2006 3:15 pm Post subject: topics_anywhere mod and simple rewrite mod |
|
|
topics anywhere and simple rewrite mod
i've installed topics anywhere mod in localhost
this mod is very useful but it dosn't work with simple rewrite mod
the output link is like standard URLs with .php prefix
at this time i have two different url for one topic
i think topics_anywhere.php file must be edited
can you guide me
thanks  |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Sat May 27, 2006 8:24 am Post subject: Re: topics_anywhere mod and simple rewrite mod |
|
|
because i need a mod for making RSS feeds
topics anywhere can do it for me.
is there any other mod (compatible with simple rewrite mod) ?
i want to make a RSS feed for each forum and i want to put it like a button under the forums defenition
some users like to subcribe a forum in a RSS reader (for example in firefox) to have the latest topics of that forum
topics anywhere can do this job but the bad things is that every person can use this script on your site and another issue is that it can only make RSS feed that linked to standard phpbb URLs
thanks |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
|
| Back to top |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Sat May 27, 2006 1:16 pm Post subject: Re: topics_anywhere mod and simple rewrite mod |
|
|
i installed this mod
very simple and clean mod
but this mod only can link to standard URLs and
its not compatible with simple rewrite mod
i will wait for your patch for this mod  |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sat May 27, 2006 3:36 pm Post subject: Re: topics_anywhere mod and simple rewrite mod |
|
|
I know, I'll take a look to the code and will build up a quick patch , but this is the phpbb rss mod, even though I am using a slightly different one, able to cache every single RSS output, which is better for heavy use.
And of course, feeds are mod Rewriten themselves.
I'll soon release this one too, just have to find sometime to put it all together
But it will certainly be based on the one I pointed out, so you can get used to it, in the end the final SEO solution will be very similar  |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sun May 28, 2006 10:49 am Post subject: Re: topics_anywhere mod and simple rewrite mod |
|
|
| amir abbas wrote: | i installed this mod
very simple and clean mod
but this mod only can link to standard URLs and
its not compatible with simple rewrite mod
i will wait for your patch for this mod  |
I took a quick look at the code and there is a problem, the mod only outputs post's URL, so they end up being all duplicates.
But, they are useful to your user, and it nicer to rewrite them, even if you should disallow them with your robots.txt file.
Anyway, fot the RSS Feed mod open :
Find :
| Code: | 'POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id'],
'FIRST_POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id'], |
Replace with :
| Code: | 'POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id']),
'FIRST_POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id']), |
This should mod rewrite all outputted URLs following the phpBB SEO Simple Mod Rewrite Standard. |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
AmirAbbas phpBB SEO Team


Joined: 11 May 2006 Posts: 529 Location: IRAN
|
Posted: Sun May 28, 2006 11:27 am Post subject: Re: topics_anywhere mod and simple rewrite mod |
|
|
thanks
but if i want to put RSS button under forum description, this links are visible for google  |
_________________ چهار گوش - طراحی وب - مجله طراحی وب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
messal

Joined: 27 Dec 2006 Posts: 15
|
Posted: Wed Jan 03, 2007 1:43 pm Post subject: Re: topics_anywhere mod and simple rewrite mod |
|
|
| dcz wrote: |
Find :
| Code: | 'POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id'],
'FIRST_POST_URL' => $viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id'], |
Replace with :
| Code: | 'POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['post_id'] . '#' . $post['post_id']),
'FIRST_POST_URL' => append_sid($viewpost_url . '?' . POST_POST_URL . '=' . $post['topic_first_post_id'] . '#' . $post['topic_first_post_id']), |
This should mod rewrite all outputted URLs following the phpBB SEO Simple Mod Rewrite Standard. |
can be this used for advenced? because i dont see any changes on output.
thanks |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
|
|