Raised This Month: $32 Target: $400
 8% 

Interesting plugin Request!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nbanow
Senior Member
Join Date: Dec 2010
Location: Lithuania
Old 03-09-2013 , 01:48   Interesting plugin Request!
Reply With Quote #1

Hello, users.

I was thinking, what could I do, to know/get players opinion about the server. Maybe my server players want me to add/delete something from server or just send an interesting idea, request, simply contact with head master.

If player wrote: /request, he gets a window or simply space like "say" command, where he could write a request. His written message should save somewhere in addons folder, in .txt file, when headmaster opens it, he could see all the messages / requests, players were written.

A space, where to write a request should look like somehow more interesting, sure, say command is also good, but it should be somewhere in the middle of the screen. Plugin should be not only useful, but also look like interesting, which attracts user's attention, that's why I'm talking about "window" where to write a message.

Sorry for my awful English...
I hope you've understood me.
Nbanow is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-09-2013 , 05:10   Re: Interesting plugin Request!
Reply With Quote #2

Quote:
A space, where to write a request should look like somehow more interesting, sure, say command is also good, but it should be somewhere in the middle of the screen. Plugin should be not only useful, but also look like interesting, which attracts user's attention, that's why I'm talking about "window" where to write a message.
I don't get this.
__________________
Kia is offline
Nbanow
Senior Member
Join Date: Dec 2010
Location: Lithuania
Old 03-09-2013 , 06:56   Re: Interesting plugin Request!
Reply With Quote #3

So "say" command is one what is impossible to do, yes?
Nbanow is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-09-2013 , 07:13   Re: Interesting plugin Request!
Reply With Quote #4

Interesting idea, but say (messagemode) is probably the best way to do this. I'd try if typing into a form in motd window works and if yes, do it via PHP.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Nbanow
Senior Member
Join Date: Dec 2010
Location: Lithuania
Old 03-10-2013 , 03:46   Re: Interesting plugin Request!
Reply With Quote #5

So it could be with say command, doesn't matter.
Nbanow is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-10-2013 , 05:44   Re: Interesting plugin Request!
Reply With Quote #6

I tried it using Google Drive's Form Maker and created a HTML File which gets called when you type /request.
It's working, but you can't see the textbox so good.
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Submit a Idea"
#define VERSION "1.0"
#define AUTHOR "Kia Armani"

new g_sPath[] = "addons/amxmodx/configs/request.html"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /request""OpenMOTD")
    
}

public 
OpenMOTD(id)
{
    
show_motd(idg_sPath);
    return 
PLUGIN_HANDLED

Code:
"<iframe src=
					"https://docs.google.com/forms/d/1OSIRWHZrnMqEzLnGVZMWllLo0QFFEGmICBT9dva_NiU/viewform?embedded=true" 
					width="760" height="500" frameborder="0" marginheight="0" marginwidth="0">Wird geladen...</iframe>"


Answers :
__________________

Last edited by Kia; 03-10-2013 at 05:52.
Kia is offline
darcadarca
Senior Member
Join Date: Feb 2012
Location: Romania
Old 03-10-2013 , 08:52   Re: Interesting plugin Request!
Reply With Quote #7

nice man .. but this is google page .. i think i can put my site over there , like google page , no ?
darcadarca is offline
Send a message via Yahoo to darcadarca
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-10-2013 , 08:59   Re: Interesting plugin Request!
Reply With Quote #8

You can insert anything you want there.
__________________
Kia is offline
darcadarca
Senior Member
Join Date: Feb 2012
Location: Romania
Old 03-10-2013 , 09:09   Re: Interesting plugin Request!
Reply With Quote #9

hope i can scroll down in motd ..
darcadarca is offline
Send a message via Yahoo to darcadarca
Torge
Veteran Member
Join Date: Oct 2011
Old 03-10-2013 , 10:31   Re: Interesting plugin Request!
Reply With Quote #10

PHP Code:
<frame scrolling=yes
Probably this?
Torge is offline
Reply


Thread Tools
Display Modes

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 18:44.


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