Spoiler Problem
2 posters
Page 1 of 1
Spoiler Problem
Forum Version Phpbb3
How I can manage the Spoiler? For High Rank only like moderator?
Thanks in Advance. .
2nd question.
Why my forum is Limit with 50 page? can I increase it to unlimited?
Sorry For my English I'm not expert in English I'm expert in Filipino language sorry But I Read the Rules English only That I'm saying is English now hehehe
How I can manage the Spoiler? For High Rank only like moderator?
Thanks in Advance. .
Sorry For my English I'm not expert in English I'm expert in Filipino language sorry But I Read the Rules English only That I'm saying is English now hehehe
Last edited by jomarcabasag on September 6th 2017, 5:27 pm; edited 2 times in total
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
Hi there.
For your spoiler question, can you explain just a little more cause I'm not sure what you are asking? Do you want to be able to style it with a code? Or have it styled specifically for moderators?
Second question. If you are referring to the 50 posts per page, I'm sorry but that isn't able to be modified over 50.
For your spoiler question, can you explain just a little more cause I'm not sure what you are asking? Do you want to be able to style it with a code? Or have it styled specifically for moderators?
Second question. If you are referring to the 50 posts per page, I'm sorry but that isn't able to be modified over 50.
Re: Spoiler Problem
Ah ok.Draxion wrote:Hi there.
For your spoiler question, can you explain just a little more cause I'm not sure what you are asking? Do you want to be able to style it with a code? Or have it styled specifically for moderators?
Second question. If you are referring to the 50 posts per page, I'm sorry but that isn't able to be modified over 50.
I want to my first question is.. I want to staff member only can see Spoiler.
edited: Like this
https://2img.net/h/s26.postimg.cc/f40ctfeu1/asdadda.png
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
Yes All Spoiler.Draxion wrote:All spoilers or only certain ones?
This is Posible ?
I think this is a hard code.
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
Yes, it's very much possible.
Add this to your JavaScripts.
Title: Whatever you please
Placement: In the topics
Add this to your JavaScripts.
Title: Whatever you please
Placement: In the topics
- Code:
$(function() {
var access = _userdata["user_level"],
spoiler_box = "Spoiler content only visible to <strong>Staff</strong>";
$("head").append(
"<style>.spoiler_access{border:2px solid #000;padding:10px;}</style>"
);
if (access !== 0) {
$(".codebox.spoiler").replaceWith(
'<div class="spoiler_access">' + spoiler_box + "</div>"
);
}
});
Re: Spoiler Problem
Aw Sorry... Not Working.Draxion wrote:Yes, it's very much possible.
Add this to your JavaScripts.
Title: Whatever you please
Placement: In the topics
- Code:
$(function() {
var access = _userdata["user_level"],
spoiler_box = "Spoiler content only visible to <strong>Staff</strong>";
$("head").append(
"<style>.spoiler_access{border:2px solid #000;padding:10px;}</style>"
);
if (access !== 0) {
$(".codebox.spoiler").replaceWith(
'<div class="spoiler_access">' + spoiler_box + "</div>"
);
}
});
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
Replace that code with this.
Be sure you have JavaScripts enabled too.
- Code:
$(function() {
var access = _userdata.user_level,
spoiler_box = "Spoiler content only visible to <strong>Staff</strong>";
$("head").append(
"<style>.spoiler_access{border:2px solid #000;padding:10px;}</style>"
);
if (access == 0) {
$(".codebox.spoiler").replaceWith(
'<div class="spoiler_access">' + spoiler_box + "</div>"
);
}
});
Be sure you have JavaScripts enabled too.
Re: Spoiler Problem
Wow it Work thanks @Draxion . Your a master in coder hehehe...Draxion wrote:Replace that code with this.
- Code:
$(function() {
var access = _userdata.user_level,
spoiler_box = "Spoiler content only visible to <strong>Staff</strong>";
$("head").append(
"<style>.spoiler_access{border:2px solid #000;padding:10px;}</style>"
);
if (access == 0) {
$(".codebox.spoiler").replaceWith(
'<div class="spoiler_access">' + spoiler_box + "</div>"
);
}
});
Be sure you have JavaScripts enabled too.
Can you Visible for Speacial rank only..
Thanks in advanced..
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
Yes that's I mean.Draxion wrote:You're very welcome. What do you mean "visible for special rank'?
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
hahahaha thanks for Quiek replay..Draxion wrote:What special ranks?
Like :
Administrator
Moderator
Staff member
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
I can allow access to the spoilers to either moderators or admins. The code allows access to both.
Re: Spoiler Problem
Wow thanks.Draxion wrote:I can allow access to the spoilers to either moderators or admins. The code allows access to both.
Your so kind thanks a lot for helping me...
My Problem is solved.
That's second question is Closed...
Problem solved by @draxion
jomarcabasag- Forumember
- Posts : 82
Reputation : 1
Language : English
Re: Spoiler Problem
You are welcome!
Problem solved & topic archived.
|
Similar topics
» Spoiler problem
» Problem with the Spoiler and Signature [Theme]
» Renaming Spoiler
» Spoiler box.
» Spoiler Title
» Problem with the Spoiler and Signature [Theme]
» Renaming Spoiler
» Spoiler box.
» Spoiler Title
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum