vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Moderator Activity Logging (https://vborg.vbsupport.ru/showthread.php?t=17206)

Dakota 06-07-2001 06:20 AM

I am having the same problem with mine. It won't clear the logs. I have tryed waiting for acouple minutes, but it still doesn't work.:confused:

SSJ4 Saiya-jin 06-08-2001 03:51 PM

What does this mean?

Quote:

1) Add one database table - 'modlog'

CREATE TABLE modlog (
type tinyint(1) DEFAULT '0' NOT NULL,
userid int(10) DEFAULT '0' NOT NULL,
threadid int(10) DEFAULT '0' NOT NULL,
threadtitle varchar(100) NOT NULL,
fromforumid smallint(5),
toforumid smallint(5),
timestamp int(11) DEFAULT '0' NOT NULL
How do I create a database table?

Dakota 06-08-2001 04:54 PM

SSJ4: install this hack first. it is very simple. Then in the CP it will create a link called query. Just copy and paste the text to create the table into it and press submit. I found that is much easier than trying to install phpmyadmin.

SSJ4 Saiya-jin 06-08-2001 05:08 PM

Thanks again dak

ThomasP 06-09-2001 05:34 PM

Hi there,

I managed to crawl through Overgrow's instructions plus Norrit's and Zarkov's additions ;)

Now I get an error message stating:

Fatal error: Call to unsupported or undefined function htmlheader() in /home/usr/(...)/forum/admin/modlog.php on line 71

Errrm, I'm using PHP3, guess the hack is only for PHP4, right?

Any chance to fix that? :confused:

Thanks,
-Tom :(

SSJ4 Saiya-jin 06-09-2001 07:43 PM

Try viewing and editing the source.

ThomasP 06-09-2001 08:21 PM

Sorry, I'm quite PHP-illiterate... :(
-Tom

SSJ4 Saiya-jin 06-09-2001 08:42 PM

Then how do you even know how to set up a PHP board? You have to know atleast some.

ThomasP 06-09-2001 09:55 PM

Well, basically I know quite a bit about HTML in all flavors and JS, Perl etc. - but nearly nothing about PHP.
Setting up the board and customizing it, i.e. colors and logos, was very easy - I didn't need to know anything about PHP...

Now to the hack:
Okay, actually I did a search on php.net to find a function called htmlheader(),
which was lame because I later found the function further down in modlog.php
(can I reference a function in php, which is below the call? - Interesting).

Good, I see that the error tells me htmlheader() is undefined, in lower
case... in modlog.php it is called HTMLHeader(), so I renamed it to
whatever() like Overgrow mentioned in a post with a problem similar to
mine - no effect, same error :(
http://161.58.84.213/forum/showthrea...er=2#post99877

What brought me to the assumption that it might be PHP3 is the following
post of Overgrow in the same thread (vbSpiderFriend-hack by Overgrow)
http://161.58.84.213/forum/showthrea...r=3#post100965
The option to upgrade to PHP4 is okay, BUT it will take a couple of weeks
for my ISP - don't ask ;)

So, if it would be (hopefully) fairly easy for a pro to make this hack working
on a PHP3 based server, this would be a perfect option for me.
If not - at least I asked :)

cu,
-Tom

SSJ4 Saiya-jin 06-09-2001 10:34 PM

Hmm... Maby overgrow would take the time to edit it to function properly with PHP3. Is there any way possible for you to get your server to upgrade to php4?


All times are GMT. The time now is 10:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01281 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete