Dear FireBoard users,
In order to further develope the need of Joomla for a robust forum, FireBoard component has been moved to its own new home and new name. You can find more information regarding the Kunena, the successor of FireBoard, at kunena.com. The current forum here will stay for some time more for referencing needs. You can find the FireBoard files under joomlacode.org and other files
Upgrading to Kunena is highly recommended!

Kunena! - To Speak!

A revolution is coming... Kunena - Swahili for: To Speak! THE Next generation of native Joomla based Forum ultra component. Forget what you know about Joomla based forums...
Amazingly Simple Lean and Clean Easier Customization
Kunena is about to redefine the world of Joomla! with the most simplistic ultra component out there. For ultimate performance based on state of the art development techniques, Kunena! is about to bring you... With an integrated plugin system that will allow you to extend Kunena beyond your wildest imaginations...
Wrong Item id ! Please help !
TOPIC: Wrong Item id ! Please help !
#3464
Wrong Item id ! Please help ! 10 Years, 6 Months ago  
I cant use any of the modules - not the fblatest nor the last subjects 2.8 because they all don`t work properly.
The all ad a wrong id in the URL when redirecting to the forum!

[b]Example- Wrong id URL:[/b]
http://www.lotroszene.net/index.php?option=com_fireboard&Itemid=85&func=view&catid=2&id=495#495

Correct id must be 94 !! not 85

So it always redirects the guest to somewhere where joomla says \"Your are not allowed to view this resource.\" :angry:

Please help me.

Is this because I installed FB before and published it a a menu item (id=85) then uninstalled it and now reinstalled it (id=94).

Now it seems the modules still think FB is installed as component with id 85 but there is no such component or menu link.

How can i get rid of this ?

thanks,

JK
#3464
Wrong Item id ! Please help ! 10 Years, 6 Months ago  
I cant use any of the modules - not the fblatest nor the last subjects 2.8 because they all don`t work properly.
The all ad a wrong id in the URL when redirecting to the forum!

[b]Example- Wrong id URL:[/b]
http://www.lotroszene.net/index.php?option=com_fireboard&Itemid=85&func=view&catid=2&id=495#495

Correct id must be 94 !! not 85

So it always redirects the guest to somewhere where joomla says \"Your are not allowed to view this resource.\" :angry:

Please help me.

Is this because I installed FB before and published it a a menu item (id=85) then uninstalled it and now reinstalled it (id=94).

Now it seems the modules still think FB is installed as component with id 85 but there is no such component or menu link.

How can i get rid of this ?

thanks,

JK
#3475
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
Have you, since uninstalling and reinstalling, deleted your menu item and recreated it?
#3505
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
Yes of course.

I have deleted the menu item and created a new one. Also the old id (85) seems to appear nowhere anymore.
dunno why this dumb module thinks it is still there or where it gets this wrong information.

The new menu item with the proper id 94 is created, published, for all visible and accessable. Dunno what to do.

Very weird.
#3508
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
Can you or have you removed the module and reinstalled it? Sorry for being so lo level, just trying to see what has and hasn\'t been done. ;)
#3591
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
I resolve this problem.:laugh:

94-85=9 then I add to itemid +9

I edit the file components/com_fireboard/fireboard.php

row 312
$Itemid+=9; //add 9 to itemid

I edit the file /mambots/content/fbdiscussbot.php

row 71
$Itemid+=9; //add 9 to itemid

Now it \'s working fine.

Bye

Post edited by: jnash, at: 2007/04/27 23:39

Post edited by: jnash, at: 2007/04/28 15:34
#3693
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
[b]JKjunior wrote:[/b]
[quote]I cant use any of the modules - not the fblatest nor the last subjects 2.8 because they all don`t work properly.
The all ad a wrong id in the URL when redirecting to the forum!

[b]Example- Wrong id URL:[/b]
http://www.lotroszene.net/index.php?option=com_fireboard&Itemid=85&func=view&catid=2&id=495#495

Correct id must be 94 !! not 85

So it always redirects the guest to somewhere where joomla says \"Your are not allowed to view this resource.\" :angry:

Please help me.

Is this because I installed FB before and published it a a menu item (id=85) then uninstalled it and now reinstalled it (id=94).

Now it seems the modules still think FB is installed as component with id 85 but there is no such component or menu link.

How can i get rid of this ?

thanks,

JK[/quote]



yes plz i have the same problem :( can some 1 help plz
#3729
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
Do you read my post? (up)

bye
#3730
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
in my case it 86 and 87

so i should add +1 yes?
#3731
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
//BBTEMPFIX

//check if the Itemid is set correctly

if ($Itemid == 1 or $Itemid == \"\")

{

$database->setQuery(\"select id from #__menu where link=\'index.php?option=com_fireboard\'\");

$Itemid=$database->loadResult();
$Itemid+=1;
}





I did this nothing happened. please help as i am a dumbass in Php.
#3839
Re:Wrong Item id ! Please help ! 10 Years, 6 Months ago  
try it

edit

//check if the Itemid is set correctly

echo $Itemid;
if ($Itemid == 1 or $Itemid == \"\")

{

$database->setQuery(\"select id from #__menu where link=\'index.php?option=com_fireboard\'\");

$Itemid=$database->loadResult();
echo \" \".$itemid;
}


with echo you can monitor pre and post if the $Identid value.
For example:

if the echo print on the screen 86 (your itemid link to fireboard component) and 87 (the wrong Identid), 86-87 = -1 the you must add the line

//check if the Itemid is set correctly

if ($Itemid == 1 or $Itemid == \"\")

{

$database->setQuery(\"select id from #__menu where link=\'index.php?option=com_fireboard\'\");

$Itemid=$database->loadResult();
$Itemid-=1;
}

bye
Page: 12