Welcome, Guest. Please Login or Register.
April 27, 2025, 07:51:03 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1 RC1] Highlight Post Mod « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [Done 1.5.1 RC1] Highlight Post Mod  (Read 3175 times)
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

[Done 1.5.1 RC1] Highlight Post Mod
« on: March 23, 2003, 04:19:36 AM »
Reply with quote

ID: Highlight Post Mod

Version: 1.0b

Mod Info:
This Mod gives a [Highlight] button in display post page, beside [Split] button. The button, only visible to admins and moderators, will make the current post highlighted according to the 'highlight' CSS class style. This mod works like Sticky and Lock topic: click once to highlight, and click again to dehighlight.

Download:
BoardMod file

Screenshot:


BoardMod Installation Instructions:
1. Upload the highlight_dbmod.php file into your forum directory and execute it
2. Run this .mod file in BoardMod
3. Upload the changed files (language files, Subs.php and Display.php)
4. After installing this mod, you'll need to edit your forum template and add something like this to the CSS style:
.highlight {
  background-color: yellow; font-weight: bold;
  color: black;
}

an alternate one if you would like it to have black borders around it:
.highlight {
  background-color: yellow; font-weight: bold;
  color: black; border: 1px solid black;
  padding: 5px;
}


Changelogs:
Ver 1.0b
- Made compatible for 1.5.1Final
Ver 1.0a
- fixed a small bug
« Last Edit: January 26, 2004, 08:29:24 PM by Spaceman-Spiff » Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.5.1 RC1] Highlight Post Mod
« Reply #1 on: March 23, 2003, 11:09:56 AM »
Reply with quote

The highlight button is only visible for admins and GM's, but a regular user could use the function if he knows how to use it, doesn't he ?

It would be great if that wasn't possible.

But I like the mod  :D
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 RC1] Highlight Post Mod
« Reply #2 on: March 23, 2003, 11:15:19 AM »
Reply with quote

a normal user wont be able to do it, even with the link
just like how sticky/lock topic works :)

there's a little mistake in 1.0, i fixed it in 1.0a
now works for moderators too
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Done 1.5.1 RC1] Highlight Post Mod
« Reply #3 on: March 23, 2003, 11:23:33 AM »
Reply with quote

Ah !  That's great !

I use it now, and have added the highlight button to one of the buttonsets ;)
« Last Edit: March 23, 2003, 12:00:26 PM by Webby » Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
GWP
Sr. Member
****
Posts: 252


A total PHP MySQL Novice :) - but getting better!

Re:[Done 1.5.1 RC1] Highlight Post Mod
« Reply #4 on: March 23, 2003, 08:33:42 PM »
Reply with quote

It went straight in on my board (see my installed mods below)... after i deleted all the references to the two language files I don't use.

One further point in case it is not clear.
If you hit the highlight button by mistake and it highlights a particular post, then simply click the highlight button again, it will un-highlight it.

Another great mod Spaceman :)
Logged

YabbSE 1.5.1rc Mods:AdvIm, Member Map, Password Prompt, Report to mod, Smilies SE 2.0, Bio, collapsable_yabb, Ignore user, Name, allowed user, search member, enchanced ban, posts per day, Mute User, Memberlist Plus,Who,ExactPostLink. Remove_Clicklog,mc_BoldOwnThreads.QuickReply, UserEnableDisableCensor, RefererMod, lastlogin_profile,PostBasedImRestrict, ExactPostLink, UserBrowsing,
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.1 RC1] Highlight Post Mod
« Reply #5 on: March 24, 2003, 12:09:18 PM »
Reply with quote

* unknown steals your mod, puts it in his secret project, makes it work with old browsers, AND improves Search.php a lot. ;D

-[Unknown]
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Done 1.5.1 RC1] Highlight Post Mod
« Reply #6 on: April 11, 2003, 06:44:07 PM »
Reply with quote

updated to 1.5.1
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1 RC1] Highlight Post Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.031 seconds with 16 queries.