MyBB Community Forums

Full Version: I Have a few questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I just set up a fresh copy of mybb and need some help please.

How can I increase the charters in the subject line?
How can I remove the subject title out of the message body on the forum?
How can I remove "re" from PM's?
How can set my forum to make all text bold when someone post a new topic or reply?


Thank You!
(2012-10-11, 10:06 PM)dj83 Wrote: [ -> ]Hello,

Hi

(2012-10-11, 10:06 PM)dj83 Wrote: [ -> ]I just set up a fresh copy of mybb and need some help please.

Sure.

(2012-10-11, 10:06 PM)dj83 Wrote: [ -> ]How can I increase the charters in the subject line?

Do you mean characters?

(2012-10-11, 10:06 PM)dj83 Wrote: [ -> ]How can I remove the subject title out of the message body on the forum?

Admin Control Panel -> Templates & Style -> Templates -> [Your theme name] -> Post Bit Templates -> postbit template

Comment out this line (or delete it):

<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>

(2012-10-11, 10:06 PM)dj83 Wrote: [ -> ]How can I remove "re" from PM's?

It would require a core edit.

In private.php find this:

elseif($mybb->input['do'] == 'reply')
			{
				$subject = "Re: $subject";
				$uid = $pm['fromid'];
				if($mybb->user['uid'] == $uid)
				{
					$to = $mybb->user['username'];
				}
				else
				{
					$query = $db->simple_select('users', 'username', "uid='{$uid}'");
					$to = $db->fetch_field($query, 'username');
				}
				$to = htmlspecialchars_uni($to);
			}

and change it to this:

elseif($mybb->input['do'] == 'reply')
			{
				//$subject = "Re: $subject";
				$uid = $pm['fromid'];
				if($mybb->user['uid'] == $uid)
				{
					$to = $mybb->user['username'];
				}
				else
				{
					$query = $db->simple_select('users', 'username', "uid='{$uid}'");
					$to = $db->fetch_field($query, 'username');
				}
				$to = htmlspecialchars_uni($to);
			}

(2012-10-11, 10:06 PM)dj83 Wrote: [ -> ]How can set my forum to make all text bold when someone post a new topic or reply?

Admin CP -> Templates & Style -> your theme -> global.css -> Edit Stylesheet: Advanced Mode (Full Edit)

find

.post_body {
	padding: 5px;
}

(the contents between the brackets {} may be different)

and add this line:

font-weight: bold;

But I really would suggest you think this one through. Terrible idea . . .

(2012-10-11, 10:06 PM)dj83 Wrote: [ -> ]Thank You!

You're welcome.
Wow thanks so much. I meant characters in that first question and I need help with that if possible!

Also instead of starting a new post... does anyone know how to get this mod to work with the latest mybb version. url: http://mods.mybb.com/view/user-quickmenu-in-postbit

sorry for asking so many questions but I have a few more...

Polls
1. How can I hide how many max options a poll can have?
2. How can I check that box to automatically create polls in some forums
3. How can I increase the amount of default options for a poll? right now it's set at two.
-------------------------------------
Forum & Postbit
1. How do I change the join date from Oct 2012 to October 11, 2012?
Okay I was being nice the first time, but now you will receive 'The Search Speech':

Some of your first questions I knew from experience but a couple of them I just searched for and found (within seconds). No disrespect intended, but if I can do that then so can you.

For example search google

Quote:mybb how many max options can a poll have

and you find this: http://community.mybb.com/thread-87023.html

A thread that tells you
  1. the limit is 10
  2. how to change it

I hope this helps Smile