Hi, is there a way to change how meta description($forum_head['descriptions']) appears in header.php?

This is what I want:
- on index.php or viewforum.php, meta description, should be just the title
- but on viewtopic.php, meta description, should be a part of the topic contents(the first 300 characters)

Any ideas?

2

(11 replies, posted in Supported extensions)

nice extension, but using 1.4.4 with sqlite, rss feeds gets messed up


rss feeds won't show up after installing this extension on 1.4.4 with sqlite?
any solution for this?

Installing extensions worked the first time.
But after uninstalling 1 extension, it won't work anymore.

I can't install any extensions anymore cause whatever I do, I don't see the install link?
I see only the available extensions without install-link, below 'Extensions available for install' title.

stopwords are not searchable okay.
but words that are not stopwords are still not searchable,

u can't search as follows: 'word1' OR 'word2'

u need to search for only 'word1' or only 'word2'

any way to search with OR ?

Example: i have 2 topics. The titles or posts are as follows:
1- "all about history"
2- "scientific survey"

It doesn't work if i search on titles or posts as follows:
"all" OR "survey"

Result of this search is: nothing found

Why is search.php not showing these 2 topics above as results?
Or how can i find all the topics containing "all" or "survey"?

Any help with these problem I can't solve? Thanx in forward..

Problem:
I have file based url scheme and I am trying to change the names on rewrite_rules.php;
'forum' and 'topic' into 'text' and 'texts' in this rule:

'/^feed[\/_-]?(rss|atom)[\/_-]?(f|t)(orum|opic)[\/_-]?([0-9]+)[\/_-]?(\.xml?|\/)?$/i'                                    =>   
'extern.php?action=feed&$2id=$4&type=$1',

I tried this following but it doesn't work:
'/^feed[\/_-]?(rss|atom)[\/_-]?(t|t)(ext|exts)[\/_-]?([0-9]+)[\/_-]?(\.xml?|\/)?$/i'                                    =>   
'extern.php?action=feed&$2id=$4&type=$1',

thanx panbb, problem 2 is as good as solved, I ll figure it out further,

I ll post my problem 1 on the 1.4.4 version side of the forum.

Making $forum_page['main_title'] shorter is indeed a good idea.
But between <title></title> tags i want to show whole title.
Only the url i want to be at maximum length of 3 words.

And sorry, my version is indeed 1.4.4.
I see know I ve posted on wrong side of this forum.
Maybe someone can move this post to 1.4.4. part of the forum.

Thanx again for your help.

Thanx for the input but i tried a function like this before, but the problem on forum_urls.php is that the following is not possible:
'turks$1'.words_limit('$2').'.php',

'topic'    =>    'texts$1-'.words_limit('$2','50').'.php',

This doesn't work.
I am still getting:
domain.com/texts18-any-help-with-these-problems.php

Instead of:
domain.com/texts18-any-help-with.php

Any help with these 2 problems I can't solve? Thanx in forward..

Problem 1:
I have file based url scheme and I am trying to change the names on rewrite_rules.php;
'forum' and 'topic' into 'text' and 'texts' in this rule:

'/^feed[\/_-]?(rss|atom)[\/_-]?(f|t)(orum|opic)[\/_-]?([0-9]+)[\/_-]?(\.xml?|\/)?$/i'                                    =>   
'extern.php?action=feed&$2id=$4&type=$1',

I tried this following but it doesn't work:
'/^feed[\/_-]?(rss|atom)[\/_-]?(t|t)(ext|exts)[\/_-]?([0-9]+)[\/_-]?(\.xml?|\/)?$/i'                                    =>   
'extern.php?action=feed&$2id=$4&type=$1',


Problem 2:
Another problem I can't solve is on forum_urls.php about this rule:
'topic'    =>    'texts$1-$2.php',

Is there a way to pick up just the first 3 words of variable $2 ?

So instead of: domain.com/texts18-any-help-with-these-problems.php
I want this: domain.com/texts18-any-help-with.php