vBulletin Modifications

Just got the Thread Count Hack by TouchingVirus

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

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

Default Just got the Thread Count Hack by TouchingVirus

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
=========================================


You must first be a registered member to view any code.
========================================
Open showthread.php on line 938
=======================================

FIND ONLY ON THIS LINE (938)

You must first be a registered member to view any code.
Add BEFORE

You must first be a registered member to view any code.
========================================
Open member.php on line 426
=======================================

FIND:

You must first be a registered member to view any code.
ADD BELOW:

You must first be a registered member to view any 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
Attached Files
File Type: zip TouchingVirus[1].Thread.Counter.zip (6.4 KB, 16 views)




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-23-2004, 08:00 AM   #2
Coder
Join Date: Apr 2004
Location: UK
ShavedApe is on a distinguished road

Default

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.
__________________


Feel free to ask questions here

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




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

Default

i agree. thank you.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-23-2004, 01:28 PM   #4
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

That code in the showthread will add a query for every post on the page.
__________________
Earnersforum.com - Learn how to make money online! New Look!

Ken Iovino / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

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-23-2004, 03:26 PM   #5
Charter Member
Join Date: Apr 2004
Real Name: Alex
Location: Boston, MA
Infamouz Nex is on a distinguished road

Default

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:




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-23-2004, 03:45 PM   #6
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

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.
__________________
Earnersforum.com - Learn how to make money online! New Look!

Ken Iovino / vBHackers.com
vBSEO 3.1 GOLD Released vB Blogs Compatible | Non-Encrypted | Branding Removal Option | Sitemaps 2.1 | Language Packs

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-24-2004, 05:03 AM   #7
Charter Member
Join Date: Apr 2004
Real Name: Alex
Location: Boston, MA
Infamouz Nex is on a distinguished road

Default

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?




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

Default

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 01:43 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comment hack using thread from forum kkiely vBulletin Modification Requests 1 08-06-2005 06:32 AM
Install System Part 2 Ken Iovino Announcements 10 05-19-2005 10:40 AM
Mods/admins make thread have no post count Keyser Söze vBulletin Modification Requests 2 09-09-2004 12:33 PM


All times are GMT -3. The time now is 10:57 AM.


SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc. (Patent Pending)