2007-08-31, 02:03 PM
2007-10-14, 01:15 AM
I'm getting a fatal error:
Fatal error: Call to undefined function is_banned_ip() in /home/ptn/public_html/faux/global.php on line 357
Help??
Fatal error: Call to undefined function is_banned_ip() in /home/ptn/public_html/faux/global.php on line 357
Help??
2007-10-14, 09:08 AM
2007-11-21, 06:10 PM
plz help me...
when i want to go to a topic this ereor is showing
Parse error: syntax error, unexpected T_VARIABLE, expecting '}' in /home/mahdy202/public_html/itf/showthread.php(825) : eval()'d code on line 1
Warning: Cannot modify header information - headers already sent by (output started at /home/mahdy202/public_html/itf/showthread.php(825) : eval()'d code:1) in /home/mahdy202/public_html/itf/inc/functions.php on line 86
my forum: http://www.iranian-it.net/itf/index.php
when i want to go to a topic this ereor is showing
Parse error: syntax error, unexpected T_VARIABLE, expecting '}' in /home/mahdy202/public_html/itf/showthread.php(825) : eval()'d code on line 1
Warning: Cannot modify header information - headers already sent by (output started at /home/mahdy202/public_html/itf/showthread.php(825) : eval()'d code:1) in /home/mahdy202/public_html/itf/inc/functions.php on line 86
my forum: http://www.iranian-it.net/itf/index.php
2007-12-15, 03:32 PM
A new version of functions.php has been added to post#71 to work with MyBB 1.2.10.
A new versino of functions.php has been added to post #120 to work with 1.2.12.
Please note that other necessary changes (from the first post) include those from:
Post #119 and Post #95
EDIT 18/01/08: Please note that the link above has been changed to post #120 by PsX2X.
A new versino of functions.php has been added to post #120 to work with 1.2.12.
Please note that other necessary changes (from the first post) include those from:
Post #119 and Post #95
EDIT 18/01/08: Please note that the link above has been changed to post #120 by PsX2X.
2007-12-20, 11:00 PM
Hmmm I can't show up the GO button by any means....may be some of my silly mistake....btw any help would be great....
this is my welcome_block_member.....I do use it differently to suit my theme....anyway the go button is not there but it works with the "enter"
Will wait for any good responces.
<span style="float:right;">{$lang->welcome_current_time}</span>
{$lang->welcome_back} (<a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a>{$admincplink} — <a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}">{$lang->welcome_logout}</a>)<br />
<span class="links">
<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 170, 300);">{$lang->welcome_open_buddy_list}</a>
</span>
<a href="#" id="forumstats"><strong>Forum Stats</strong></a></span>
<script type="text/javascript">
document.write("<div id=\"forumstats_popup\" class=\"popup_menu\" style=\"display: none;\"><div class=\"tcat\" style=\"padding:2px;\"><strong>Forum Stats<\/strong><\/div><div class=\"popup_item_container\"><a href=\"stats.php\" class=\"popup_item\">Full Statistics<\/a><\/div><div class=\"popup_item_container\"><a href=\"search.php?action=getnew\" class=\"popup_item\">View New Posts<\/a><\/div><div class=\"popup_item_container\"><a href=\"showteam.php\" class=\"popup_item\">Forum Team<\/a><\/div><\/div>");
new PopupMenu("forumstats");
</script> | <a href="#" id="pms"><strong>Private Message</strong></a></span>
<script type="text/javascript">
document.write("<div id=\"pms_popup\" class=\"popup_menu\" style=\"display: none;\"><div class=\"tcat\" style=\"padding:2px;\"><strong>PMs<\/strong><\/div><div class=\"popup_item_container\"><a href=\"private.php?fid=1\" class=\"popup_item\">Inbox<\/a><\/div><div class=\"popup_item_container\"><a href=\"private.php?fid=2\" class=\"popup_item\">Sent Items<\/a><\/div><div class=\"popup_item_container\"><a href=\"private.php?fid=3\" class=\"popup_item\">Drafts<\/a><\/div><div class=\"popup_item_container\"><a href=\"private.php?fid=4\" class=\"popup_item\">Trash Can<\/a><\/div><div class=\"popup_item_container\"><a href=\"private.php?action=send\" class=\"popup_item\">Compose PM<\/a><\/div><\/div>");
new PopupMenu("pms");
</script>
{$lang->welcome_pms_usage}
| <a href="search.php" id="search" onclick="return openMenu(this)" class="popup_button">search<img src="images/popup_down.gif" border="0" /></a>
<!-- header quick search form -->
<div class="menupop" id="search-popup" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="tcat">Search</td>
</tr>
<tr>
<td class="row1">
<form method="post" action="$settings[bburl]/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" name="keywords" value="" />
{$gobutton}
</td>
</tr>
<tr>
<td class="menu_row"><a href="search.php">Advanced Search</a></td>
</tr>
</table>
</div></form>
<!-- / header quick search form -->
| <a href="usercp.php" id="usercp" onclick="return openMenu(this)" class="popup_button">User CP<img src="images/popup_down.gif" border="0" /></a>
<!-- user cp tools menu -->
<div class="menupop" id="usercp-popup" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="tcat">Quick Links</td></tr>
<tr><td class="menu_row" ><a href="search.php?action=getnew"><font color="black">View New Posts</a></td></tr></font>
<tr><td class="menu_row"><a href="misc.php?action=markread"><font color="black">Mark All Forums Read</a></td></tr></font>
<tr><td class="menu_row"><a href="misc.php?action=buddypopup"><font color="black">Body/Ignore List</a></td></tr></font>
<tr><td class="tcat"><a href="usercp.php">User CP</a></td></tr>
<tr><td class="menu_row"><a href="usercp.php?action=editsig"><font color="black">Change Signature</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=avatar"><font color="black">Change Avatar</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=profile"><font color="black">Edit Profile</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=options"><font color="black">Edit Options</a></td></tr></font>
<tr><td class="tcat">Miscellaneous</td></tr>
<tr><td class="menu_row"> <a href="private.php"><font color="black">Private Messages</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=subscriptions"><font color="black">Subscribed Threads</a></td></tr></font>
<tr><td class="menu_row"><a href="member.php?action=profile&uid={$mybb->user['uid']}"><font color="black">View Profile</a></td></tr></font>
<tr><td class="menu_row"><a href="http://www.dotnxt.com/forum/forumdisplay.php?fid=136"><font color="black">DotTUBE</a></td></tr></font>
<tr><td class="menu_row"><a href="http://www.dotnxt.com/forum/forumdisplay.php?fid=134"><font color="black">Where You Are?</a></td></tr></font>
</table>
</div>
this is my welcome_block_member.....I do use it differently to suit my theme....anyway the go button is not there but it works with the "enter"
Will wait for any good responces.
2007-12-21, 08:50 AM
For some unknown reason the changes I made by following step by step from this thread caused me as eerie problem.....after this all the "post reply" & "preview" buttons were going only to search!!!!
So I had to revert the templates back to my original one before...
So I had to revert the templates back to my original one before...
2007-12-27, 12:29 AM
@Hime: Sorry to read about your predicament. I have to admit the changes that I've posted are geared towards the Black Rose theme (and I should have emphasised this point before) Have you had more luck with the changes since then?
2008-01-07, 06:36 PM
The logout link has changed again slightly (cant' remember when ^^) so if you have a problem logging out when using the Condition and vbnavbar link, please open up the header template, and find:
or if you made the 'session' edit from post #90
and replace with
With thanks to post by Paretje
<if condition=$mybb->user['uid']> 0 <then>
<td class="tcat" align="center"> <a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}" onclick="return log_out()"><b>$lang->welcome_logout</b></a></td><else /></if>
or if you made the 'session' edit from post #90
<if condition=$mybb->user['uid']> 0 <then>
<td class="tcat" align="center"> <a href="{$mybb->settings['bburl']}/member.php?action=logout&uid={$mybb->user['uid']}&sid={$session->sid}" onclick="return log_out()"><b>$lang->welcome_logout</b></a></td><else /></if>
and replace with
<if condition=$mybb->user['uid']> 0 <then>
<td class="tcat" align="center"><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></td><else /></if>
With thanks to post by Paretje
2008-01-21, 03:18 PM
Since update 1.2.12, the vb navbar is again not working, because there were wade changes on the functions.php. Can someone please upload a fixed one which is working with the update 1.2.12? Or maybe post the code changes, that would be easier, so we could make the changes on our own with every new functions.php...
EDIT: oki, I've found the changes, the modified functions.php is attached
EDIT: oki, I've found the changes, the modified functions.php is attached
