Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
SEO for fireboard still not answered (1 viewing) (1) Guest
Go to bottom Favoured: 5
TOPIC: SEO for fireboard still not answered
#48342
Re:SEO for fireboard still not answered 6 Months, 1 Week ago  
gomjabbar, thank you for the help! i'd give you karma but I don't see anywhere to do that.

unfortunately, i'm still at a loss. this didn't work either:

[code:1]//set page title if on Mambo 4.5.2+
if ($fmessage->parent == 0) {
$mainframe->setPageTitle($objCatInfo->name . ' - ' . $fmessage->subject);
}[/code:1]

I checked and rechecked to make sure I'd uploaded the file, cleared my cache, etc...

The last post is still the page title.

Any help is welcome.
erickaweb (User)
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#48343
Re:SEO for fireboard still not answered 6 Months, 1 Week ago  
erickaweb:
What version of FB are you using? Are you using threaded view? Make sure the code appears inside the statement beginning with:

if (count($flat_messages) > 0)
{
foreach ($flat_messages as $fmessage)
{
...

If that doesn't do it then maybe you have a more recent version of FB which attempts to set the page title elsewhere in the code and uses the wrong subject line for that. Can you run a global search for "setPageTitle" and report where it's being called?
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#48344
Re:SEO for fireboard still not answered 6 Months, 1 Week ago  
I'm using: "Installed version: FireBoard 1.0.4 Stable [ Teakwood ] 23 December 2007 01:00 UTC"

Yes, I am using a threaded view and the code does appear inside the statement. After doing a global search, the following page is also setting the page title:

com_fireboard/template/default/fb_layout.php

but it looks like it's just calling the "board_title" in three different places.

Thanks!
erickaweb (User)
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#48345
Re:SEO for fireboard still not answered 6 Months, 1 Week ago  
erickaweb:

Try this:

1. Open thread.php.

2. Near the top, after the lines:
Code:


    foreach ($tree as $leaf)
    {
        $leaf->name = htmlspecialchars($leaf->name);
        $leaf->subject = htmlspecialchars($leaf->subject);
        $leaf->email = htmlspecialchars($leaf->email);
    ...



Paste:
Code:

        //set page title to first post subject
                                if ($leaf->parent == 0) {
                                    $mainframe->setPageTitle($objCatInfo->name . ' - ' . $leaf->subject);
                                }

gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/07/07 13:02 By danialt.
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#48359
Re:SEO for fireboard still not answered 6 Months, 1 Week ago  
that worked! thank you, gomjabbar - much appreciated.
erickaweb (User)
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#48364
Re:SEO for fireboard still not answered 6 Months, 1 Week ago  
Glad to be of service. And now I can answer your previous question: to give karma in this forum, you have to hover on a person's avatar for the info popup. Right now, it seems they've reverted temporarily to an older code and template so the karma buttons appear where you'd expect them to be. Not that it will help towards my house payments but maybe in next life?
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#48714
Re:SEO for fireboard still not answered 6 Months ago  
gomjabbar wrote:

brandonroy:

To set just the post title as page title, use code:

//set page title if on Mambo 4.5.2+
if ($fmessage->parent == 0) {
$mainframe->setPageTitle($fmessage->subject);
}



That gave this error message when viewing a thread

Parse error: syntax error, unexpected '&' in /home/content/b/r/a/brandonroy/html/components/com_fireboard/template/default/view.php on line 516


Not sure why :/
brandonroy (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
The administrator has disabled public write access.  
#48725
Re:SEO for fireboard still not answered 6 Months ago  
brandonroy:

Replace &gt with the "greater than" arrow and &lt with the "less than" arrow. The forum developers were tinkering with the code when I posted this message, which is why it got a little corrupted.
gomjabbar (User)
Senior Boarder
Posts: 112
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Gossper - One Forum to Rule Them All
 
The administrator has disabled public write access.  
#53208
Re:SEO for fireboard still not answered 3 Months ago  
Gomjabbar,

I appreciate the code for generating meta keywords and description. It would be really nice if you could improve the code just a bit so that it filters out the bbcode tags like
Code:

[u], [img], [url=], [/u]
etc.

Maybe use
Code:

'smile::purify'
instead of
Code:

'strip_tags'
? This does not filter out the image and url path however.

Rickert
rickert (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/07/07 02:45 By rickert.
 
The administrator has disabled public write access.  
#53216
Re:SEO for fireboard still not answered 3 Months ago  
@gomjabbar
ps. fixed your code
danialt (Admin)
BoJ Team
Simplicity
Administrator
Posts: 957
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1978-05-25
Logged Logged
 
Best Of Joomla Team
FireBoard Project Manager
 
The administrator has disabled public write access.  
Go to top