Previous Thread
Next Thread
Print Thread
Rate Thread
#181000 03/03/2003 9:57 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Ver 6.3.1.1

I'm wanting to write a hack that doesnt increment members post counts in certain forums.
Although I cant find which file contains the code that increments the post count for new topics and replies, any ideas?

Thanks


I can't afford a good signature editor frown
Sponsored Links
#181001 03/03/2003 10:22 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Hey Bass...Did you try this? The text link is provided (at the 10th post):

Click Here smile

While it's ported for 6.4 it should work on 6.3+ versions...I think. laugh

#181002 03/03/2003 10:55 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Thanks prime, I'll take a look!


I can't afford a good signature editor frown
#181003 03/03/2003 11:19 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Let me know if it works or not. laugh

#181004 03/04/2003 12:06 AM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Works a treat, what Im thinking about doing though is modifing is so that it takes in a delimited list of forums, as opposed to seperate input boxes, then read that list into an array, and loop though all array elements looking for a match to the current forum number. Thats what i'd done in the version 5 series hack I wrote, so it allowed for an unlimited list of forums, always the hack you wrote works well, thanks for the info!


I can't afford a good signature editor frown
Sponsored Links
#181005 03/04/2003 12:20 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Sounds quite promising, I'm hoping that you'll publicly release it BassTeQ smile ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#181006 03/04/2003 12:38 AM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
I'll try do it tomorrow and post the code in this thread.


I can't afford a good signature editor frown
#181007 03/04/2003 12:45 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Ok, cool, thanks smile .


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#181008 03/04/2003 4:16 AM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Quote
quote:
Originally posted by BassTeQ:
Works a treat, what Im thinking about doing though is modifing is so that it takes in a delimited list of forums, as opposed to seperate input boxes, then read that list into an array, and loop though all array elements looking for a match to the current forum number. Thats what i'd done in the version 5 series hack I wrote, so it allowed for an unlimited list of forums, always the hack you wrote works well, thanks for the info!
Sounds cool BassTeQ. I made an error on the 3rd forum revision (I'm not sure if you used it) and made the adjustments and provided the fix for it in a text link. I'll look forward to your version. thumbsup

Just to clarify I did not write the original code as I believe Sub Zero did and Clan Killer added the CP intergration. I just added the 3rd forum and possibly will add more if wanted. tipsy

#181009 03/04/2003 11:25 AM
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
Joined: Nov 2001
Posts: 745
The original code was written from what Perl knowledge I have (very little) and ClanKiller did add CP and wordlet support. I wrote it because a forum I used to frequent had a forum that they didn't want posts to count in.

I've moved on to integrating a PHP based site with a UBB. It's a fun and challenging project smile

Sponsored Links
#181010 03/04/2003 6:28 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
I've posted my updated code in this thread

https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=8;t=003468;p=1#000014


I can't afford a good signature editor frown
#181011 03/04/2003 7:15 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
I wasn't sure about credits so I just listed everyone who were in the original text plus BassTeQ for his revision. It looks like two different codes but I could be wrong.

#181012 03/04/2003 7:36 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
I did change quite a bit of code, but just leave the doco as it is, and add me for my modifications, thats fine.

Cheers


I can't afford a good signature editor frown
#181013 03/04/2003 8:26 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Here is what I did. Since your hack differs greatly from Sub Zero's I've updated your version credited to you and I left Sub Zero's version intact as well. Now we have two different versions of a similar hack.

smile

#181014 03/04/2003 8:35 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
No probs mate, thanks!


I can't afford a good signature editor frown

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
hatter
hatter
USA
Posts: 69
Joined: January 2001
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 20221218)