![]() |
|
Thread Tools |
#1
|
||||
|
||||
How do I hide the code box from guests?
Hello how do I make it where you HAVE to be registered in order to view the html, php, quote & code boxes like it is here on vb.org? Is there a setting i can set or a mod out there already?
No members have liked this post.
|
#2
|
||||||||||||
|
||||||||||||
One way would be to use a vb conditional in the respective templates. For example in the template "bbcode_code" replace:
with:
edit: I now realize you perhaps want to hide the entire boxes, rather than the content. If so then wrap all of the HTML in the templates with:
The following members like this post: HM666
Last edited by MarkFL; 15 Jan 2015 at 08:41. |
#3
|
||||
|
||||
Yeah gotcha will give that a try later on after some sleep
![]() --------------- Added 16 Jan 2015 at 04:01 --------------- Hmmmmmm did not work. It shows this message to everyone not just guests. And there was one that it did not work on at all. One thread/post it worked too well and will not show it to anyone and another thread/post ir did not do anything at all. ![]()
The following members like this post: MarkFL
|
#4
|
||||
|
||||
Revisiting this, I have noticed that on the CMS I have a problem. The code shows fine elsewhere but on the CMS the "CODE:" part is missing.
The code for my code box is...
Any ideas why this is happening only in the CMS? On the forums, the posts are just fine and there are no problems. No members have liked this post.
|
#5
|
||||
|
||||
I would guess the CSS might have to be adjusted for the CMS.
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#6
|
||||
|
||||
Yeah I tried a few adjustments. Its kinda weird and only happens in a few areas of the CMS I noticed upon more inspection. *SIGH*
No members have liked this post.
|
#7
|
||||
|
||||
If you can post a link to a page where it occurs, I will see if I can figure out a solution.
![]()
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons The following members like this post: HM666
|
#8
|
||||
|
||||
I would but now it seems to not be doing it. Maybe one of the things I did worked.....eventually LOL.
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 06:48.