Umfrage
Frage:
Glauben Sie, dass dieses Modul standardmäßig integriert werden sollte in "pragmxMx"?
Antwort 1: Ja
Stimmen: 10
Antwort 2: Nein
Stimmen: 2
Antwort 3: Ja, mit mehr Funktionen
Stimmen: 1
Antwort 4: Ja, mit weniger Funktionen
Stimmen: 0
Antwort 5: Keine Stellungnahme
Stimmen: 0
Translated
Hallo
Heute komme ich mit einem neuen Modul "Sitemap".
Mit neuen Features:
1 - konfigurierbar über eine Datei "setings.php".
2 - W3C gültig.
3 - Verwaltung von Berechtigungen mit "mxModuleAllowed", für "SMF Forum & Coppermine Galerie" ihre eigenen jeweiligen Berechtigungen System.
4 - Zusammenbruch / Erweitern Sie den Baum mit Treeview 1.4 - jQuery plugin (http://www.dynamicdrive.com/dynamicindex1/treeview/). (Im Pack inbegriffen)
5 - eine externe Datei (in der Site Root) für den schnellen Zugriff für Suchmaschinen (Bots) oder für benutzerdefinierte Fehlerseiten (zB 404, 403). für SEO (http://de.wikipedia.org/wiki/Suchmaschinenoptimierung)-Optimierung.
NB: Wenn die Sitemap-Modul ist deaktiviert oder nicht zulässig, diese Datei wird nicht funktionieren.
6 - und mehr .....
Original
Hello
Today, I come with a new module "sitemap".
With new features:
1 - configurable via a file "setings.php".
2 - W3C valid.
3 - Manage permissions with "mxModuleAllowed", for "SMF Forum & Coppermine gallery" use their own respective permissions system.
4 - collapse/Expand the tree with Treeview 1.4 - jQuery plugin (http://www.dynamicdrive.com/dynamicindex1/treeview/). (Included in the pack)
5- one external file (in the site's root) for quick access for search engines (bots), or for custom error pages (eg 404, 403). for SEO (http://en.wikipedia.org/wiki/Search_engine_optimization)optimization.
nb: if the sitemap module is deactivated or not allowed this file will not work.
6 - and more .....
Hi,
in the file 'functions.php' is a bug.
Line 630 : sql_query(...)
the name of the table 'eboard' is wrong... the right name is 'mxboard'
this modul is great !! :thumbup:
Thanks
Hi
@TerraProject
Do you think, I should include this file'/modules/eBoard/settings.php' for retrieve de table name in this function ? Because mine is "eBoard"
ok, thats right. in older versions is it 'mxboard'. better, the variable would be read out from the 'settings.php' from eBoard.
Ok, Thank you :cul:
hey algebre,
sounds very very interessting, I'll try it later, for sure! :thumbup:
again, very nice but my first thougt was "why are all modules listed and not only my activated modules????"
Hi
Zitat von: lemmingwhy are all modules listed and not only my activated modules?
Because you are logged as admin , that's all
Look
hereNext time I will use
mxModuleActive() implemented in Pmx 0.1.12.RC2
Hi
I found a bug in modules/Site_map/functions.php
if index = 1 and one of the blocks of coppermine is included! ==> fatal error (mysql)
so I modified the function gallery.
<?php // this line is only for code highlighting
/**
* mapGallery()
*
* @param string $module_name
* @param integer $map_limit
* @return
*/
function mapGallery($module_name = 'Gallery', $map_limit)
{
global $map_output, $uinfo;
if (!isset($CONFIG['TABLE_PICTURES'])) {
global $CONFIG;
}
if (!defined("MXCPG_BLOCKFILE_LOADES")){
if (!defined("IN_COPPERMINE")) define("IN_COPPERMINE",1);
if (@file_exists('modules/' . $module_name . '/include/config.inc.php')) {
include('modules/' . $module_name . '/include/config.inc.php');
} else {
if (MX_IS_ADMIN) {
echo 'The module "' . $module_name . '" doesn\'t exist or is not correctly installed.';
}
return;
}
}
$prefix = $CONFIG['TABLE_PREFIX'] ;
$who_view = array(0, $uinfo['user_ingroup'] + 5);
if (MX_IS_USER) $who_view[] = 2;
$who_view = implode(',',$who_view);
$print = array();
$qry = "SELECT link.aid as cat_id, if(link.title<>'',link.title,link.filename) as link_title, link.pid as link_id,
cat.title as cat_title, cat.description as cat_desc, link.hits as link_hits, link.position as link_pos,
if(link.caption<>'',link.caption,if(link.title<>'',link.title,link.filename)) as link_desc, link.owner_id as owner_id
FROM " . $prefix . "pictures AS link
LEFT JOIN " . $prefix . "albums AS cat ON (link.aid = cat.aid)
WHERE (cat.visibility IN(" . $who_view . ") OR link.owner_id='" . intval($uinfo['uid']) . "') AND link.approved='yes'
ORDER BY link.ctime DESC, link.aid LIMIT " . intval($map_limit) . " ";
$result = sql_query($qry);
if (!$result) return;
while ($row = sql_fetch_assoc($result)) {
$album_owner = mxGetUserDataFromUid($row['owner_id']);
$row['cat_title'] =$row['cat_title'] .' ( ' . $album_owner['uname'].' )';
$row['link_desc'] = altDisplay($row['link_desc'], $row['link_title'], $row['link_hits']);
$row['link_desc'] = htmlentities ($row['link_desc']);
$row['link_title'] = htmlentities ($row['link_title']);
$row['href_cat'] = 'modules.php?name=' . $module_name . '&act=thumbnails&album=' . $row['cat_id'];
$row['href_link'] = 'modules.php?name=' . $module_name . '&act=displayimage&pos=-' . $row['link_id'];
$print[$row['cat_id']][] = $row;
}
return _mapTemplate($print, $module_name);
}
hi
sehen Sie das Modul in Aktion : http://www.le-chaland.fr/modules.php?name=Site_Map
Goog Modulu Thanks
Saygılarımla...
hi
UP :skipping:
cooles modul hat wirklich gefehlt gehabt :).
mfg
ugurcan44
hi
new version with administration panel an more features
http://www.megaupload.com/?d=TPHX3ZH8
very cool, thx
sorry, in the file "case.map.php" is a little bug.
Line 23:
$mod = 'Site_map';
is wrong
the right name is 'Site_Map', with big 'M'
or rename the folder of the modul in 'Site_map'
ok?
great work, thanks a lot
Başarılarının devamını dilerim..
Ich wünsche Ihnen weiterhin viel Erfolg ..
Saygılarımla..
Very good, thx !! :thumbup:
hi
New link (http://www.pmx.xtreemhost.com/Downloads-Mx_sitemap-view-1.html)
demo (http://www.pmx.xtreemhost.com/Site_Map.html)
Hi algebre :drinks:
A very good work, thx ! :thumbup:
Smiley
Hi agebre, this is very nice. But i have a little Problem: When i go to the Administration sitemat i became this Answer:
Diese Funktion ('map') ist nicht vorhanden. What i do wrong?
Greetz
@walter
Benenne den Folder Site_Map in Site_map (mit kleinem 'm') um, wie oben von mir schon beschrieben... dann funzt es
Hi, das war schon geändert. Habe einen anderen Fehler gemacht. :red: Wieder mal vergessen den Cache zu leeren. Danke und Grüße an alle
sitemap modulu mxteam açıklan alt bölümleri göstermiyor acaba bunu için bir düzelme yapabilirminiz
mxteam sitemap module for this improvement could you wonder does not show deficits subdivisions
mxteam Sitemap Modul für diese Verbesserung könnte man fragen, nicht zeigen Defizite Unterteilungen
Site Map
www.fotoroni.com/Site_Map.html
MxTeam
www.fotoroni.com/Ekibimiz.html
Saygılarımla..
Super funktioniert toll,
nur wie kann man das Teil für eigene Module erweitern?
Gruss pyr0
HAt sich erledigt ..... :red:
hab es hinbekommen das das Modul auch meine eigenen Module mit in der SiteMap aufnimmt