rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kremlin

Pages: 1 ... 8 9 10
136
RAWR-Designs / Help needed: Shoutbox
« on: January 18, 2009, 09:44:18 PM »
Hi, i seem to need some help with a small script for the ToG Shoutbox since all i know from scripting is only enough to pass by. What i wanted to do was to only show the message and submit button to users logged in, while hidding it from who isn't.

This is the original code:
---------------------------------------------------------------------------------------------------------------------------------------------


<head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
   <link rel="stylesheet" type="text/css" href="/template/code/tog_main.css"/>
</head>
<body onload="window.scrollTo(0,99999)" id="msgBody">
{.$files.}
<form name="shout" action="/template/shoutbox/process_posts/" method="post" id="msgForm">
<center>
   <input type="text" name="user" size="17" maxlength="30" value="{.if|%user%|%user%|{.!lv_guest.}.}" class="formInput"  onclick="if(this.value=='{.!lv_guest.}')this.value=''"/><br/>
   <input type="text" name="msg" size="17" maxlength="150" value="{.!lv_msg.}" class="formInput" id="msgInput" title="{.!lv_smileys.}: :) :D ;D ;) :S :$ :P :o :'( :( (h)" onclick="if(this.value=='{.!lv_msg.}')this.value=''"/><br/>
   <input type="submit" value="{.!lv_shout.}" id="msgSubmit"/>
</center>
</form>
</body>
</html>

---------------------------------------------------------------------------------------------------------------------------------------------

Been trying for a few hours but can't seem to actually understand the code enough to do so.

137
HTML & templates / My server
« on: January 17, 2009, 09:47:54 PM »
Well, what i did was modify the RAWR template to my own visual preferences. This was the result:





Sorry but can't post the code just yet because i'm still modifying and will only be ready in the summer time.

Cheers  8)

Pages: 1 ... 8 9 10