Welcome, Guest
Username Password: Remember me

Fireboard pagination with Joomla 1.5
(1 viewing) (1) Guest

TOPIC: Fireboard pagination with Joomla 1.5

Fireboard pagination with Joomla 1.5 4 years ago #11

  • ryan
  • OFFLINE
  • Administrator
  • Posts: 178
  • Karma: 8
Apparently the pagination, among other things, does not work properly with Joomla 1.5 and so I am going to have to test this out and fix it.

So to do this I am going to post a whole lot of posts to see what happens and then look in the Fireboard PHP files and see what the problem is and what I can do to fix it.

I suspect that similar to Chronoforms, the JURI::root() variable must be prepended to the URL.

Here we go... lets see what happens.

UPDATE:
OK fixed, here is what happened...

Fireboard is linking the a legacy file named pageNavigation.php in the /includes folder.

This apparently does not function exactly as it should since Fireboard's page nav is not working.

The fix I did was to copy the old Joomla 1.0.15 pageNavigation.php file into my Fireboard template folder /components/com_kunena/template/default/.

To the top of this file below the _VALID_MOS line I added the language variables from the old Joomla language file so the top of my file looks like this:
defined( '_VALID_MOS' ) or die( 'Restricted access' );
DEFINE('_PN_LT','<');
DEFINE('_PN_RT','>');
DEFINE('_PN_PAGE','Page');
DEFINE('_PN_OF','of');
DEFINE('_PN_START','Start');
DEFINE('_PN_PREVIOUS','Prev');
DEFINE('_PN_NEXT','Next');
DEFINE('_PN_END','End');
DEFINE('_PN_DISPLAY_NR','Display #');
DEFINE('_PN_RESULTS','Results');


Then in my Fireboard template folder /components/com_kunena/template/default/ I edited view.php.

On line 200 I changed
require_once (JB_JABSPATH . '/includes/pageNavigation.php');

to
require_once ('pageNavigation.php');


This now appears to fix it up.

I had to make some other adjustments to my CSS file to make some of the elements appear properly.

For example in the template folder I edited forum.css and added a new line to the end:
.fb_totalfavorite {clear:both;float:left;}

This pushes the number of Favored posts the user has down to its own line. I did this with another one or two elements (.msgdate) as well that didn't appear on their own line. In some cases the elements already had their own entry in the forum.css file.

Good luck!

Ryan
Joomla template developer, Joomla enthusiast, Linux user, programmer, artist
Last Edit: 4 years ago by ryan.
The topic has been locked.

Re:Fireboard pagination with Joomla 1.5 SEF enabled 4 years ago #12

  • ryan
  • OFFLINE
  • Administrator
  • Posts: 178
  • Karma: 8
test
Joomla template developer, Joomla enthusiast, Linux user, programmer, artist
The topic has been locked.

Re:Fireboard pagination with Joomla 1.5 SEF enabled 4 years ago #13

  • ryan
  • OFFLINE
  • Administrator
  • Posts: 178
  • Karma: 8
asdfasdf
Joomla template developer, Joomla enthusiast, Linux user, programmer, artist
The topic has been locked.

Re:Fireboard pagination with Joomla 1.5 SEF enabled 4 years ago #14

  • ryan
  • OFFLINE
  • Administrator
  • Posts: 178
  • Karma: 8
asdfwae
Joomla template developer, Joomla enthusiast, Linux user, programmer, artist
The topic has been locked.

Re:Fireboard pagination with Joomla 1.5 SEF enabled 4 years ago #15

  • ryan
  • OFFLINE
  • Administrator
  • Posts: 178
  • Karma: 8
asdfaea
Joomla template developer, Joomla enthusiast, Linux user, programmer, artist
The topic has been locked.

Re:Fireboard pagination with Joomla 1.5 SEF enabled 4 years ago #16

  • ryan
  • OFFLINE
  • Administrator
  • Posts: 178
  • Karma: 8
safzxcvsdf
Joomla template developer, Joomla enthusiast, Linux user, programmer, artist
The topic has been locked.
Time to create page: 0.15 seconds

Live Chat Offline

Blogging with Joomla just got easier...
Try EasyBlog for Joomla! Click the link above to buy EasyBlog Pro for Joomla. Enter your information to pay, then download it and install. There are a bunch of extra modules you can install for it too. There are plenty of options for customization and integration and themes to match your site. They will even help you if you get stuck and install it for you. There are more versions of EasyBlog available here.
Read my review of EasyBlog