php forum
php mysql forum
php mysql smarty
 
Page 2 of 4 < 1 2 3 4 >
Topic Options
#44120 - 02/07/02 09:43 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by CT:
This routine is not in ubblibrary.pl but in cpanel2.cgi, cpanel3.cgi and cpanel4.cgi</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Ok it doesnt really matter, because all you are doing is adding my custom sub routine to the ubb_library file. You can put it anywhere in the file, but NOT inside another sub.
What I suggest is you find a line in ubb_library that starts with the word 'sub'
then just above that add my code as it says.
_________________________
I can't afford a good signature editor frown

Top
#44121 - 02/07/02 09:50 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by $stats[4]:
Damn. I'm stuck. There's nothing similar to this: </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: fixed;">Find this:
--------------------------------------------------
if ($NewTopicSubject ne $TopicSubject && $NewTopicSubject && $in{'ReplyNum'} eq "000000") {
$NewTopicSubject = &CensorCheck("$NewTopicSubject");
@stats = split(/||/,$revised[0]);
$stats[4] = $NewTopicSubject;
$revised[0] = "$stats[0]
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Ok the reason you cannot find this is because you probably do not have the blind editing of subject hack installed, in that case:-
Find this:
$EditedMessage= &PipeCleaner("$EditedMessage");

and after that add :
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $TopicSubject");
_________________________
I can't afford a good signature editor frown

Top
#44122 - 02/07/02 11:40 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
I'm going to test it later on, will it work on 5.45b?

Top
#44123 - 02/10/02 03:59 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Never tested on 5.45b.
Let us know smile
_________________________
I can't afford a good signature editor frown

Top
#44124 - 02/10/02 11:38 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Worked fine! laugh
Should work with all 5.4 versions I think.

Top
#44125 - 02/11/02 03:51 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Fantastic smile
_________________________
I can't afford a good signature editor frown

Top
#44126 - 02/27/02 02:13 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
BassTeq,

</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Ok the reason you cannot find this is because you probably do not have the blind editing of subject hack installed, in that case:-
Find this:
$EditedMessage= &PipeCleaner("$EditedMessage");

and after that add :
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $TopicSubject");</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">I can't find that line as well...

I have no Pipecleaner... any help?

Top
#44127 - 02/27/02 04:55 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ok what version are you using?
Ill have to have a looksee at the ubb code and ill get back to you.
_________________________
I can't afford a good signature editor frown

Top
#44128 - 02/27/02 11:19 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
BassTeQ, is it OK if I give this to SpAwN to put on his v5 Database?

Top
#44129 - 02/28/02 04:23 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
BassTeq,

Your hack seems to be working now. It's very neat. However I did not yet install the routine I'm talking about in my previous posts... I think editing subject or posts will not be logged.

I have a very heavily modified 5.45d, I will try to see if I can find the routine in the original code and see if I can find out what happened to it wink

Top
#44130 - 02/28/02 04:33 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by Lord Dexter:
BassTeQ, is it OK if I give this to SpAwN to put on his v5 Database?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Sure Lord, thats fine mate. Ive changed the hack a little to fix this problem with older versions, drop me an email bassteq@bigfoot.com and ill send you the updated hack.

Viper: Can you please also email me and ill send you an updated version too.

Thanks guys!
_________________________
I can't afford a good signature editor frown

Top
#44131 - 02/28/02 04:34 PM Re: Admin/Moderator Activity Logger
CT Offline
Member

Registered: 11/30/00
Posts: 137
That was quick...

The problem was this: I had added the hack 'number of times edited', which changed the code into this:

[code][/code]I have added the lines of codes afterwards...

(I still hope I'm making sense here)

Thanks Bassteq for another fine hack!

Top
#44132 - 02/28/02 04:39 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by CT:
BassTeq,

Your hack seems to be working now. It's very neat. However I did not yet install the routine I'm talking about in my previous posts... I think editing subject or posts will not be logged.

I have a very heavily modified 5.45d, I will try to see if I can find the routine in the original code and see if I can find out what happened to it wink
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Ok im hoping this code will be in 5.45d.

Look for this :

#check for excess images-
&excess_image_check($EditedMessage);

And after that add

if ($NewTopicSubject ne "") {
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $NewTopicSubject");
} else {
&Custom_Admin_Log("$in{'UserName'}|^^|$in{'forum'}|^^|Edited the Post - $TopicSubject");
}

If you have any other problems feel free to let me know.
_________________________
I can't afford a good signature editor frown

Top
#44133 - 03/01/02 10:04 AM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Perfect timing BAss....I am READY for this!! you've got mail!
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44134 - 03/01/02 04:40 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
I'll wait for Viper to update the link, so it's easier for you not having to give it to 2 people.

Top
#44135 - 03/01/02 08:55 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
ZIP FILE has been updated!! Thanks Bass!
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44136 - 03/01/02 10:13 PM Re: Admin/Moderator Activity Logger
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Yay! Thanks Bass and Viper. laugh

Top
#44137 - 03/03/02 04:07 PM Re: Admin/Moderator Activity Logger
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Done and Done, Cheers
_________________________
I can't afford a good signature editor frown

Top
#44138 - 03/03/02 04:26 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Bass.....
I have it logging CLOSINGS when threads are closed with the "close after posting" box ticked....

BUT, I am having NO LUCK if I close (or open) a thread using the "Administrator Functions" links at the bottom of the page.

I've been working on a few snippets...no luck so far, but I'm not myself these days!! smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#44139 - 03/03/02 04:52 PM Re: Admin/Moderator Activity Logger
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
Whats more..I cannot find any reference to the logging of OPEN THREAD in your instructions....just the reference to closing a thread after posting. smile
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
Page 2 of 4 < 1 2 3 4 >


Who's Online
1 registered (Deb), 28 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks