1
migoe
Re: Change recent comments block to show each article only once
  • 2008/4/29 22:20

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


hi trabis,

you are right thank you for your help now everything works perfect for me

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

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



2
migoe
Re: Change recent comments block to show each article only once
  • 2008/4/29 21:36

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


trabis,

this works very well, thank you. Just one bad thing: the anonymous can see every comment, but when you login, you see only the comments, you have rights for.

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

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



3
migoe
Re: Change recent comments block to show each article only once
  • 2008/4/29 19:23

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Thank you guys for this very useful hack. Is it posible to hide the comments to users who have no rights to a module?

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

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



4
migoe
Re: Yogurt Social Network 2.9 BETA
  • 2008/4/20 8:33

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Hi suico,

Quote:
you wrote:

I added the audio tab in my development version of yogurt 3.3.


this ist good news and i hope we can download this version as soon as possible

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

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



5
migoe
Re: Make default block view = yes
  • 2007/5/23 6:57

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Quote:
Does anyone know how to change the default view in blocks administration to only show those that are online? (ie. 'yes' instead of 'all').


It is very easy:

Look for this code in /modules/system/admin/blockadmin/blocksadmin.php

function list_blocks()
    {
        global 
$xoopsUser$xoopsConfig;
        include_once 
XOOPS_ROOT_PATH.'/class/xoopslists.php';
        
//OpenTable();
        
$selmod = isset($_GET['selmod']) ? intval($_GET['selmod']) : 0;
        [
u][b]$selvis = isset($_GET['selvis']) ? intval($_GET['selvis']) : 2;[/b][/u]
        
$selgrp = isset($_GET['selgrp']) ? intval($_GET['selgrp']) : XOOPS_GROUP_USERS;
        echo 
"


the bold and underline piece of code is the secret. Chance "2" to "1" an you will be happy

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

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



6
migoe
Re: AMS - Block "TopicNav" Question
  • 2007/5/8 7:00

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


another try...
www.liedermacher-forum.de | German Singers and Songwriters

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



7
migoe
AMS - Block "TopicNav" Question
  • 2007/5/7 19:31

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


I wanted to show the articles by topic and the total topic in module in the block "topicnav". I change the code in /blocks/topicnav.php and it looks now so:

Resized Image

the code in the block i changed is here:

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


My Questions:

Why it only shows that there are 4 articles in each topic, this it not the truth!

Why it shows nothing in the section where the total count etc. shows?

migoe, who say sorry for the bad english!
www.liedermacher-forum.de | German Singers and Songwriters

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



8
migoe
Re: CBB 3.08 adding new forum dont work
  • 2007/3/28 19:28

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


@maydo:

thank you very much - now it works korrekt! There was no /xoopseditor folder in the frameworks! Now i am happy

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

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



9
migoe
Re: CBB 3.08 adding new forum dont work
  • 2007/3/27 21:18

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


Dear BlueStocking,

Quote:
Wishing you good luck and I will keep watching to see what I can gain from your experience.


thank you very much.

Now i have updated the newbb-module in the admin interface of XOOPS an got this error

Resized Image

What is error 134 from table handler? Is this the reason for my problem?

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

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



10
migoe
Re: CBB 3.08 adding new forum dont work
  • 2007/3/27 20:12

  • migoe

  • Just popping in

  • Posts: 68

  • Since: 2003/4/2 9


@BlueStocking:

The forum on my site runs since 4 years. There are 6 Categories an more than 30 forums. Before i chance to version cbb 3.0.4 there were no problem...

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

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




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



Login

Who's Online

46 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 46


more...

Donat-O-Meter

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

Latest GitHub Commits