uCoz Community » uCoz Modules » Forum » Everything about [QUOTE] and [CODE] goes here (changing appearance and other troubles)
Everything about [QUOTE] and [CODE] goes here
Natashko
Posts: 3366
Reputation: 171

Message # 46 | 10:17 AM
Susmoy, go to CP->Design->Design management (templates)->Top part of the website->add:
Code
<?ifnot($USER_LOGGED_IN$)?>
     <style type="text/css">
         .bbCodeBlock {display:none;}
     </style>
<?endif?>
Susmoy
Posts: 185
Reputation: 6

Message # 47 | 10:30 AM
Natashko, Thanks Ma'am..Now Ma'am Please check my other thread Named "Chat Box Forum"

Regards
Susmoy,

Added (2011-07-18, 4:30 Am)
---------------------------------------------
Natashko, Ma'am this code which you provided Hide everything from a Guest.

Can you provide a Code which will show to users "Available for Users only(MY Own Text)"

(Only for Code tag)

Regards


If I Help you then Please +Rep and Awards
Natashko
Posts: 3366
Reputation: 171

Message # 48 | 10:53 AM
Susmoy,
Quote (Susmoy)
Can you provide a Code which will show to users "Available for Users only(MY Own Text)"

Substitute the provided above code with this one:
Code
<script>
$(document).ready(function(){
    $('.bbCodeBlock').empty();
    $('.bbCodeBlock').append("<b>Available for Users only(Your Own Text)</b>");
});
</script>
Susmoy
Posts: 185
Reputation: 6

Message # 49 | 11:01 AM
Natashko, wow...thanks Ma'am..

Really Helpful .. biggrin

If I Help you then Please +Rep and Awards
cracker56
Posts: 25
Reputation: 0

Message # 50 | 3:48 PM
Hello all ucoz staff I need help pls

how can i hide my post only for code tag(no Views in guest )

look like this
Attachments: 7520839.jpg (3.3 Kb)
Post edited by cracker56 - Tuesday, 2011-07-26, 3:50 PM
Animorph
Posts: 2856
Reputation: 189

Message # 51 | 10:05 AM


go to CP ---> Design ---> Design management (templates) ---> Forum ---> General appearance of forum pages ----> After $BODY$ paste this code:

Code
<?if($USER_LOGGED_IN$)?><?else?>
<script type="text/javascript">
        // Copyright uCause ~ http://uCause.ucoz.com/
        jQuery('div.bbCodeBlock').each(function(){
        code = jQuery(this).find('div.codeMessage').html();
        jQuery(this).replaceWith('<div class="HideCode"> you can not view this code, you are in the group "Guests" <a href="/index/1" target="_blank">Log in</a> or <a href="$REGISTER_LINK$" target="_blank">Register</a> to view this code</div>');
        });
        </script>
        <?endif?>


In CSS

put:

Code
.HideCode {
      background: none repeat scroll 0 0 #F5F5F5;
      border: 1px dotted #151515;
      font-size: 11px;
      padding: 3px 5px;
}


You can edit the CSS how you want it to look like smile

source: here

To busy building a passive income online ;)
cracker56
Posts: 25
Reputation: 0

Message # 52 | 10:07 AM
Animorph, Thanks biggrin biggrin biggrin smile
Susmoy
Posts: 185
Reputation: 6

Message # 53 | 6:22 AM
Nope, Not working For me.. I don't know why... Maybe it's on my PC only..

Please can some one check this link and tell me is that code is working or not:

http://crackingzone.ucoz.com/forum/4-103-1

If I Help you then Please +Rep and Awards
cracker56
Posts: 25
Reputation: 0

Message # 54 | 6:25 AM
Susmoy, following Animorph steps its working bro try again
Animorph
Posts: 2856
Reputation: 189

Message # 55 | 1:45 PM
Susmoy, Try again. and follow the steps it works. but you need to logout to see the code working its to hide things in (CODE) tags for guests.
To busy building a passive income online ;)
redhead
Posts: 113
Reputation: 9

Message # 56 | 2:01 PM
Susmoy, you don't hide codes on your forum by using [ hide ] bb-code, because it will be hidden automatically
cracker56
Posts: 25
Reputation: 0

Message # 57 | 4:07 PM
Animorph, Not working in site news why only work forum pls help
Natashko
Posts: 3366
Reputation: 171

Message # 58 | 9:12 AM
cracker56,
Quote (cracker56)
Animorph, Not working in site news why only work forum pls help

Please provide a link to the page with an error for us to check.
cracker56
Posts: 25
Reputation: 0

Message # 59 | 11:41 AM
Natashko, Mam no error forund i hide my download link in code contente im try to Animorph steps but work only for forum not working on site news pls help
Natashko
Posts: 3366
Reputation: 171

Message # 60 | 12:18 PM
cracker56,
Quote (cracker56)
Natashko, Mam no error forund i hide my download link in code contente im try to Animorph steps but work only for forum not working on site news pls help

That is why I have asked you to provide a link to your Site News module, so we will be able to check.
uCoz Community » uCoz Modules » Forum » Everything about [QUOTE] and [CODE] goes here (changing appearance and other troubles)
Search: