61
Roby73
Birthday
  • 2012/9/13 21:35

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


In admin/main.php the code not working properly, pagenav don't work

if($itemsCount 0) {
60     $class '';
61     //$items = $hBdUsersBirthday->getItems($start, $limit, 'birthday_lastname');
62     
63     $tblItems 
= array();
64     //$critere = new Criteria($this->keyName, 0 ,'<>');
65     $critere = new Criteria('birthday_id','<>');
66     $critere->setLimit($limit);
67     $critere->setStart($start);
68     $critere->setSort('birthday_lastname');
69     // $critere->setOrder($order);
70     // $tblItems = $this->getObjects($critere, $idAsKey);
71     
72     
73     
74     $items 
$hBdUsersBirthday->getObjects($start$limit'birthday_lastname');


I try this:

if($itemsCount 0) {
            
$class '';
            
$criteria=new Criteria('birthday_id','<>');
            
$criteria->setLimit($limit);
                    
$criteria->setStart($start);
                    
$criteria->setSort('birthday_lastname');
            
//$items = $hBdUsersBirthday->getItems($start, $limit, 'birthday_lastname');
                      
$items $hBdUsersBirthday->getObjects($criteriatrue);



62
Roby73
Re: Newbb 4.3
  • 2012/9/10 4:21

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Sorry i did not remember that smarty
$xoopsTpl->assign('p_up'newbb_displayImage('up',_MD_TOP));

already existed



63
Roby73
Re: Newbb 4.3
  • 2012/9/10 1:57

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


@irmtfan

In 10159 update don't show top button.

I add in viewtopic.php
$xoopsTpl->assign('up'newbb_displayImage('up',_MD_TOP));


and add
<{$up}>&nbsp;

in template newbb_viewtopic.html in your code

<a id="threadbottom"></a><{$up}>&nbsp;<a href="#threadtop"><{$smarty.const._MD_TOP}></a>&nbsp;&nbsp;<{$previous}>&nbsp;<a href="viewtopic.php?viewmode=flat&amp;order=<{$order_current}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=prev"><{$smarty.const._MD_PREVTOPIC}></a>&nbsp;&nbsp;<{$next}>&nbsp;<a href="viewtopic.php?viewmode=flat&amp;order=<{$order_current}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=next"><{$smarty.const._MD_NEXTTOPIC}></a>


But the next and previous topic button don't work with seo rewrite on.
i modified link in template adding <{$xoops_url}>/modules/newbb/ in template code down and up:

<a id="threadtop"></a><{$down}>&nbsp;<a href="#threadbottom"><{$smarty.const._MD_BOTTOM}></a>&nbsp;&nbsp;<{$previous}>&nbsp;<a href="<{$xoops_url}>/modules/newbb/viewtopic.php?order=<{$order_current}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=prev"><{$smarty.const._MD_PREVTOPIC}></a>&nbsp;&nbsp;<{$next}>&nbsp;<a href="<{$xoops_url}>/modules/newbb/viewtopic.php?order=<{$order_current}>&amp;topic_id=<{$topic_id}>&amp;forum=<{$forum_id}>&amp;move=next"><{$smarty.const._MD_NEXTTOPIC}></a>



64
Roby73
Re: XOOPS 2.6.0 Alpha 1 Testing
  • 2012/9/5 22:33

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Tanks



65
Roby73
Re: XOOPS 2.6.0 Alpha 1 Testing
  • 2012/9/5 0:15

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I make a script to check deprecated function and command php <5.3 in a module in xoops 2.5.5.
Now i want upgrade for the future final release 2.6.0.

There are a list of the all deprecated and removed file in 2.6.0?.



66
Roby73
Re: Newbb 4.3
  • 2012/9/1 0:52

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Thanks irmtfan.

the problem of the more.png is other my error....now i find old and other templates in new newbb. sorry.

i think to use new last rev of alfred and several your code (es. show edit without edit reason ). This is my stable version and if received feedback report in discussion.

with rev 9883 i am not have problem from the user.

Thanks a lot!!




67
Roby73
Re: Newbb 4.3
  • 2012/8/31 4:25

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


@irmtfan
Your is a big job, thanks very much.

My problem is i have in my site version of alfred 9883.
i want understand what is the best version and secure of alfred, because the forum is popolated. i don't test and find a bugs in a site in production...

In local i don't problem i use your version, and all rev of alfred.

Better and stable as 9883 what is?
I must leave this?

Thanks




68
Roby73
Re: Newbb 4.3
  • 2012/8/30 23:04

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


sorry alfred.

in my pubblic site i use rev 9883 of the SF.

The rev 75 is better and safe to use to it 9883, or wait other release?
I am interested to use only version of the developer.



69
Roby73
Re: Newbb 4.3
  • 2012/8/29 1:46

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Quote:
by Roby73 on 2012/8/29 0:37:44

I downgrade to newbb by alfred ver. 9883 because i have problem with seo rewrite and subdir. In view all new/topics and pagenav in topics, subdir is duplicate.
The show more.png i think is seo rewrite..

Please test all your version in subdirectory. In the root not problem...

The problem seem to be in seo.php (in last versions)


Sorry, is a error in my installation...

Version of alfred and irmtfan don't have problem with seo...

I have only pronlem with more image.



70
Roby73
Re: Newbb 4.3
  • 2012/8/28 22:37

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I downgrade to newbb by alfred ver. 9883 because i have problem with seo rewrite and subdir. In view all new/topics and pagenav in topics, subdir is duplicate.
The show more.png i think is seo rewrite..

Please test all your version in subdirectory. In the root not problem...

The problem seem to be in seo.php (in last versions)




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 25 »



Login

Who's Online

209 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 209


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