Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Meta Tags 
 
How I can modify meta tags in my site?

I have used the function search on this site but i haven't found any usefull topic

Quote:
<meta name="keywords" content="phpbb, forum, icy phoenix, icyphoenix, icy, phoenix, php, portal, cms, premodded, community, open source, mods, templates" />
<meta name="description" content="Icy Phoenix is an highly customizable CMS based on phpBB which allows you to create a dynamic site with a lot of features for powering web communities. - " />

 




____________
My english isn't perfect!

http://fab120.netsons.org
http://risorsegratis.webarrivo.com
 
fab120Send private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Meta Tags 
 
Open language/lang_*/lang_main_settings.php

Bye.
 




____________
Cosenza United::FCC
My Problem Child
 
fracsSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Meta Tags 
 
Thanks!
 




____________
My english isn't perfect!

http://fab120.netsons.org
http://risorsegratis.webarrivo.com
 
fab120Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Meta Tags 
 
Is there any way to create unique meta tags for individual forums?  I guess you could sprinkle the Olympus-type warning section with individual meta tag words, but is there a better way?  Also, is there any benefit - would the spiders/bots/crawlers read the warning text?

P.S.

Would it be possible to create a new section at the bottom of the forum page, like the warning area but as somewhere to put meta tags?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Meta Tags 
 
Meta tags in forums are dynamically created using the forum name and description... but you need to have the f=XXX in the url, otherwise the META TAG is not generated (I've coded this in this way to avoid further SQL while browsing topics).

Try to look at the page_header.php and you'll se how the code is working... especially this part:

Code: [Download] [Hide] [Select]
elseif ( isset($meta_forum_id) )
{
    $sql = "SELECT c.cat_title, f.forum_name
                    FROM " . FORUMS_TABLE . " f, " . CATEGORIES_TABLE . " c
                    WHERE c.cat_id = f.cat_id
                    AND f.forum_id = $meta_forum_id";
    if( ($result = $db->sql_query($sql, false, 'forums_cats_')) )
    {
        if ( $meta_row = $db->sql_fetchrow($result) )
        {
            /*
            $meta_description = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $meta_row['forum_name'];
            $meta_keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', ' . $meta_row['forum_name'] . ', ';
            $page_title = $board_config['sitename'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $page_title;
            */
            $meta_description = $meta_row['forum_name'];
            $meta_keywords = $meta_row['cat_title'] . ', ' . $meta_row['forum_name'] . ', ';
            $page_title = $meta_row['cat_title'] . ' :: ' . $page_title;
        }
        //here we clear $result from ram and cache it
        $db->sql_freeresult($result);
        //End sql cache opt
    }
}

 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Meta Tags 
 
Sounds clever, Luca  

Do I really add f=XXX in the url, or does xxx stand for something?  Also, how do I add it to the URL?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Meta Tags 
 
Hi, tc1967uk

f=XXX stands for Forum ID, and it is always part of the URL while viewing the forum, for it tells viewforum.php which forum to display. XXX is always number, so it is not literally "xxx".

Mighty is suggesting that META for particular forum is generated dynamically, based on that forum ID part of the URL (xxx thingy )

Hope it's more clear now
 




____________
Omarska online
 
omarskaSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Meta Tags 
 
I understand what Luca's done now.  Clever.

Thanks, omarska
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Meta Tags 
 
You're welcome  
 




____________
Omarska online
 
omarskaSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events