21
migoe
Re: Spotlight view on Xoops.org
  • 2006/1/22 20:44

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Hi SMD,

thank you very much for this mod - i searching a long time for something like this. on myxoops.org i have wrote an article about this mod and translated it to german speak.

Will you add a date view for the articles in the next release or is there a quick hack for the people who want to show the published-date of an article?

migoe
www.liedermacher-forum.de | German Singers and Songwriters

www.weltladen-rothenburg.de | German Site about Fair trade Project



22
migoe
Re: Spotlight view on Xoops.org
  • 2006/1/22 10:20

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Hi defwind77,

Quote:
it seem to insert a space between each line, which looks daft


you must edit the template in the templatemanager in admin area. just search for two br-tags and edit...

migoe
www.liedermacher-forum.de | German Singers and Songwriters

www.weltladen-rothenburg.de | German Site about Fair trade Project



23
migoe
Re: AMS 2.41: How can i show the articlecounter in the Block "ams_block_topicnav.html"
  • 2006/1/16 8:25

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


OK, another try. I modified the code a little:

function b_ams_topicsnav_show($options) {

    include_once 
XOOPS_ROOT_PATH."/modules/AMS/class/class.newstopic.php";
    include_once 
XOOPS_ROOT_PATH."/modules/AMS/class/class.newsstory.php";

    global 
$xoopsDB$xoopsUser;
    
$block = array();
    
$article_counts = [u]AmsStory::countPublishedByTopic()[/u];
    
$topics AmsTopic::getAllTopics($options[0]);
    
$count 1;
    foreach (
$topics as $topic) {
        
$block['topics'][] = array('id' => $topic->topic_id'title' => $topic->topic_title(), 'count' => $count'articlecount' => $article_counts[$topicid]);
        
$count++;
    }
    return 
$block;
}


and now it shows allways a 2 (two), but there are definitly more articles in the topics. How must i change the code so that it shows the right count of articles by topic?

migoe
www.liedermacher-forum.de | German Singers and Songwriters

www.weltladen-rothenburg.de | German Site about Fair trade Project



24
migoe
Re: AMS 2.41: How can i show the articlecounter in the Block "ams_block_topicnav.html"
  • 2006/1/15 22:35

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Nobody who can help me?
www.liedermacher-forum.de | German Singers and Songwriters

www.weltladen-rothenburg.de | German Site about Fair trade Project



25
migoe
Re: AMS 2.41: How can i show the articlecounter in the Block "ams_block_topicnav.html"
  • 2005/10/30 12:10

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


I've changed the code of /modules/AMS/blocks/ams_topicsnav.php

function b_ams_topicsnav_show($options) {

    include_once 
XOOPS_ROOT_PATH."/modules/AMS/class/class.newstopic.php";
    include_once 
XOOPS_ROOT_PATH."/modules/AMS/class/class.newsstory.php";

    global 
$xoopsDB$xoopsUser;
    
$block = array();
    
$article_counts AmsStory::countPublishedOrderedByTopic();
    
$topics AmsTopic::getAllTopics($options[0]);
    
$count 1;
    foreach (
$topics as $topic) {
        
$block['topics'][] = array('id' => $topic->topic_id'title' => $topic->topic_title(), 'count' => $count'articlecount' => $article_counts[$topicid]);
        
$count++;
    }
    return 
$block;
}


In the template i inserted "$topic.articlecount" but it shows nothing What's wrong?

migoe
www.liedermacher-forum.de | German Singers and Songwriters

www.weltladen-rothenburg.de | German Site about Fair trade Project



26
migoe
AMS 2.41: How can i show the articlecounter in the Block "ams_block_topicnav.html"
  • 2005/10/28 21:18

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


I love the AMS Mod and want to make it possible to show the articlecounter after a Category in the Block "ams_block_topicnav.html" like this:

Category One (5 Articles)
Category Two (4 Articles)

and so on. The counter of the articles in a category is shown in the index.php when you set the option to show articles in topics.

I know, that i must chance or add some code for this, but dont know witch. Can someone give me a tip?

migoe
www.liedermacher-forum.de | German Singers and Songwriters

www.weltladen-rothenburg.de | German Site about Fair trade Project



27
migoe
Re: Kubrick Theme
  • 2005/4/21 20:57

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Hi,

a clean and fast theme - but now your site don't load!!!

Will you share the theme in the future?

migoe



28
migoe
what happens with cdbase after update from 2.0.7 to 2.0.9.2
  • 2005/2/8 21:40

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


hi guys,

i use the module CDBASE since 1 year on my site and had no problems. now i updated my site from 2.0.7 to 2.0.9.2 and now the module don't show the lyrics when a visitor link it.

Resized Image

The degug-modus don't show any error. what can i do to make the failure away?

migoe (great english )



29
migoe
Re: XOOPS PM(Private Message)-Hack
  • 2005/1/5 19:34

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Hi wanikoo,

i wish you and the other here a happy new year 2005

Quote:
wanikoo wrote on 2005/1/4 15:12:53

I know it's complicated...and moreover..these processes and calculation for de/en-cryption are all up to you.
Therefore...if you are not good at PKI and feel no necessity of secret PM, Please just ignore this function.


this things are interesting and you are right: very complicated. I do not need it for my side and hope you can make it optional for setting it up in the pm-coniguration because it diverts my visitors an make them confused.

i'm using on my site the module "pm-block" witch shows the newest pns in a block on the homepage. my problem is, that with your modifications ist not more possible to select a pn directly, because i do not know the syntax - how can i make a link to the latest pn?

migoe, who know about his bad english



30
migoe
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/16 23:04

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Hallo wanikoo,

freue mich, daß Du mit der deutschen Sprache was anfangen kannst und grüße Dich herzlich

Hey men (wanikoo),

you are crazy Thank you very much for your work!

This hack is one of the best piece of XOOPS i know an i have translated to german. you can find it on www.myxoops.de

best greetings and wishes from germany




TopTop
« 1 2 (3) 4 5 6 »



Login

Who's Online

226 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits