Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 186
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 201
Total: 201

Author Topic: SMF Staff doesn't work. Manual installation  (Read 4877 times)

0 Members and 2 Guests are viewing this topic.

Offline GasPipe

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 2
    • View Profile
SMF Staff doesn't work. Manual installation
« on: October 28, 2007, 09:02:04 am »
Hi!

I installed SMF Staff modification manually. Now, when I try to push "Staff List" from menu or go to Staff page settings in admin panel, it says:

Database Error
Table 'sql_foorumi.smf_staff' doesn't exist
File: <MY SERVER>/Sources/Staff.php
Line: 169

Any suggestions?

Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: SMF Staff doesn't work. Manual installation
« Reply #1 on: October 28, 2007, 07:48:10 pm »
You need to install the database tables manually look inside the package for somethingsql.php and run the quieries inside that file manually.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline GasPipe

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 2
    • View Profile
Re: SMF Staff doesn't work. Manual installation
« Reply #2 on: October 29, 2007, 10:07:42 am »
OK, how should I do that? I have PHPMyAdmin 2.9.0.2.
I think that file you meant was staffsql.php. It looks like this from inside:

Code: [Select]
<?php
//SMFHacks.com
//Table SQL

//Create the Staff Table
db_query("CREATE TABLE IF NOT EXISTS `{$db_prefix}staff`
(ID_GROUP smallint(5) unsigned NOT NULL,
`roworder` mediumint(8) unsigned NOT NULL default '0',
PRIMARY KEY  (`ID_GROUP`))"
__FILE____LINE__);



//Insert the settings
db_query("REPLACE INTO {$db_prefix}settings VALUES ('smfstaff_showavatar', '0')"__FILE____LINE__);
db_query("REPLACE INTO {$db_prefix}settings VALUES ('smfstaff_showlastactive', '1')"__FILE____LINE__);
db_query("REPLACE INTO {$db_prefix}settings VALUES ('smfstaff_showdateregistered', '1')"__FILE____LINE__);
db_query("REPLACE INTO {$db_prefix}settings VALUES ('smfstaff_showcontactinfo', '1')"__FILE____LINE__);
db_query("REPLACE INTO {$db_prefix}settings VALUES ('smfstaff_showlocalmods', '1')"__FILE____LINE__);




?>

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4400 Views
Last post February 19, 2007, 06:31:58 pm
by GgAcE
1 Replies
5162 Views
Last post August 13, 2007, 02:01:17 pm
by hvyhitter
7 Replies
9266 Views
Last post April 05, 2008, 07:46:25 pm
by SMFHacks
12 Replies
10101 Views
Last post August 23, 2009, 07:41:43 pm
by SMFHacks
2 Replies
4798 Views
Last post December 04, 2013, 11:56:23 am
by CWVRV

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal