• Page 1 of 1
  • 1
Archive - read only
uCoz Community » Archives » Archive » Some Customization of TagBoard + No right click script
Some Customization of TagBoard + No right click script
Eckho
Posts: 37
Reputation: 28

Message # 1 | 9:09 AM
Here's The Code in Appearance of Entries @ tagboard

Code
<div class="cBlock$PARITY$" style="padding:0 4px 5px 2px;margin-bottom:3px;">
<div style="float:right;font-size:8px;" title="$DATE$">$TIME$</div>

<?if($USERNAME$)='eckho'?><span style="color:red">Admin<?endif?>
Code
<?if($USERNAME$)?><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><b>$NAME$</b></a><span style="color:white">
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://src.ucoz.net/t/531/h.gif"></a><?endif?>
<?endif?>
<div class="cMessage">$MESSAGE$</div>
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
</div>

<body>
<!---NO RIGHT CLICK SCRIPT---->
<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>
<!---NO RIGHT CLICK SSCRIPT---->
</body>

Screenshot of Effect

if you want to add some VIP image after the name with Slogan of " PREMIUM "
here's the code

<?if($USERNAME$)='USERNAME'?><img alt="" src="http://img205.imageshack.us/img205/605/vipmemberjo1.gif" align="" border="0"><span style="color:yellow">Premium<?endif?>

Post edited by Eckho - Friday, 2008-10-10, 4:25 AM
Nzo
Posts: 25
Reputation: 1

Message # 2 | 6:06 PM
Quote
<?if($USERNAME$)='eckho'?><span style="color:red">Admin<?endif?>

You forgot to add '</span>' after 'Admin'. If you don't add this it makes your messages red too. wink


NzoMedia.info

Post edited by Nzo - Friday, 2009-02-27, 6:07 PM
Keturkaimis
Posts: 7
Reputation: -2

Message # 3 | 6:12 AM
where past this code?

Added (2009-02-28, 0:12 Am)
---------------------------------------------
Please detail, with steps.


Pilot
Posts: 487
Reputation: 77

Message # 4 | 10:37 AM
Quote (Keturkaimis)
where past this code?

In the appearance of tag board entries template. It's already told in the first post.

uCoz Community » Archives » Archive » Some Customization of TagBoard + No right click script
  • Page 1 of 1
  • 1
Search: