Welcome to the [HSX] website!

Been Gaming since 2003

Community Driven Site

Gaming, Web Development, and Support

  

 
Main Menu
 
DFG
 Home
 Join our Clan
 [HSX] Roster
 Forums
 News
 Downloads
 News Letter
 Video tutorials
 Supporters
 Uploads
 F.A.Q
· FAQ
· Docs
· Forums FAQ
 [HS] Timeline
 Site Map
 Write a Review
 Image Repo
 WhoIs
 Twitch ID Finder
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Total Donators
Total:
$0.00
Goal:
$30.00
Difference:
$30.00
DFG
DFG DFG DFG

 
Theme Management
 
DFG
DFG
DFG DFG DFG

 
Whos Been
 
DFG
 Lonestar
 36 mins ago
 coRpSE
 6 hours ago
 Grmm
 9 hours ago
 fire
 23 hours ago
 PatPgtips
 2 days ago
 bairdboy
 3 days ago
 2xTaz
 3 days ago
 EmeraldDragon
 3 days ago
 Megaboost
 3 days ago
 Bulldog1
 4 days ago
DFG
DFG DFG DFG

 
Survey
 
DFG What is your favorite game to play ATM?

WarThunder
World of Tanks
H1Z1
MechWarrior Online
ARK
WarFace
SWTOR
BattleField serier
COD Series
Diablo
Armored Warfare



Results
Polls

Votes 1527
Comments: 0
DFG
DFG DFG DFG

 
Honey Pot
 
DFG
Bots in the pot!
We have [2622] bots stopped!
HeadShotDomain
DFG
DFG DFG DFG

     
DFG
 
Forum Index Members Search Usergroups
Ranks Staff Statistics Forum FAQ
Board Rules Edit your profile Login, Check Messages Log in
 

Discord Warning: filemtime():
Goto page 1, 2, 3  Next
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post Forum Index Nuke Blocks / Modules Support
View previous topic View next topic
PostPosted: Tue Aug 04, 2020 3:36 pm Reply with quote
zardos
Hi coRpSe

Thanks for this module it is great job, but having a bit of trouble with it. I have done the upgrade to from 209e to 209f and all is fine. I have installed Discord and that went well to, but i think the new upgrade maybe giving this problem.

Warning: filemtime(): stat failed for themes/BF4_Multi/style/style.css in C:\wamp64\www\themes\BF4_Multi\theme.php on line 70
Call Stack
# Time Memory Function Location
1 0.0009 412272 {main}( ) ...\block-discord.php:0
2 0.0011 422920 require_once( 'C:\wamp64\www\mainfile.php' ) ...\block-discord.php:14
3 0.0977 858168 include_once( 'C:\wamp64\www\themes\BF4_Multi\theme.php' ) ...\mainfile.php:410
4 0.0993 861920 filemtime ( ) ...\theme.php:70

( ! ) Warning: filemtime(): stat failed for themes/BF4_Multi/style/nanoscroller.css in C:\wamp64\www\themes\BF4_Multi\theme.php on line 77
Call Stack
# Time Memory Function Location
1 0.0009 412272 {main}( ) ...\block-discord.php:0
2 0.0011 422920 require_once( 'C:\wamp64\www\mainfile.php' ) ...\block-discord.php:14
3 0.0977 858168 include_once( 'C:\wamp64\www\themes\BF4_Multi\theme.php' ) ...\mainfile.php:410
4 0.1562 862776 filemtime ( ) ...\theme.php:77

( ! ) Warning: filemtime(): stat failed for themes/BF4_Multi/script/BF4_Multi.js in C:\wamp64

I woulld of uploaded a pic of this, but keeps telling me maxfile size reached.

NOOB!!!

Groups NOOB!!!
Posts 32
Joined Jan 15, 2013
Status Offline
Gender Male
View user's profile Send zardos a private message
Casterdon
Online
  
Doen't like playing games!
Find all posts by zardos

PostPosted: Tue Aug 04, 2020 4:45 pm Reply with quote
Lonestar
OPEN

themes/BF4_Multi/theme.php

FIND

Code: [ Select all ]

addCSSToHead(BF4_Multi_main_stylesheet.'?v='.filemtime(BF4_Multi_main_stylesheet),'file');

 
REPLACE WITH

Code: [ Select all ]

add_css_to_head(BF4_Multi_main_stylesheet, 'file', time());


FIND

Code: [ Select all ]

addCSSToHead(BF4_Multi_nano_stylesheet.'?v='.filemtime(BF4_Multi_nano_stylesheet),'file');

 
REPLACE WITH

Code: [ Select all ]

add_css_to_head(BF4_Multi_nano_stylesheet, 'file', time());


FIND

Code: [ Select all ]

addJSToBody(BF4_Multi_main_javascript.'?v='.filemtime(BF4_Multi_main_javascript),'file');

 
REPLACE WITH

Code: [ Select all ]

add_js_to_body(BF4_Multi_main_javascript, 'file', time());


I will update the theme on Xtreme Wednesday night. So this should not happen again.


Expand


 Last edited by Lonestar on Wed Aug 05, 2020 6:29 am; edited 1 time in total

Nuke Dev / Coder

Groups Nuke Dev / Coder
Posts 41
Joined Mar 06, 2013
Status Offline
View user's profile Send Lonestar a private message Visit user's Facebook: shaun.parr.9
Lonestar
Currently Offline
Offline
  
Doen't like playing games!
Find all posts by Lonestar

PostPosted: Wed Aug 05, 2020 4:58 am Reply with quote
zardos
Thank you Lonestar, on the first line i changed to this as it screwed up the main site.

PHP:  [ Select all ]

add_css_to_head(BF4_Multi_main_stylesheet'file'time()); 

 
Then it worked for me, thanks for that lonestar, looking forward to your new theme m8, great work so far.

coRpSE another great module, thank you.


 

NOOB!!!

Groups NOOB!!!
Posts 32
Joined Jan 15, 2013
Status Offline
Gender Male
View user's profile Send zardos a private message
Casterdon
Online
  
Doen't like playing games!
Find all posts by zardos

 
PostPosted: Wed Aug 05, 2020 7:17 am Reply with quote
Lonestar
Sorry about that, that was an error on my part lol. Glad it sorted it for you.


 

Nuke Dev / Coder

Groups Nuke Dev / Coder
Posts 41
Joined Mar 06, 2013
Status Offline
View user's profile Send Lonestar a private message Visit user's Facebook: shaun.parr.9
Lonestar
Currently Offline
Offline
  
Doen't like playing games!
Find all posts by Lonestar

PostPosted: Fri Aug 07, 2020 11:34 am Reply with quote
coRpSE
Glad to see you got it working. I wonder why this never showed new to me.


Expand

Top Dog
Nuke Dev / Coder
Clan Leader
Groups Top Dog
Nuke Dev / Coder
Posts 2451
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website
coRpSE
Currently Offline
Offline

Most Played:
This week: 7.6hrs.
Total Played: 9.3hrs.


  
Are you really committed?
Find all posts by coRpSE

PostPosted: Sun Aug 09, 2020 4:12 pm Reply with quote
zardos
Hi coRpSE any idear how to re-size discord for BF4 theme for the middle blocks, i have tried but the width will not respond, the height is fine.


 

NOOB!!!

Groups NOOB!!!
Posts 32
Joined Jan 15, 2013
Status Offline
Gender Male
View user's profile Send zardos a private message
Casterdon
Online
  
Doen't like playing games!
Find all posts by zardos

 
PostPosted: Sun Aug 09, 2020 5:48 pm Reply with quote
coRpSE
Yeah, I have an update I am working on that will shrink it even more for that narrow of a fixed width.
There is an absolute min width for the block if it is center. I have some things I like to change with it soon. I will probably work on that after I am done with the steam system.
The problem is, that theme was pretty much coded 10+ years ago, and back when it was done, average screen size was like 1280 or something like that, not the average is 1920 X 1080. That is why on a few sites I helped modified the BF4 theme, I widen the theme a bit in the center to allow center blocks to fit better while maintaining the feel of the theme. Here are a few examples. Click to Enlarge.

Expand  Expand
Expand

Expand  

Those are all the same theme, just slightly modified by me and all have at least an extra 100 - 350px wider from the stock theme.
I will see if I can get you the update or release an update where I will squeeze it in a bit more or show less info. Give me a couple of days and I will PM you with the files to try, you will just need to get back to me before I release it to everyone. Mind you that this will be just a temp thing till I redesign it a bit.


 

Top Dog
Nuke Dev / Coder
Clan Leader
Groups Top Dog
Nuke Dev / Coder
Posts 2451
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website
coRpSE
Currently Offline
Offline

Most Played:
This week: 7.6hrs.
Total Played: 9.3hrs.


  
Are you really committed?
Find all posts by coRpSE

PostPosted: Mon Aug 10, 2020 2:14 am Reply with quote
zardos
Thanks coRpSE, no big rush m8, when you have time. Thanks again.


 

NOOB!!!

Groups NOOB!!!
Posts 32
Joined Jan 15, 2013
Status Offline
Gender Male
View user's profile Send zardos a private message
Casterdon
Online
  
Doen't like playing games!
Find all posts by zardos

PostPosted: Mon Aug 10, 2020 11:33 am Reply with quote
coRpSE
Files sent in a PM to you.


 

Top Dog
Nuke Dev / Coder
Clan Leader
Groups Top Dog
Nuke Dev / Coder
Posts 2451
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website
coRpSE
Currently Offline
Offline

Most Played:
This week: 7.6hrs.
Total Played: 9.3hrs.


  
Are you really committed?
Find all posts by coRpSE

 
PostPosted: Thu Aug 13, 2020 5:14 pm Reply with quote
zardos
Thanks coRpSE, i think i have found the problem, the discord from your site is for evo 2.0.9e well it works ok on
evo 2.0.9f apart from the center block, it will not shrink any smaller, but shows up and works with 2.0.9f. the problem i think was to do with the code in this forum post.

Find:

PHP:  [ Select all ]

addCSSToHead(BF4_Multi_main_stylesheet.'?v='.filemtime(BF4_Multi_main_stylesheet),'file'); 

 
Replace:

PHP:  [ Select all ]

add_css_to_head(BF4_Multi_main_stylesheet'file'time()); 

 
I changed it to this on all three lines, i don't see that this should make a difference:

PHP:  [ Select all ]

addCSSToHead(BF4_Multi_main_stylesheet'file'time()); 

 
not had a problem with it at all on BF4_Multi, apart from center block not shrinking.
Now i am going to load LM-BlackMagic theme and see what happens.  :)

Ok it stopped working with LM-BlackMagic and gives me this error:

PHP:  [ Select all ]

Warningfilectime(): stat failed for themes/LM-BlackMagic/version.cache in C:\wamp64\www\includes\functions_evo_custom.php on line 686 

 

PHP:  [ Select all ]

Warningfopen(themes/LM-BlackMagic/version.cache): failed to open streamNo such file or directory in C:\wamp64\www\includes\functions_evo_custom.php on line 718 

 
I don;t code but it look like the original error, had a look but don;t know were to look, i think it maybe functions.php.


 

NOOB!!!

Groups NOOB!!!
Posts 32
Joined Jan 15, 2013
Status Offline
Gender Male
View user's profile Send zardos a private message
Casterdon
Online
  
Doen't like playing games!
Find all posts by zardos

Display posts from previous:
Post new topic Reply to topic printer-friendly view List users that have viewed this topic Thank Post All times are UTC - 7 Hours [DST enabled]
Goto page 1, 2, 3  Next
Page 1 of 3


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2019 phpBB Group
DFG
DFG DFG DFG
Forums ©
Copyright © HeadShotDomain 2016 By: coRpSE
SimpleBlack V2 By: Killigan
Powered By: Evolution-Xtreme