AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Interesting plugin Request! (https://forums.alliedmods.net/showthread.php?t=210304)

Nbanow 03-09-2013 01:48

Interesting plugin Request!
 
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.

Kia 03-09-2013 05:10

Re: Interesting plugin Request!
 
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.

Nbanow 03-09-2013 06:56

Re: Interesting plugin Request!
 
So "say" command is one what is impossible to do, yes?

Backstabnoob 03-09-2013 07:13

Re: Interesting plugin Request!
 
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.

Nbanow 03-10-2013 03:46

Re: Interesting plugin Request!
 
So it could be with say command, doesn't matter.

Kia 03-10-2013 05:44

Re: Interesting plugin Request!
 
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>"

http://i.epvpimg.com/19evb.jpg

Answers :
http://puu.sh/2fbKT

darcadarca 03-10-2013 08:52

Re: Interesting plugin Request!
 
nice man .. but this is google page .. i think i can put my site over there , like google page , no ?

Kia 03-10-2013 08:59

Re: Interesting plugin Request!
 
You can insert anything you want there.

darcadarca 03-10-2013 09:09

Re: Interesting plugin Request!
 
hope i can scroll down in motd ..:)

Torge 03-10-2013 10:31

Re: Interesting plugin Request!
 
PHP Code:

<frame scrolling=yes

Probably this?


All times are GMT -4. The time now is 09:42.

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