vBulletin Modifications

Really simple, a simple forums counter...

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > vBulletin Modification Requests

Reply
 
LinkBack Thread Tools
Old 04-15-2004, 07:21 AM   #1
Charter Member
Join Date: Apr 2004
Real Name: Alex
Location: Boston, MA
Infamouz Nex is on a distinguished road

Default Really simple, a simple forums counter...

a simple forums counter...but only a some of them not all of them....like for example... lets say you wanted to have stats on all the hacks for vb3 and vb2, you would only want to counter those 2 forums, not alll of that... has that been done?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-15-2004, 08:46 AM   #2
Ken Iovino
Founder
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default

Hmm, you could just sum the forums you want with the forum id(s) I'll ask Tim and see what we can do.
__________________
Earnersforum.com - Learn how to make money online! New Look!

Ken Iovino / vBHackers.com
vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Crawlability Network: vBulletin SEO | vBulletin Hackers




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2004, 03:23 AM   #3
Charter Member
Join Date: Apr 2004
Real Name: Alex
Location: Boston, MA
Infamouz Nex is on a distinguished road

Default

:eek2: dude i would love that.... pleeeeeeeease ive been looking for that simple stupid...crap everywhere... actually i think that people dont want to do it cuz its so simple... but im not a coder, im a designer... blah **takes out his bat and bashes his monitors** :p




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2004, 03:29 AM   #4
Tim
Advanced Coder
Join Date: Mar 2004
Tim is on a distinguished road

Default

So basicly what you want is a simple total hit counter that will only activate on certain forums only. Would you want it to go off for the threads in thoose forums or just on the forumdisplay.php? Also where would you like to display this total info at.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2004, 03:30 AM   #5
Charter Member
Join Date: Apr 2004
Real Name: Alex
Location: Boston, MA
Infamouz Nex is on a distinguished road

Default

on the sidebar, and on forumdisplay, as well as a page non vb page.... is that hard?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2004, 06:04 PM   #6
Tim
Advanced Coder
Join Date: Mar 2004
Tim is on a distinguished road

Default

are you wanting this to track per forum and display each forums views in said forum? and then just sum up a few of the forums view for a main display?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-17-2004, 12:14 AM   #7
Charter Member
Join Date: Apr 2004
Real Name: Alex
Location: Boston, MA
Infamouz Nex is on a distinguished road

Default

forum view? ummm i may be misunderstanding it.... or you may...

i wanna keep track of the threads started on a certain amount of forums... then have the total of those forums. for example

I have a poem website... so people submit poems in a certain places... see? like this...

Poem Section Last of post Threads Posts
forum 1 | name | 3 | 4223 |
forum 2 | name | 1 | 4223 |
forum 3 | name | 2 | 4223 |
forum 4 | name | 5 | 4223 |
forum 5 | name | 6 | 4223 |

Would it be possible to just counts the treads started of those forums? and not all of them?
Then lets say i have 4 other forums that is just for tips and tricks and stuff, that i dont want to count them also... just the poems section... get me?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-17-2004, 01:14 AM   #8
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

Quote:
Originally Posted by Infamouz Nex
forum view? ummm i may be misunderstanding it.... or you may...

i wanna keep track of the threads started on a certain amount of forums... then have the total of those forums. for example

I have a poem website... so people submit poems in a certain places... see? like this...

Poem Section Last of post Threads Posts
forum 1 | name | 3 | 4223 |
forum 2 | name | 1 | 4223 |
forum 3 | name | 2 | 4223 |
forum 4 | name | 5 | 4223 |
forum 5 | name | 6 | 4223 |

Would it be possible to just counts the treads started of those forums? and not all of them?
Then lets say i have 4 other forums that is just for tips and tricks and stuff, that i dont want to count them also... just the poems section... get me?
From what I understand of that Im guessing you could use the code in forumdisplay.php
The following is a cut down version of that code.


You must first be a registered member to view any code.
(if your going to search for this code i should point out i changed the variable names so as to prevent any probs that might arise there)

place that in any file you want to show the total on.
then in your template for that page call $ttlthreads for total threads and $nwthreads for newthreads.
This is not tested btw and i offer no guarantees ;)
Someone else may well be able to improve on this and I have no problem with them doing so

Last edited by ShavedApe; 04-17-2004 at 04:33 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-17-2004, 03:12 AM   #9
Charter Member
Join Date: Apr 2004
Real Name: Alex
Location: Boston, MA
Infamouz Nex is on a distinguished road

Default

hola crap... you the man.....

wait... what if its more then one forum? do i put 1, 2, 3, 4, 5 or whatever?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-17-2004, 03:49 AM   #10
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

Quote:
Originally Posted by Infamouz Nex
hola crap... you the man.....

wait... what if its more then one forum? do i put 1, 2, 3, 4, 5 or whatever?
hmm I guess the easiest way would be to repeat the query for each forum
You must first be a registered member to view any code.
If however you want the total for all your specified forums say 1,2 and 3 then the following should work
You must first be a registered member to view any code.
Something tells me this can be achieved better but its now 6:45am and I havent slept so for the moment this will have to be my answer ;)

Last edited by ShavedApe; 04-17-2004 at 04:55 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
another counter for SA pack Butcher vBulletin Modification Requests 8 01-24-2006 05:24 PM
How to show disable forums in Forum Jump ? teppy vBulletin Modification Requests 0 01-18-2006 02:31 AM


All times are GMT -3. The time now is 09:56 AM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)