MyBB Community Forums

Full Version: Remove the > next to the thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey guys umm i need to remove the Arrow [Image: jump.gif] next to each new thread in the list.

and also umm !! how can i rename the stiky threads from" important threads" to "Sticky"
and one last favor :$ how to remove the GROUP , bellow the avatar in rach post Smile
thanksSmile
2. go to inc\languages\english and open forumdisplay.lang.php
Find:
$l['sticky_threads'] = "Important Threads";

Replace:
$l['sticky_threads'] = "Sticky";

3. Go to Admin CP -> templates -> edit/delete -> *your template name* -> postbit -> find the group and delete it (sorry my server is off so i don't know exactly what it says)
ok hey thx crakter but i still have the 1st question ananswered Confused pls reply Smile
Wink Since my server isen't up yet I can't really try it out. I'll answer you when It's up again.
ok thanks alotSmile i will be waitting plus , i really need to know how to add the Age to the Postbit instead of the Group, i know how to add custom fields [fid3] for exampleSmile

but hey i have another questin, in msghelp they have the sex symbols also in the postbit

thanks in advance Smile and waitting ur reply Smile
1. Admin CP -> templates -> edit/delete -> *your template name* -> Forum Display -> forumdisplay_thread_gotounread

Remove all in there.

And I did not get your last post.
thx for that,

well i was talking about the postbit, u know that u can add the custom profile fields to there right ? so umm it worked with me,

but i need to add the AGE, which is not a custom one, and i also want to chage the Sex from words MALE FEMAL.... to Symboles, just like in msghelp.net

thanks in advance
Hehe. That involves php changing (I think), And I suck at php. Maybe someone else can help you.

But your welcommed for the other tips ^^
ok pls i want to add the age , to the postbitSmile

and pls read this Thread and answer me pls Smile
I once managed to add the age and sex to the postbits, but i seem to have lost the code for it. It's not really hard to do anyway.
This probably only works on Gold PR2. Open your adminCP, browse to Templates > Modify / Delete > *Template Set* > Post Bit Templates > postbit and find:
$lang->postbit_joined $post[userregdate]<br />
. Under it, add:
$agesex

Then open inc/functions_post.php and find:
if($post['avatar'] != "" && $mybb->user['showavatars'] != "no")
and right above it, add:
//Start: Age And Sex on Postbits by Smethead
		$sex = $db->fetch_array($db->query("SELECT fid3 FROM ".TABLE_PREFIX."userfields WHERE ufid='$post[uid]'"));
		if($sex[fid3] == "Male"){
			$sex = "Sex: <img src=\"images/male.gif\" alt=\"Male\">";
		}elseif($sex[fid3] == "Female"){
			$sex = "Sex: <img src=\"images/female.gif\" alt=\"Female\">";
		}elseif($sex[fid3] == "Other"){
			$sex = "Sex: <img src=\"images/othersex.gif\" alt=\"Other\">";
		}else{
			$sex = "";
		}
		if($post['birthday']){
			$membday = explode("-", $post['birthday']);
			$age = floor((time() - mktime(0, 0, 0, $membday[1], $membday[0], $membday[2])) / 31557600);
		}
		if($age){
			$age = "Age: ".$age;
		}
		if($sex == "" && $age == ""){
			$agesex = "";
		}elseif($sex == "" && $age != ""){
			$agesex = $age."<br />";
		}elseif($sex != "" && $age == ""){
			$agesex = $sex."<br />";
		}else{
			$agesex = $age.", ".$sex."<br />";
		}
		//End: Age And Sex on Postbits by Smethead
And then, all you have to do is upload thes three images to your forum/images directory.
Pages: 1 2