|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
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
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hey Bass...Did you try this? The text link is provided (at the 10th post): Click Here While it's ported for 6.4 it should work on 6.3+ versions...I think.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Thanks prime, I'll take a look!
I can't afford a good signature editor
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Let me know if it works or not.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
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
|
|
|
|
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 ...
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
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
|
|
|
|
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 .
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
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. 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.
|
|
|
|
Joined: Nov 2001
Posts: 745
Admin Emeritus
|
Admin Emeritus
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
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
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
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
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.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
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
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
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.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
I can't afford a good signature editor
|
|
|
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.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|