Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 23, 201113 yr 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
December 23, 201113 yr 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
December 23, 201113 yr 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.
December 24, 201113 yr 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 :)
December 24, 201113 yr Excellent, works great, thanks for adding so quickly... look forward to future versions.
December 25, 201113 yr 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.
December 25, 201113 yr Works great!!Th Thank you :smile: Good to hear, much better than "something dun broke". :wink:
December 26, 201113 yr 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.
December 26, 201113 yr Super mod! I think it would be even greater with possibility to add it to quick reply and using different warning styles(css).
December 26, 201113 yr 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.
Archived
This topic is now archived and is closed to further replies.