تطوير خريطة المنتدى البسيطه

منتديات هاكات phpBB3 والنقاش حول هاكات الجيل الثالث وأيضاً حل مشاكل التركيب العامة

المشرفون: alhitary،طاقم الإضافات

قوانين المنتدى
هذه الساحة للنقاش حول كيفية الهاكات وليس لحل المشاكل المتعلقه بذلك، مشكلة الهاك تطرح في موضوع الهاك نفسه
صورة العضو الرمزية
alahamdan
عضو نشيط
عضو نشيط
مشاركات: 146
اشترك في: الجمعة يناير 12, 2007 6:41 pm

????? ????? ??????? ???????

مشاركةبواسطة alahamdan » الجمعة ديسمبر 12, 2008 1:43 pm

?????? ?????


???? ?????? : http://www.12allchat.com/forum/sitemap.php
???? ??????? ?????????:Quick Reply - Advanced Meta Tags
?? ?????? ???? ??? ??????? 80 ?? ???????: ??
????? ??????: 3.0.3
????? PHP: 5.2
??? ????? ???????? ???????? ????????: mysql 5.0.22
?? ?? ????????: vpsland
??? ??? ?? ??? ?????? ? ??? ?? ????? ???? ?????: 3.0.2 ??? 3.0.3 ???????? ???? ??????? ????????.
?? ??? ?????? ????? ?? ????? ??? ? ???? ?: ??
?? ???? ?? ??????: ???.
??? ??? ??? ? ???? ??????? ???? ???? ????: ????? ??????
??? ???? ??????? : ????? ???????:

?????? ??? sitemap.php ???? ????? ?????? ????? ????????? ????????? ??????????? ??? ????? ???? ???? ???? ?????? ???? ??????? ??? ?? ??? ???????? ??????? ??? ????? ???? ?????? ??????? ??? ?? ????????? ????????? ?????????? ?? ????? ????????.

??? ????? :

كود: تحديد الكل

// Enter The Path to Your PHPBB Forum if different then root.
// Example: $path='/forum/'; 

$path='/forum/';


// Change Nothing Below Here:
// ********************************************************************

$domainpath='http://'.$_SERVER['HTTP_HOST'].$path;

// Connect

define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);

include($phpbb_root_path . 'config.' . $phpEx);
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);

$db = new $sql_db();

$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);

// Send initial Data

echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo "<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">";

// Send Index

echo '<url>
      <loc>'.$domainpath.'</loc>
      <lastmod>2008-12-09</lastmod>
      <changefreq>hourly</changefreq>
      <priority>1.0</priority>
         </url>';


// Send Topics

$sql = 'SELECT * FROM phpbb_topics WHERE topic_approved=1 ORDER BY topic_id DESC';
       $result = $db->sql_query($sql);
   while ($data=mysql_fetch_array($result)) {

echo '<url>
      <loc>'.$domainpath.'viewtopic.php?f='.$data['forum_id'].'&t='.$data['topic_id'].'</loc>
      <lastmod>2008-12-09</lastmod>
      <changefreq>always</changefreq>
      <priority>0.8</priority>
         </url>';

}

// Send Forums

$sql = 'SELECT * FROM phpbb_forums WHERE parent_id!=0';
       $result = $db->sql_query($sql);
   while ($data=mysql_fetch_array($result)) {

echo '<url>
      <loc>'.$domainpath.'viewforum.php?f='.$data['forum_id'].'</loc>
      <lastmod>2008-12-08</lastmod>
      <changefreq>always</changefreq>
      <priority>0.9</priority>
         </url>';

}


// Send Closing Tags

echo '  </urlset>';


?>

??????? ??????? :

??? ?????? <lastmod>2008-12-09</lastmod> ???? ?? ????? ????????.

????? ?????? ??????? ???? ?????? ??????:

http://www.12allchat.com/forum/sitemap.php

?? ??? ?? ?????? ???????? ??????? - ?? ????? ?????? ?????.
آخر تعديل بواسطة alahamdan في الأحد سبتمبر 13, 2009 2:07 am، تم التعديل 4 مرات في المجمل.




saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ???????

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 1:52 pm

???? ???? ?

??? ?????? ??? ?????? ??????

????? ????
<lastmod>2008-12-08</lastmod>
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

صورة العضو الرمزية
alahamdan
عضو نشيط
عضو نشيط
مشاركات: 146
اشترك في: الجمعة يناير 12, 2007 6:41 pm

????? ????? ??????? ???????

مشاركةبواسطة alahamdan » الجمعة ديسمبر 12, 2008 2:00 pm

???? ??? saanina

??? ?????? ???????? ???? ??? ??????? .

??? ??? ?????? ??????? ???????.

???? ?????.

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ???????

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 2:14 pm

?????
??? ???? ????? ?

???? ????
he <lastmod> tag is an optional tag that identifies the time that the corresponding Sitemap file was modified.
http://www.sitemaps.org/protocol.php#lastmoddef
???? ??? ????? ????? ???? ???????

??? ????

كود: تحديد الكل

 <lastmod>2008-12-09</lastmod>

كود: تحديد الكل

<lastmod>' . gmdate('Y-m-d') . '</lastmod>
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ???????

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 2:15 pm

???? ??????? ..
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

صورة العضو الرمزية
alahamdan
عضو نشيط
عضو نشيط
مشاركات: 146
اشترك في: الجمعة يناير 12, 2007 6:41 pm

????? ????? ??????? ???????

مشاركةبواسطة alahamdan » الجمعة ديسمبر 12, 2008 2:30 pm

???? ??? ???? ??? ????

??????? ?????? ??????? :

The date of last modification of the file. This date should be in W3C Datetime format. This format allows you to omit the time portion, if desired, and use YYYY-MM-DD.

Note that this tag is separate from the If-Modified-Since (304) header the server can return, and search engines may use the information from both sources differently


??? ?? ???????? ???????? ? file ??? ?? ??????? ??? ???? ???? ????? ???????? ??????? ??????? ?????? ?????? ?? ?? ?????? ???? ????? ???????? ??? ???? ???? ?????? (optional) ?? ????? ???? ???? ??????? ????? ??????? ?????? ??????? ?? ????? ????? ?????? ??? ???? ???? ????? ???????? ?????? ?????? ???? ( ???? ??? ????? ?????).

??? ?????? ??? ???????? ??????? ???? ??????? ??? ??? ???? ??? ????? ????? ???? ??? ???? ???? ?? ??????? ????????? ??????? ??????? ???? ??? ????? ?????? : http://www.12allchat.com/community/sitemap.php

?? ???? ????? ???? ????? ??????? ??????? ?? ????? ?????????

????.

صورة العضو الرمزية
alahamdan
عضو نشيط
عضو نشيط
مشاركات: 146
اشترك في: الجمعة يناير 12, 2007 6:41 pm

????? ????? ??????? ???????

مشاركةبواسطة alahamdan » الجمعة ديسمبر 12, 2008 2:32 pm

?????????? ??? ??? ???? ??? ??? ???? ????? ??????? ????????? ???????? (?????? ???????) ?? ???? ?? ??????? ????? ??????? ???? ?????? ???? ??????? ????? ???????? ??????.

?? ?????

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ???????

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 2:37 pm

The <lastmod> tag is an optional tag that identifies the time that the corresponding Sitemap file was modified. It does not correspond to the time that any of the pages listed in that Sitemap were changed. The value for the lastmod tag should be in W3C Datetime format.
https://www.google.com/webmasters/tools ... ex_lastmod

?????? ?? ????? ?? ??? ???
??? ??????? ?????? ??? ?? ??????? ??? ??????? !
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ???????

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 2:40 pm

?????
?? ???? ??? ???
???? ????? ?????? ???

كود: تحديد الكل

<lastmod>'. gmdate('Y-m-d',$data['topic_last_post_time']) .'</lastmod>
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

صورة العضو الرمزية
alahamdan
عضو نشيط
عضو نشيط
مشاركات: 146
اشترك في: الجمعة يناير 12, 2007 6:41 pm

????? ????? ??????? ???????

مشاركةبواسطة alahamdan » الجمعة ديسمبر 12, 2008 2:56 pm

???? ??? ????

?? ??????? ??????? ??????? ??? ???? ????? ??? ????? ??????? ??? ????????? ?????? ????? ?????????? ?????????? ??????? ?????? ???????? ??????? ???? ??????? ?????? ???? ???? ????? ????? ???? ??? ???? ??? ??????? ??????? ??????? ?? ???? ??????? 1-1-1970 (?? ???? ????? ??? ??????? ??????!).

??????? ? The <lastmod> tag is an optional tag that identifies the time that the corresponding Sitemap file was modified. It does not correspond to the time that any of the pages listed in that Sitemap were changed. The value for the lastmod tag should be in W3C Datetime format

???? ????? ???? ??? ????? ?????? ????? ??????? - ??? ??? ?????? ???? ????? ????? ???? ????? ?????? ????? ??? ?????? ???? ??? ????? ????? ?????? ????? ?? ??????? ???? ?? ?????? ??? ??? ????? ??. ???? ??? ??????? ????.

????? ????? ??????? ??? ???? ??? ??? ?????? ?????? ?? ??? ????? ??????. ??? ???? ?? ????? ????????:

كود: تحديد الكل

<?php 

// PHPBB 3.0 Sitemap Modification
// Greensboring.com
// Version 3.0 - September 5 2007


// Enter The Path to Your PHPBB Forum if different then root.
// Example: $path='/forum/'; 

$path='/community/';


// Change Nothing Below Here:
// ********************************************************************

$domainpath='http://'.$_SERVER['HTTP_HOST'].$path;

// Connect

define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);

include($phpbb_root_path . 'config.' . $phpEx);
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);

$db = new $sql_db();

$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);

// Send initial Data

echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
echo "<urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">";

// Send Index

echo '<url>
      <loc>'.$domainpath.'</loc>
      <lastmod>' . gmdate('Y-m-d') . '</lastmod>
      <changefreq>hourly</changefreq>
      <priority>1.0</priority>
         </url>';


// Send Topics

$sql = 'SELECT * FROM phpbb_topics WHERE topic_approved=1 ORDER BY topic_id DESC';
    	$result = $db->sql_query($sql);
	while ($data=mysql_fetch_array($result)) {

echo '<url>
      <loc>'.$domainpath.'viewtopic.php?f='.$data['forum_id'].'&t='.$data['topic_id'].'</loc>
      <lastmod>'. gmdate('Y-m-d',$data['topic_last_post_time']) .'</lastmod>
      <changefreq>always</changefreq>
      <priority>0.8</priority>
         </url>';

}

// Send Forums

$sql = 'SELECT * FROM phpbb_forums WHERE parent_id!=0';
    	$result = $db->sql_query($sql);
	while ($data=mysql_fetch_array($result)) {

echo '<url>
      <loc>'.$domainpath.'viewforum.php?f='.$data['forum_id'].'</loc>
      <lastmod>'. gmdate('Y-m-d',$data['topic_last_post_time']) .'</lastmod>
      <changefreq>always</changefreq>
      <priority>0.9</priority>
         </url>';

}


// Send Closing Tags

echo '  </urlset>';


?>
??? ???? ????????? ??? ???? ?????? ??? ?? ??? ??? ??????? ?? ???? ??? sitemap.php ???? ??? ??????? ?????? ???? ?????? ?????? ????? ???? ?? ?? ???? ???. ???? ??? ???? ????? ??????.

?? ???? ??????:

1- ??? ?????? : $path='/community/';
?????? ???? community ???? ????? ??????? ????? ??.

2- ??? ????? : <priority>0.8</priority> ??? ?????? ?? 0.1 ??? 1.0 ??? ??????? ???? ????.

3- ??? ????? : <changefreq>always</changefreq> ???? ??????? ????? ??? ?????? ????? ??????? daily, hourly, always, weekly

???? ???? Saanina ??? ???? ?????????.

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ??????? (????)

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 3:04 pm

??????? ????? 1970 ????????
???? ???? ?? ?????? ?? ????? ?? ???? ???????? ??? ???? ??????? ?????? ...
??? ?????? ?? ?? 1970 ??? 2038 ??? ????? ??????? php5

??? ??? ????? ??? ??? ????? ??????? !
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

صورة العضو الرمزية
alahamdan
عضو نشيط
عضو نشيط
مشاركات: 146
اشترك في: الجمعة يناير 12, 2007 6:41 pm

????? ????? ??????? ??????? (????)

مشاركةبواسطة alahamdan » الجمعة ديسمبر 12, 2008 3:09 pm

???? ??? ??????? ??? ??????

??? ?? ?????? ??? ????? ??? ???? ?? ???? ?????

????? ?? ???? ?????? ??? ?? ???? ????? ???? ???????? ????. ??? ???? ???? ??? ??????? ??? ??? ???? ??? ????? ????????. ??? ???? ????? ???? ?? ??????? ???? ???????.

??? ?? ???? ?????? ??? ??? ?????? ??????? ???? ??? ??? ??????? ????? ??????? ??? ???? ?????? ??????? ??? ??? ??? ????????? ???? ???? ?? ?????? ??????? ?????? ??????? ???? ???? ??????? ?????? ?????? ???? ???? ??? ??????? ???? ?? ????????.

????? ???????.

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ??????? (????)

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 3:17 pm

صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]

صورة العضو الرمزية
alahamdan
عضو نشيط
عضو نشيط
مشاركات: 146
اشترك في: الجمعة يناير 12, 2007 6:41 pm

????? ????? ??????? ??????? (????)

مشاركةبواسطة alahamdan » الجمعة ديسمبر 12, 2008 3:31 pm

??? saanina

????? ???? ?? ??????? ?????? ((<lastmod>'. gmdate('Y-m-d',$data['topic_last_post_time']) .'</lastmod>))

???? ????????? ??? ????????? ??? ???? ???? ??????? 1970.

??? ????? ?????? 'topic_last_post_time' ??? ???? ?????? ??? ????? ??? ??????????

????

saanina
عضو شرف
عضو شرف
مشاركات: 2726
اشترك في: الاثنين يونيو 09, 2003 11:14 am
مكان: ...
اتصال:

????? ????? ??????? ??????? (????)

مشاركةبواسطة saanina » الجمعة ديسمبر 12, 2008 3:40 pm

forum_last_post_time
صورة

:idea: ----------
[الإنسان لا يدرك قيمة الأشياء المجانيه التي تعرض له ..
ويتعامل معها بإستخفاف .. أو على الأقل يشعر أنها حق
له .. أو واجب على الطرف الآخر ...]


العودة إلى ”هاكــات [ ×.3.0 ]“

الموجودون الآن

المتصفحون للمنتدى الآن: Bing [Bot] و 3 زوار