Are you sure you selected GROUPS in SHOW SITE ANNOUNCEMENT TO field just above where you selected specific groups?Homeboy wrote:I got it working perfectly, just one question:
How do you setup individual permissions for groups, I want a couple of groups NOT to see the announcement on the index page and when I select the groups to see in the .MOD tab the other groups are still able to view the announcement.
Code: Select all
Parse error: parse error in C:\wamp\www\phpBB3\includes\functions_posting.php on line 68
Yes I did, and it still shows to the other groups.iftitaj wrote:Are you sure you selected GROUPS in SHOW SITE ANNOUNCEMENT TO field just above where you selected specific groups?Homeboy wrote:I got it working perfectly, just one question:
How do you setup individual permissions for groups, I want a couple of groups NOT to see the announcement on the index page and when I select the groups to see in the .MOD tab the other groups are still able to view the announcement.
please make sure you use a decent editor like e.g. notepad++.KillaCam wrote:I install the mod on my forums and then go to install and recieve this error on top of page
how can i fix this? I have deleted everything and tried this 3 time so far ans still get same thingCode: Select all
Warning: Cannot modify header information - headers already sent by (output started at /home/wlxstrea/public_html/language/en/common.php:1) in /home/wlxstrea/public_html/includes/functions.php on line 4193 Warning: Cannot modify header information - headers already sent by (output started at /home/wlxstrea/public_html/language/en/common.php:1) in /home/wlxstrea/public_html/includes/functions.php on line 4195 Warning: Cannot modify header information - headers already sent by (output started at /home/wlxstrea/public_html/language/en/common.php:1) in /home/wlxstrea/public_html/includes/functions.php on line 4196 Warning: Cannot modify header information - headers already sent by (output started at /home/wlxstrea/public_html/language/en/common.php:1) in /home/wlxstrea/public_html/includes/functions.php on line 4197
please make sure you use a decent editor like e.g. notepad++.CassandraLionKnyght wrote:I am sorry if this has been asked before, I did a search and fouldn't find the answer. I started a fresh forum and installed this mod (and only this mod) on it. I had been having trouble getting it installed on another forum so I scrapped it and started fresh. Anyhow!
after following all the instrctuions to install the mod, I recieved the following error on the index page:
as a guest, however, I can still see the announcement. The moment i log it is no longer visable
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4202: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4204: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4205: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4206: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
when I go to log into the ACP, I get the following error.
again, I checked all the files for errors in installing the code. I found none. What did I do and what can I do to fix it? Any help anyone can give would be appreceated.
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
~Cassie
thanks for sharing. i am surprised that something would get trimmed though. I have never experienced that before... will keep an eye out thodmkratt wrote:dmkratt wrote:I am experiencing the same issue here. bbcode is not being converted on display.
In addition, when I go into the announcements ACP edit page, the previewed display is showing unconverted bbcode as well when it first comes up. If I click preview again it displays correctly.
Have triple checked every file modification, uninstalled and reinstalled several times,meggy79 wrote:I have installed the mod but I have a problem. When I try to edit ananouncement draft( try to change the color of the word ana make bold) , I have the result below:
I think there is an error in converting bbcode to css code. Please help!
cleared templates and cache. Was this ever resolved?
Not yet in production. Every other part of this mod is working correctly, just not correctly rendering bbcode.
Figured out what is occurring.
In debug mode, received these messages:
[phpBB Debug] PHP Notice: in file /includes/functions_announcements.php on line 185: Undefined index: announcement_text_bbcode_bitfield
[phpBB Debug] PHP Notice: in file /includes/functions_announcements.php on line 185: Undefined index: announcement_text_bbcode_options
[phpBB Debug] PHP Notice: in file /includes/functions_announcements.php on line 195: Undefined index: announcement_text_guests_bbcode_uid
[phpBB Debug] PHP Notice: in file /includes/functions_announcements.php on line 195: Undefined index: announcement_text_guests_bbcode_bitfield
[phpBB Debug] PHP Notice: in file /includes/functions_announcements.php on line 195: Undefined index: announcement_text_guests_bbcode_options
This line retrieves the values in includes/functions_announcements.php:I am on SQL Server, not sure if makes a difference,Code: Select all
$sql = 'SELECT * FROM ' . ANNOUNCEMENTS_CENTRE_TABLE;
but the names such as announcement_text_bbcode_bitfield appear to get trimmed and cannot be found in the resultset. Therefore I converted the above to:andCode: Select all
$sql = 'SELECT *, announcement_text_bbcode_uid as uid, announcement_text_bbcode_bitfield as bf, announcement_text_bbcode_options bo, announcement_text_guests_bbcode_uid g_uid, announcement_text_guests_bbcode_bitfield as g_bf, announcement_text_guests_bbcode_options as g_bo FROM ' . ANNOUNCEMENTS_CENTRE_TABLE;
converted the line:toCode: Select all
$announcement_text = generate_text_for_display($announcement['announcement_text'],$announcement['announcement_text_bbcode_uid'], $announcement['announcement_text_bbcode_bitfield'], $announcement['announcement_text_bbcode_options']);
and converted the line:Code: Select all
$announcement_text = generate_text_for_display($announcement['announcement_text'],$announcement['uid'],$announcement['bf'],$announcement['bo']);
toCode: Select all
'ANNOUNCEMENT_TEXT_GUESTS' => generate_text_for_display($announcement['announcement_text_guests'],$announcement['announcement_text_guests_bbcode_uid'], $announcement['announcement_text_guests_bbcode_bitfield'], $announcement['announcement_text_guests_bbcode_options']),
Now, bbcode is getting correctly parsedCode: Select all
'ANNOUNCEMENT_TEXT_GUESTS' => generate_text_for_display($announcement['announcement_text_guests'],$announcement['g_uid'], $announcement['g_bf'], $announcement['g_bo']),
sorry, that isn't supported in this mod atm. if there is enough interest i might consider this for a future version (no promises).slhpss wrote:I tried searching the post and could not find any instructions on how to do this. I did notice on other user asked if it was possible, but anyways I have played with the mod a little and I'm trying to get it to display the Topic Title for the post as the "Site Announcement Title." with 0 luck... any help?
do you have founder status? make sure the permissions are set correctly.morawcik89 wrote:Hi.
I installed everything, cleared the cache and refreshed template, and I have a problem. In the. MOD tab I do not see it but in the system tab-> Admin Panel->. MOD I see it.
What I can do ?
PS Sorry for my english.
no, that's not possible at the moment but it is something i want to look into for a future versionsmills29 wrote:Thanks for the mod.
Is it possible to truncate a post, and only a display a limited number of characters when using a topic or forum as the annoucement and providing a "more" link to the post? Some post are quite long and take to much space in the annoucement box.
.hikernick wrote:Had this mod working nicely on a board on PHPBB 3.0.3. I installed a new board on 3.0.6, and imported the database from the old one, and upgraded it. Board now working nicely. Then I installed this mod again (version 1.2.2) and went through all the file copy and edit stages. I ran the install/index.php (or attempted to) but got the "not admin" error. So I commented out the auth checking section as per a previous post in this thread, and it appeared to run fine.
First I ran the "upgrade to version 1.2.2" option, and went into my ACP. I had a .MODS tab, as before, and it included the options for Announcement Centre, but I couldn't find the page to set the announcements anywhere. Then I realised I'd forgotten to refresh my templates, so I did. My .MODS tab disappeared completely. Nothing I do will bring it back. The modules are still visible under System/Module Maintenance, and the .MODS tab is still present according to that, but it's never displayed. Under .MODS appears Announcement Centre.
I then tried reenabling the install folder, ran index.php again, and this time chose uninstall, followed by new installation. Same result.
The default announcement appears in the forum itself, just fine. Problem is I have no way of administering it except via the database
What have I done wrong?
Thanks
Nick
your edit in includes/functions_posting.php is incorrect, please double checkBasement24 wrote:I installed this mod on my 3.0.6 board it displays good, but i get thi s error on the ACP went i acess the .MODS for this.helpCode: Select all
Parse error: parse error in C:\wamp\www\phpBB3\includes\functions_posting.php on line 68
OK, I am a little further, thanks. I have no idea what "founder status" is, I'm an admin, but I can't see a role, group, permission or anything called "founder".lefty74 wrote:.hikernick wrote:Had this mod working nicely on a board on PHPBB 3.0.3. I installed a new board on 3.0.6, and imported the database from the old one, and upgraded it. Board now working nicely. Then I installed this mod again (version 1.2.2) and went through all the file copy and edit stages. I ran the install/index.php (or attempted to) but got the "not admin" error. So I commented out the auth checking section as per a previous post in this thread, and it appeared to run fine.
First I ran the "upgrade to version 1.2.2" option, and went into my ACP. I had a .MODS tab, as before, and it included the options for Announcement Centre, but I couldn't find the page to set the announcements anywhere. Then I realised I'd forgotten to refresh my templates, so I did. My .MODS tab disappeared completely. Nothing I do will bring it back. The modules are still visible under System/Module Maintenance, and the .MODS tab is still present according to that, but it's never displayed. Under .MODS appears Announcement Centre.
I then tried reenabling the install folder, ran index.php again, and this time chose uninstall, followed by new installation. Same result.
The default announcement appears in the forum itself, just fine. Problem is I have no way of administering it except via the database
What have I done wrong?
Thanks
Nick
same as my answer before basically, can you please check if you have founder status, otherwise you will need to set permissions to view/edit announcement centre in the acp via the permissions tab.