|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Well...I must be crazy ****************************************************************************** * DESCRIPTION: Shows a complete action history for each topic * Actions logged are: * Topic Created, * Topic Read (Who by, and when), * Replied to Topic, * Topic Modified, * Message Deleted, * Topic Moved, * Topic Closed, * Topic Re-Opened. * * This hack also adds a hit counter and * includes IP Based Flood Protection! ****************************************************************************** * WRITEN BY: Damoclese [email protected] * DATE: 30.09.2001 * VERSION: 1.0 * IDEA BY: DjKriSSe * TESTERS: DjKriSSe, ImW2001, BrAiNsTeW ****************************************************************************** * REQUIREMENTS: A full version of UBB 6.05 (tested) * COMPATABILITY: 6.04c (tested), 6.04d, 6.04e, 6.04f (untested, but should work) ****************************************************************************** Demo: Here (Please do not post outside of topic! Thanks) Download: Topic History v1.0 This is still an early beta, so needs testing with for compatability with various mods! Please leave a reply here if you find any problems! P.S. This is my first proper mod for UBB, so go easy on me! [ 10-01-2001: Message edited by: Damoclese ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
I have installed it on ubb 6.04d and it does nothing. It shows the "views" but it stays "0" no matter how many hits there are.
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
K...I left something out of the instructions....will update and post again when fixed...! Sorry! [ 10-01-2001: Message edited by: Damoclese ] [ 10-01-2001: Message edited by: Damoclese ]
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Right! I have just updated the file, and tested a fresh install on 6.04c (whos online was the only mod installed, but I dont think it would mess it up!) It worked with no problems! P.S. Dont forget to clear you boards cache! Let me know if you are still having problems! P.S. For those that have alread downloaded and installed the bugged version, just do the following: and then fush your cash! [ 10-01-2001: Message edited by: Damoclese ] [ 10-01-2001: Message edited by: Damoclese ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Ok, i can see the topic history now, but still no hit notification by the topics. The "views" stay at zero!
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
hmmm.....well...it works perfectly on the install I did, Make sure you cleared your cache, and double check every step! Please let me know if you are still having probs! Are you getting the history entries being updated? Also, there should be 2 extra files being created in the NonCGIPath/Forum(#) directory....one will be (topic number)-hist.cgi (the history log, and the other will be (topic number)-hits.cgi (the hit counter file! please make sure that bothe are being created, and have a look at them and see if there is any content in there! Thx! Hmmm...Just realised that if you dont have a file called Vars_Wordlets_Mods file, this mod requires the Mod Wordlet devkit!....I will update the instructions to sort this out! I dont think this is your problem though, otherwise you would have told me you couldn't find the file [ 10-01-2001: Message edited by: Damoclese ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
The file vars_wordlets_mods is installed, but i saw an other problem that has to do with CHMOD. I found out that the NonCGIPath/Forum(#) was CHMOD 550, permission denied. Maybe this is it! I can't chmod anything now and i have notified the provider. Stay tuned.
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Sorry if I am speaking out of place, but you do realise that the (#) in Forum(#) stands for the number of the forum directory you are looking at!
e.g. Forum1 etc.
[ 10-01-2001: Message edited by: Damoclese ]
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Demo is now available.... See it in action Here please do not post outside of topic! Thanks
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Very nice hack, but isn't it gonna take tons of cpu usage/ram/whatever for big boards? But I'm still gonna install it in my (small) board
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
[QUOTE]Originally posted by Damoclese: [QB]Sorry if I am speaking out of place, but you do realise that the (#) in Forum(#) stands for the number of the forum directory you are looking at! e.g. Forum1 etc. Yep, i know that! But i can't get in the dirs (forum 1 etc.) I can't open them, chmod them etc. because 550 permission denied. I saw the demo and the notification "read" was also present...! This was not visible either after placing the hack. Maybe it has the same reason as the failure of the hit notification. [ 10-01-2001: Message edited by: Variables ]
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Thx LK! As I said, this is only my first hack, so I will (hopefully with help from others) improve it and make it slightly more streamlined! Variables : hee hee..ok m8! Well...good luck with your Hosts! BTW....I left out an icon from the first release, so just grab it from my demo board, or redownload the hack! The missing icon was History_Deleted.gif! [ 10-01-2001: Message edited by: Damoclese ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Hm, i could open one forum dir and saw that only hist-cgi was created. ???
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Bug: it shows login name instead of public name.
Fix: after " local($action, $user_number, $username, $in{f}, $in{t}) = @_;", put " $username = &get_public_name($user_number);" (ubb_topic_history.cgi).
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
hmmm...well the -hits.cgi file will only be created when there are actual hits!
If you have installed the hack exactly as stated in the instuctions, then there must be some other problem! Get the permissions sorted first, then, if you are still having problems, email me and I'll see what I can do!
One other thing....What other hacks do you have installed?
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Thx LK Hack file updated!
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
The hacks i've installed are:
ubb codebuttons
who's online
icon hack
hypercells
edit hack
IP hack
preview
cosmetic hack
anchor hack
avatar
memberlist
ubb poll
statistic hack
chat
custom status hack
print page hack
Aim/ICQ
StickyThreads
Mood selector
Glowing names
Systran translation
Icon pulldown menu
Thread integrated Poll
Kalender
Email autoreply
Quick reply hack 2
Smilie2 hack
IP icon
Newsfader
Photo album
Rate topic
Star status hack
Flag/astro
Chatbutton in display
Galaga hack
IP on intro
Mod dropdown
Time-date on intro
MSN hack
avatar addon hack
Posting History
------------------------------------
The hits simply don't show up and also the notification "read" in the link is not visible. It's maybe obvious that it has something to do with one of the other hacks on the ubb.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
A better idea: Find: Replace with: Also, you don't have to put $username when you call the Write_Topic_History or in line 32 (then you'll have to change the array numbers in lines 144/145). [ 10-01-2001: Message edited by: LK ]
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Thx again LK....Better for conserving disk space! The actual code would have to be otherwise, if you are a guest, you would have problems! Hack is now updated! [ 10-01-2001: Message edited by: Damoclese ] [ 10-01-2001: Message edited by: Damoclese ]
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Error: Could not write to this file: History_Floodcheck.cgi Permission denied
???
|
|
|
|
Joined: Apr 2001
Posts: 711
Spotlight Winner
|
Spotlight Winner
Joined: Apr 2001
Posts: 711 |
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Yeah ok, but there is no such file! wait a minute...i saw a Floodcheck.cgi in the banlist dir. The hack works perfect now damoclese! Tnx. [ 10-01-2001: Message edited by: Variables ]
|
|
|
|
Joined: Apr 2001
Posts: 711
Spotlight Winner
|
Spotlight Winner
Joined: Apr 2001
Posts: 711 |
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Error: Could not open file for writing.
This message shows up on sereval topics that have 0 views. Very wierd.
And also this: Sorry, there are no new posts today....by Daily topics.
[ 10-01-2001: Message edited by: Variables ]
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
it must be something to do with your permissions.... That is the only thing I can think of!
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
I guess it does damoclese, it has nothing to do with your hack. The server owner recieved my mail and has all the forums in the non-cgi dir chmod'ed 777...but it looks that other dirs are chmod (???) to. How can i chmod what to make the topics viewable again and writable without making a "open house" of the cgi files?
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
hmmm...to be honest I am not sure, It all depends on which directories you are talking about! My hack only writes to files in the Forum(#) directories and the BanLists dir. It will not mess up anything else, unless it is either not installed correctly, or is clashing with another hack! I have another board (ver6.05), apart from my test board, which has got over 20 hacks on....and it still works perfectly!) For other peoples benefit I will list the hacks that I know my hack works perfectly ok with: 12 mods per forum Last post in profile Latest threads Pagenumbers Sig Preview Sticky Threads UbbNews ViewPMinfo Whos Online Anchor hack DropDownMods Memberlist Newsfader Preview Post Smilies Statshack Ubbcode Megamod Rate topic Country flags Email Replies Hidden Forum
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Found another bug, everybody can see titles and who watched private topics. Fix: After Add
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Interesting modification... looks like it would take a lot of disk space
|
|
|
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
Look really interesting.. But maybe an option to only have it in a certain forum, not everyone. And maybe only Administrators or Mods can have it so when they post the thread they have an option to get it logged?
Also might want to think about putting in on 6.1 too... Just incase people like it...
[ 10-05-2001: Message edited by: Tech-Ni-Kal ]
|
|
|
|
Joined: Sep 2001
Posts: 16
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 16 |
Sorry about not being around for a while, My wife and I have just had our first child, and as you can imagine, all hell is breaking loose ! I will continue to develop this hack once things have settled down again!
|
|
|
|
Joined: Oct 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 1 |
ok im having major problems with this thing. first, it gave me an error about not being able to write to a file, i looked in teh code, and i moved some stuff around and fixed it. this was happening when you wanted to view a topic. now i cant view the history or see how many hits it got. i checked the history and teh hits files it was supposed to amke and it didn't. any suggestions? Board is at www.whosefault.com oh i forgot... when i click on "view this topics histroy", it says you are trying to reach a page that does not exist ??? help please [ 11-12-2001: Message edited by: gev ]
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
I am getting the same problem as gev, can someone please help fast!
|
|
|
|
Joined: Nov 2000
Posts: 652
Member
|
Member
Joined: Nov 2000
Posts: 652 |
NeverMind, you failed to mention in your instructions to make a file in your Noncgi banlist folder named History_Floodcheck.cgi and chmod it to 666 that fixed the problem, works great now.
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
hi,
nice work!!! but i have a problem with the date and time variables in german. can i modify the
e.g. 12-17-2001 in 17.12.2001 and 02:27 PM in 14:27
????
please help!
|
|
|
|
Joined: Oct 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 5 |
quote: Originally posted by LK: Found another bug, everybody can see titles and who watched private topics.
Fix: After code:
@this_forum = &GetForumRecord($in{f});
Addcode:
if ($this_forum[6] eq 'private') { &check_private_access($in{f}, $this_forum[12]); }
LK where do i have to edit this file to kill the bug ?
thank you
Marlon B
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I think it's ubb_topic_history.cgi
|
|
|
|
Joined: Oct 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 5 |
Thank you Damoclese and LK 4 the fixes ! the hack is working perfectly on ubb 605
Now that the hacks work perfectly i realize why is so server consuming gor every message that get's view you get 2 extra files a hit and a history cgi files !!! that's a lot of files if your board is big.
apart of that i really like it. would be good to restrict to view the topic history to admin and mod only....
MArlon B
[ 12-19-2001 05:51 PM: Message edited by: *-=Marlon**B=-* ]
|
|
|
|
Joined: Oct 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 5 |
i almost forgot were do i find the IP Based Flood Protection OPtion ?
|
|
|
|
Joined: May 2001
Posts: 12
Junior Member
|
Junior Member
Joined: May 2001
Posts: 12 |
hi
can u add top topic hack?
|
|
|
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: 449
Joined: February 2008
|
|
Forums63
Topics37,574
Posts293,926
Members13,850
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|