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

Release SourceBans++ (v1.6.4) [Updated: 2021-10-06]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 03-09-2016 , 15:48   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#601

SourceBans++ 1.5.4.2 has been released!
Code:
(09/03/16): Version 1.5.4.2
-----------------------
01. ! Fix XSS Vulnerability in SourceComms Page
__________________
Sarabveer is offline
durangod
Senior Member
Join Date: Mar 2016
Location: SW USA
Old 03-09-2016 , 17:55   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#602

Quote:
Originally Posted by Sarabveer View Post
SourceBans++ 1.5.4.2 has been released!
Code:
(09/03/16): Version 1.5.4.2
-----------------------
01. ! Fix XSS Vulnerability in SourceComms Page

Do you have a file change list, or do I have to go thru the whole update process for one page change?


Quote:
Also some steam id's are now STEAM_1: does this handle that as well or
just 0

UPDATE: so yes it will handle 0-9
steam STEAM_[0-9]:[0-9]:[0-9], I checked the submit file as well and
the if statement will permit that so we should be ok.
__________________
Freedom is never free!

Last edited by durangod; 03-09-2016 at 19:30.
durangod is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 03-10-2016 , 01:09   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#603

Quote:
Originally Posted by durangod View Post
Quote:
Originally Posted by Sarabveer View Post
SourceBans++ 1.5.4.2 has been released!
Code:
(09/03/16): Version 1.5.4.2
-----------------------
01. ! Fix XSS Vulnerability in SourceComms Page
Do you have a file change list, or do I have to go thru the whole update process for one page change?
The GitHub commit history, eventually?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
durangod
Senior Member
Join Date: Mar 2016
Location: SW USA
Old 03-10-2016 , 02:16   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#604

Thanks arne1288, that was so much easier

I sure wish I could learn to use GitHub but I tried and I had a miserable time, I finally tossed up my hands and said forget it. Maybe because I'm old and stuck in my ways or maybe because I just don't want to deep inside.. lol

But it sure makes updating easy I will give it that...
__________________
Freedom is never free!
durangod is offline
durangod
Senior Member
Join Date: Mar 2016
Location: SW USA
Old 03-10-2016 , 03:06   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#605

If you have installed my youtube mod for this plugin on page 60!

I wanted to sincerely apologize for my minor error on the youtube mod that I did on page 60 of this post. I had changed var names at the last minute and I forgot to change it on the bottom of the php page.

I have corrected that post with the right info and also have corrected the file, re zipped the file and uploaded it.

The simple correction follows.

On the bottom of pages/page.submit.php

old code

PHP Code:
 
//added for youtube link
$theme->assign('youtube_link',  $Youtubelink);
//end added for youtube link 
correct code

PHP Code:
 
//added for youtube link
$theme->assign('youtube_link',  $got_tubelink);
//end added for youtube link 

Thanks and again sorry..
__________________
Freedom is never free!
durangod is offline
Newbie1992
Senior Member
Join Date: Jan 2013
Location: Germany
Old 03-10-2016 , 09:53   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#606

Is it possible to remove the steam login on the login page? I dont needed/want it...
__________________
Newbie1992 is offline
durangod
Senior Member
Join Date: Mar 2016
Location: SW USA
Old 03-10-2016 , 15:15   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#607

Quote:
Originally Posted by Newbie1992 View Post
Is it possible to remove the steam login on the login page? I dont needed/want it...
Yeppers, just open up your themes/<template name>/page_login.tpl using notepad.

Line 25

code is

HTML Code:
<center><a href="steamopenid.php"><img src="images/steamlogin.png"></a></center>
just comment it out like so

HTML Code:
<!-- <center><a href="steamopenid.php"><img src="images/steamlogin.png"></a></center> -->
then clear your cache from admin and your all done.

Just remember that any mods you make you will have to redo them whenever you do a full update.
__________________
Freedom is never free!

Last edited by durangod; 03-10-2016 at 15:27.
durangod is offline
durangod
Senior Member
Join Date: Mar 2016
Location: SW USA
Old 03-10-2016 , 15:30   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#608

I was sort of considering doing a USA colors style theme for this if enough people would be interested.
__________________
Freedom is never free!
durangod is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 03-11-2016 , 05:25   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#609

Quote:
Originally Posted by durangod View Post
Yeppers, just open up your themes/<template name>/page_login.tpl using notepad.

Line 25

code is

HTML Code:
<center><a href="steamopenid.php"><img src="images/steamlogin.png"></a></center>
just comment it out like so

HTML Code:
<!-- <center><a href="steamopenid.php"><img src="images/steamlogin.png"></a></center> -->
then clear your cache from admin and your all done.

Just remember that any mods you make you will have to redo them whenever you do a full update.

Great patch!

Someone goes to the steamopenid.php page ("manually"), and everything works just fine with the Steam Login still...
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
durangod
Senior Member
Join Date: Mar 2016
Location: SW USA
Old 03-11-2016 , 07:40   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#610

@arne1288 lol hey the order placed was to remove the link, the rest is up to god


ok ok you can do this...

open up steamopenid.php in notepad

at the very top AFTER
PHP Code:
 <?php
add the following

PHP Code:
 
header
("location: ./");
exit;
 
/*********  commented out to stop public access  */ 
then AFTER the next line which should be look like this

PHP Code:
 
// Steam Login by @duhowpi 2015 
add this

PHP Code:
 
/* 
then go all the way to the very bottom THE VERY LAST THING and add this


PHP Code:
 
*/ 
save and done... now try it... it should take you right back to the sourcebans main page.
__________________
Freedom is never free!

Last edited by durangod; 03-11-2016 at 08:08.
durangod is offline
Closed Thread



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 09:05.


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