Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 133,833
» Latest member: Thesapphire
» Forum threads: 176,958
» Forum posts: 1,239,726

Full Statistics

Latest Threads
how do i remove this from...
Forum: Theme Support
Last Post: Laird
43 minutes ago
» Replies: 1
» Views: 33
Incorrect jump to anchor
Forum: General Support
Last Post: Feathertail
58 minutes ago
» Replies: 2
» Views: 84
ERROR
Forum: Merge System Support
Last Post: skinmi
1 hour ago
» Replies: 0
» Views: 3
Select all in [code] and ...
Forum: Tutorials
Last Post: Joey_Pham423
2 hours ago
» Replies: 46
» Views: 44,184
Copy PHP CODE
Forum: Plugin Releases
Last Post: Joey_Pham423
3 hours ago
» Replies: 5
» Views: 722
Captcha Problem Not Showi...
Forum: General Support
Last Post: wshl
11 hours ago
» Replies: 0
» Views: 143
YouTube Shorts URLs
Forum: General Support
Last Post: Omar G.
Yesterday, 09:10 PM
» Replies: 3
» Views: 7,566
InPlayTracker plugin Issu...
Forum: Plugin Support
Last Post: Omar G.
Yesterday, 09:03 PM
» Replies: 5
» Views: 389
What can I do with MyBB E...
Forum: General Support
Last Post: Omar G.
Yesterday, 08:53 PM
» Replies: 7
» Views: 1,238
Newpoints shop?
Forum: Plugin Support
Last Post: Omar G.
Yesterday, 08:33 PM
» Replies: 1
» Views: 51

 
  ACP not accessible. What should I try next? *Resolved*
Posted by: Reserector - 2010-08-31, 04:21 AM - Forum: 1.6 General Support - Replies (2)

Before the upgrade, I removed some of the folders and files for various reasons. I removed the portal.php so that my pro portal would not get messed up. That worked like a charm. I also removed some of the image folders to save time and not overwrite my custom images.

After the install, the board works fine, but needs some template tweaking. The trouble is that only some of my AdminCP functions. Most of the options in the index on the left do not work. The tabs mostly work, such as to bring up the Configuration menu, but when I try to click on the option to turn off the board, I get a blank screen.
It will not go to the Templates screen. It just reverts to the home page of the AdminCP.

What files and/or folders should I try to overwrite? I have tried several to no avail. Blush

http://southernskater.com
user: tester
Pass: mybbtester

Print this item

  problem locking page to usergroups
Posted by: APag96 - 2010-08-31, 03:05 AM - Forum: 1.6 General Support - Replies (4)

I am using the Page Manager plugin to create a banned users page.
I was able to get it working just fine. Now I only want to allow Admins, Mods, and Super-Mods to view the page. I added some validation code and now I keep getting the "You do not have permission to access this page..." error. I am logged in as an Admin. I see no problems with the code...

Here is my code:

<?php

global $headerinclude, $header, $theme, $footer, $lang;

if($mybb->user['usergroup'] != "4" || $mybb->user['usergroup'] != "3" || $mybb->user['usergroup'] != "6")
{
error_no_permission();
} 


$lang->load('modcp');

$bannedquery = $db->simple_select("banned", "uid, admin, reason, dateline, lifted", "", array("order_by" => 'dateline', "order_dir" => 'DESC'));

if ($db->num_rows($bannedquery) > 0)
{
	$bannedtablerows = "";
	while ($ban = $db->fetch_array($bannedquery))
	{
		$banneduser = get_user($ban['uid']);
		$banby = get_user($ban['admin']);

		if ($ban['lifted'] > 0)
			$unbandate = my_date($mybb->settings['dateformat'], $ban['lifted']);
		else
			$unbandate = $lang->never;

		$bannedtablerows .= '<tr>
		<td class="trow1">'. build_profile_link($banneduser['username'], $banneduser['uid']). '</td>
		<td class="trow1">'. $ban['reason']. '</td>
		<td class="trow1">'. build_profile_link($banby['username'], $banby['uid']). '</td>
		<td class="trow1">'. my_date($mybb->settings['dateformat'], $ban['dateline']) .'</td>
		<td class="trow1">'. $unbandate .'</td>
		</tr>';
	}
}
else
{
	$bannedtablerows = '<tr><td class="trow1" colspan="5" align="center">'. $lang->no_banned .'</td></tr>';
}

$template='<html>
<head>
<title>'.$pages['name'].'</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr><td class="thead" colspan="5"><strong>{$lang->ban_banned}</strong></td></tr>
<tr>
<td class="tcat"><span class="smalltext"><strong>{$lang->username}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->reason}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->ban_bannedby}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->start_date}</strong></span></td>
<td class="tcat"><span class="smalltext"><strong>{$lang->end_date}</strong></span></td>
</tr>
{$bannedtablerows}
</table>
{$footer}
</body>
</html>';

$template=str_replace("\'", "'", addslashes($template));

add_breadcrumb($pages['name']);

eval("\$page=\"".$template."\";");

output_page($page);

?>

Could someone help me out here. There is simply something wrong with the if...then loop. 400+ views and not ONE comment. Wow...

Print this item

  Change post bit colour?
Posted by: SamHF - 2010-08-31, 02:56 AM - Forum: 1.6 General Support - Replies (2)

Can someone tell me the template I must edit to change the colour of the box the post content appears in?

[Image: posto.png]


Print this item

  "Access Denied"
Posted by: Zash - 2010-08-31, 02:54 AM - Forum: 1.6 General Support - Replies (13)

This forum is hosted on my server, and it's getting an error that I can't seem to figure out. When accessing any page in the root directory (index.php, showthread.php, etc.) it simply gives the message "Access Denied".

When accessing folders, like /admin/ or /images/ everything works fine. Nothing on the server seems to be causing the problem.

This is what the page is returning:

X-Powered-By: PHP/5.2.11
Set-Cookie: mybb[lastvisit]=1283223618; expires=Wed, 31-Aug-2011 03:00:18 GMT; path=/; domain=.sextoychat.com
Set-Cookie: mybb[lastactive]=1283223618; expires=Wed, 31-Aug-2011 03:00:18 GMT; path=/; domain=.sextoychat.com
Set-Cookie: sid=b802c071b5f7bd82523e2d45df296d22; path=/; domain=.sextoychat.com; HttpOnly
Content-type: text/html

Access Denied



The website (Once it is back online, it is potentially NSFW so warning): sextoychat.com


In addition, in the Admin CP User Management --> Edit User

The tab "Account Settings" gives access denied while Avatar, Signature, and Mod Options doesn't return anything.

Print this item

  Group Moderators?
Posted by: SamHF - 2010-08-31, 02:40 AM - Forum: 1.6 General Support - Replies (1)

Is there anyway I can set a certain group to moderator specific forums?

For example I want me reviewers group to moderate the submissions section, approve posts etc...

Thanks in advance,

~ SamHF

Print this item

  [close] fixed problem
Posted by: articman - 2010-08-31, 12:37 AM - Forum: 1.6 General Support - Replies (5)

Fixed problem

Print this item

  Help! I Messed Up My Headerinclude!
Posted by: IdiotDomainer - 2010-08-30, 11:15 PM - Forum: 1.6 General Support - Replies (7)

Hi Guys,

I really messed up my headerinclude and now my site is gone Sad

I had noticed that my meta description and keywords were listed twice so I went into my headerinclude and deleted the extra set and then bam my site was gone.

I thought all i deleted was this-
{$mmt_description
{$mmt_keywords

But I don't know what i did.

Here is what my headerinclude looks like now.
   

Any suggestions?

Thanks

Print this item

  My forum look funny when from outside
Posted by: chong67 - 2010-08-30, 11:14 PM - Forum: 1.6 General Support - Replies (10)

I just install MyBB on my computer.

It looks fine doing it on the computer itself.

When I go to my other computer (in LAN) and go this forum, it is half working with no graphic and some things are missing.

See screenshot.

I cant figure it out.



Attached Files Thumbnail(s)
   
Print this item

  Add custom fields in postbit
Posted by: Trinit - 2010-08-30, 10:08 PM - Forum: 1.6 General Support - Replies (2)

Hello there, I need to add:
- Location;
- Date of birth.
In my postbit. How could I do it?

Print this item

  How to change attatchment upload limit ?
Posted by: james12 - 2010-08-30, 09:26 PM - Forum: 1.6 General Support - Replies (5)

By default it is 500KB, but I have rar files which I want to upload in attatchments and also it will be good for subscribers if the upload limit is increased.

So how to increase it for one file?

Print this item