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

Plugin to communicate with forum


Post New Thread Reply   
 
Thread Tools Display Modes
lyric
Veteran Member
Join Date: Sep 2012
Old 03-18-2013 , 09:57   Re: Plugin to communicate with forum
Reply With Quote #71

I sent youa pm with what i think the problem was for me. i also noticed this error after poring over the cvars

Code:
//Menu Title Cvars 
rtf_mainmenu_title "Select a Player:" //Title for main menu. 
rtf_mainmenu_title "Select a Rule:" //Title for second menu.
i think it should be

Code:
//Menu Title Cvars 
rtf_mainmenu_title "Select a Player:" //Title for main menu. 
rtf_submenu_title "Select a Rule:" //Title for second menu.
but im not sure

Also it seems that the "Last Post" info isn't there is there a way to have that show? thanks!
__________________

Last edited by lyric; 03-18-2013 at 10:38.
lyric is offline
jasonfrog
Senior Member
Join Date: Mar 2008
Old 03-18-2013 , 10:50   Re: Plugin to communicate with forum
Reply With Quote #72

Great stuff!

I think you be escaping the username of the players on the server with SQL_EscapeString, so that players with " or ' in their names don't break the query, or worse.
jasonfrog is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-18-2013 , 14:46   Re: Re: Plugin to communicate with forum
Reply With Quote #73

Quote:
Originally Posted by jasonfrog View Post
Great stuff!

I think you be escaping the username of the players on the server with SQL_EscapeString, so that players with " or ' in their names don't break the query, or worse.
" doesn't haven't tried ' I'll look into it. I have a version for vb4 I'll be posting soon.

I think ill make an official release thread

Last edited by Doc-Holiday; 03-18-2013 at 14:46.
Doc-Holiday is offline
jasonfrog
Senior Member
Join Date: Mar 2008
Old 03-18-2013 , 14:56   Re: Plugin to communicate with forum
Reply With Quote #74

Quote:
Originally Posted by Doc-Holiday View Post
" doesn't haven't tried ' I'll look into it. I have a version for vb4 I'll be posting soon.

I think ill make an official release thread
It's more than just innocent examples that I gave. Really you need to sanitise all input data that the plugin is not in control of.
http://en.wikipedia.org/wiki/SQL_injection
jasonfrog is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 03-18-2013 , 15:23   Re: Plugin to communicate with forum
Reply With Quote #75

yeah you need to do an official release thread most certainly this is a great tool for communities to use since other McServer chains have the know how to make these and never release source to help out the little guy.

this is easily my favorite ever plugin and cant thank you enough. a donatoin will be comeing once i get my card sorted out with paypal.
__________________
lyric is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 03-18-2013 , 15:42   Re: Plugin to communicate with forum
Reply With Quote #76

Quote:
Originally Posted by jasonfrog View Post
It's more than just innocent examples that I gave. Really you need to sanitise all input data that the plugin is not in control of.
http://en.wikipedia.org/wiki/SQL_injection
Thanks for the tip. After searching the forums i saw this same post from Dr. Mckay.. again man thanks lol.. So i tried it and deleted an entire forum added the native you gave me... it didn't work.

Official Release made
https://forums.alliedmods.net/showth...98#post1915198

Last edited by Doc-Holiday; 03-18-2013 at 16:18.
Doc-Holiday 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 04:09.


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