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

[CS:GO] Web Shortcuts CS:GO version [Updated 11-May-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
loki15
Senior Member
Join Date: Apr 2012
Location: Ukraine
Old 11-02-2014 , 15:12   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #31

You can do so that would be tuned box when opening? because people with 1024x768 when writing commands to the example !rules can't see the window web
__________________
loki15 is offline
mellet
Junior Member
Join Date: Nov 2013
Old 11-11-2014 , 02:57   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #32

Quote:
Originally Posted by loki15 View Post
You can do so that would be tuned box when opening? because people with 1024x768 when writing commands to the example !rules can't see the window web
This would be great. Have to force quit client if your resolution is to small.

Last edited by mellet; 11-11-2014 at 02:57.
mellet is offline
MercureS
Junior Member
Join Date: Nov 2014
Old 11-15-2014 , 23:31   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #33





SO, where is the problem ?

Last edited by MercureS; 11-15-2014 at 23:32.
MercureS is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-16-2014 , 10:08   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #34

try vip instead or change your config to
"!vip" "VIP" "URL"
8guawong is offline
MercureS
Junior Member
Join Date: Nov 2014
Old 11-16-2014 , 12:50   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #35

Thanks

The right configuration :

Quote:
// usage: "trigger" "Title" http://www.site.com
// tags: {NAME} {STEAM_ID} {USER_ID} {IP} {SERVER_IP} {SERVER_PORT}

"!google" "Google" http://www.google.com
"!vip" "VIP" URL
MercureS is offline
Sketchy
Senior Member
Join Date: Nov 2010
Old 12-07-2014 , 22:15   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #36

Does this plugin only work with basic html pages or something? Its pre-installed web shortcuts work fine but I could not seem to get it to work with my motd.php page...

"motd" "some title" http://cmgsourceclan.net/motd/csgo/motd.php
^^ Is there something wrong there?
Sketchy is offline
iBradleyy
AlliedModders Donor
Join Date: Jan 2013
Old 12-08-2014 , 03:22   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #37

Quote:
Originally Posted by Sketchy View Post
Does this plugin only work with basic html pages or something? Its pre-installed web shortcuts work fine but I could not seem to get it to work with my motd.php page...

"motd" "some title" http://cmgsourceclan.net/motd/csgo/motd.php
^^ Is there something wrong there?
Try;

Code:
"!motd" "MOTD" http://cmgsourceclan.net/motd/csgo/motd.php
iBradleyy is offline
rodpod
SourceMod Donor
Join Date: Jan 2005
Old 12-25-2014 , 06:49   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #38

it would be nice if this plugin would check users convar cl_disablehtmlmotd and if it is set to 1 then the user would receive some kind of info in chat what to change for MOTD to work correctly. can you add that to your script??

[edit]

never mind. made adjustements on my own. here's the extended feature version
Attached Files
File Type: sp Get Plugin or Get Source (webshortcuts_csgo.sp - 472 views - 5.8 KB)

Last edited by rodpod; 12-26-2014 at 13:59.
rodpod is offline
PersianMG
Member
Join Date: Dec 2014
Old 01-06-2015 , 03:00   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #39

Quote:
Originally Posted by iBradleyy View Post
Try;

Code:
"!motd" "MOTD" http://cmgsourceclan.net/motd/csgo/motd.php
That is not the issue.
For everybody wanting to use a .php directly you can use one of two workarounds.

Method 1:
Use:
Code:
"!motd" "MOTD" http://example.com/motd.php/
Not the trailing / after .php
This will still parse but ensure any image links in your php page are direct or relative to the server root page. Ie change any " <img src="pic.jpg"> to <img src="/images/pic.jpg">

Method 2:
Alternatively, rename your .php file to index.php and move it inside some folder, lets say motd.

So your motd is located at: http://example.com/motd-csgo/index.php

You can now use this code omiting the index.php:
Code:
"!motd" "MOTD" http://example.com/motd-csgo/
Good luck!
PersianMG is offline
Muscle Brazil
Senior Member
Join Date: Apr 2009
Location: Brazil
Old 01-16-2015 , 18:23   Re: [CS:GO] Web Shortcuts CS:GO version v1.1
Reply With Quote #40

this plugin seems to stop to work or so and in my server?
Muscle Brazil 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 12:16.


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