MyXoops Forum

Forum - All Posts - myXOOPS German Support

Forum Index


Board-Index » All Posts (Shine)

BottomBottom



Shine

"myXOOPs"-Neuling
Gepostet am:05.07.2012 10:08
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#1

Aw: Wie wurde diese Datenbank erstellt ?

http://www.dobermannpedigrees.nl/modules/pedigree/

Pedigree ist ein script.
- http://www.pedigreepoint.com/
- http://www.breedmate.com/index.aspx

Ich denke mir so das es script pedigree heist anstatt animal. Google doch mal.


Shine

"myXOOPs"-Neuling
Gepostet am:19.02.2010 13:56
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#2

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

@ harry,

You questioned the same by pm. As I replied the same here:
create a test account and send me the login information. I'll have a look.

Btw: what does the debug msg say? Please put this on. Often this will explain a lot.


Shine

"myXOOPs"-Neuling
Gepostet am:07.02.2010 10:23
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#3

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

OK Harry. Changed several things within the code. Now the sortorder works properly and addresses shows.

What I've done:
Adjusted the files:

viewcat.php (here is where the standard sortorder within categorie listings are taken place.) Now the sortorder is standard: PLZ ASC (city ASC)
If you want to change it, see my comment behind the specific line. (57)

include/functions.php
(here you can adjust the standard sortorder latest listings)
In this file I also changed the standard sortorder date ASC of the latest listing into PLZ (city ASC). See my comment behind the specific line. (80)
If you want to change this (back) into date it is easy.

Upload the files attached and have fun.
Let me know the results.

Datei anhängen:


Link nur für registrierte Benutzer


Shine

"myXOOPs"-Neuling
Gepostet am:07.02.2010 01:40
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#4

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

Sorrie, my fault.
Didn't test it before zipping the files.
Turn in these cases always debug on, this shows you the error, which you can place her and is easier to solve.

OK: open file functions.php
Look for line:
77
case "zipD":i   $orderby "zip DESC"; break;

You see the 'i'. This is wrong. Remove it and upload the file again.
White page will disappear.

I will test the modifications one of these days myself and will let you know. (i see some more mistakes -forgotten adjustments-. sorry for that)


Shine

"myXOOPs"-Neuling
Gepostet am:03.02.2010 01:19
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#5

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

As I thought. you didn't change in what I mentioned.
OK, did it for you. You only have to do 1 thing yourself which is: editing the file/ functions.php
You will see my explaining comment on the approriate position within the file.

Let me know if it runs ok.

Btw: you know your website doesn't run anymore?


Datei anhängen:


Link nur für registrierte Benutzer


Shine

"myXOOPs"-Neuling
Gepostet am:02.02.2010 14:07
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#6

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

If I take a look at the attachment your placed, you didn't adjust the functions.php file.
And did you adjust all the files on several places?

Can you place the files you've adjusted here as an attachment?


Shine

"myXOOPs"-Neuling
Gepostet am:01.02.2010 23:20
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#7

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

See the parts in this file:
//Reusable Link Sorting Functions
function convertorderbyin($orderby)
  {
 switch (
trim($orderby))
   {
   case 
"titleA":  $orderby "title ASC"; break;
    case 
"dateA":   $orderby "date ASC"; break;
   case 
"hitsA":   $orderby "hits ASC"; break;
   case 
"ratingA"$orderby "rating ASC"; break;
// hack LUCIO - start
    
case "cityA":   $orderby "city ASC"; break;
// hack LUCIO - end
    
case "titleD":  $orderby "title DESC"; break;
   case
"dateD":    $orderby "date DESC"; break;
    case 
"hitsD":   $orderby "hits DESC"; break;
    case 
"ratingD"$orderby "rating DESC"; break;
// hack LUCIO - start
   
case "cityD":   $orderby "city DESC"; break;
// hack LUCIO - end
   
default:        $orderby "date DESC"; break;
    }
 return 
$orderby;
  }


function 
convertorderbytrans($orderby)
 {
 if (
$orderby == "hits ASC")    $orderbyTrans ""._MD_POPULARITYLTOM."";
  if (
$orderby == "hits DESC")   $orderbyTrans ""._MD_POPULARITYMTOL."";
  if (
$orderby == "title ASC")   $orderbyTrans ""._MD_TITLEATOZ."";
 if (
$orderby == "title DESC")  $orderbyTrans ""._MD_TITLEZTOA."";
 if (
$orderby == "date ASC")    $orderbyTrans ""._MD_DATEOLD."";
 if (
$orderby == "date DESC")   $orderbyTrans ""._MD_DATENEW."";
 if (
$orderby == "rating ASC")  $orderbyTrans ""._MD_RATINGLTOH."";
  if (
$orderby == "rating DESC"$orderbyTrans ""._MD_RATINGHTOL."";
// hack LUCIO - start
 
if ($orderby == "city ASC")    $orderbyTrans ""._MD_CITYATOZ."";
  if (
$orderby == "city DESC")   $orderbyTrans ""._MD_CITYZTOA."";
// hack LUCIO - end
 
return $orderbyTrans;
}


function 
convertorderbyout($orderby)
  {
 if (
$orderby == "title ASC")   $orderby "titleA";
 if (
$orderby == "date ASC")    $orderby "dateA";
  if (
$orderby == "hits ASC")    $orderby "hitsA";
  if (
$orderby == "rating ASC")  $orderby "ratingA";
// hack LUCIO - start
 
if ($orderby == "city ASC")    $orderby "cityA";  
// hack LUCIO - end
 
if ($orderby == "title DESC")  $orderby "titleD";
 if (
$orderby == "date DESC")   $orderby "dateD";
  if (
$orderby == "hits DESC")   $orderby "hitsD";
  if (
$orderby == "rating DESC"$orderby "ratingD";
// hack LUCIO - start
 
if ($orderby == "city DESC")   $orderby "cityD";
// hack LUCIO - end
 
return $orderby;
  }

These you have to adjust also to fit to your needs.

Next you also need to adjust the file: addresses/viewcat.php
//if 2 or more items in result, show the sort menu
    
if($numrows>1){
        
$xoopsTpl->assign('show_nav'true);
        
$orderbyTrans convertorderbytrans($orderby);
        
$xoopsTpl->assign('lang_sortby'_MD_SORTBY);
        
$xoopsTpl->assign('lang_title'_MD_TITLE);
        
$xoopsTpl->assign('lang_date'_MD_DATE);
        
$xoopsTpl->assign('lang_rating'_MD_RATING);
        
$xoopsTpl->assign('lang_popularity'_MD_POPULARITY);
        
$xoopsTpl->assign('lang_cursortedby'sprintf(_MD_CURSORTEDBYconvertorderbytrans($orderby)));
    }

to fit your to needs.

Keep in mind they need to be the same. If you take a good look you will see they have the same. So if you adjust/delete/change/add something, do it within all the mentioned files.

Can you follow?

[edit]
To be frankly: althoiugh great he did it. I don't like the maphack lucio did.
At this moment I am busy updating my addresses module. It will use, on an very simple way michelin cards.
No addition within table sql or whatever. Just an simple addition within the template.
My test works like a charm. Tested it with some addresses within germany just now.
I hope to get the update ready within a week.
Will let you know.
[/edit]


Shine

"myXOOPs"-Neuling
Gepostet am:31.01.2010 22:55
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#8

Aw:: Sortierung nach Postleitzahl in Modul ADDRESSES

I hope you understand english.

Since the adresses module (1.7) original was made by me, later on the google map hack was added by lucio...

To change the order you also have to adjust the php script:
addresses/include: functions.php
Prox line 49 - Link sorting function order by title order by ...
Prox line 92 order by title order by ...

you need to change title into city

Keep in mind that this will NOT change the sort order option above the overview. This will still be title/date etc. If you want to change this, than you have to adjust this also. Instead of title, city. Or you can add antoher sort option.
Look for: //if 2 or more items in result, show the sort menu
You can copy and paste the below code. As you can see I ADDED the option City.
//if 2 or more items in result, show the sort menu
    
if($numrows>1){
        
$xoopsTpl->assign('show_nav'true);
        
$orderbyTrans convertorderbytrans($orderby);
        
$xoopsTpl->assign('lang_sortby'_MD_SORTBY);
        
$xoopsTpl->assign('lang_city'_MD_CITY);
        
$xoopsTpl->assign('lang_title'_MD_TITLE);        
        
$xoopsTpl->assign('lang_date'_MD_DATE);
        
$xoopsTpl->assign('lang_rating'_MD_RATING);
        
$xoopsTpl->assign('lang_popularity'_MD_POPULARITY);
        
$xoopsTpl->assign('lang_cursortedby'sprintf(_MD_CURSORTEDBYconvertorderbytrans($orderby)));

Then you need to adjust the template:
addresses_viewcat.html
Look for:
<{if $show_nav == true}>
      <
div><{$lang_sortby}>&nbsp;&nbsp;<{$lang_title}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=titleA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=titleD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)<{$lang_date}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=dateA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=dateD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)<{$lang_rating}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=ratingA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=ratingD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)<{$lang_popularity}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=hitsA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=hitsD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)
      <
br /><b><{$lang_cursortedby}></b>
      </
div>

Here you need to change the first 2 line sort by titleA into cityA and titleD into cityD. Now the standard sortorder will be on city.
I would advice you if you do this to add the sortorder title option into the order option menu.. In this case just copy the sortorderlines with titleA/titleD and change title into city.


Hope this will help you in the right direction.

Grtz., Shine




Shine

"myXOOPs"-Neuling
Gepostet am:30.07.2009 00:59
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#9

Aw:: Umfrage zur Entwicklung von Modulen



Interessante discussion.

May I do it in engliesh.

I would like to memorize the development of the module: AMS.
There was a launch done by the Marcan, who run at that time ithq or something like that:
Everybody who paid some money in advance would get the permission to download this at that time not yet developed module.
After some weeks (or was it months) the module would be free for everybody.
There were several people who paid and Marcan started to work. The module was launched. Threads about this module started, bugs feature requests and so on.

Those who paid, may do feature requests and the further development (read functions and features) of this module would depend on the paid users. Those who didn't pay get the module several weeks (months) later, but cannot do those requests.
Although I liked the idea of this kind of module development and presentation, this project died sooner as I thought. A module left with lots of bugs and disapointed for those who paid. No further enhancement.
This way of module development should certainly not be done with every module. I am sure if you want to kill the open source CMS Xoops, than you should follow that road. Xoops', in my opinion, isnt mature enough.
However if it is a killing module.... that it is fine.
About payment: I do know a lot of time and work gets into module development and enhancement. But sometimes if i see the price of a module it is to expensive for me.
For sometime the shop module Oledrion was a pay module. Now, all of a sudden this module is free. Does this mean the module will not be under further development of the original developer?
Now Catads, originaly a module developed by The Cat has been taken under redevelopment and is a pay module. I ask myself logically for how long?


Fortunately Novasmart took the AMS module in 2007 up and started to enhance and solve bugs of this module. And made it again compatible.
Free, no costs.

Until now I still haven't see a module for which I am ready to pay that lot of money. For sometime I made a donation to some of the developers of modules, but not long after that the development of the specific module stopped. Module out of date, not clever enough to make it compatible myself. As you can imagine, before i make a donation again......

On short:
at this moment I don't think Xoops is mature enough to have modules for which you have to pay. First of is to take care of the basic modules (links, decent forum, downloads, content module) which will run without problems.
Than xoops has to take care that it gets a clear code so module developers no what is possible and not. Without the need to make each time some kind of extra and needed installation of:
framework for their module(s)
smartwork
and how much of these needed extra aren't around at this time.

My 2 cents (as far as it it clear)




Shine

"myXOOPs"-Neuling
Gepostet am:23.04.2009 01:57
Shine
Shine Offline (Show more)
"myXOOPs"-Neuling
Posts: 91
Since: 02.11.2002
#10

Aw:: Plugins bei Wordpress-Modul funktionieren nicht

Es gibt noch eine neuere version. Gamcht bei Novasmart:


XOOPS WordPress/Xpress 2.11.0



http://xoops.novasmarttechnology.com/ ... inglefile.php?cid=2&lid=2


WordPress For XOOPS 2.11.0

If the reader wonders, why we waste our time to spent time to upgrade “abandon” modules instead of working om AMS 2.50 Beta 2 as fast as possible, here is our answer.

We like WordPress for XOOPS, its stable and surpass all XOOPS blog modules that we try. XPRESS or wordpress 2.05 should be maintain by xoopsforge.com (phppp) and we put a lot of trust the module will be updated by him regularly. Thats the main reason we use this module in our sites (yes, it is sites, not site ). But of course, we not just blindly put our trust to xoopsforge.com to maintain the module (its normal for open source), we did our own study and conclude in case there is no update from xoopsforge.com, we can update it ourself without significant resources.

Unfortunately, what we afraid is occur. After Wordpress 2.05, xoopsforge.com stop updating the modules and left it un-patch for > 1 year. Same as AMS, we only have 2 choice… update it ourself or left it vulnerable. So, our choice is clear, lets patch it. However contra with AMS, we didn’t plan to take over the development.

With our limited knowledge, it take us 15 man-hours to finish the update/patch to Wordpress 2.0.11 including regression testing. Luckily, its work like a charm and its rock solid stable in our server. So, we name it as WordPress For XOOPS 2.11.0 mimick the same numbering as xoopsforge. Whats 15 man-hours mean to us ? With only 1 person working on this modules, its mean 2 weeks of development since our average spent time in XOOPS projects only 1 hour/day per person.

After we publish our work at xoops.org, we got some request to upgrade the module to WordPress 2.6.x, but we politely refuse to do so since it will take significant amount of our time to do so. We need to take our resource from AMS if we did so. Except someout want to pay our effort, I think we don’t want to involve. FYI, the to upgrade the module to be compatible with WordPress 2.6.x, we need to modify and validate 300+ files compared than to update the module to WordPress 2.0.11, we need to touch only 81 files.

http://xoops.novasmarttechnology.com/ ... s-2110-and-ams-250-beta-2

When ich aber lese auf worpress site sieht es so aus alsob dieser version dangerous ist:
March 2, 2007 WordPress 2.1.1 dangerous, Upgrade to 2.1.2
http://wordpress.org/development/category/releases/




TopTop
(1) 2 3 4 ... 7 »



Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
OffOffTopic [Wichtig] Übernahme myXOOPS 0 581 11.12.2023 18:57
alfred Gehe zum letzten Beitrag
Die Installation und Administration von XOOPS 2.5.X [Offen] Upgrade 2.5.11 3 2325 07.05.2023 07:03
Goffy Gehe zum letzten Beitrag