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] History
 Site Map
 Write a Review
 Image Repo
 WhoIs
 Twitch ID Finder
 Logout
DFG
DFG DFG DFG

 
[HSX] Donations
 
DFG
Donation
This here is a combined total of what we need to keep us going each month.

100 %

Donate

End DateJun 01
Target$25.00
Above Target$174.05
CurrencyUSD

Donators This Month
May 26
Mastaisac
$48.25
May 19
Mastaisac
$23.97
May 17
CHICALI
$96.80
May 17
Biteme
$9.41
May 11
2xTaz
$11.21
DFG
DFG DFG DFG

 
Theme Management
 
DFG
DFG
DFG DFG DFG

 
Whos Been
 
DFG
 regchan
 3 hours ago
 Mastaisac
 7 hours ago
 MaverickSFO
 10 hours ago
 SgTChris
 12 hours ago
 coRpSE
 19 hours ago
 fire
 23 hours ago
 hossboss
 2 days ago
 Lonestar
 2 days ago
 Megaboost
 3 days ago
 PatPgtips
 3 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 1179
Comments: 0
DFG
DFG DFG DFG

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

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
 


Search for at

Offline/online
Goto page 1, 2  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: Wed Jul 17, 2019 3:08 pm Reply with quote
2xTaz
Sorry if this has been posted before, i guess im just too lazy to browse your website haha.

Which file do i edit to change the offline and online image as in my attachment for the forums on the new evo?



Expand

NOOB!!!

Groups NOOB!!!
Posts 12
Joined Jan 28, 2014
Status Offline
Gender Male
View user's profile Send 2xTaz a private message Find all posts by 2xTaz

PostPosted: Wed Jul 17, 2019 3:09 pm Reply with quote
2xTaz
Please login to see this link
Get registered or Log in


 

NOOB!!!

Groups NOOB!!!
Posts 12
Joined Jan 28, 2014
Status Offline
Gender Male
View user's profile Send 2xTaz a private message Find all posts by 2xTaz

PostPosted: Thu Jul 18, 2019 7:19 pm Reply with quote
coRpSE
Well, technically, it never had an online offline image. That was something that I did custom on our site years ago and did it on some other peoples sites as well. If that is something you want to do so its like what I have, I will have to go digging through all the files to figure out where I did that since I do remember that it was several areas that needed to be edited.


Expand

Top Dog
Nuke Dev / Coder

Groups Top Dog
Nuke Dev / Coder
Posts 2384
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website Find all posts by coRpSE

 
PostPosted: Fri Jul 19, 2019 6:55 am Reply with quote
2xTaz
yeah i would be interested in finding out which files i need to edit Corpse. However i know that you are always busy so maybe when you have some spare time. I don't mind learning these things myself. Just need pointed in the right direction. I may have to get yourself to have a look at the sentinel and honeypot of my website(just whenever you have some free time) i'm not sure i have it set correctly


 

NOOB!!!

Groups NOOB!!!
Posts 12
Joined Jan 28, 2014
Status Offline
Gender Male
View user's profile Send 2xTaz a private message Find all posts by 2xTaz

PostPosted: Sat Jul 20, 2019 5:54 pm Reply with quote
coRpSE
Okay, here is how I did it. Just note, there may be other spots that need to be modified later, but for now, this will get you what your looking for.

  1. You need 3 images, Online, Offline, Hidden. Once you have those 3 images made, go to folder public_html/modules/Forums/images/ and upload them. Name them something like online.png offline.png and hidden.png. No Spaces in the names.

  2. Open public_html/modules/Forums/viewtopic.php.
    Find:

    PHP:  [ Select all ]

     <img src="' . $images['icon_online'] . '" 

     

    Replace with:

    PHP:  [ Select all ]

     <img src="./modules/Forums/images/online.png" 




    Find:

    PHP:  [ Select all ]

     <img src="' . $images['icon_hidden'] . '" 

     

    Replace with:

    PHP:  [ Select all ]

     <img src="./modules/Forums/images/hidden.png" 





    Find (Occurs twice):

    PHP:  [ Select all ]

     <img src="' . $images['icon_offline'] . '" 

     

    Replace with:

    PHP:  [ Select all ]

     <img src="./modules/Forums/images/offline.png" 



  3. Now, you want to open public_html/,odules/members_List/index.php

    In there you will do find on line 221 - 231:

    PHP:  [ Select all ]

     if ($row['user_session_time'] >= (time()-$board_config['online_time']))
     
           {
     
               if ($row['user_allow_viewonline'])
     
                   $online_status '<a href="' append_sid("viewonline.$phpEx") . '" class="tooltip" title="' sprintf($lang['is_online'], $username) . '"' $online_color '>' $lang['Online'] . '</a>';
     
               else if ($userdata['user_level'] == ADMIN || $userdata['user_id'] == $user_id)
     
                   $online_status '<em><a class="tooltip" href="' append_sid("viewonline.$phpEx") . '" title="' sprintf($lang['is_hidden'], $username) . '"' $hidden_color '>' $lang['Hidden'] . '</a></em>';
     
               else
                    $online_status 
    '<span class="tooltip" title="'.sprintf($lang['is_offline'], $username).'"'.$offline_color.'>'.$lang['Offline'].'</span>';
     
           }
     
           else
                $online_status 
    '<span class="tooltip" title="'.sprintf($lang['is_offline'], $username).'"'.$offline_color.'>'.$lang['Offline'].'</span>'

     



    Just like before, you would link the images so it would look like this:


    PHP:  [ Select all ]

            if ($row['user_session_time'] >= (time()-$board_config['online_time']))
     
           {
     
               if ($row['user_allow_viewonline'])
     
                   $online_status '<a href="' append_sid("viewonline.$phpEx") . '" class="tooltip" title="' sprintf($lang['is_online'], $username) . '"' $online_color '><img src="./modules/Forums/images/online.png" alt="' $lang['Online'] . '"</a>';
     
               else if ($userdata['user_level'] == ADMIN || $userdata['user_id'] == $user_id)
     
                   $online_status '<em><a class="tooltip" href="' append_sid("viewonline.$phpEx") . '" title="' sprintf($lang['is_hidden'], $username) . '"' $hidden_color '><img src="./modules/Forums/images/hidden.png" alt="' $lang['Hidden'] . '"></a></em>';
     
               else
                    $online_status 
    '<span class="tooltip" title="'.sprintf($lang['is_offline'], $username).'"'.$offline_color.'><img src="./modules/Forums/images/offline.png" alt="'.$lang['Offline'].'"></span>';
     
           }
     
           else
                $online_status 
    '<span class="tooltip" title="'.sprintf($lang['is_offline'], $username).'"'.$offline_color.'><img src="./modules/Forums/images/offline.png" alt="'.$lang['Offline'].'"></span>'

     


 

Top Dog
Nuke Dev / Coder

Groups Top Dog
Nuke Dev / Coder
Posts 2384
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website Find all posts by coRpSE

PostPosted: Sun Jul 21, 2019 12:24 pm Reply with quote
2xTaz
Hi Corpse, I managed to get everything you said above done. However its only the member list thats changed on the forums its still stayed as green online text. Also thanks for the help greatly appreciated


 

NOOB!!!

Groups NOOB!!!
Posts 12
Joined Jan 28, 2014
Status Offline
Gender Male
View user's profile Send 2xTaz a private message Find all posts by 2xTaz

 
PostPosted: Sun Jul 21, 2019 11:37 pm Reply with quote
coRpSE
You may need to go into the public_html/module/forums/cache/ and delete everything except attach_config.php and the index.html.


 

Top Dog
Nuke Dev / Coder

Groups Top Dog
Nuke Dev / Coder
Posts 2384
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website Find all posts by coRpSE

PostPosted: Mon Jul 22, 2019 10:33 am Reply with quote
2xTaz
— coRpSE wrote
You may need to go into the public_html/module/forums/cache/ and delete everything except attach_config.php and the index.html.


did this corpse still the same i even cleared cache on the browser and site and cookies on the site


 

NOOB!!!

Groups NOOB!!!
Posts 12
Joined Jan 28, 2014
Status Offline
Gender Male
View user's profile Send 2xTaz a private message Find all posts by 2xTaz

PostPosted: Mon Jul 22, 2019 8:25 pm Reply with quote
coRpSE
— 2xTaz wrote
— coRpSE wrote
You may need to go into the public_html/module/forums/cache/ and delete everything except attach_config.php and the index.html.


did this corpse still the same i even cleared cache on the browser and site and cookies on the site


Well, if you like, I can take a look, you will just need to send me a PM with FTP access and the URL to the site and I will see what I can do.
I doubt I will need admin access so don't have to send that.


 

Top Dog
Nuke Dev / Coder

Groups Top Dog
Nuke Dev / Coder
Posts 2384
Joined Jan 12, 2012
Status Offline
View user's profile Send coRpSE a private message Visit user's website Find all posts by coRpSE

 
PostPosted: Tue Jul 23, 2019 12:53 am Reply with quote
2xTaz
Hi Corpse, im currently at work i will send you details in a pm when i get home around 5pm uk time thanks


 

NOOB!!!

Groups NOOB!!!
Posts 12
Joined Jan 28, 2014
Status Offline
Gender Male
View user's profile Send 2xTaz a private message Find all posts by 2xTaz

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  Next
Page 1 of 2


 
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