Raised This Month: $51 Target: $400
 12% 

SQL Feedback


Post New Thread Reply   
 
Thread Tools Display Modes
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 11-30-2009 , 00:41   Re: SQL Feedback
Reply With Quote #41

Quote:
Next time please use the CODE tag around the text so it's readable Other than that, yes it should work after that.
Yea my mistake, was up many hours and coffee was helping anymore =P

Quote:
Create a new block called default that is what I did, the actual default block would be for any plugin that needs a connection and uses the actual default table by default if you get what i mean. just add a new default table.
Didn't need a new block in databases.cfg. I had to add access hosts in Remote MySql for each game server, then it worked.

Thanks for everyone's help much appreciated. Thanks bl4nk for the plugin.

http://usmcclan2.com/feedback.php
ltgenkd is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-01-2009 , 18:28   Re: SQL Feedback
Reply With Quote #42

Quote:
Originally Posted by bouncer View Post
Create a new block called default that is what I did, the actual default block would be for any plugin that needs a connection and uses the actual default table by default if you get what i mean. just add a new default table.

If you want, you can add me on steam my user is stormbreaker123 I can help u out.
That's not true. Just modify the stuff in the default section. There's no need to create another one, that seems like it would just create problems.
bl4nk is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 12-01-2009 , 19:07   Re: SQL Feedback
Reply With Quote #43

oh well i thought they would be different since the table names are different if im right or if i remember right?

Ok will fix it myself too
__________________


bouncer is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-01-2009 , 23:55   Re: SQL Feedback
Reply With Quote #44

The entries in the databases.cfg file are only used to define which sql server to connect to; the tables used are defined in the plugins themselves.
bl4nk is offline
Nomarky
SourceMod Donor
Join Date: Sep 2007
Old 12-02-2009 , 16:44   Re: SQL Feedback
Reply With Quote #45

The php isn't displaying correctly for me:


Any ideas?

Last edited by Nomarky; 04-11-2011 at 12:23. Reason: Sorted
Nomarky is offline
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 12-03-2009 , 10:22   Re: SQL Feedback
Reply With Quote #46

Quote:
Originally Posted by Nomarky View Post
The php isn't displaying correctly for me:
http://www.terraincognita.co.uk/feedback.php

Any ideas?
I think the config has something to do with that:
Code:
<?
$host="localhost";
$username="root";
$password="po0del";
$database="sourcemod";
I think you don't understand what you should insert into them.
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
Nomarky
SourceMod Donor
Join Date: Sep 2007
Old 12-03-2009 , 10:52   Re: SQL Feedback
Reply With Quote #47

I thought those settings should match the default sourcemod settings in database.cfg? The plugin itself logs to the database fine.
Nomarky is offline
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 12-03-2009 , 10:54   Re: SQL Feedback
Reply With Quote #48

Quote:
Originally Posted by Nomarky View Post
I thought those settings should match the default sourcemod settings in database.cfg? The plugin itself logs to the database fine.
Oh, sorry my bad. I mistook you
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
Nomarky
SourceMod Donor
Join Date: Sep 2007
Old 12-03-2009 , 10:55   Re: SQL Feedback
Reply With Quote #49

It was a little php error, sorted now
Nomarky is offline
Jaguar_hl
Junior Member
Join Date: Apr 2009
Old 01-08-2010 , 17:07   Re: SQL Feedback
Reply With Quote #50

Can you add an option to save vote results to DB, and to start votes from database? This would be great!
Jaguar_hl is offline
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 -4. The time now is 20:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode