41
timgno
Re: CBB - 4.05 - beta1
  • 2011/10/19 11:27

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:
trabis wrote:
use $this->_tpl_vars['postid']; in case it is assigned to smarty (not sure if it will work)


It should not be, even before what you say, it turns out this error:

Error : Handler does not exist
Module: newbb
Name: bb_posts

Why is not considered getModuleHandler?
I must add something else?

42
trabis
Re: CBB - 4.05 - beta1
  • 2011/10/19 13:01

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

timgno wrote:
Quote:
trabis wrote:
use $this->_tpl_vars['postid']; in case it is assigned to smarty (not sure if it will work)


It should not be, even before what you say, it turns out this error:

Error : Handler does not exist
Module: newbb
Name: bb_posts

Why is not considered getModuleHandler?
I must add something else?


Sorry but, the error is clear, there is no handler called 'bb_posts' . There is no file named class/bb_posts.php and there is no class named NewbbBb_postsHandler.

Should you be looking for xoops_getmodulehandler('posts', 'newbb'); ?

43
timgno
Re: CBB - 4.05 - beta1
  • 2011/10/19 13:24

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


Quote:

trabis wrote:
...
Should you be looking for xoops_getmodulehandler('posts', 'newbb'); ?


exactly, just that I was looking

I have to extract a list of only one field, post_text

44
Cesagonchu
Re: CBB - 4.05 - beta1

Hi,
I have this error in debug mode (CBB 4.06 beta) :

'Database::getInstance();' is deprecated since XOOPS 2.5.4please use 'XoopsDatabaseFactory::getDatabaseConnection();' instead.

45
trabis
Re: CBB - 4.05 - beta1
  • 2011/10/20 18:18

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


@Cesag,
That is not an error, it is a message for developers saying that the method/file is deprecated and should not be used.
We (core team) are marking methods/files that will be removed in 2.6.0 as deprecated in 2.5.4 version(hopefully the last of 2.5. series). This way developers will have time to update the modules. Every module that trows a deprecated message on 2.5.4 will not work in 2.6.0. The core team will provide assistance in fixing modules (new or old). We will provide a roadmap for 2.6.0 and guidelines for developers very soon.

46
Cesagonchu
Re: CBB - 4.05 - beta1

Ok trabis, thank you for the information

47
Cesagonchu
Re: CBB - 4.05 - beta1

Other errors when I want to synchronize Newbb 4.06 with Xoops 2.5.4 :

The link information is not set for 'NewbbCategoryHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbForumHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbTopicHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbTopicHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbPostHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbPostHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbReportHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbRateHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbReadtopicHandler' yetin file /class/model/sync.php ligne 62
The link information is not set 
for 'NewbbReadforumHandler' yetin file /class/model/sync.php ligne 62

48
Anonymous
Re: CBB - 4.05 - beta1
  • 2011/10/22 15:48

  • Anonymous

  • Posts: 0

  • Since:


I'm half way translating the module to Dutch, have to do the admin part still...

Question about the social links. It's too much for me, posts are showing like a christmas tree now. Could there be an option to choose which buttons to show? Clicking a general share button unveiling the social links buttons would be nice too.

I also would like the option to add localized social media yourself. In Holland for instance Hyves is a big one, beating Facebook at this moment.

Last question... Are the three (facebook, twitter, buzz) buttons on the xoops.org forum a privat hack? I would love to have buttons like this in Newbb !

49
Cesagonchu
Re: CBB - 4.05 - beta1

Hi,
you can also go to :

modules/newbb/class/post.php


from the line 482 and delete or add what you want ;)

50
Anonymous
Re: CBB - 4.05 - beta1
  • 2011/10/23 18:07

  • Anonymous

  • Posts: 0

  • Since:


@ Cesag I can manage hacking a script, but with some trial, error and sweat dripping For keeping not nerdy webmasters happy it would be better to implement such options in admin pages

Login

Who's Online

197 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

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

Latest GitHub Commits