• Page 1 of 1
  • 1
anyone help me|code hidden link to guest no need code [hide]
12a3
Posts: 90
Reputation: 0

Message # 1 | 5:19 PM
i want to hidden link to guest ,no need hide, how can change ?

i'm sorry everyone , because my English bad sad


Welcome to : http://softvn.mooo.com
Animorph
Posts: 2856
Reputation: 189

Message # 2 | 5:48 PM
12a3, use Hide Tags in forum

Code
[hide]your link [/hide]

To busy building a passive income online ;)
12a3
Posts: 90
Reputation: 0

Message # 3 | 3:12 AM
Quote (Animorph)
12a3, use Hide Tags in forum
Code
Available for users only

thanks you , but i want no need

Code
[hide]your link [/hide]
, i can make css to autohide to guest, can you help me ? flower

Welcome to : http://softvn.mooo.com
CoffeeCone
Posts: 687
Reputation: 41

Message # 4 | 4:40 AM
12a3, you can always prevent the guests from viewing posts in your forum though...
"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


Animorph
Posts: 2856
Reputation: 189

Message # 5 | 11:02 AM
12a3, this might help i have it on my website

Go to CP --> Design(templates) ---> General appearance of forum pages and paste after $BODY$ this:

Code

  <script>
  e=document.getElementsByTagName('A');
  for(k=0; k<e.length;k++) {
  if(e[k].className=="link"){
  e[k].innerHTML = '[<b>Links can only be seen by registered members<b>]';
  e[k].href = '/index/3-0-0';
  }
  }
  </script>
  

The parts u can edit:

Links can only be seen by registered members


To busy building a passive income online ;)
12a3
Posts: 90
Reputation: 0

Message # 6 | 7:56 PM
Quote (Animorph)
12a3, this might help i have it on my website
Go to CP --> Design(templates) ---> General appearance of forum pages and paste after $BODY$ this:

Code

  <script>
  e=document.getElementsByTagName('A');
  for(k=0; k<e.length;k++) {
  if(e[k].className=="link"){
  e[k].innerHTML = '[<b>Links can only be seen by registered members<b>]';
  e[k].href = '/index/3-0-0';
  }
  }
  </script>
  
The parts u can edit:

Links can only be seen by registered members

thanks for your help, but i'm administrator and i don't see link, i see Links can only be seen by registered members only .

i'm sorry but can you helping me ? sad


Welcome to : http://softvn.mooo.com
Animorph
Posts: 2856
Reputation: 189

Message # 7 | 8:33 PM
You need to add conditional operators i will give you the full code

Go to CP --> Design(templates) ---> General appearance of forum pages and paste after $BODY$ this:

Code
<?if($USER_LOGGED_IN$)?><?else?>
    <script>
    e=document.getElementsByTagName('A');
    for(k=0; k<e.length;k++) {
    if(e[k].className=="link"){
    e[k].innerHTML = '[<b>Links can only be seen by registered members<b>]';
    e[k].href = '/index/3-0-0';
    }
    }
    </script>
    <?endif?>

The parts u can edit:

Links can only be seen by registered members


To busy building a passive income online ;)
12a3
Posts: 90
Reputation: 0

Message # 8 | 9:25 PM
Quote (Animorph)
<?if($USER_LOGGED_IN$)?><?else?>
    <script>
    e=document.getElementsByTagName('A');
    for(k=0; k<e.length;k++) {
    if(e[k].className=="link"){
    e[k].innerHTML = '[<b>Links can only be seen by registered members<b>]';
    e[k].href = '/index/3-0-0';
    }
    }
    </script>
    <?endif?>

You are very good biggrin

thanks you very much,

what country you are ? I'm Vietnamese biggrin


Welcome to : http://softvn.mooo.com
Animorph
Posts: 2856
Reputation: 189

Message # 9 | 10:07 AM
i'm from belgium , you can speak to me in offtopic or through PM

Locked and Trashed


To busy building a passive income online ;)
  • Page 1 of 1
  • 1
Search: