Post reply Page 1 of 1 
22 Feb 2013, 02:32
Post

Offline

Membru CvL
User avatar

Joined: 15 Feb 2013, 19:21
Posts: 1102
Descriere : Modificări format din titluri forum generate (tag <title>). Pune cele mai importante părţi ale titlului la primul loc, ceea ce face SEO mult mai prietenos şi util pentru utilizatorii care folosesc mai multe file.
Fisiere de modificat :
includes/mcp/mcp_main.php
language/en/common.php
styles/prosilver/template/overall_header.html
styles/prosilver/template/simple_header.html
index.php
memberlist.php
viewforum.php
viewtopic.php


Deschideti : includes/mcp/mcp_main.php

Code:
Cautati : $this->page_title = 'MCP_MAIN';
Repuneti cu : $this->page_title = 'MCP_MAIN_FRONT';



Deschideti : language/en/common.php

Code:
Cautati : 'PAGE_OF'            => 'Page <strong>%1$d</strong> of <strong>%2$d</strong>',
Adaugati dupa : 'PAGE_NUMBER'         => 'Page %s',



Deschideti : styles/prosilver/template/overall_header.html

Code:
Cautati : <title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
Repuneti cu : <title>{PAGE_TITLE}<!-- IF PAGE_TITLE --> &bull; <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} &bull;<!-- ELSEIF S_IN_UCP -->{L_UCP} &bull;<!-- ENDIF --> {SITENAME}</title>


Pentru ProSilver : styles/prosilver/template/simple_header.html

Code:
Cautati : <title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
Repuneti cu : <title>{PAGE_TITLE}<!-- IF PAGE_TITLE --> &bull; <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} &bull;<!-- ELSEIF S_IN_UCP -->{L_UCP} &bull;<!-- ENDIF --> {SITENAME}</title>



Deschideti : index.php

Code:
Cautati : page_header($user->lang['INDEX']);
Inlocuiti cu : page_header();



Deschideti : memberlist.php

Code:
Cautati si stergeti : // Send an email
      $page_title = $user->lang['SEND_EMAIL'];
      $template_html = 'memberlist_email.html';


Cautati : $template->assign_vars(array(
Code:
 'ERROR_MESSAGE'      => (sizeof($error)) ? implode('<br />', $error) : '',
         'SUBJECT'         => $subject,
         'MESSAGE'         => $message,
         )
      );


Adaugati dupa : // Send an email
Code:
$page_title = $user->lang['SEND_EMAIL_USER'] . '&nbsp;' . $row['username'];
      $template_html = 'memberlist_email.html';


Cautati : unset($ip_forums);

Code:
  $db->sql_freeresult($result);
            }
         }


Adaugati dupa : // Now generate search user page title
Code:
    $page_title = $user->lang['FIND_USERNAME'];


Cautati :
Code:
 $sql_where .= " AND ug.user_pending = 0 AND u.user_id = ug.user_id AND ug.group_id = $group_id";
         $sql_where_data = " AND u.user_id = ug.user_id AND ug.group_id = $group_id";


Adaugati dupa : // Now generate group page title
Code:
$page_title = ($group_row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $group_row['group_name']] : $group_row['group_name'];
         $page_title .= ' &bull; ' . $user->lang['GROUPS'];



Deschideti : viewforum.php

Code:
Cautati : page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name'], true, $forum_id);
Repuneti cu : page_header($forum_data['forum_name'] . ($start ? ' &bull; ' . sprintf($user->lang['PAGE_NUMBER'], floor($start / $config['topics_per_page']) + 1) : ''), true, $forum_id);



Deschideti : viewtopic.php

Code:
Cautati : page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $forum_id);
Inlocuiti cu : page_header($topic_data['topic_title'] . ($start ? ' &bull; ' . sprintf($user->lang['PAGE_NUMBER'], floor($start / $config['posts_per_page']) + 1) : '') . ' &bull; ' . $topic_data['forum_name'], true, $forum_id);


* Si asta a fost tot. Bafta :-bd
* Stergeti cache ÅŸi refresh la template-uri.


19 Mar 2013, 20:09
Post

Offline

Membru, skill 4
User avatar

Joined: 11 Jun 2012, 19:36
Posts: 908
Location: @home
folositor.




„Cel care nu se teme de nimic e la fel de puternic ca cel de care se tem toți.” — Friedrich von Schiller


26 Mar 2013, 11:36
Post

Offline

Membru CvL

Joined: 04 Jan 2013, 13:09
Posts: 1165
Multumim !




Image

*Fost Designer

*Fost Moderator

Actual Moderator

Ai nevoie de ajutor la sectiunea "Timp Liber"?

PM me si voi face tot posibilul sa te ajut !


21 Jun 2013, 19:13
Post

Offline

Membru Activ
User avatar

Joined: 31 Dec 2012, 13:31
Posts: 2657
Folositor , Mulţumim !


24 Jun 2013, 01:38
Post

Offline

Membru, skill 2
User avatar

Joined: 07 Feb 2013, 11:18
Posts: 460
mz




SorrY,I'm FresH.


01 Jul 2013, 14:33
Post

Offline

Membru, skill 3

Joined: 13 Mar 2013, 16:10
Posts: 533
Location: Castello de Empuries , Barcelona
gg




Nu uitati cu cate v-am ajutat pe server !
Image


06 Jul 2013, 20:56
Post

Offline

Membru, skill 2
User avatar

Joined: 08 Feb 2013, 21:15
Posts: 441
Location: Suceava/Falticeni
Ms.




__________
__________
__________

Fost HELPER 3!


07 Jul 2013, 23:09
Post

Offline

Membru, skill 4
User avatar

Joined: 05 Mar 2013, 21:45
Posts: 981
Location: Arad
Multumim




phpBB [video]


Image


08 Jul 2013, 11:11
Post

Offline

Membru Activ
User avatar

Joined: 31 Dec 2012, 13:31
Posts: 2657
Topic Locked, Lăsam spam-ul ?.




Post reply Page 1 of 1 



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron