This board is the new home for david63's extensions.

All of the extensions hosted here will need to be treated as a new install as there is no migration from the original ones to these, and furthermore, no support will be given to migrating to any of these extensions from previous versions.


Due to the selfishness of certain board members it has become necessary to apply a limit of how many downloads each member can make before making a donation. Once a donation has been made then you will have unlimited downloads.

[3.3.1] Announce on Index

Fully working extensions
User avatar
devspace
Owner
Owner
Posts: 279
Joined: October 2022

[3.3.1] Announce on Index

#1

Post by devspace »

Announcements on Index:

Displays announcements on the index page.

Compatibility:

Image Image

Image

Note:

If you are using any other version of this extension then it must be Disabled /Delete data and the original files deleted before installing this version - you will loose all settings.

Features:
  • Display Global Announcements and/or Announcements on index page.
  • Allow guests to view/not view the announcements.
Language(s):
  • en
Version:
  • 3.3.1
Installation:
  • Download the latest release and unzip it.
  • Upload the unzipped files to [board root]/ext/devspace/announceonindex and enable it in the ACP
Configuration:
  • Extensions
  • Announcements on index
  • Manage announcements
  • Set required options
Extension Download:

User avatar
devspace
Owner
Owner
Posts: 279
Joined: October 2022

Announce on Index

#2

Post by devspace »

Announcements:

Updated to 3.3.1 - minor bug fix

User avatar
Zajsoft
Member
Member
Posts: 4
Joined: October 2022
Location: Czech Republic

Re: [3.3.0] Announce on Index

#3

Post by Zajsoft »

Hi,
bad file name in CSS.

sed -i.orig 's/globalannounce_unread_locked.gif/global_unread_locked.gif/g' -- ./forum.volvoklub.cz/ext/devspace/announceonindex/styles/all/theme/announceonindex_icons.css

User avatar
devspace
Owner
Owner
Posts: 279
Joined: October 2022

Re: [3.3.0] Announce on Index

#4

Post by devspace »

Zajsoft wrote: 07 Nov 2022, 15:39
Hi,
bad file name in CSS.

sed -i.orig 's/globalannounce_unread_locked.gif/global_unread_locked.gif/g' -- ./forum.volvoklub.cz/ext/devspace/announceonindex/styles/all/theme/announceonindex_icons.css
No idea what all of that means

User avatar
Zajsoft
Member
Member
Posts: 4
Joined: October 2022
Location: Czech Republic

Re: [3.3.0] Announce on Index

#5

Post by Zajsoft »

OK, then more Human version :-D

In devspace/announceonindex/styles/all/theme/announceonindex_icons.css
Replace: globalannounce_unread_locked.gif
To: global_unread_locked.gif

Alias typo/bad filename in CSS :-)

User avatar
devspace
Owner
Owner
Posts: 279
Joined: October 2022

Re: [3.3.1] Announce on Index

#6

Post by devspace »

Zajsoft wrote: 07 Nov 2022, 16:30
Alias typo/bad filename in CSS
Fixed

macr0ndev
Member
Member
Posts: 6
Joined: July 2023

Re: [3.3.1] Announce on Index

#7

Post by macr0ndev »

i switched from ms edge to chrome and it work now, thanks!

however, after i installed i noticed, that extension changes the structure of my index page.
here is the original one:
► Show Spoiler
after i enabled extension with no announcements:
► Show Spoiler
after i enabled extension with a global announcement:
► Show Spoiler
these changes lead to incorrect applying of styles. should the extension work so?
Last edited by devspace on 04 Jul 2023, 21:16, edited 1 time in total.
Reason: Subject

User avatar
devspace
Owner
Owner
Posts: 279
Joined: October 2022

Re: [3.3.1] Announce on Index

#8

Post by devspace »

Which style are you using?

It would help to show the output rather than the code

macr0ndev
Member
Member
Posts: 6
Joined: July 2023

Re: downloading extensions

#9

Post by macr0ndev »

I can't write on that topic (i assume i have no rights), but anyway, here is the output.

original:
► Show Spoiler
with extension, without announcement:
► Show Spoiler
with extension, with announcement:
► Show Spoiler

macr0ndev
Member
Member
Posts: 6
Joined: July 2023

Re: downloading extensions

#10

Post by macr0ndev »

the style i use is modified we_universal

User avatar
devspace
Owner
Owner
Posts: 279
Joined: October 2022

Re: downloading extensions

#11

Post by devspace »

macr0ndev wrote: 04 Jul 2023, 22:07
the style i use is modified we_universal
That is probably the problem - this extension has not got the files for that style

macr0ndev
Member
Member
Posts: 6
Joined: July 2023

Re: [3.3.1] Announce on Index

#12

Post by macr0ndev »

alright. i have quite a bit of knowledge about extension development, so maybe you could prompt me where should i go to fix this?

User avatar
devspace
Owner
Owner
Posts: 279
Joined: October 2022

Re: [3.3.1] Announce on Index

#13

Post by devspace »

macr0ndev wrote: 05 Jul 2023, 15:08
alright. i have quite a bit of knowledge about extension development, so maybe you could prompt me where should i go to fix this?
Not tested but I would look at modifying announcement_on_index.html to suit your style