Dylan Riggs Posted December 23, 2011 Posted December 23, 2011 File Name: (C32) Post Sidebar MessageFile Submitter: Dylan RiggsFile Submitted: 23 Dec 2011File Category: Hooks and PluginsThis hook adds a simple message to the sidebar of the post screen when creating a new topic. First hook, so no bashing :smile:FeaturesEnable/Disable Hook Enable/Disable Title BBcode Parsing Enable/Disable new lines. HTML Parsing (If enabled in hook) Show message to only selected groups. Show message to users with a certain amount of posts. Show message on selected forums Use a Title icon Show at either top or bottom of sidebar Enjoy, hope it works :rofl:Click here to download this file
Jim Posted December 23, 2011 Posted December 23, 2011 Really useful Hook, will download and test now. Thank you :)
Jim Posted December 23, 2011 Posted December 23, 2011 Just to say, its working great. As for feedback... could you consider adding a setting so that it only shows for members below X number of posts? As a further development, it would be great to have the ability to enter additional messages that way we can have different messages for different user groups. Cheers Jim
Cyrem Posted December 23, 2011 Posted December 23, 2011 Thanks for the feedback Jim. I was thinking of the same thing after posting this mod. It would be good to show it to members under an amount of posts. I will definitely consider allowing the addition of multiple messages in the future.
Cyrem Posted December 24, 2011 Posted December 24, 2011 Sorry for double post. Hook has been updated to 1.1 to include options to show to users with x amount of posts. Please uninstall the old and install the new :)
Jim Posted December 24, 2011 Posted December 24, 2011 Excellent, works great, thanks for adding so quickly... look forward to future versions.
broni Posted December 24, 2011 Posted December 24, 2011 I'd take it if there was an option which forums this will be displayed at.
Cyrem Posted December 25, 2011 Posted December 25, 2011 Thanks guys for your suggestions. I've now updated it to version 1.2, which now includes an option to select the forums you want it to appear on.
Cyrem Posted December 25, 2011 Posted December 25, 2011 Works great!!Th Thank you :smile: Good to hear, much better than "something dun broke". :wink:
rbiss Posted December 26, 2011 Posted December 26, 2011 Do you have any screenshots of what it looks like on a board?
Cyrem Posted December 26, 2011 Posted December 26, 2011 New update! This update brings an option to change it's position, title icons and 2 other options you won't really care about. Make sure you uninstall the old. Basically with these new options it allows you to use the HTML parsing for multiple titles without issues with padding (make sure you disable that if you use this) Example code of muli-titled sidebar messages: <div class="ipsPad">It's possible to use the HTML parsing to show...</div> <h3 class="bar">Next Title</h3> <div class="ipsPad">...multiple titles if you wanted to tell people different things. :D</div> <h3 class="bar" style="color:blue">Notes</h3> <div class="ipsPad">Unfortunately, the permission still apply to the entire message. Also be careful not to mess up your HTML or it could break the post page :(</div> Note that permissions still apply to the entire message. You'll see that I didn't put a title to the first message, that is because I'm using the title field for the first title. If you change your message position, you MUST re-cache your skins.
Refresher Posted December 26, 2011 Posted December 26, 2011 Super mod! I think it would be even greater with possibility to add it to quick reply and using different warning styles(css).
Cyrem Posted December 26, 2011 Posted December 26, 2011 Super mod! I think it would be even greater with possibility to add it to quick reply and using different warning styles(css). It would be good, however the fast reply would need CSS edits to the editor to fit in the sidebar... which I don't think I can do automatically with a hook. As for pre-defined styles, i'll keep it in mind.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.