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!
Go to bottom Favoured: 1
TOPIC: Post counts off?
#13187
Re:Post counts off? 1 Year, 3 Months ago  
I just replace the file. But It's fix now. It was my database prefix If someone has the same problem, go to line 225 in listcat.php from cyberpunk and fix Ur prefix

Thank U again cyber...



// grab id's from categories table to matchup to catid's in messages table for child forum count function
$database->setQuery("select id from alvarjom_fb_categories as jfbc where jfbc.parent = $cur_id";
bilal (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Stuttgart / Germany Birthdate: 1972-08-15
Logged Logged
 
Last Edit: 2007/06/29 07:07 By bilal.
 
 
The administrator has disabled public write access.  
#13211
Re:Post counts off? 1 Year, 3 Months ago  
yeh. sure no problem. was reviewing the code this morning when i replied and i honestly couldn't figure out what was wrong cuase the query should work. i didn't think people changed their table extensions much..


Glad it worked. Glad you liked it.
cyberpunk (User)
Everyone has something to learn and somethign to t
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Gender: Male tizzle1080 atomic_particles funkdoc6@hotmail.com executivegt Location: Jamaica Birthdate: 1985-12-01
Logged Logged
 
 
The administrator has disabled public write access.  
#13605
Re:Post counts off? 1 Year, 3 Months ago  
Very nice Cyberpunk, thanks
Friedl (User)
Senior Boarder
Posts: 131
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1984-08-02
Logged Logged
 
The administrator has disabled public write access.  
#13716
Re:Post counts off? 1 Year, 3 Months ago  
cyberpunk that worked a treat... also works for 1.0.1. I just copied the file into the root of my working template and volia!

Your a Star!
lord_lethris (User)
Clearly Mad
Junior Boarder
Posts: 32
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Earth Birthdate: 1977-03-19
Logged Logged
 
Hello «- Clicky Clicky
 
The administrator has disabled public write access.  
#13914
Re:Post counts off? 1 Year, 3 Months ago  
Sir Cyberpunk, our Exhaulted Guru of Fireboard , I am just curious if you are still working on that other code fix so that childboards post counts are totalted up and shown as the total number of posts for the host board on the main page as well?

Best wishes, Marc
marcbkk (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/07/06 01:31 By marcbkk.
 
The administrator has disabled public write access.  
#13916
Re:Post counts off? 1 Year, 3 Months ago  
It was a very very good Idee May be he Do...
bilal (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Stuttgart / Germany Birthdate: 1972-08-15
Logged Logged
 
 
The administrator has disabled public write access.  
#14077
Re:Post counts off? 1 Year, 3 Months ago  
marcbkk wrote:
Sir Cyberpunk, our Exhaulted Guru of Fireboard , I am just curious if you are still working on that other code fix so that childboards post counts are totalted up and shown as the total number of posts for the host board on the main page as well?

Best wishes, Marc



For do that:

Go to line 609-615 in your listcat.php from cyberpunk and find
[code:1]

$numtopics;


$numreplies;

[/code:1]

and write after that [b]"+ $child_numtopics;"[/b] and [b]"+ $child_numreplies"[/b]
like follow:

[code:1]

$numtopics + $child_numtopics;

$numreplies + $child_numreplies;

[/code:1]

and the forum main page show you the count of all topics and replies in the board and childboard...
bilal (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Stuttgart / Germany Birthdate: 1972-08-15
Logged Logged
 
Last Edit: 2007/07/07 21:10 By bilal.
 
 
The administrator has disabled public write access.  
#14078
Re:Post counts off? 1 Year, 3 Months ago  
Hi Bilal. That would be great news if you figured it out. Unfortunately your post does not show any code change. Can you report please?
marcbkk (User)
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#14080
Re:Post counts off? 1 Year, 3 Months ago  
theoretically bilal's fix should be correct.

Sorry for the delay I've been swamped with some modifications and tweeks on a few of my other joomla sites.

However yoru fix will only work for a board that has one childboard.

Thing is there is a loop right so You'll only get the last childboard's repleis and topics reflected.. in the top level boards total..

I'll try to tweak it over the next few minutes and post the modifications.
cyberpunk (User)
Everyone has something to learn and somethign to t
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
Gender: Male tizzle1080 atomic_particles funkdoc6@hotmail.com executivegt Location: Jamaica Birthdate: 1985-12-01
Logged Logged
 
Last Edit: 2007/07/07 21:53 By cyberpunk.
 
 
The administrator has disabled public write access.  
#14081
Re:Post counts off? 1 Year, 3 Months ago  
uuuups.. i edit again...
bilal (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Stuttgart / Germany Birthdate: 1972-08-15
Logged Logged
 
 
The administrator has disabled public write access.  
Go to top