[BETA] 'Olympus-Style' Forum Rules 0.7.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 »

well neways my template for some reason had

Code: Select all

{ }
in it so maybe using a CSS file would be better?
User avatar
mad-manne
Registered User
Posts: 776
Joined: Thu May 29, 2003 6:59 pm
Location: Marl, Germany

Post by mad-manne »

afterlife_69 wrote: ... so maybe using a CSS file would be better?
Well I actually only use one "css-class" for both user- (overall_header.tpl) and admin(page_header-tpl)-output.
So I feel like a separate file for that would just be overkill :P

I'll start a request over in MOD Authors Support Forum to see, what the other MODders think.
/me thinks again ... Or would this be better asked in Styles Development & Discussion, because these guys should know what abouts they hack into their templates :wink:

Cheers,
Manfred.
Try not. Do or do not. There is no try. (YODA)
afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 »

heres my idea, instead of
FIND wrote: -->
</style>


Find

Code: Select all

</style>
Before, Add

Code: Select all

<!--
.forum_rules { font-size : {T_FONTSIZE2}px; color : #ff0000; font-weight : bold; }
-->
User avatar
mad-manne
Registered User
Posts: 776
Joined: Thu May 29, 2003 6:59 pm
Location: Marl, Germany

Post by mad-manne »

afterlife_69 wrote: heres my idea, ... instead of
FIND wrote:-->
</style>

Find

Code: Select all

</style>
Well, that's the point ... I'm not a guru at HTML/CSS and the like, but I think that the whole css-definiton needs to be wrapped into HTML-comment-tags

Code: Select all

<style type="text/css">
<!--
Your CSS goes here
...
-->
</style>
This is to ensure older browser don't "stumble" over code they cannot parse ... to them it's just comments.

Anyway .. we are taking this to far OffTopic, so let's discuss this special issue further via PM :wink:
Try not. Do or do not. There is no try. (YODA)
afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 »

very simple then


Find

Code: Select all

</style>
After, Add

Code: Select all

<style type="text/css">
<!--
.forum_rules { font-size : {T_FONTSIZE2}px; color : #ff0000; font-weight : bold; }
-->
</style>
User avatar
mad-manne
Registered User
Posts: 776
Joined: Thu May 29, 2003 6:59 pm
Location: Marl, Germany

updating ... 0.6.1

Post by mad-manne »

So I've fixed that little "bug", where you could end up with an almost empty Forum Rules-table on top of any of the 3 related modules(viewforum, viewtopic, posting), if you'd leave the Rules themselves empty, while still clicking any of the "Display"-options.

With version 0.6.1 the "Display"-options will only be written to the forum-configuration, when the Rules themselves are NOT empty!

Also in 0.6.1, I am using better FINDs to place my "own" css-stuff into 2 of the involved template-files. This should make better compatibility with boards using other styles than subSilver.

For those of you who have already applied version 0.6.0, relax .. you don't have to redo it all again! I have provided an update_MOD-file, which you can either apply "by hand" or via EasyMOD :wink:

All updated info/downloads are available in the first post, but for your convenience I'll post the latest downloads here too: Still waiting for bug-reports, feature-request, whatever ...


Enjoy,
Manfred.
Last edited by mad-manne on Mon Mar 27, 2006 7:54 am, edited 1 time in total.
Try not. Do or do not. There is no try. (YODA)
User avatar
AWS
Registered User
Posts: 15
Joined: Mon Aug 25, 2003 8:18 am

Post by AWS »

could be great if you added BBCODE tags to the forum rules window in the admin forum panel
User avatar
mad-manne
Registered User
Posts: 776
Joined: Thu May 29, 2003 6:59 pm
Location: Marl, Germany

Post by mad-manne »

AWS wrote: could be great if you added BBCODE tags to the forum rules window in the admin forum panel
Well as this is ADMIN-stuff and you can use HTML, I can't see any need for BB-code :?
Anyway, I fear that this would also be beyond my skills. All this parsing and regular-expressions-stuff is not(yet) my world.

Remember, that BBcode is there to avoid the risks that could come with the use of HTML, but as it's the admin who makes up the RUles, he can use HTML whithout the danger of opening the board to any threat.

So I fear that you'll have to live without BB-code.

You might like it anyway,
Manfred.
Try not. Do or do not. There is no try. (YODA)
afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 »

also HTML is alot more powerful than BBCode
edit: just upgraded, worked perfect with easymod :P

also bbcode is alot like html
<b></b> = Bold
<u></u> = Underline
<i></i> = Italic
<br> = Skip a line
<img src="Picture Link"><img> = [img][/img]
<a href="LINK!">TEXT</a> =
Last edited by afterlife_69 on Wed Feb 23, 2005 8:05 am, edited 1 time in total.
afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 »

this mod just keeps getting better :D
http://www.meetthe1337.bitedesigns.com/ ... um.php?f=2
check out what i did on my demo forum
User avatar
mad-manne
Registered User
Posts: 776
Joined: Thu May 29, 2003 6:59 pm
Location: Marl, Germany

Post by mad-manne »

afterlife_69 wrote: this mod just keeps getting better :D
http://www.meetthe1337.bitedesigns.com/ ... um.php?f=2
check out what i did on my demo forum
You're right ... it's up to the admin's imagination what he/she wants to do with that INFO-table on top of each forum ...

You could just as well rename the $lang['Forum_rules'] = 'Forum Rules' to $lang['Forum_rules'] = 'IMPORTANT Information'("sitting" in language/lang_english/lang_main.php) or whatever to get away from the idea of it being only useful for Rules :wink:

'some time ago' ... drathbun wrote: Have you considered being able to handle calling append_sid() to any links? In your screenshot I see that you have a link to viewtopic, but without append_sid() folks without cookies will lose their session when they click the link.

I know, I know... folks that disable cookies. :-) But it may be a consideration for some.
mad-manne wrote:Well right now it's only just plain HTML so there's no way to process any append_sid-stuff. I could add the ability to add a number of links, that would have to be entered each on their own, and could then "hand" them out via append_sid.

How many links would the people interested in this, think of as sufficient?
I could setup maybe 3 or 5 links maximum to be entered in the Forum Admin-Screen, OR make it a bit more complicated and setup a new table which would provide the ability to add just as many links as one would like.

Anyway, the proposed feature would come up with a list of links on the bottom part of the rules-table, because "inserting" them into the Rules-text would be beyond my skills :? Each link could still consist of its URL and a desribing text of the admin's choice which would come out as

Code: Select all

<a href="URL">LINK-DESCRIPTION</a>
drahtbun ... are you still around :?:
Does anybody else think that this could come in useful?

Still waiting for bug-reports and/or feature-requests ...
Manfred.
Try not. Do or do not. There is no try. (YODA)
afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 »

i think a good idea would be instand of having 'Forum Rules' have a admin configuable title on each forum

so then you wouldnt have the edit the lang file
User avatar
mad-manne
Registered User
Posts: 776
Joined: Thu May 29, 2003 6:59 pm
Location: Marl, Germany

Post by mad-manne »

afterlife_69 wrote: i think a good idea would be instand of having 'Forum Rules' have a admin configuable title on each forum
But to make that fully compliant to the idea of a multi-language enabled board .. I'd have to make that a bit more sophisticated.
my idea for this feature wrote: There would have to be a new module in ACP, where you would setup "Titles" for the "INFO-table" on top of the fora. All the "titles" you'd setup in here would make a dropdown-list appearing in the forum-ACP, where you'd have to pick one for each forum!

In the new module, you'd have to enter the "title" in all languages installaed on your board!

Does this make sense to anyone?
If yes .. I might consider implementing this soon.

Cheers,
Manfred.
Try not. Do or do not. There is no try. (YODA)
afterlife_69
I've Been Banned!
Posts: 630
Joined: Tue Nov 30, 2004 10:35 am

Post by afterlife_69 »

mad-manne wrote:
afterlife_69 wrote:i think a good idea would be instand of having 'Forum Rules' have a admin configuable title on each forum
But to make that fully compliant to the idea of a multi-language enabled board .. I'd have to make that a bit more sophisticated.
my idea for this feature wrote: There would have to be a new module in ACP, where you would setup "Titles" for the "INFO-table" on top of the fora. All the "titles" you'd setup in here would make a dropdown-list appearing in the forum-ACP, where you'd have to pick one for each forum!

In the new module, you'd have to enter the "title" in all languages installaed on your board!

Does this make sense to anyone?
If yes .. I might consider implementing this soon.

Cheers,
Manfred.


after reading it made sence and sounds good too me :D
trv
Registered User
Posts: 64
Joined: Sun Nov 07, 2004 4:39 pm

Post by trv »

is this mod compatible with Categories Hierarchy MOD ? (latest version)
Post Reply

Return to “[2.0.x] MODs in Development”