AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Release SourceBans++ (v1.6.4) [Updated: 2021-10-06] (https://forums.alliedmods.net/showthread.php?t=263735)

Sarabveer 03-09-2016 15:48

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
SourceBans++ 1.5.4.2 has been released!
Code:

(09/03/16): Version 1.5.4.2
-----------------------
01. ! Fix XSS Vulnerability in SourceComms Page


durangod 03-09-2016 17:55

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
Quote:

Originally Posted by Sarabveer (Post 2401051)
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.

DarkDeviL 03-10-2016 01:09

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
Quote:

Originally Posted by durangod (Post 2401085)
Quote:

Originally Posted by Sarabveer (Post 2401051)
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? :)

durangod 03-10-2016 02:16

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
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...

durangod 03-10-2016 03:06

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
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..

Newbie1992 03-10-2016 09:53

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
Is it possible to remove the steam login on the login page? I dont needed/want it...

durangod 03-10-2016 15:15

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
Quote:

Originally Posted by Newbie1992 (Post 2401251)
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.

durangod 03-10-2016 15:30

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
I was sort of considering doing a USA colors style theme for this if enough people would be interested.

DarkDeviL 03-11-2016 05:25

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
Quote:

Originally Posted by durangod (Post 2401318)
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...

durangod 03-11-2016 07:40

Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
 
@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.


All times are GMT -4. The time now is 01:24.

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