Admin and Moderator Displayed to them only
+3
kirk
Darren1
!_NICK_!
7 posters
Page 1 of 1
Admin and Moderator Displayed to them only
I would like to know the code for something you add to the forum templates to only show to the Moderators, Administrators, and other Groups on your forum to see only.
*Example: You add a special button, code, or script anywhere in the template. You only want Moderators, Administrators, and/or Other Groups to see that code or script. How do you do this?
*Example: You add a special button, code, or script anywhere in the template. You only want Moderators, Administrators, and/or Other Groups to see that code or script. How do you do this?
!_NICK_!- Active Poster
- Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Admin and Moderator Displayed to them only
The code sure does exist, it's used here
Where exactly do you want it?
Where exactly do you want it?
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Admin and Moderator Displayed to them only
Darren you sure?
I never heard of such a thing?
And what would this code be showing?
I never heard of such a thing?
And what would this code be showing?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Admin and Moderator Displayed to them only
Kirk, look at the mod tools, and look at your text editor, do you not have a button called 'mod cans' or 'mod colours'?
Note how I, a member don't have mod tools, but you, a moderator, do have mod tools.
We simply have to reproduce that , or a similar one.
Plus there is even JS around the place from Dion's day, Drogba, or LG, and possibly Matty, and other people who can write the script in probably just a few mins for all versions
The code I believe still does exist in PunBB templates, unless it's been removed
Note how I, a member don't have mod tools, but you, a moderator, do have mod tools.
We simply have to reproduce that , or a similar one.
Plus there is even JS around the place from Dion's day, Drogba, or LG, and possibly Matty, and other people who can write the script in probably just a few mins for all versions
The code I believe still does exist in PunBB templates, unless it's been removed
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Admin and Moderator Displayed to them only
Darren1 wrote:Kirk, look at the mod tools, and look at your text editor, do you not have a button called 'mod cans' or 'mod colours'?
Just learned something new!
Yes, I know I can do that, but I don't plan on making a widget. There is just a few "private" things I want to add to my PunBB Templates only for Moderators and Administrators to see.
!_NICK_!- Active Poster
- Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Admin and Moderator Displayed to them only
You can visit matti_7 forum You will be able to see what Darren is talking about check its quick reply
Re: Admin and Moderator Displayed to them only
Darren1 wrote:Kirk, look at the mod tools, and look at your text editor,
HAHA oh that.. i dint know what he meant at first..
I was thinking he wanted to add some sort of script that was only going to show something on a page from a template only admin,mods or groups can see...LOL Dint realize he was talking about adding his own bbc/tags or whatever.. My bad
Thanx bro
!_NICK_! wrote:
Yes, I know I can do that, but I don't plan on making a widget. There is just a few "private" things I want to add to my PunBB Templates only for Moderators and Administrators to see.
If it's not that then what, Now you got me wondering what you mean again???
You have to explain exactly what it is you want to do and what you will be adding.
Where do you want whatever is thats supposed to be viewed? You are not giving anything for us to go on with what you asking
you cant just slap a code, like lest say a video and only have it appear for admin mods or groups, So i am lost lol, Please explain more
Last edited by kirk on April 4th 2012, 5:55 am; edited 2 times in total
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Admin and Moderator Displayed to them only
Aren't there template variables for these type of things?
I don't look at templates much I only really remember most things from stock phpbb3 boards but there should be something along the lines of:
S_IS_MOD and S_USER_LOGGED_IN
Hence, template conditional:
<!-- IF S_USER_LOGGED_IN and S_IS_MOD -->
Write your message here...
<!-- ENDIF -->
Failing those variables (or similar) existing, you could try:
<!-- IF S_USERNAME eq 'Mods name' -->
write your message.
<!-- ENDIF -->
I don't look at templates much I only really remember most things from stock phpbb3 boards but there should be something along the lines of:
S_IS_MOD and S_USER_LOGGED_IN
Hence, template conditional:
<!-- IF S_USER_LOGGED_IN and S_IS_MOD -->
Write your message here...
<!-- ENDIF -->
Failing those variables (or similar) existing, you could try:
<!-- IF S_USERNAME eq 'Mods name' -->
write your message.
<!-- ENDIF -->
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Admin and Moderator Displayed to them only
@kirk - I don't want to say what for because other people will use it.
I tried to give an example, but idk if it helped anyone.
@LGforum - No it didn't work. :'(
I tried to give an example, but idk if it helped anyone.
@LGforum - No it didn't work. :'(
!_NICK_!- Active Poster
- Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.
Re: Admin and Moderator Displayed to them only
lBlacKl wrote:You can visit matti_7 forum You will be able to see what Darren is talking about check its quick reply
Rideem3, give me the code for that.
Re: Admin and Moderator Displayed to them only
LG, on true coding yes(BB3, VB, IPB PunBB ect have similar to what you have put), but for us on SITU coding, it's a completely different variable which still works similarly, but not the exact same.
Where exactly in the templates do you want to put it?
Only certain templates have the ability to register this code that Im thinking of for some sad reason.
The 'if logged in...' code exists, but it would show to all users.
There's no super easy code for 'if moderator logged in...'
Where exactly in the templates do you want to put it?
Only certain templates have the ability to register this code that Im thinking of for some sad reason.
The 'if logged in...' code exists, but it would show to all users.
There's no super easy code for 'if moderator logged in...'
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Admin and Moderator Displayed to them only
Can't you use the [Hide] bbcode option? I think anything placed inside that is only shown to Moderators and Administrators.
Re: Admin and Moderator Displayed to them only
No, the hide tags don't work in the templates, plus anyone can view them once they have posted in the thread - including members.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Admin and Moderator Displayed to them only
Nick is the thing you wanting to add in the topic pages? If so, it wouldn't be too hard.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Admin and Moderator Displayed to them only
If he cant explain and tell what it is he wants to do then we are unable to help.
This is a public support forum so any support we do is for all to see in case they have the same question or problem, so we cant help with somthing that is wanted to be kept secret let alone without even knowing what it is.
So if he likes, Nick can pm me to unlock this thread if we would like to explain exactly what it is he is trying to do.
Other then that I realy have no other choice then to lock this and move on to other problems.
This is a public support forum so any support we do is for all to see in case they have the same question or problem, so we cant help with somthing that is wanted to be kept secret let alone without even knowing what it is.
So if he likes, Nick can pm me to unlock this thread if we would like to explain exactly what it is he is trying to do.
Other then that I realy have no other choice then to lock this and move on to other problems.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Similar topics
» User not displayed as Moderator, but is Moderator
» Name of the moderator will be displayed .
» Moderator Displayed on Forums
» The moderator is displayed in the color of the guest.
» moderator banned administrator?
» Name of the moderator will be displayed .
» Moderator Displayed on Forums
» The moderator is displayed in the color of the guest.
» moderator banned administrator?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum