Welcome, Guest. Please Login or Register.
August 29, 2025, 06:11:38 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Editing the text for the text-based yaBB menu « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Editing the text for the text-based yaBB menu  (Read 281 times)
BlitzBoards
Noobie
*
Posts: 33


I'm a llama!

Editing the text for the text-based yaBB menu
« on: April 20, 2002, 07:27:45 AM »
Reply with quote

I've looked in the subs.php and can't seem to find a way to do this. How should one go about doing this? Thanks!
Logged
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Editing the text for the text-based yaBB menu
« Reply #1 on: April 20, 2002, 08:02:37 AM »
Reply with quote

Look in the language files all the text is in there:

If you look in English.lng towards the very end you'll find this:

if( $MenuType == 1 ) {
   $menusep = ' | ';
   $img['admin'] = $txt[2];
   $img['delete'] = $txt[31];
   $img['email'] = $txt[69];
   $img['email_sm'] = $txt[69];
   $img['help'] = $txt[119];
   $img['home'] = $txt[103];
   $img['im_config'] = $txt[323];
   $img['im_delete'] = $txt[412];
and so on

To change the text find the corresponding item.
E.g. $img['home'] is the home text so look for $txt[103] near the beginning of the file and edit that.

Hope that helps :)
Logged

You can't have everything... where would you put it? -- Steve Wright
BlitzBoards
Noobie
*
Posts: 33


I'm a llama!

Re:Editing the text for the text-based yaBB menu
« Reply #2 on: April 20, 2002, 03:15:05 PM »
Reply with quote

Thanks for the quick response.

Actually, I just noticed that making yabbmenu a text-based menu makes all of my other buttons (new topic, reply, etc) text-based as well. Is there any way to retain the text-based yabbmenu while having everything else as images?
Logged
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Editing the text for the text-based yaBB menu
« Reply #3 on: April 20, 2002, 03:31:31 PM »
Reply with quote

Simple the bit at the bottom has two parts...

1: Text stuff
   $img['admin'] = $txt[2];
   $img['delete'] = $txt[31];
   $img['email'] = $txt[69];
2: Image stuff
$img['admin'] = "<img src=\"$imagesdir/admin.gif\" alt=\"$txt[2]\" border=\"0\">";
$img['delete'] = "<img src=\"$imagesdir/delete.gif\" alt=\"$txt[121]\" border=\"0\">";
$img['email'] = "<img src=\"$imagesdir/email.gif\" alt=\"$txt[69]\" border=\"0\">";

Just copy what you want into the text stuff:
   $img['admin'] = $txt[2];
   $img['delete'] = "<img src=\"$imagesdir/delete.gif\" alt=\"$txt[121]\" border=\"0\">";
   $img['email'] = $txt[69];

i.e. when text based is enabled - admin and email buttons are text and delete is an image :)
Logged

You can't have everything... where would you put it? -- Steve Wright
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Editing the text for the text-based yaBB menu « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.029 seconds with 17 queries.