The modification of the phpbb forum title

time:16-09-19 forum:PHPBB forum program, plug-in collection and modification
  http://shanmao.me/uncategorized/phpbb-l... De-xiu-gai

PHPbb is good, only two places are not satisfied, one is the title display mode, and the other is static support . This is the most basic function, but after I built it, it took a lot of time to finish the modification of title title and Jing Tai.



is the first to record the modification of the title title:

different template paths are different, but approximately
styles/prosilver/template/overall_header.html
to find the code under the
open style file:

> = SITENAME} • disabilities;! •.Lt;! - ELSEIF S_IN_UCP -.Gt; {L_UCP} /.Lt;! - ENDIF –.Gt; {PAGE_TITLE}

replace the code:
.lt;! After.
open viewtopic.php
find the code:
page_header ($user-.gt; lang['VIEW_TOPIC']. "– '$topic_data['topic_title']);

replace the following code:
page_header ($topic_data['topic_title']); Iewforum.php
find the code:
page_header ($user-.gt; lang['VIEW_FORUM']. '-'. $forum_data['forum_name']);

replace the code:
page_header ($forum_data['forum_name']);
to go away "to see the page -" another problem is the home mark. " The first page of the question will have two words on the front page, the solution is:
in index.php,
page_header ($user-.gt; lang['INDEX']); $user-.gt in the $user-.gt; lang['INDEX'] in the INDEX modified into another, of course, can be deleted, but the front will leave a circular point or -, then go to the template folder to find o. Verall_header.html, find.Amp in title; remove bull. Finally, don't forget to update the template cache.

about static, you can refer to phpBB SEO Premod plug-in.

phpbb SEO premod provides three levels of URL Rewrite rewriting solutions:
Simple phpBB3 SEO mod / > this way, more suitable for non Latino forums. For example, the Chinese environment.

its static example:
original URL: viewtopic.php? F=xx.amp; t=yy
URL Rewrite:
topicyy.html (by), which are suitable for Latin language forums, such as the English environment. Its static example:
original URL: viewtopic.php? F=xx.amp; t=yy
URL Rewrite:
topicyy.html (by default) topic-title-tyy.html (by default)
any-keywords-fxx/topic-title-tyy.html (optional)
any-keywords/topic-title-tyy.html (optional) / > I enabled the mode. After successful implementation, it generates the RewriteRule rule of.Htaccess. Copy it and upload it to the root directory of the forum.

, in addition, it also provides a Google Sitemap generation solution. It is important to note that its Google Sitemap scheme only guarantees the database environment that supports php mysql, and developers have no environmental tests for PostgreSQL or other databases. So he didn't integrate this function directly into PHPBB SEO. You need to manually run gym_sitemaps/gym_install.php to install it.

prev:PHPBB adds hidden tags to restore visibl... next:The 12 year old child prodigy is a unive...
post comment
Notice



approved   A rare picture of the old Ji'nan! Th...   The deep mountain women's back husba...   Sichuan Leshan 84 year old Lao Tai a...   Loss of breast and cancer coexistenc...   The "ship man" in the city: the aver...
rand   PHPBB3.X forum style first stickers ...   PhpBB3 style template file list   Understanding the phpbb3 style syste...   PhpBB3 style (Style) customization   How to make phpbb style
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com