just right click on the register link of your board and copy the link location, then paste it in within a url bbcode like so: Registersoaknfused wrote:Great MOD, thanks. One question though.. If i put text in with a url, it assumes it is not a local url. I have tried several different formats such as the full url and href="./ucp.php type stuff.. what I am trying to do, is on the guest announcement I want to provide a link to login or register.. Any ideas? I am sure I am just overlooking something simple.
Code: Select all
[url=http://www.lefty74.com/thebritishshorthaircom/ucp.php?mode=register]Register[/url]
Tried it and it and now it gives me this error:lefty74 wrote:Could you please try again. This time i have tested it on the live testboard.DarkMaster wrote:I tried to run it at http://url.com/phpBB3/install/index.php but all it does is direct m to the index saying to remove the install directory..
Did I upload it to the wrong place or am I supposed to run each of the schemas individually?
All file edits have been done correctly and completely.
You can download it here.
You need to have made the edits and upload your files. Upload the install folder to your root folder (i.e. phpbb3/install), log in and then point to the folder in your browser.
Once installed, you should delete that folder again.
Code: Select all
SQL ERROR [ mysqli ]
Table 'merso_1945961_phpbb3.phpbb_announcement_centre' doesn't exist [1146]
SQL
INSERT INTO phpbb_announcement_centre (announcement_enable_guests, announcement_show, announcement_show_birthdays, announcement_birthday_avatar, announcement_title, announcement_text, announcement_text_bbcode_uid, announcement_text_bbcode_bitfield, announcement_text_bbcode_options, announcement_draft, announcement_draft_bbcode_uid, announcement_draft_bbcode_bitfield, announcement_draft_bbcode_options, announcement_title_guests, announcement_text_guests, announcement_text_guests_bbcode_uid, announcement_text_guests_bbcode_bitfield, announcement_text_guests_bbcode_options, announcement_show_group) VALUES (1, 0, 0, 0, 'Site Announcements', '[color=red:1ebkafy2][b:1ebkafy2]Site Announcements[/b:1ebkafy2][/color:1ebkafy2] can be seen here!! <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: -->', '1ebkafy2', 'Qg==', '7', '[color=red:20kevzv0][b:20kevzv0]Draft Announcements[/b:20kevzv0][/color:20kevzv0] can be seen here!! <!-- s:mrgreen: --><img src=\"{SMILIES_PATH}/icon_mrgreen.gif\" alt=\":mrgreen:\" title=\"Mr. Green\" /><!-- s:mrgreen: -->', '20kevzv0', 'Qg==', '7', 'Guest Announcements', '[color=green:2uopdss5][b:2uopdss5]Guest Announcements[/b:2uopdss5][/color:2uopdss5] can be seen here!! <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_e_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: -->', '2uopdss5', 'Qg==', '7', '2')
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()
FILE: install/index.php
LINE: 84
CALL: dbal_mysqli->sql_query()
Code: Select all
[url=http://www.lefty74.com/thebritishshorthaircom/ucp.php?mode=register]Register[/url]
Code: Select all
Parse error: syntax error, unexpected T_STRING, expecting ')' in /www/myhosting247.com/l/x/g/lxgchronicles/htdocs/board/includes/functions_posting.php on line 104
Already tried that, opens the link in a new window. That's why I asked the question Any other ideas?[/quote]soaknfused wrote:just right click on the register link of your board and copy the link location, then paste it in within a url bbcode like so: RegisterCode: Select all
[url=http://www.lefty74.com/thebritishshorthaircom/ucp.php?mode=register]Register[/url]
hi, its likely an error in the edits on or around line 104. could you post your functions_posting.php code that line pse.buzzbee wrote:Hi there! Thanks for the great MOD, but I'm having a slight problem.
I've installed everything correctly, have cleared my cache and have refreshed my prosilver style... but when I click on the .MOD tab to edit the announcements (which are showing up just fine), I get:
I am relatively new to phpbb, but I've installed quite a few MODs before. So, I am almost positive everything is in order.Code: Select all
Parse error: syntax error, unexpected T_STRING, expecting ')' in /www/myhosting247.com/l/x/g/lxgchronicles/htdocs/board/includes/functions_posting.php on line 104
Code: Select all
Parse error: parse error, unexpected ',', expecting '{' in /hsphere/local/home/theaussi/theaussieaviator.net/forum/includes/functions_posting.php on line 22
Code: Select all
function generate_smilies($mode, $forum_id), $acp_announce = false
Code: Select all
function generate_smilies($mode, $forum_id, $acp_announce = false)
Hi,lefty74 wrote:this might help youfurman wrote:Hi,
I seem to have a problem not mentioned so far, I am stuck at step h
h) Go to the dropdown next to the Add Module button
i) Click on Announcement Centre in the dropdown
j) Click on the Add Module button next to the drop down
k) Once added, you need to click on the Enable link next to it
l) The enable should turn into disable
m) Click General
I can't see Announcement Centre in the dropdown. I am new to PHPBB and this is my first module installation.
http://svn2.assembla.com/svn/lefty74_mo ... dd_module/
right mouse click and save the file, then
1. Place the file add_modules.php in the root folder.
2. Once logged in the board, point the browser to add_modules.php
3. Once run, delete the file add_modules.php from your root folder
This should add the module for you.
did you upload all the files as per installation instructions?furman wrote:Hi,lefty74 wrote:this might help youfurman wrote:Hi,
I seem to have a problem not mentioned so far, I am stuck at step h
h) Go to the dropdown next to the Add Module button
i) Click on Announcement Centre in the dropdown
j) Click on the Add Module button next to the drop down
k) Once added, you need to click on the Enable link next to it
l) The enable should turn into disable
m) Click General
I can't see Announcement Centre in the dropdown. I am new to PHPBB and this is my first module installation.
http://svn2.assembla.com/svn/lefty74_mo ... dd_module/
right mouse click and save the file, then
1. Place the file add_modules.php in the root folder.
2. Once logged in the board, point the browser to add_modules.php
3. Once run, delete the file add_modules.php from your root folder
This should add the module for you.
Thanks for the reply, I uploaded the file, now I get this problem:
General Error
Language file info_acp_announcement_centre.php couldn't be opened.
thanks, I keep that in mind for the next version.scenes wrote:Great mod!
Installed easily with no problems.
Just one tiny niggle (sorry!)
When the Guests radio button is selected, the site announcement text is displayed to the guest.
It would be great if the guest announcement text would be displayed instead.
This would be very convenient on a board where general site announcements are required only occasionally and the guest announcement is a permanent feature.
I did mod it so external links open in a new window (I have rss feeds that post to a few areas in the forum) so I wanted those external links to open in a new window for the feeds. My question is how do I get it to recognize internal links as such to make them work correctly. Other local links such as ./ucp.php?mode=login should open in the same window.... So, that is why I am stucklefty74 wrote: then you must have installed another mod that opens links in a new window. it works fine with default phpbb3. in that case, no, i am afraid i have not other ideas.