Results 1 to 3 of 3
-
2nd Dec 2009, 02:45 PM #1OPMember
Warning: strtr() [function.strtr]:
Hey guys,
I need some phpbb help here.
I just upgraded my forum like about 1 week back. with no problems.
Now yesterday i added to submit links to download warez and i seem to have a problem as when u click a link from that site i see some errors, and when u click from katz its fine.
Here is one link:
http://www.downloadwarez.org/downloa...z-2554708.html
Please assist.Sponge Bob Reviewed by Sponge Bob on . Warning: strtr() [function.strtr]: Hey guys, I need some phpbb help here. I just upgraded my forum like about 1 week back. with no problems. Now yesterday i added to submit links to download warez and i seem to have a problem as when u click a link from that site i see some errors, and when u click from katz its fine. Here is one link: http://www.downloadwarez.org/download-Sonne-DVD-Burner-3.3.0.3000-full-crack-serial-keygen-rapidhare-by-AllInOneWarez-2554708.html Rating: 5
-
2nd Dec 2009, 02:47 PM #2BannedWebsite's:
gillwarez.com./styles//template/bbcode.html
delete one slash
-
2nd Dec 2009, 02:49 PM #3OPMember
here is some of the code ranging from that area and all is fine:
/**
* Init bbcode cache
*
* requires: $this->bbcode_bitfield
* sets: $this->bbcode_cache with bbcode templates needed for bbcode_bitfield
*/
function bbcode_cache_init()
{
global $phpbb_root_path, $template, $user;
if (empty($this->template_filename))
{
$this->template_bitfield = new bitfield($user->theme['bbcode_bitfield']);
$this->template_filename = $phpbb_root_path . 'styles/' . $user->theme['template_path'] . '/template/bbcode.html';
if (!@file_exists($this->template_filename))
{
if (isset($template->orig_tpl_inherits_id) && $template->orig_tpl_inherits_id)
{
$this->template_filename = $phpbb_root_path . 'styles/' . $user->theme['template_inherit_path'] . '/template/bbcode.html';
if (!@file_exists($this->template_filename))
{
trigger_error('The file ' . $this->template_filename . ' is missing.', E_USER_ERROR);
}
}
else
{
trigger_error('The file ' . $this->template_filename . ' is missing.', E_USER_ERROR);
}
}
}
$bbcode_ids = $rowset = $sql = array();
$bitfield = new bitfield($this->bbcode_bitfield);
$bbcodes_set = $bitfield->get_all_set();
foreach ($bbcodes_set as $bbcode_id)
{
if (isset($this->bbcode_cache[$bbcode_id]))
{
// do not try to re-cache it if it's already in
continue;
}
$bbcode_ids[] = $bbcode_id;
if ($bbcode_id > NUM_CORE_BBCODES)
{
$sql[] = $bbcode_id;
}
}
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
function backlink help
By Chris2k in forum Web Development AreaReplies: 13Last Post: 26th Apr 2012, 09:43 PM -
[PHP] }else{ Function 3 parts
By viruz99 in forum Web Application/Script SupportReplies: 4Last Post: 17th Jan 2012, 01:33 AM -
[Help] Fix PHP function
By m1rr0z in forum Web Development AreaReplies: 0Last Post: 15th Apr 2011, 09:40 AM -
Need faster function - help :(
By Porsche_maniak in forum Web Development AreaReplies: 7Last Post: 11th Dec 2010, 07:54 PM -
Warning: file_exists() [function.file-exists]: help
By bachbell in forum Server ManagementReplies: 7Last Post: 21st Jul 2010, 04:45 AM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...