i'm have site with integrated punBB forun in folder /forum/. Mail is work on site and forum on local server. But don't work only on forum on hosting. Why mail don't work only on forum?
1 2012-08-08 04:47
Topic: Don't work mail() on forum (1 replies, posted in PunBB 1.4 troubleshooting)
2 2012-04-29 06:53
Topic: Add new action to profile.php (0 replies, posted in PunBB 1.4 troubleshooting)
Indispensably create new page based on profile.php, which available all including guests.
Link to page:
my.site/forums/profile.php?action=subscribeg
I added this code in profile.php after section "if ($action == 'change_pass') {...}":
else if ($action == 'subscribeg')
{
// Setup breadcrumbs
$forum_page['crumbs'] = array(
array($forum_config['o_board_title'], forum_link($forum_url['index'])),
$my_new_page)
);
($hook = get_hook('pf_subscribeg_normal_pre_header_load')) ? eval($hook) : null;
define('FORUM_PAGE', 'subscribeg');
require FORUM_ROOT.'header.php';
// START SUBST - <!-- forum_main -->
ob_start();
($hook = get_hook('pf_subscribeg_normal_output_start')) ? eval($hook) : null;
?>
<div class="main-head">
<h2 class="hn"><span><?php echo $forum_page['own_profile'] ? $lang_profile['Change your password'] : sprintf($lang_profile['Change user password'], forum_htmlencode($user['username'])) ?></span></h2>
</div>
<div class="main-content main-frm">
<?php
// If there were any errors, show them
if (!empty($errors))
{
$forum_page['errors'] = array();
foreach ($errors as $cur_error)
$forum_page['errors'][] = '<li class="warn"><span>'.$cur_error.'</span></li>';
($hook = get_hook('pf_subscribeg_pre_errors')) ? eval($hook) : null;
?>
<div class="ct-box error-box">
<h2 class="warn hn"><?php echo $lang_profile['Change pass errors'] ?></h2>
<ul class="error-list">
<?php echo implode("\n\t\t\t\t", $forum_page['errors'])."\n" ?>
</ul>
</div>
<?php
}
?>
<div id="my_content">My content</div>
</div>
<?php
($hook = get_hook('pf_subscribeg_end')) ? eval($hook) : null;
$tpl_temp = forum_trim(ob_get_contents());
$tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);
ob_end_clean();
// END SUBST - <!-- forum_main -->
require FORUM_ROOT.'footer.php';
}
But have error:
Bad request. The link you followed is incorrect or outdated.
I added "subscribeg" in "forum_urls.php" to all folders in folder "forums/include/url":
include/url/Default/forum_urls.php
'subscribeg' => 'profile.php?action=subscribeg',
include/url/File_based/forum_urls.php
'subscribeg' => 'subscribeg.html',
File_based_(fancy)
'subscribeg' => 'subscribeg.html',
Folder_based
'subscribeg' => 'subscribeg/',
Folder_based_(fancy)
'subscribeg' => 'subscribeg/',
Wich error i did?
3 2012-04-25 13:06
Re: [Theme release]Urban (71 replies, posted in PunBB 1.4 additions)
thanks a lot. Don't know about this)))
4 2012-04-25 12:44
Re: [Theme release]Urban (71 replies, posted in PunBB 1.4 additions)
i installing this theme. It's great. But i have not images in bbcode panel. Only defaults buttons. Installed BBCode buttons 1.4.18 from official site.
http://s004.radikal.ru/i206/1204/7a/683b316b4af2.png why?