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.
@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.
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 :)
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
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
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
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?
Comments
perfect thanks!
@jpmitchell7:
your tabs are off on Firefox (sitting below the line)..
@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.
i can take a look in a bit..
I had the same problem. I updated the the message and my forum went completly blank. How did you fix it?
Thanks! - I'll try it out if i should get that problem again!
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.
Why not ask in one of the topics regarding Adsense?
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.