Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
(SOLVED!!!!!!!)NEW! indicator is not working (1 viewing) (1) Guest
TOPIC: (SOLVED!!!!!!!)NEW! indicator is not working
#36771
Re:(SOLVED!!!!!!!)NEW! indicator is not working 1 Year ago  
Guys,

the session handling has been completely rewritten. Jerry's note is referencing the old way of session management. I was just pointing out some further improvements that we are planning on making.
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#36772
Re:(SOLVED!!!!!!!)NEW! indicator is not working 1 Year ago  
jerry wrote:
fxstein wrote:
This is a know limitation of the current design. Its listed in the wiki and release nots as well as on Tracker as Intra Session NEW Indicator Issue.

The problem is that the current design marks an entire thread as read, without any information on what the latest post was.

Your test would work if you would wait 30 min before switching back to the original user - this will trigger a new session and will reset all markers on threads.

So for folks visiting your site a few times a day, it will work. Only Intra-session new posts will not make it onto their list.

We will be fixing this in a future release but we are focusing on bigger issues right now.

Thx!


Actually, this one is fixed in my post.php somewhere in this thread. Just install that patch and this issue is over (also in fxstein work - 1.0.4).
www.bestofjoomla.com/component/option,co...limitstart,90/#24828

Note: There is small performance penalty of using it... there should be separate table (userid:int,readtopic:int) with indexes on both columns to overcome it.


jerry,

May I recommend you read the thread in Dec? The whole session management was rewritten due to several issues and even security risks with it.
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1213
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
 
#36854
Re:(SOLVED!!!!!!!)NEW! indicator is not working 1 Year ago  
Hi

I tested fxsteins fireboard.php file and i´m so glad with it.
Now i want to make a friend happy and want to patch his FB 1.0.3 (Joomla 1.0.12)

The only problem is, that he use the cbe.

I compared the old and new fireboard.php files and think i found the code lines i need to paste in the new file.
[code:1]// Include the Community Builder language file if necessary and set CB itemid value
$cbitemid = 0;

if ($fbConfig['cb_profile'])
{
// $cbitemid = JBgetCBprofileItemid();
// Include CB language files
/* $UElanguagePath = $mainframe->getCfg('absolute_path') . '/components/com_comprofiler/plugin/language';
$UElanguage = $mainframe->getCfg('lang');

if (!file_exists($UElanguagePath . '/' . $mosConfig_lang . '/' . $mosConfig_lang . '.php')) {
$UElanguage = 'default_language';
}

include_once ($UElanguagePath . '/' . $UElanguage . '/' . $UElanguage . '.php');
*/

// Phil_K added switch based on detection of CBEs second config file to choose between CBE or CB
// could also be reversed to detect default_language.php in CBs plugin/language/ dir as CBE does not have that one
if (file_exists($mainframe->getCfg('absolute_path').'/administrator/components/com_comprofiler/enhanced_admin/enhanced_config.php')) {
$UElanguagePath = $mainframe->getCfg('absolute_path') . '/components/com_comprofiler/enhanced/fb_forum/language';
$UElanguage = $mainframe->getCfg('lang');

if (!file_exists($UElanguagePath . '/'. $mosConfig_lang . '.php'))
{
$UElanguage = 'english';
}
include_once ($UElanguagePath . '/' . $UElanguage . '.php');
} else {
$UElanguagePath = $mainframe->getCfg('absolute_path') . '/components/com_comprofiler/plugin/language';
$UElanguage = $mainframe->getCfg('lang');
if (!file_exists($UElanguagePath . '/' . $mosConfig_lang . '/' . $mosConfig_lang . '.php'))
{
$UElanguage = 'default_language';
}
include_once ($UElanguagePath . '/' . $UElanguage . '/' . $UElanguage . '.php');
}



}


[/code:1]

My question is... can i just copy this part into fxsteins file???
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36915
Re:(SOLVED!!!!!!!)NEW! indicator is not working 1 Year ago  
sundance wrote:
Hi Jerry,

thanks for your note. I tried to apply your changes but neither the original 1.04 fireboard.php nor fixstein's patched version match the line numbers you are giving. Also, when I locate the code close to the line range I find that the code has changed already.

Would you happen to have a reference file for 1.04? Or can you just attach your files to this post?

Best regards,
Sundance

You should apply my patch ONLY to post.php, NOT fireboard.php. Sorry, that I was not clear (althrough I mentioned that ).
jerry (User)
Senior Boarder
Posts: 171
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/02 13:20 By jerry.
 
 
#36917
Re:(SOLVED!!!!!!!)NEW! indicator is not working 1 Year ago  
fxstein wrote:

jerry,

May I recommend you read the thread in Dec? The whole session management was rewritten due to several issues and even security risks with it.

Patch ONLY post.php
I already read that. And my patch was working in fireboard 1.0.3 for me and is also working now (in 1.0.4).
My patch is actually not session-dependent. As I am only deleting flag (for thread where is message posted) of read threads for all users, when is message posted (in that thread).
Mentioned performance penalty is there, cause these flags are in one column readtopics:char which must be searched by like and parsed.
jerry (User)
Senior Boarder
Posts: 171
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/02 13:18 By jerry.
 
 
#37842
Re:(SOLVED!!!!!!!)NEW! indicator is not working 1 Year ago  
Thanks Jerry your patch for post.php worked like a charm!
dsmink (User)
Junior Boarder
Posts: 31
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Cleverinsert B.V. Location: Netherlands Birthdate: 1983-09-25
Logged Logged
 
 
#37917
Re:(SOLVED!!!!!!!)NEW! indicator is not working 1 Year ago  
GODComplex wrote:
Hi

I tested fxsteins fireboard.php file and i´m so glad with it.
Now i want to make a friend happy and want to patch his FB 1.0.3 (Joomla 1.0.12)

The only problem is, that he use the cbe.

I compared the old and new fireboard.php files and think i found the code lines i need to paste in the new file.

(code is 4 posts above)


My question is... can i just copy this part into fxsteins file???


I answer it by myself...

Yes it works with FB 1.0.3 and CBE
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#38601
Re:(SOLVED!!!!!!!)NEW! indicator is not working 12 Months ago  
Hello, thanx for all the work done so far. I use Joomla 1.0.13 and Fireboard 1.0.3
I have a very active forum (445 users) and they post and stay connected to the forum all day long.

I applied the fxstein patch, and it seems all is correct, but when a user writes a new post in the next minute os the las marked as new, it is not showed as new in the category folder (stays blue and dont have new indicator), and also is not showed as new in the list of messages of the category.

This is the last patch?
joomlacode.org/gf/project/fireboard/scms...=461&view=markup

Sorry with my english.
Luisdv (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#38721
Re:(SOLVED!!!!!!!)NEW! indicator is not working 12 Months ago  
Luisdv wrote:
Hello, thanx for all the work done so far. I use Joomla 1.0.13 and Fireboard 1.0.3
I have a very active forum (445 users) and they post and stay connected to the forum all day long.

I applied the fxstein patch, and it seems all is correct, but when a user writes a new post in the next minute os the las marked as new, it is not showed as new in the category folder (stays blue and dont have new indicator), and also is not showed as new in the list of messages of the category.

This is the last patch?
joomlacode.org/gf/project/fireboard/scms...=461&view=markup

Sorry with my english.

apply my patch on post.php as written on my latest posts in this thread.
jerry (User)
Senior Boarder
Posts: 171
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#38722
Re:(SOLVED!!!!!!!)NEW! indicator is not working 12 Months ago  
jerry wrote:

apply my patch on post.php as written on my latest posts in this thread.


Does this apply to 1.04 fireboard too?
brnr (User)
Junior Boarder
Posts: 34
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top