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?
Go to bottom Post Reply Favoured: 0
TOPIC:
#22864
[Solved] Itemid fixed in latestposts and statistic 9 Months, 3 Weeks 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)
Gold Boarder
Posts: 278
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct. http://luyenkim.net/home9/index.php?opti...5&id=282#282
 
The administrator has disabled public write access.  
#23986
Re:[Solved] Itemid fixed in latestposts and statis 9 Months, 2 Weeks 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)
Senior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#24031
Re:[Solved] Itemid fixed in latestposts and statis 9 Months, 2 Weeks 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)
Gold Boarder
Posts: 278
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
 
Last Edit: 2007/09/22 06:22 By viet4777.
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct. http://luyenkim.net/home9/index.php?opti...5&id=282#282
 
The administrator has disabled public write access.  
#24086
Re:[Solved] Itemid fixed in latestposts and statis 9 Months, 2 Weeks 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)
Gold Boarder
Posts: 278
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
 
Last Edit: 2007/09/22 16:57 By viet4777.
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct. http://luyenkim.net/home9/index.php?opti...5&id=282#282
 
The administrator has disabled public write access.  
#24088
Re:[Solved] Itemid fixed in latestposts and statis 9 Months, 2 Weeks ago  
Hello
I´m not sure what to do.
My code atm looks...

Code:

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

You are right.
anh change:
JB_LIVEURLREL

Code:

(str_replace( '& amp;', '&', JB_LIVEURLREL).'&func=view&catid='.$catid.'&id='.$pid).'#'.$pid;?>'", 3500);

Maybe the profilebox also has this problem, you can do as above.
viet4777 (User)
Gold Boarder
Posts: 278
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
 
Last Edit: 2007/09/22 17:43 By viet4777.
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct. http://luyenkim.net/home9/index.php?opti...5&id=282#282
 
The administrator has disabled public write access.  
#24094
Re:[Solved] Itemid fixed in latestposts and statis 9 Months, 2 Weeks 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)
Senior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#24097
Re:[Solved] Itemid fixed in latestposts and statis 9 Months, 2 Weeks ago  
File Attachment:
File Name: post-4ad42198da8f38a9057eaf69967a11c8.zip
File Size: 11709


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

Thanks a lot!!!!

So i did something wrong with my edit^^
GODComplex (User)
Senior Boarder
Posts: 65
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#24437
Re:[Solved] Itemid fixed in latestposts and statis 9 Months, 2 Weeks 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
 
The administrator has disabled public write access.  
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop