I would like to know if its possible to reposition the bar?! I would like to place it beneath my forum banner. For now it's on top of page on left side of [user User CP Mod CP Messages Log Out] bar.
Thank you.
Background color not appear in announcement
getting this error please help
One suggestion I would love is to put a start date/time for it too. Not only end date.
Overall, I love this plugin.
Thanks! Works great for me
BTW, this should be a core feature...
Is this whats used on MyBB forums?
(2012-12-13, 01:13 PM)crazy4cs Wrote: [ -> ] (2012-12-13, 11:30 AM)Wolfseye Wrote: [ -> ]$plugins->add_hook('global_end', 'ougc_annbars_show');
Yes.
Just change:
$plugins->add_hook('global_end', 'ougc_annbars_show');
to:
$plugins->add_hook('index_start', 'ougc_annbars_show');
1. Is there a way to add a dismiss option for users who already saw the announcement?
2. Is there a way to choose the forum/page where the announcement is shown?
-> I wasnt able to find that code. All I found was
$plugins->add_hook('pre_output_page', 'ougc_annbars_show');
I changed that to index_page, but it didnt work. Any help please? :/
Thanks alot
v1.8 Released
The plug-in is now compatible with MyBB 1.8. Backwards compatibility was kept but will most likely be removed on next update (1.8.1).