292911
netwize
Re: time to say goodbye to newbb?
  • 2003/6/24 5:18

  • netwize

  • Just popping in

  • Posts: 89

  • Since: 2002/1/20


its great to have other forum mods but upgrading will be painful if XOOPS upgrade.

anyway: XOOPS is a CMS, its not a FORUM.

although its great to have an exceptional CMS with an exceptional Forum, I'm happy with XOOPS as an exceptional CMS at the moment.

I'm not willing to say goodbye to newbb yet.






292912
mike--h
Re: time to say goodbye to newbb?
  • 2003/6/24 0:13

  • mike--h

  • Just popping in

  • Posts: 29

  • Since: 2003/6/22


ahhh! by suggesting adopting it as an offical module, I meant that the actual core mods will then become intergrated as part of the core. Sorry if didnt make it clear.

In a ideal world possiby could work as
the devs would then just have to ensure on the forum side that the hooks work

While the module side is maintained either outside or by part of the dev team,

Of course above is just a example, and may be a bit over simple and depends on many factors. As said not sure licence details, and all other stuff, would it effect/limit dev direction and so on

But at end of day the option of a fully intergrated uptodate phpbb module would to me be a step forwards
mike



292913
meme
Re: is that bug ?
  • 2003/6/23 23:50

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


thanks its work everything fine now



292914
tom
Re: time to say goodbye to newbb?
  • 2003/6/23 23:43

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


I don't mean to make this sound negative, but with both IBF and PHPBB modules, they make core changes to the XOOPS files, my only concern is that when Xoops.org upgrade there scripts, you will need to wait for the dev of these modules to upgrade his modules, especialy if you are inexperianced with php.

Although these modules are great, and the Developer has done a wounderful Job, you have to take this into account and bare this in mind, especialy if Xoops.org Dev's make a major Security updates, you will be left waiting until the mods are updated before upgrading your security.

This is another concern of mine with core hacks.

Sorry about this, but I feel it is something people should be aware of first.



292915
AndreyRa
Re: is that bug ?
  • 2003/6/23 23:31

  • AndreyRa

  • Just popping in

  • Posts: 17

  • Since: 2003/3/16


No its a feature (c) ;)
Actually this it is made to prevent extra charge of the counter by simple updating of page.

Here is the hack:
file: \modules\newbb\viewtopic.php, serach for this lines
if ( empty($topic_lastread[$topic_id]) ) {
    
$sql 'UPDATE '.$xoopsDB->prefix('bb_topics').' SET topic_views = topic_views + 1 WHERE topic_id ='$topic_id;
    
$xoopsDB->queryF($sql);
}


and chage it for this: Quote:

//if ( empty($topic_lastread[$topic_id]) ) { //not needed
$sql = 'UPDATE '.$xoopsDB->prefix('bb_topics').' SET topic_views = topic_views + 1 WHERE topic_id ='. $topic_id;
$xoopsDB->queryF($sql);
//}


That's all!



292916
meme
Re: X2 Core: [code] tag's output correction
  • 2003/6/23 23:20

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


thanks andre
i think i will use all ur hacks hehehehe

note :
but plz dont forget to upgrade this hacks after release new version of XOOPS

btw can you help me with this topic
click here

its about newbb you can test the views count to make sure



292917
AndreyRa
Re: time to say goodbye to newbb?
  • 2003/6/23 23:14

  • AndreyRa

  • Just popping in

  • Posts: 17

  • Since: 2003/3/16


Certainly if development XOOPS went faster - it would be possible to not see the given module.
There is only a question on translation of NewBB's database in the new module.

PS. If the question with licensing will not be solved, it will be necessary to develop NewBB up to phpBB's level. But all active users will be puts to themselves phpBB - is at all is not discussed.



292918
mike--h
time to say goodbye to newbb?
  • 2003/6/23 23:01

  • mike--h

  • Just popping in

  • Posts: 29

  • Since: 2003/6/22


k site

can find at above link version of below

Category: XOOPS 2.x Modules
PHPBB module 1.11F Final Version: 1.11f
Submitted Date: 2003/6/21
Description:

Porting PHPBB 2.0.5 into XOOPS 2, Final version.
Only test with XOOPS 2.0.3.

While not tested it, or had a deep look and not up to speed on licence, but if 100% functional imo it should be considered to either replace newbb or at least be a built in option.

Can think of many benefits, a few being lessening load of devs, a better forum, more features and so on.

Thoughts ?

found an example at http://www.myxoops.info/modules/pbboard/
whilst visting
http://www.myxoops.de/modules/news/





292919
AndreyRa
X2 Core: [code] tag's output correction
  • 2003/6/23 22:42

  • AndreyRa

  • Just popping in

  • Posts: 17

  • Since: 2003/3/16


This and other hacks available to download here: Some useful hacks

Tested with XOOPS 2.0.3

Subject: In tag [ code] there is a serious defect because of which to use this tag it is impossible.
For an example:
Try to copy and paste through buffer this text (in Notepad for example):
This is a first line.
And 
this is a second.
...


If you were not too lazy - you have understood that I had in view of. For lazy I explain: you in a notepad will not see any of line-breaks. The text will be in one line.

Second issue:
Example:
[url=xoops.org]I want to write a sample of my code...[/url]

I post where just [ url=xoops.org]I want to write a sample of my code...[ /url]. Some of my previous hacks comprised a part of an code of a Xoops. To avoid retranslation them in various XOOPS codes I had to go on some shifts.
This hack completely solve this problem. Not so it is beautiful as it might make itself Onokazu, but it is quite correct.

1. File \class\module.textsanitizer.php, this file will be one during all hack. line 151, line
$replacements[] = "'xoopsCode">
'.stripslashes(wordwrap(MyTextSanitizer::htmlSpecialChars('\1'), 100)).'
'";
replace for:
Quote:
//Begin hack: [ code] tag content output correction
$replacements[] = "'
'.stripslashes(wordwrap(MyTextSanitizer::htmlSpecialCharsCode('\\1'), 100)).'
'";
//End hack: [ code] tag content output correction


2. line 216, under function &nl2Br, add 2 new functions:
Quote:

//Begin hack: [ code] tag content output correction
//copy of htmlSpecialChars function but adopted for [ code] content (thats may content other xoops's codes and required for unchanged linebreaks (for corrected html
 tag work))
//masking all \n and \r symbols from nl2Br function
//masking '[' and ']' symbols for comatibility with XOOPS codes which may be in a brought code.
function &htmlSpecialCharsCode($text)
{
return preg_replace(array("/&/i", "/ /i", "/\[/", "/\]/","/(\015\012)|(\015)|(\012)/"), array('&', ' ', "[" ,"]",'[xoops_code_nl]'), htmlspecialchars($text, ENT_QUOTES));
}
//copy of nl2Br function that's awaiting internal '[xoops_code_nl]' tags for reverting its to the originals \n.
function &nl2BrCode($text)
{
return preg_replace("/\[xoops_code_nl\]/","\n",$text);
}
//End hack: [ code] tag content output correction


3. line 319, after
if ($br != 0) {
            
$text =& $this->nl2Br($text);
        }
add:
Quote:

//Begin hack: [ code] tag content output correction
if ($xcode != 0) {
$text =& $this->nl2BrCode($text);
}
//End hack: [ code] tag content output correction


4. line 363, after
if ($br != 0) {
            
$text =& $this->nl2Br($text);
        }
add:
Quote:
//Begin hack: [ code] tag content output correction
if ($xcode != 0) {
$text =& $this->nl2BrCode($text);
}
//End hack: [ code] tag content output correction


5. line 426, after
$text $this->nl2Br($text);
add:
Quote:
//Begin hack: [ code] tag content output correction
if ($bbcode == 1) {
$text =& $this->nl2BrCode($text);
}
//End hack: [ code] tag content output correction


6. line 453, after
$text $this->nl2Br($text);
add:
Quote:

//Begin hack: [code] tag content output correction
if ($bbcode == 1) {
$text =& $this->nl2BrCode($text);
}
//End hack: [code] tag content output correction


that's all!



292920
T-DoG
Re: New module : auction
  • 2003/6/23 21:39

  • T-DoG

  • Just popping in

  • Posts: 2

  • Since: 2003/3/21


I am also looking forward to the auction module. Thanks.




TopTop
« 1 ... 29289 29290 29291 (29292) 29293 29294 29295 ... 29425 »



Login

Who's Online

540 user(s) are online (318 user(s) are browsing Support Forums)


Members: 0


Guests: 540


more...

Donat-O-Meter

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

Latest GitHub Commits