Forum Replies Created
In reply to: pagination in custom query
any know about bbpress custom query pagination. please help me..
Can You tell me which forum software that has pagination for the categories/forums? I have no idea about much in wordpress so.
thanks for reply. yes i want this kind of pagination (“Page 1″, “Page 2″ etc). there is no other custom code for pagination or ajax based loading data. This kind of pagination required on my site because lots of data so i am separate out using categorywise. bbpress have great features so i used it on my site. but i am little disappointed just becusee of forum pagination.
I am already got above interface. i have same kind of structure but i want set pagination on this kind of listing becuase i have more then 20 category, underneath i am listing 15 forums. also one thing when user click on “fgiyhfhjx” on that page i am listing forums.
please help me to set out pagination in case of forum. i have total 30 forums and i want to set 5 forum per page but i am not able to set Pagination. Please give me some suggestion
yes i am already created forums under category and my forum structure like below and also same manner i am listing on page. but i am not able to set pagination. i am new to bbpress so please give me some suggestion.
-forum B2.In reply to: pagination problem in case of no replies
this problem i have solved. thanks everyone
i want list that all topics since user last visit to site, so for that some how i am update user last activity date and time and when user logged in next time i am get that date and time. so using this date & time i want to list topics since last visit of user.
i hope u got it what i want to say. the code is below. if i do any mistake please suggest me.
if u have better solution then please suggest me.
<?php$week = date( ‘W’ );
$year = date( ‘Y’ );?>
<?php if ( bbp_has_topics(‘author’ => 0, ‘order’ => ‘DESC’, ‘post_parent’ => ‘any’,’year’ => $year, ‘&w’ => $week) ) : ?>
<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
<?php bbp_get_template_part( ‘loop’, ‘single-topic’ ); ?>
<?php endwhile; ?>
<?php else : ?>
<?php bbp_get_template_part( ‘feedback’, ‘no-topics’ ); ?>
<?php endif; ?>
thanks for reply.. i am implemented your suggestion, but not getting result. can You explain me in detail with code?
thanksIn reply to: List of all new topics since last visit