REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
{$lang->postbit_posts}
#1
Hi,

Been modifying my forum postbit.

{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}
{$post['warninglevel']}<br />
System Specs: {system_specs}
My Awards:<!-- AWARDS -->

Where is all this stuff stored?
{system_specs} - it's a plugin
{$post['replink']}
etc?
Reply
#2
I think in all of the Language files that your copy of MyBB comes with by default. Try rummaging through those.
Reply
#3
I've searched through the MySpec language file but i can't find what im looking for.

Code:
<?php
/**
* MySpecs 1.0 English Lang File
* Copyright © 2009 Jesse Labrocca
*
*/

$l['sysname'] = "System Name: ";
$l['case'] = "Case: ";
$l['mobo'] = "Motherboard: ";
$l['harddrive'] = "Hard Drive(s): ";
$l['optical'] = "Optical Drive(s): ";
$l['memory'] = "Memory: ";
$l['power'] = "Power Supply: ";
$l['cool'] = "Coolant: ";
$l['display'] = "Display: ";
$l['speed'] = "ISP & Download Speed: ";
$l['keyboard'] = "Keyboard: ";
$l['mouse'] = "Mouse: ";
$l['nic'] = "Network Card: ";
$l['gpu'] = "Graphics Card: ";
$l['cpu'] = "CPU: ";
$l['os'] = "Operating System: ";
$l['sound'] = "Sound: ";
$l['save'] = "Save System Specs";
$l['title'] = "System Specs";
$l['describe'] = "Please enter your system specifications.";
?>
Reply
#4
By stuff do you mean templates?
Reply
#5
(May 20, 2011, 06:53 PM)CyberTechForums Wrote: By stuff do you mean templates?

IDK what the things in {} are called or where they are stored. I want to modify a few of them. Do you know where they are stored?
Reply
#6
Why do you need to modify them? You're not exactly giving us enough information.
Reply
#7
Do you need to modify the templates or what is held in the templates?
Say for the System Specs, do you need to change the what it looks, or do you need to change what your system specs are?

As for the language files, if you want to replace something just for your site, then you might aswell just delete the language variable and type in what you want in its place.
Otherwise your going to have to find the language file and change what the language variable relates to.
Reply
#8
[Image: ss20110521215240.png] I want to modify the way it looks as it isn't right as you can see from the picture.
Reply
#9
Ah. You don't need to edit the lang file. Just go to the template "Postbit_author_user" and add a "<br />" in between My awards:<!--AWARDS--> and {system_specs}
Reply
#10
I also added MySpecs next to the computer because it looks a bit lonely on its own
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  inc/languages/englishgb/admin/style_editorthemes.lang.php does not exist PianoMike 2 1,491 Aug 29, 2013, 07:14 PM
Last Post: mathewscott
  /admin/additionalimg.lang.php does not exist Project 3 1,511 Sep 19, 2011, 09:15 AM
Last Post: Oliver Evans
  lang files paul-am 3 1,614 Dec 20, 2008, 09:36 AM
Last Post: paul-am

Forum Jump:


Users browsing this thread: 1 Guest(s)