Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

New Extension: Announcement

24

Comments

  • edited July 2006
    Thanks iambigred. You can check out my forums at resn.biz. I had to slightly edit it so my Google Ads extension would work properly with it. I'm actually using both of them combined to bring attention to the ads and top section of the discussion body.
  • jpmitchell, is your google ads thingie starting to pick up related adverts? (ie related to the text on your page)
  • lamentlament
    edited January 2007
    @Alex:

    perfect thanks!

    @jpmitchell7:

    your tabs are off on Firefox (sitting below the line)..
  • @lament - thanks for letting me know that. have any ideas how i can have that fixed in firefox?

    @strawberries - no currently, but sometimes it takes google awhile to reindex your site (even days). i'm running them on my residential real estate news website, and when i made a small change and added that kind of coding before, it took awhile. i'll have to wait and see.
  • is that the soul-scape style? i'd hit up Ben as it's his style..

    i can take a look in a bit..
  • I installed version 1.0, and got the same error as @ LoOkHerE was on line 69. After reading this thread, I downloaded and installed the latest version of this extension (1.1), and am now getting this error: Fatal error: Cannot instantiate non-existent class: announcement in /home/dhdesign/public_html/dawghousedesign/tickets/extensions/Announcement/default.php on line 91
  • Hey there I've got it running ... and think it's really cool 1) I did have one errror where I updated the news announcment (a second time) and it wrote the line twice into my settings file - which of course busted that and rendered the forums dead (easy fix though he he) 2) is there anyway to have it set up so a user only sees it once? It kinda gets annoying after a couple of pages Keep up the good ideas :)
  • Mr K.
    I had the same problem. I updated the the message and my forum went completly blank. How did you fix it?
  • oh...I jumped into a linux terminal and used a command line editor to fix it However you should be able to download the conf/settings.php file via FTP Then look for the ANNOUNCEMENT line and you should be able to correct it :) Before fix it looked like: $Configuration['ANNOUNCE_MESSAGE'] = 'New Categories have been added ... check them out. The new Studiowhiz is open for business - so feel free to start inviting your friends & other Studiowhiz members who\'ve not yet joined up'; The new Studiowhiz is open for business - so feel free to start inviting your friends & other Studiowhiz members who\'ve not yet joined up'; Yes it had the last line twice, so after the fix it looks like $Configuration['ANNOUNCE_MESSAGE'] = 'New Categories have been added ... check them out. The new Studiowhiz is open for business - so feel free to start inviting your friends & other Studiowhiz members who\'ve not yet joined up'; Hope that helps
  • Mr K
    Thanks! - I'll try it out if i should get that problem again!
  • lamentlament
    edited July 2006
    2) is there anyway to have it set up so a user only sees it once? It kinda gets annoying after a couple of pages

    Yeah it would be cool if it was cookied, and there was an "X" in the corner to close it (in an Ajax way that Hide Success does). You would have to reset the cookie each time a new announcement is made.
  • you could use a PHP Session rather than a cookie ... That way the user is going to see it once per session - which is fine, and then we don't have to worry about having to reset the cookie, as we know they'll see the message once each time they come to the site
  • iambigred Is it possible to tweak this to welcome new members automatically? When someone is given new membership status, this announcement will welcome the new member? Thanks
  • I suppose it could check the number of times they have logged in. If it's <5 then they are likely to be a relatively new nember and it could then display the message. I'll put it on the to do list
  • How are you guys getting adsense on top like that ? i tried a few things and broke my forum :(
  • Seems like the wrong topic to ask this question in. ^^

    Why not ask in one of the topics regarding Adsense?
  • iambigred Thanks dude. Your extension is great as it is now. If it's too much too ask then don't worry about it. But if you revise it, I'll get it :) Thanks
  • edited July 2006
    iambigred, I got your great extension up and running, but am having a problem when inserting HTML into the announcement. I want to use this extension to plug one of my advertisers each month. So I inserted this as the Announcement Message: <b>Gold Sponsor Alert:</b> <a href="http://www.fhedvd.com/" target="_blank">FHE on DVD: Famiy Home Easy</a> The link LOOKS fine, but it actually directs the browser to: http://www.mormonmomma.com/board/"http://www.fhedvd.com/" Any ideas?
  • edited July 2006
    CRAP. I just borked my forum adding an announcement with a line break ( BR tag ).... I'm getting this....

    Parse error: syntax error, unexpected T_STRING in /forum/conf/settings.php on line 36


    and can't view a single page in my forum...


    EDIT: figured it out.... dumb me.
  • Sorry for the delay in getting this fixed, I've been a bit busy lately. I'll get it sorted soon, I promise!
This discussion has been closed.