Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:[Solved] Itemid fixed in latestposts and statis (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:[Solved] Itemid fixed in latestposts and statis
#22864
[Solved] Itemid fixed in latestposts and statistic 1 Year, 2 Months ago  
When you are using a template for FB and other for Joomla, there is a problem with Itemid after you click a link in latestpost or statistics areas. The FB template will be changed to the default template for Joomla. This is because of missing of Itemid in the links.

There are small change in
components/com_fireboard/template/default/plugin/stats/frontstats.php
and
components/com_fireboard/template/default/plugin/recentposts/recentposts.php

The fixed files is in attachment.

File Attachment:
File Name: recentposts_frontstats.zip
File Size: 5073
viet4777 (User)
Senior Boarder
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
The administrator has disabled public write access.  
#23986
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
Hi thanks for this. It works fine now.
But the same Problem is after answering a post. After Post succsessfull screen you automaticly send back to the thread. There is the default template too.
Maybe you have an idea for this problem too.
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#24031
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
GODComplex wrote:
Hi thanks for this. It works fine now.
But the same Problem is after answering a post. After Post succsessfull screen you automaticly send back to the thread. There is the default template too.
Maybe you have an idea for this problem too.


I see the problem, It's because & amp; do not become &

I will give the fixed file later.

Thanks.
viet4777 (User)
Senior Boarder
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Last Edit: 2007/09/22 06:22 By viet4777.
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
The administrator has disabled public write access.  
#24086
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
As I posted, the link in JB_LIVEURLREL contains & amp;, it causes the problem.

OK, the problem is fixed as following:
In the file components/com_fireboard/template/default/post.php

find:
setTimeout("location='...
and change JB_LIVEURLREL into:


There are two changes in this file.
viet4777 (User)
Senior Boarder
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Last Edit: 2007/09/22 16:57 By viet4777.
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
The administrator has disabled public write access.  
#24088
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
Hello
I´m not sure what to do.
My code atm looks...

[code:1](JB_LIVEURLREL.'&func=view&catid='.$catid.'&id='.$pid).'#'.$pid;?>'", 3500);[/code:1]
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#24089
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
FInd this code in the command begins with setTimeout only.

You are right.
anh change:
JB_LIVEURLREL

[code:1](str_replace( '& amp;', '&', JB_LIVEURLREL).'&func=view&catid='.$catid.'&id='.$pid).'#'.$pid;?>'", 3500);[/code:1]
Maybe the profilebox also has this problem, you can do as above.
viet4777 (User)
Senior Boarder
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Last Edit: 2007/09/22 17:43 By viet4777.
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
The administrator has disabled public write access.  
#24094
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
Hmm ok

but now i have no automaticly back to thread function. it stucks in the post succesfull screnn. and i have to klick "back to post" by myself
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#24097
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
File Attachment:
File Name: post-4ad42198da8f38a9057eaf69967a11c8.zip
File Size: 11709


Let try my modification.
viet4777 (User)
Senior Boarder
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
The administrator has disabled public write access.  
#24098
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
Perfect!!!

Thanks a lot!!!!

So i did something wrong with my edit^^
GODComplex (User)
Junior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#24437
Re:[Solved] Itemid fixed in latestposts and statis 1 Year, 2 Months ago  
Thanks a lot .. This is fixing all those weird links
Loekie74 (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top