MyBB Community Forums

Full Version: Google SEO Legacy 1.4.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ok frost so i will disable the sitemap generator since yours has this part, thanks !
so it would look like this:

echo "<a title=\"$sth" target=\"_blank\" href=\"get_forum_link($id)\">".Something."</a><br>\n";

?
href=\"".get_forum_link($id)."\"

see inc/functions.php for the list of functions (the functions that you modified for google seo url), just call them with the parameters listed there, and you'll get the link from them
a sug.:
when a thread starts with image, desc. meta reads it. can you skip it to thread?

check the meta description
http://googlemybb.bplaced.net/Thread-bla-bla
@dared,

I think I'm using the same mechanism there as MyBB does when reducing a posting to text, such as in subscription notification emails:

Quote:admin,

Guest has just replied to a thread which you have subscribed to at Google SEO Demo. This thread is titled bla bla.

Here is an excerpt of the message:
------------------------------------------
http://googlemybb.bplaced.net/images/logo.gif
http://googlemybb.bplaced.net/images/english/newreply... (visit the thread to read more..)
------------------------------------------

To view the thread, you can go to the following URL:
http://googlemybb.bplaced.net/Thread-bla...on=newpost

I don't really consider this as a bug - the real problem is that you can't really tell what's important in a posting and what isn't. If someone writes a posting like "Quarboozel bridaddel nugnugnug bobobonobobobo. Some important information." there is no way for a plugin to tell that "Some important information" is a better description than the "Quarboozel" nonsense before it. If someone decides to make a posting with images, then there'll be one thread that doesn't have a good description - it's not a big deal.

I don't know if I'll be able to do anything about it - there doesn't seem to be a good way to get rid of [Image: url] while leaving some text intact. It'd have to be a special treatment for the img tag in particular, but doesn't solve the problem for other mycodes (such as youtube etc) that incorporate images or videos, instead of text, into a posting.

In the end, there is a limitation to how useful auto generated descriptions can be.
i know you cant say witch part is important of thread with a plugin =) but c'mon image urls are not important for threads. i know you understood what i am trin to say. there must be a way to strip mycodes and urls.
I'd have to get at the HTML of the posting and then filter the HTML in a way that gets rid of HTML tags but preserves alt tags etc. Doing this for the meta description (something that users usually do not even see) is overkill, so I'm not doing that.

For the image URL, I would have to add special exception treatment for the img tag specifically. It wouldn't work for a youtube tag, or any other custom foobar mycode tag. Unless you have a forum that starts every posting with images only, there is little point in doing it.

Besides MyBB itself isn't doing it either, subscribers get the image URLs instead of the text of the posting too.

If there was an easy solution that works for everything I would be more than happy to implement it, but in this case I just don't see it, and I also don't see the necessity for it. The meta description is only a recommendation for Google, if you search for something specific it will even use another part of the page for the description (a part that contains the keywords you searched for).
Thanks for the update, frostschutz
Thanks, updated
I have problems with redirects, everything is installed correctly, however after registration the activation code that is automatically created, doesn't work.

This is how my link looks like: --------

and here's the problem:

//Code edited, frostschutz is already checking the solution for this problem.