Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Modification Log Details »»
Modification Log
Version: 1.00, by burnist burnist is offline
Developer Last Online: May 2006 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 11-15-2004 Last Update: 11-30-2004 Installs: 13
DB Changes
 
No support by the author.

This hack will add a new option under Logs and Statistics in your Admin CP. It allows you to track which modifications you have installed on to your board by filling out the form in the hack to contain a name, Author name, Version Number,
Description and an Installation date.

This hack can be made dynamic so you do not have to add the info your self but a hack releaser would just need to add an extra query to the install to do it for you. In the future I intend to extend this to log which files have been modified in the hack and what queries have been run, possibly through making it into an installation system.

This hack was made out of a want to track what I have installed simply and without having to go to the trouble of installing the HTL. If the Author of that hack wants me to remove this I will as the original idea was essentially his.

2 hacks in 2 days


v 1.01 - Includes field for url to modification by HellRazor

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-18-2004, 08:19 PM
burnist's Avatar
burnist burnist is offline
 
Join Date: Jul 2003
Location: Ireland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They worrying thing is the thats the same version I'm using. I just looked at the vB install file and it had the equivelant line broken into
[sql]
PRIMARY KEY (modid)
)
[/sql]

Try that and maby it'll work
Reply With Quote
  #13  
Old 11-18-2004, 09:00 PM
outlaw621's Avatar
outlaw621 outlaw621 is offline
 
Join Date: Oct 2004
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burnist
They worrying thing is the thats the same version I'm using. I just looked at the vB install file and it had the equivelant line broken into
[sql]
PRIMARY KEY (modid)
)
[/sql]

Try that and maby it'll work
I tried the following but I got the same error:
Code:
CREATE TABLE modslog (
modid int(10) auto_increment,
name varchar(250),
description varchar(250),
authur varchar(250),
version varchar(250),
date int(10)
PRIMARY KEY (modid)
)
and I also tried it this way:
Code:
CREATE TABLE modslog (
modid int(10) auto_increment,
name varchar(250),
description varchar(250),
authur varchar(250),
version varchar(250),
date int(10)
PRIMARY KEY(modid)
)
I tired both ways via vBulletin and also in phpMyAdmin.
Reply With Quote
  #14  
Old 11-19-2004, 09:29 AM
burnist's Avatar
burnist burnist is offline
 
Join Date: Jul 2003
Location: Ireland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[sql]
CREATE TABLE modslog (
modid int(10) auto_increment,
name varchar(250),
description varchar(250),
authur varchar(250),
version varchar(250),
date int(10),
PRIMARY KEY(modid)
)
[/sql]

maby a comma after date int(10) may help =-/
Reply With Quote
  #15  
Old 11-19-2004, 09:43 AM
outlaw621's Avatar
outlaw621 outlaw621 is offline
 
Join Date: Oct 2004
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burnist
[sql]
CREATE TABLE modslog (
modid int(10) auto_increment,
name varchar(250),
description varchar(250),
authur varchar(250),
version varchar(250),
date int(10),
PRIMARY KEY(modid)
)
[/sql]

maby a comma after date int(10) may help =-/
That did it. Database was created without any errors. Thank you for all your help and patience.
Reply With Quote
  #16  
Old 11-19-2004, 03:56 PM
burnist's Avatar
burnist burnist is offline
 
Join Date: Jul 2003
Location: Ireland
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
That did it. Database was created without any errors. Thank you for all your help and patience.
No problem, happy to help :P
Reply With Quote
  #17  
Old 11-22-2004, 07:56 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by burnist
No problem, happy to help :P
What about the comment field? *smile*
Reply With Quote
  #18  
Old 11-26-2004, 05:00 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when I try to add in the info of the hacks..

Code:
Database error in vBulletin 3.0.3:

Invalid SQL: INSERT INTO modslog (name,description,author,version,date) VALUES ('Modification Log','Manual Log of Modification add to vb','','1.0.0','1101452197')
mysql error: Unknown column 'author' in 'field list'

mysql error number: 1054
Reply With Quote
  #19  
Old 11-27-2004, 11:37 PM
HellRazor HellRazor is offline
 
Join Date: Mar 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That error is due to a bad SQL query in the install text. In the SQL query, "author" is misspelled as "authur".

To fix this:

In AdminCP, go to Execute SQL Query under Import & Maintenance.

First execute this query to delete the incorrect table:

DROP TABLE IF EXISTS modslog;

Then execute this query to create a corrected table;

CREATE TABLE modslog (
modid int(10) auto_increment,
name varchar(250),
description varchar(250),
author varchar(250),
version varchar(250),
date int(10),
PRIMARY KEY(modid))
Reply With Quote
  #20  
Old 11-28-2004, 12:02 AM
HellRazor HellRazor is offline
 
Join Date: Mar 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, the instructions tell you to place the phrases under Control Panel Global. This is partially incorrect.

Place modslog_actions and modslog_name under Control Panel Global.

Place modslog_moddeleted, modslog_modedited, and modslog_modadded under Control Panel Stop Message.
Reply With Quote
  #21  
Old 11-28-2004, 12:35 AM
HellRazor HellRazor is offline
 
Join Date: Mar 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is another spelling error in modslog.php, where "author" is again misspelled "author". If you don't correct this, the author's name will not get added when you enter a new modification to the log.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:48 PM.


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.09195 seconds
  • Memory Usage 2,307KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete