Holy Worlds Christian Forum
https://archive.holyworlds.org/

Chatroom Fix Idea+Code
https://archive.holyworlds.org/viewtopic.php?f=37&t=5886
Page 1 of 1

Author:  Jay Lakewood [ March 27th, 2012, 1:36 pm ]
Post subject:  Chatroom Fix Idea+Code

Reiyan told me to post what I had done to the HW chat as an experiment. (Note, it only affected my chat)

Code:
<div class="testbox">
       <table border="0">
      <tr>   
         <td class="soundblocks">
            <form><input type="checkbox" id="sounds-checkbox" name="sounds" value="Disable Sounds" onclick="handleSounds()"> Disable Sounds
               </td>
         <td class="soundblocks">
            <input type="checkbox" id="notifications-checkbox" name="notifications" value="Disable Notifications" onclick="handleNotifications()"> Disable Notifications</form>
         </td>
          <td valign="top" class="soundblocks"><a href="chat-log.php" class="link-view-log">View Log</a></td></tr>

   </table>
</div>


That HTML replaces the whole area down there with sounds and the chatlog link.
And then this is the CSS for that:

Code:
div.testbox{
    border: 0px solid white;
    background-color: none;
    margin-left: 0px;
    padding: 0px;
    }
td.soundblocks{
    padding-right: 15px;
    }


Attachment:
chatedit.JPG
chatedit.JPG [ 128.9 KiB | Viewed 2195 times ]

That is what chat looks like afterwards. :)

Thanks!

Author:  Andrew Amnon Mimetes [ March 27th, 2012, 10:45 pm ]
Post subject:  Re: Chatroom Fix Idea+Code

Hi Jay - one of these days I'll see if I can tweak the chat. Thanks :)

Andrew

Author:  Jay Lakewood [ March 28th, 2012, 6:54 am ]
Post subject:  Re: Chatroom Fix Idea+Code

No problem. :)

Author:  Jay Lakewood [ March 31st, 2012, 8:25 am ]
Post subject:  Re: Chatroom Fix Idea+Code

I can try this out, if it's something that should be changed. Do you think so?

Author:  Andrew Amnon Mimetes [ March 31st, 2012, 9:05 am ]
Post subject:  Re: Chatroom Fix Idea+Code

Did you get on to the Google Group and get Git access? If so, sure :D

Andrew

Author:  Jay Lakewood [ March 31st, 2012, 9:29 am ]
Post subject:  Re: Chatroom Fix Idea+Code

I have access, but I can't find the correct file to add that code.:/

Author:  Andrew Amnon Mimetes [ March 31st, 2012, 11:03 am ]
Post subject:  Re: Chatroom Fix Idea+Code

Oops, sorry :P *forgot about that*

It's in /fantasy/styles/DarkFantasy/template/dieki_chat.html

Thanks! *grins*

Andrew

Author:  Jay Lakewood [ March 31st, 2012, 11:28 am ]
Post subject:  Re: Chatroom Fix Idea+Code

I keep on getting an error:

Quote:
C:\Program Files\Git\bin\git.exe commit -F "C:\Users\Small Computer\Holy Worlds\ Worlds\.git\\COMMITMESSAGE"
Done
fatal: Unable to create 'C:/Users/Small Computer/Holy Worlds/ Worlds/.git/index.lock': File exists.

If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.

Author:  Andrew Amnon Mimetes [ March 31st, 2012, 12:48 pm ]
Post subject:  Re: Chatroom Fix Idea+Code

Hrm....I'm no expert with Git, unfortunately :P Maybe you could poke your brother and see if he knows what's up :D

Andrew

Author:  Jay Lakewood [ March 31st, 2012, 12:51 pm ]
Post subject:  Re: Chatroom Fix Idea+Code

I think it may be because I crashed it once...I could try redownloading HW....that might help.

Author:  Lady Elanor [ March 31st, 2012, 12:52 pm ]
Post subject:  Re: Chatroom Fix Idea+Code

Thanks for helping out with this, Jay. :D

Author:  Jay Lakewood [ March 31st, 2012, 3:49 pm ]
Post subject:  Re: Chatroom Fix Idea+Code

I'm going to try reinstalling the program....

Author:  Andrew Amnon Mimetes [ June 22nd, 2012, 11:42 pm ]
Post subject:  Re: Chatroom Fix Idea+Code

Mods, this can be locked and archived :)

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/