Member Log In
Site Navigation
Latest Modifications
- [vB 3.8.4] THX - Hack for VB. 3.8.4
By: bluedog - [vB 3.8.4] Cyb - Chatbox V.2.3
By: bluedog - [vB 4.0.x] PHPKD - Advanced Quick...
By: PHPKD - [vB 3.6.x] StopSpam
By: flappi282 - [vB 3.8.x] vBulletin Chat Addon for...
By: 123flashchat
Latest Template Mods
- [vB 4.0.x] Remove My Profile Link...
By: Ak Worm - [vB 3.8.x] Images DownloadBox...
By: cRs!MP - [vB 3.8.x] Adviertise Mod On Forum...
By: MG4 - [vB 3.8.4] Images PassWordBox...
By: cRs!MP - [vB 3.8.4] Footer Follow Ups
By: Ak Worm
Latest Styles
- [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
By: Belon - [vB 4.0.x] [4.0.3] vbdesigns.de...
By: Belon - [vB 3.8.4] CompletevB - Skylight
By: DreadKnight - [vB 3.8.3] [vB 3.8.4] Barcelona...
By: hoiquantinhoc.com - [vB 3.8.3] Natures Walk by vBSkin...
By: Chri5
Latest Graphics
- [vB ] [anim.]Team Ranks
By: cRs!MP - [vB ] Abstract Circles (3...
By: cRs!MP - [vB ] PlayStation Rank Images
By: cRs!MP - [vB 3.6.12] Heavy Stroked Button...
By: Shelley - [vB ] Minature Ranks.
By: Shelley
vBulletin Modifications »
Support Center »
vBulletin Support »
Just got the Thread Count Hack by TouchingVirus
![]() |
| | #1 |
| Charter Member |
Status: Offline hmmm having some problems.... he has these set up a little different then how i want it... he has Count 1, Count 2, Count 3, Count 4, Count 5 and its under the members list, and in a thread... but i want all 1 number... now..... i know i have to edit the code... i just dont know what to edit... ========================================= Open functions_newpost.php Add Before $DB_site->query(" on line 367 ========================================= PHP Code: Open showthread.php on line 938 ======================================= FIND ONLY ON THIS LINE (938) PHP Code: PHP Code: Open member.php on line 426 ======================================= FIND: PHP Code: PHP Code: what do i edit to have all of them add up to 1 counter, and what do i edit to insert the 5 forumids, which are 4,5,8,12,17. Thank in advanced. justincase those taht want the script |
|
| | #2 | ||||||||
| Coder
Location: UK Age: 37 ![]() |
Status: Offline lol i shouldnt even comment on this since I already gave you the code to do exactly what your asking. The showthread and member part of his code I didnt supply but then I seem to remember you saying you want to learn :p You want to set specific forums and have a total for threads created in 2 or 3 forums by user I gave you the code to do that all you had to do was install and test :p The first part of my post was what you had to find. The second part was what you had to replace with ![]() So in answer to your question. You use the code i supplied alreadly lol and since you have this one as well you look over the showthread and member part and figure out what you need to edit based on what you added to the dbase ![]() Above seems to be doing a lot of querys for what is a very simple hack (no offence intented to the maker btw) The counts themselves dont need to be fetched to update them. Last edited by ShavedApe; 04-26-2004 at 04:33 AM. | ||||||||
|
| | #3 |
| Charter Member |
Status: Offline i agree. thank you. |
|
| | #4 |
| |
Status: Offline That code in the showthread will add a query for every post on the page. |
|
| | #5 |
| Charter Member |
Status: Offline uh huh... i understand that... but do i really have a choice? on my page (the poem one) people would like to know, exactly how many poems they have currently submitted... like its one of those neccessity... :goof: |
|
| | #6 |
| |
Status: Offline Do you understand that if you have 15 post it will add 15 queries, added on to the 15 original queries that are executed, could be a total of aleast 30 queries for one page. That would slow the site down tremendously. Also note: If one of your members likes to display more threads on one page it will be added on there. Myself likes to view 25 post per page. That would mean at least 40 queries. |
|
| | #7 |
| Charter Member |
Status: Offline hmmm i understand. thank you for your explanation. what i want is somethign like posts, but just a count for threads for the forums i give it to count for the user. would that make a lot ot queries? like ummm i dont need 5 seprate counts for each forum, its just 1 count for all forums inserted.... what do you think? |
|
| | #8 | ||||||||
| Coder
Location: UK Age: 37 ![]() |
Status: Offline No it wouldnt create a lot of queries. Provided your count is added to the user table it can be called whenever user information would be used within a page which is most of the time. I did provide a way of doing it in an earlier post somewhere on this board I just forgot where sorry. lol i even used you as an example http://www.vbhacks.us/forum/showthread.php?t=135&p=779 ah the wonders of the search button :p Last edited by ShavedApe; 04-26-2004 at 04:43 AM. | ||||||||
|
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Combo Hack, Auto close thread/Move thread to new forum | BigJohnny | vBulletin Modification Requests | 3 | 07-31-2009 06:41 AM |
| Thread Identifier hack. | hornstar6969 | vBulletin Modification Requests | 2 | 09-14-2006 10:15 AM |
| Hack Installs / Working - Suggestion | VirtualBurn | Site Feedback | 11 | 08-16-2006 07:01 PM |
| Mods/admins make thread have no post count | Keyser Söze | vBulletin Modification Requests | 2 | 09-09-2004 03:33 PM |
All times are GMT. The time now is 05:42 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
























