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
New post doesn't work! (1 viewing) (1) Guest
TOPIC: New post doesn't work!
#23301
Re:New post doesn't work! 1 Year, 3 Months ago  
Seems that playing with offset time (both joomla and fb) and without editing the code it works...
Now shows me new topic, but still here is some problem with last posts...

still working....mumble mumble....
blastingproton (User)
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Italy
Logged Logged
 
Last Edit: 2007/09/17 21:47 By blastingproton.
 
 
#23560
Re:New post doesn't work! 1 Year, 3 Months ago  
As well not working in my installation. So the problem is still alive and not closed.
Jommla 1.0.13
FB 1.0.3
CB 1.1
Settings FB:
show new post : yes
Name: NEU!

To the FB Team:

To you need informations about the mysql database? like global register = off and so on...
please contact me and i will send you the details.

As well it would be fine if i can see on the fb frontpage the real hits from the topic and not only the hits from known users. If you are working with cookies why do unregistert useres dont see status new! and so on?

thank for your quick answer.

PS: for the rest .... you have realy done a great job until now with fireboard!!!!

my site: www.jagd-tirol.at
cmartin (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#23975
Re:New post doesn't work! 1 Year, 3 Months ago  
Hi all!

Please dry this file here ->
File Attachment:
File Name: fireboard-c635609f3e200c98de2ebed15810b191.zip
File Size: 7556


Now it works on my fireboard!

Thanks all for help!
cmartin (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/09/21 21:38 By cmartin.
 
 
#23982
Re:New post doesn't work! 1 Year, 3 Months ago  
Can you please give just the code you changed, cause i am already using an altered fireboard.php
RasCas (User)
Junior Boarder
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Who can tell? ... lost my GPS
Logged Logged
 
..See Ya RasCas
 
 
#23983
Re:New post doesn't work! 1 Year, 3 Months ago  
Please, give small explanation to understand the code-update.
iosoft (User)
FB Quality & Testing Team
Senior Boarder
Posts: 481
graphgraph
User Offline Click here to see the profile of this user
Gender: Male futureiosoft Location: Kolkata, INDIA Birthdate: 1981-08-06
Logged Logged
 
Developer: FB-Poll System, FB-Joomap plugin, FB-OpenSEF extension, FB-Primezilla Hacker, Fireboard WAP.
Vote my site- GigaHertZ
 
 
#23985
Re:New post doesn't work! 1 Year, 3 Months ago  
Ok, i merged it to Phil_K Version for the cbe.
New posts now work on my site.

If you are using cbe with fireboard give it a try.
File Attachment:
File Name: fireboard.rar
File Size: 7486
RasCas (User)
Junior Boarder
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Who can tell? ... lost my GPS
Logged Logged
 
Last Edit: 2007/09/21 22:28 By RasCas.
 
..See Ya RasCas
 
 
#24001
Re:New post doesn't work! 1 Year, 3 Months ago  
You have changed these code parts right?
www.bestofjoomla.com/component/option,co...d,73/id,24000/#24000

See my post in this thread. It´s not a solved bug. New Indication now plays ping pong.
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#24076
Re:New post doesn't work! 1 Year, 3 Months ago  
Hi all, this problem is because the page refresh twice and update the session table whent it shouldn't do it.

To solve this problem, you must update the fireboard.php with the one posted on this tread
www.bestofjoomla.com/component/option,co...limitstart,30/#23582

or update the file as following:

Search for the block:
[code:1]
if ($func != "post"«») {
echo 'setTimeout("window.location.reload( true )",100);';
}
[/code:1]

And change it for:

[code:1]
if ($func != "post"«») {
$self_url = sprintf('http%s://%s%s',
(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == TRUE ? 's': ''),
$_SERVER['HTTP_HOST'],
$_SERVER['REQUEST_URI']
);
mosRedirect($self_url);
die();
}
[/code:1]
guilleva (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/09/22 15:37 By guilleva.
 
 
 
#24082
Re:New post doesn't work! 1 Year, 3 Months ago  
Do You mean this part?
[code:1]
// do not reload the page if user is posting :: TODO: check if it cab be replaced by mosRedirect
if ($func != "post"«») {

mosRedirect($self_url);
die();
/* echo 'setTimeout("window.location.reload( true )",100);';*/[/code:1]

If Yes, already fixed in my version for cbe.
RasCas (User)
Junior Boarder
Posts: 38
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Who can tell? ... lost my GPS
Logged Logged
 
Last Edit: 2007/09/22 16:15 By RasCas.
 
..See Ya RasCas
 
 
#24100
Re:New post doesn't work! 1 Year, 3 Months ago  
My code looks like Rascas and have changed it like guilleva postet.
No changes.

My edit Post. I copy a bigger area, because i´m not shure, if i edit it correct. Please, anybody check this.
[code:1] if ($new_fb_user != 1)
{ //get session information, update last time timestamp.
$inactivePeriod = ($fbSession->lasttime)+1800;

if ($inactivePeriod setQuery("UPDATE #__fb_sessions SET allowed='na',lasttime={$systime}, readtopics='' where userid={$my->id}"«»);
$database->query();
setcookie("fboard_settings[prevvisit]", $fbSession->lasttime, time() + 31536000, '/');


// do not reload the page if user is posting :: TODO: check if it cab be replaced by mosRedirect
if ($func != "post"«») {
$self_url = sprintf('http%s://%s%s',
(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == TRUE ? 's': ''),
$_SERVER['HTTP_HOST'],
$_SERVER['REQUEST_URI']
);
mosRedirect($self_url);
die();
}
}

$database->setQuery("UPDATE #__fb_sessions SET lasttime={$systime} where userid={$my->id}"«»);
$database->query();
}

//Some things should only occur once so first check if we got a new user[/code:1]
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/09/22 18:59 By GODComplex.
 
 
Go to top