Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Sep 24th, 2017, 05:29am

Coding Forum
Important News
Remember to add where the code goes in the headers/footers.

Also, please check the list of codes on the Hacks board, especially if you have an error. The code may already have been corrected.
Thanks.
Welcome to the Conforums Hacks Board!

Please follow these simple rules.

1. No spamming.
2. Do not advertise your board in here!
3. Keep on topic, or the thread will be locked.
4. No flame wars.
5. No bringing up old topics.

Please note: For codes other than those submitted in the Hacks Forum, please ask for permission to use from the creator. Be aware that coding queries in the Coding Forum become public domain. If you still seek coding help but find it inconvenient to display it publicly then please PM one of the moderators. We encourage all queries to be submitted here in hopes to help other members who might have the same question. Thank you.

Helpful sites
Google
Dynamic Drive

The Staff
Roger
Dave
Gizzy



« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Admin Only Board?  (Read 2391 times)
kady
Member


member is offline

Avatar




Homepage PM

Gender: Female
Posts: 63
xx Admin Only Board?
« Thread started on: Oct 5th, 2014, 4:20pm »

Not sure if this is a coding thing or not... but is there a way to make a board that ONLY admins or mods for that particular board, can view it? I don't like cluttering up PMs, plus I want the threads on the board to be saved and easily read back, but I don't want our Global Moderator to be able to see them. Password protecting it can get annoying when you get used to clicking the thread straight from the main page.

So is this possible?
User IP Logged

Dalton
Ex-Shiny Gold Star Club Member
Conforums Administrator


member is offline

Avatar



AIM
Homepage PM

Gender: Male
Posts: 1764
xx Re: Admin Only Board?
« Reply #1 on: Oct 5th, 2014, 11:44pm »

My reccomendation would be to make a member group for your mod you want to see it first. Then make a category, make it visible to admins and whatever that mod rank is. Any boards inside from that point on would be visible only to admins and that specific member group. We have several boards set up this way.
User IP Logged

User Image
Dalton
Ex-Shiny Gold Star Club Member
Conforums Administrator


member is offline

Avatar



AIM
Homepage PM

Gender: Male
Posts: 1764
xx Re: Admin Only Board?
« Reply #2 on: Oct 5th, 2014, 11:54pm »

If you would like that mod rank to have its rank stars this code will manage that for you

Code:
<script type="text/javascript">
<!--
var td = document.getElementsByTagName('TD');
var userz,starz,imgz;

function star(userz,starz) {
for(itd=0; itd<td.length; itd++){
if(td[itd].rowSpan=="2" && td[itd].width=="20%") {
if(td[itd].innerHTML.match(/username=(\w+)/i)) {
if(RegExp.$1==userz) {
imgz = td[itd].getElementsByTagName('IMG');
for(img=0; img<imgz.length; img++){
if(imgz[img].alt=="") {
imgz[img].src=starz;
}}}}}}}

if(location.href.match(/=display/)) {
star("username","http://www.yoururl.com/image.gif");
// Add more here
}
// -->
</script>  



Just keep adding the bottom line for each star you want them to have.

I've also taken the liberty to change your rank icon to a pink coffee cup to show you how it turns out.
« Last Edit: Oct 6th, 2014, 12:04am by Dalton » User IP Logged

User Image
kady
Member


member is offline

Avatar




Homepage PM

Gender: Female
Posts: 63
xx Re: Admin Only Board?
« Reply #3 on: Oct 6th, 2014, 10:26am »

lol thank you xD

I knew it wouldn't be a coding thing. Someone just had to tell me I could make it a true admin only if it was a new category. Thank you for being the one to tell me ^^
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls