Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I've disabled UBB's "Directory" and haven't looked at the file/codes so I wouldn't be much help there right now. tipsy

As for adding more forums to the "Posts Don't Count Hack" that is possible. This will be long since I'm explaining. laugh I've done it but will have to do it on the top of my head.

In both the "ubb_new_reply.cgi" and "ubb_new_topic.cgi" files you had to add this:

Code
[/code]Notice "posts_count" and "posts_count2"...Take one of the codes such as:

Code
</pre></div></div>then change it to:<br><br> <div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
then add to the original hack such as:

Code
</pre></div></div>Basically you can keep adding "posts_count" but just remember to add consecutive numbers as I did with "3"...And so the next would be "4".<br><br>--------------<br><br>Now in the "cp_modaddon.cgi" file where the hack is located you'll find this:<br><br> <div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Now you need to add forum #3. Take this code:

Code
</pre></div></div>then add it to the original like so:<br><br> <div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
notice "posts_count3" which will target #3 forum. Almost done. :tipsy:

Now to add the text area in CP take this code:

Code
</pre></div></div>and add it to the original code so it looks like this:<br><br> [code]
This is important. Notice the comma after the orginal code from "RegField" for forum #2? The original "]" did not have the comma. Unless it's the last code bit you will need the comma so it looks like "],". I've already done that for this example.

Hope this works for you.

smile

Sponsored Links
Entire Thread
Subject Posted By Posted
Posts don't add to post count in certain forum hack? Ian Spence 02/14/2003 8:38 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 02/14/2003 12:51 PM
Re: Posts don't add to post count in certain forum hack? BassTeQ 02/16/2003 11:51 PM
Re: Posts don't add to post count in certain forum hack? PrimeTime 02/17/2003 6:41 AM
Re: Posts don't add to post count in certain forum hack? BassTeQ 02/17/2003 11:35 PM
Re: Posts don't add to post count in certain forum hack? ADWOFF 02/20/2003 7:19 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 02/20/2003 9:57 AM
Re: Posts don't add to post count in certain forum hack? BassTeQ 02/20/2003 11:33 PM
Re: Posts don't add to post count in certain forum hack? Ron M 02/21/2003 5:57 PM
Re: Posts don't add to post count in certain forum hack? PrimeTime 02/21/2003 10:14 PM
Re: Posts don't add to post count in certain forum hack? ADWOFF 02/24/2003 2:16 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 02/24/2003 4:36 AM
Re: Posts don't add to post count in certain forum hack? ADWOFF 03/04/2003 10:05 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 03/04/2003 11:08 AM
Re: Posts don't add to post count in certain forum hack? BassTeQ 03/05/2003 1:23 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 03/05/2003 1:31 AM
Re: Posts don't add to post count in certain forum hack? BassTeQ 03/05/2003 1:53 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 03/05/2003 1:59 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 03/05/2003 2:01 AM
Re: Posts don't add to post count in certain forum hack? Gizmo 03/05/2003 2:09 AM
Re: Posts don't add to post count in certain forum hack? BassTeQ 03/05/2003 2:33 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 03/05/2003 2:55 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 03/05/2003 3:06 AM
Re: Posts don't add to post count in certain forum hack? BassTeQ 03/05/2003 3:33 AM
Re: Posts don't add to post count in certain forum hack? PrimeTime 03/05/2003 3:37 AM
Re: Posts don't add to post count in certain forum hack? Gizmo 03/05/2003 11:52 AM
Re: Posts don't add to post count in certain forum hack? ADWOFF 03/05/2003 3:58 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)