|
|
|
algebre
|
« am: 20 November 2010, 11:15:10 » |
|
TranslatedHallo 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. (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 -Optimierung. NB: Wenn die Sitemap-Modul ist deaktiviert oder nicht zulässig, diese Datei wird nicht funktionieren. 6 - und mehr ..... OriginalHello 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. (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 optimization. nb: if the sitemap module is deactivated or not allowed this file will not work. 6 - and more .....
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
TerraProject
|
« Antworten #1 am: 20 November 2010, 11:36:15 » |
|
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 !!  Thanks
|
|
|
|
|
Gespeichert
|
g TerraProject ...::: TECMU :::... TerraProjectKein Support über PN, Mail oder ICQ! Bitte die Fragen im Forum stellen, nur so helfen die Antworten auch den anderen Usern. Bitte auch die Boardsuche nicht vergessen, oft ist genau dein Problem schon an anderer Stelle gelöst worden!
|
|
|
|
|
|
algebre
|
« Antworten #2 am: 20 November 2010, 11:51:22 » |
|
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"
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
TerraProject
|
« Antworten #3 am: 20 November 2010, 12:01:01 » |
|
ok, thats right. in older versions is it 'mxboard'. better, the variable would be read out from the 'settings.php' from eBoard.
|
|
|
|
|
Gespeichert
|
g TerraProject ...::: TECMU :::... TerraProjectKein Support über PN, Mail oder ICQ! Bitte die Fragen im Forum stellen, nur so helfen die Antworten auch den anderen Usern. Bitte auch die Boardsuche nicht vergessen, oft ist genau dein Problem schon an anderer Stelle gelöst worden!
|
|
|
|
|
|
algebre
|
« Antworten #4 am: 20 November 2010, 12:12:36 » |
|
Ok, Thank you 
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
lemming
|
« Antworten #5 am: 20 November 2010, 15:38:15 » |
|
hey algebre, sounds very very interessting, I'll try it later, for sure! 
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
lemming
|
« Antworten #6 am: 20 November 2010, 18:36:20 » |
|
again, very nice but my first thougt was "why are all modules listed and not only my activated modules?  "
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
algebre
|
« Antworten #7 am: 20 November 2010, 19:09:02 » |
|
Hi why 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
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
algebre
|
« Antworten #8 am: 22 November 2010, 14:46:57 » |
|
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); }
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
algebre
|
« Antworten #9 am: 23 November 2010, 09:21:16 » |
|
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
Eren Aslan
|
« Antworten #10 am: 23 November 2010, 13:19:28 » |
|
Goog Modulu Thanks
Saygılarımla...
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
algebre
|
« Antworten #11 am: 02 Dezember 2010, 08:43:19 » |
|
hi UP 
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
ugurcan44
|
« Antworten #12 am: 02 Dezember 2010, 09:33:02 » |
|
cooles modul hat wirklich gefehlt gehabt  . mfg ugurcan44
|
|
|
|
|
Gespeichert
|
Lache nicht über jemanden, der einen Schritt zurück macht. Er könnte Anlauf nehmen. Kein Support per PM! Wofür gibt es sonst das Forum.
|
|
|
|
|
|
|
|
TerraProject
|
« Antworten #14 am: 17 Dezember 2010, 16:54:03 » |
|
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
|
|
|
|
|
Gespeichert
|
g TerraProject ...::: TECMU :::... TerraProjectKein Support über PN, Mail oder ICQ! Bitte die Fragen im Forum stellen, nur so helfen die Antworten auch den anderen Usern. Bitte auch die Boardsuche nicht vergessen, oft ist genau dein Problem schon an anderer Stelle gelöst worden!
|
|
|
|
|
|
Eren Aslan
|
« Antworten #15 am: 17 Dezember 2010, 17:51:26 » |
|
Başarılarının devamını dilerim.. Ich wünsche Ihnen weiterhin viel Erfolg ..
Saygılarımla..
|
|
|
|
« Letzte Änderung: 17 Dezember 2010, 18:03:52 von Eren Aslan »
|
Gespeichert
|
|
|
|
|
|
|
comedi
|
« Antworten #16 am: 17 Dezember 2010, 19:05:18 » |
|
Very good, thx !! 
|
|
|
|
|
Gespeichert
|
LG Michael Kein Support über PN, Mail oder ICQ! CMS-Version: pragmaMx 1.12.1 --- PHP-Version: 5.2.14 MySQL-Version: 5.0.67 --- Server-Version: Apache 2.2.4 Wer den Weg zum Ziel kennt - dann aber Umwege nimmt - muss sich nicht wundern wenn er sein Ziel nicht findet! Gemeinschaftseite: www.pragmamx-erweiterungen.de
|
|
|
|
|
|
algebre
|
« Antworten #17 am: 19 Dezember 2010, 12:22:49 » |
|
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
Smiley
|
« Antworten #18 am: 19 Dezember 2010, 23:28:31 » |
|
Hi algebre  A very good work, thx !  Smiley
|
|
|
|
|
Gespeichert
|
|
|
|
|
|
|
waltkemper
|
« Antworten #19 am: 20 Dezember 2010, 07:14:16 » |
|
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
|
|
|
|
|
Gespeichert
|
|
|
|
|