Closed (fixed)
Project:
phpBB Forum Integration
Version:
6.x-2.0-beta9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2009 at 12:21 UTC
Updated:
21 Jan 2010 at 04:20 UTC
When using a prosilver based custom theme, and thus editing the phpbbforum.theme.custom-sample.inc you will then get an error such as:
Fatal error: Call to undefined function _phpbbforum_set_head_script() in D:\www\example.com\modules\phpbbforum\phpbbforum.theme.custom.inc on line 37
This is caused by the function name not being set correctly...
// uncomment if your theme from prosilver
$endpos = _phpbbforum_set_head_script(0, $output);
$endpos = _phpbbforum_set_head_links_prosilver($endpos, $output);
should be
// uncomment if your theme from prosilver
$endpos = _phpbbforum_set_head_script_prosilver(0, $output);
$endpos = _phpbbforum_set_head_links_prosilver($endpos, $output);
( the _prosilver part is missing from the end of the function name _phpbbforum_set_head_script_prosilver )
Thanks! :)
Comments
Comment #1
phreadom commentedThis is fixed in beta9 and can be closed as such I believe. :)
Comment #2
dan.crouthamel commentedNever mind - I managed to find the info I need and got it to work :)
......
Is there a tutorial somewhere that tells you how to use a different phpBB theme? I would like to use Bl@ck which is based on the prosilver theme.
http://www.phpbb.com/styles/db/index.php?i=misc&mode=display&contrib_id=...
thanks!