Fork me on GitHub
"XOOPS ist ein dynamisches OO (Objekt Orientiertes) open source Portal Script geschrieben in PHP. XOOPS ist ein ideales CMS (Content Management System) für den Aufbau von kleineren und grösseren Communities, Firmen-, Intra- und Internet-Portale, Web-Logs und vieles mehr."
forum
Bitte schaut in die DOKUMENTATION oder benutzt die SUCHFUNKTION bevor Ihr Eure Fragen im Forum stellt. Viele Fragen wurden bereits gestellt.

Tags: block   newbb   bug  

Leser in diesem Thema:   1 Anonyme(r)


(1) 2 »


Aw:: block recent topics newbb 4.03
#13
Benutzerinformationen
Thank you Bleekk!
All the best

Geschrieben: 17.09.2010
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#12
Benutzerinformationen
here is my complete file

Datei anhängen:


Link nur für registrierte User sichtbar

Geschrieben: 17.09.2010
_________________
xoopsthemes.com
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#11
Benutzerinformationen
Hello Bleekk
first: thank you !

But the first columm [name of forum] still blank

I edit the newbb_block.php. Only to confirm [maybe I made something wrong ...] I comment the old lines

1. 262
$query 'SELECT'.
        
'  t.topic_id, t.topic_replies, t.forum_id, t.topic_title, t.topic_views, t.type_id, t.topic_time, t.topic_poster, t.poster_name,'.
       
//'  f.forum_name'.
       
'   f.forum_name, f.forum_last_post_id'.
      
'  FROM ' $GLOBALS["xoopsDB"]->prefix('bb_topics') . ' AS t '.
        
'  LEFT JOIN ' $GLOBALS["xoopsDB"]->prefix('bb_forums') . ' AS f ON f.forum_id=t.forum_id'.
       
'  WHERE 1=1 ' .


2. 297
foreach ($rows as $arr) {
        
$topic_page_jump '';
    
$topic['topic_subject'] = empty($type_list[$arr["type_id"]])?"":"[".$type_list[$arr["type_id"]]."] ";
        
$topic['forum_id'] = $arr['forum_id'];
        
//$topic['forum_name'] = $myts->htmlSpecialChars($arr['forum_name']);
        //$topic['id'] = $arr['topic_id'];
$topic['forum_name'] = $myts->htmlSpecialChars($arr['forum_name']); 
$topic['forum_last_post_id'] = $arr['forum_last_post_id'];


3. 322
// $seo_forum_url = '<a href="'.XOOPS_URL.'/modules/newbb/viewforum.php?forum='.$topic['forum_id'].'">'.$topic['forum_name'].'</a>';
    
$seo_url '<a href="'.XOOPS_URL.'/modules/newbb/viewtopic.php?post_id='.$topic['forum_last_post_id'].'">'.$topic['title'].'</a>';


Thank you again

Geschrieben: 17.09.2010
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#10
Benutzerinformationen
hi,

the block on my site is displaying all columns. please update your module.

Geschrieben: 17.09.2010
_________________
xoopsthemes.com
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#9
Benutzerinformationen
Hi Bleekk!
Working now. I will make more tests and report here

Only a little issue: the first columm of this block [forums] is empty now. But links point the right way

thank you

Geschrieben: 17.09.2010
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#8
Benutzerinformationen
hi,

sorry for my late anwser. please open "newbb/blocks/newbb_block.php" and change following lines:

line 262: after f.forum_name add ",forum_last_post_id"
the line should look like
'    f.forum_name, f.forum_last_post_id'.


line 300: afer this line add following line, lines 300 and 301 should look like this:
$topic['forum_name'] = $myts->htmlSpecialChars($arr['forum_name']);
$topic['forum_last_post_id'] = $arr['forum_last_post_id'];


line 319: change the line too look like this:
$seo_url '<a href="'.XOOPS_URL.'/modules/newbb/viewtopic.php?post_id='.$topic['forum_last_post_id'].'">'.$topic['title'].'</a>';


It should work now

Geschrieben: 16.09.2010
_________________
xoopsthemes.com
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#7
Benutzerinformationen

Hello Bleekk,

In fact the block with trouble [recent topics, not recent posts] is the original block

Setup below

 

 

Thank you - again

 


Geschrieben: 15.09.2010
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#6
Benutzerinformationen
I have cloned the recent topics block 3 times. but I can't reproduce the bug.
can you tell me how ofter you have cloned the block. which preferences have you set for this block?

Geschrieben: 14.09.2010
_________________
xoopsthemes.com
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#5
Benutzerinformationen

Hello Bleekk,

 

I download from here

http://svn.myxoops.org/wsvn/cbb/trunk/?op=dl&rev=0&isdir=1

 

Any other download link?

Thank you!


Geschrieben: 14.09.2010
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden

Aw:: block recent topics newbb 4.03
#4
Benutzerinformationen
oh ok, now I see the bug. do you use 3 times the same recent topics block?

can you provide me the download link where you have downloaded the module

Zitat:
beduino ** BTW - your theme is a wonderful work!


thanks

Geschrieben: 14.09.2010
_________________
xoopsthemes.com
Drucke Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Melden







[Erweiterte Suche]