Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Location code for a few tweeks? (Read 4239 times)
Citron
New Member
*
Offline


I Love YaBB 2!

Posts: 22
Joined: Dec 17th, 2010
Location code for a few tweeks?
Dec 22nd, 2010 at 3:48pm
Print Post  
I am trying to remove the orange color when I click on: "Home/Help/search...

How do I get my Board title to stay inside the border (my Board title called "Geek Speak / Technology" is venturing outside the border.

How can I change the title of "UserCP" to "User Settings"?
  
Back to top
 
IP Logged
 
Citron
New Member
*
Offline


I Love YaBB 2!

Posts: 22
Joined: Dec 17th, 2010
Re: Location code for a few tweeks?
Reply #1 - Dec 22nd, 2010 at 4:01pm
Print Post  
Whoops, forgot site, www.share-hub.com.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Location code for a few tweeks?
Reply #2 - Dec 22nd, 2010 at 8:42pm
Print Post  
Citron wrote on Dec 22nd, 2010 at 3:48pm:
I am trying to remove the orange color when I click on: "Home/Help/search...

See this in the CSS file:

Code
Select All
.tabmenu span.selected {
	font-weight: normal;
	background-color: #ff6600;
	background-image: url(./fire_n_ice/tab_selected211.png);
	background-repeat: repeat-x;
} 


Citron wrote on Dec 22nd, 2010 at 3:48pm:
How do I get my Board title to stay inside the border (my Board title called "Geek Speak / Technology" is venturing outside the border.

I had absolutely no idea where you'd got that Board Index from then because it's not included in the 2.5 template, but I see you're using the one included in the 2.2 version. Anyway, changing the widths here in BoardIndex.template should do it:

Code
Select All
    <td class="ltabtitle" width="15%" height="25" valign="middle">
        &nbsp; {yabb catlink} &nbsp;
    </td>


    <td class="tabtitle" width="55%" height="25" valign="left">
        &nbsp; &nbsp;
    </td> 


Citron wrote on Dec 22nd, 2010 at 3:48pm:
How can I change the title of "UserCP" to "User Settings"?

You can change it in Languages/English/Menu.lng:

Code
Select All
'mycenter' => "User CP", 

  
Back to top
 
IP Logged
 
Citron
New Member
*
Offline


I Love YaBB 2!

Posts: 22
Joined: Dec 17th, 2010
Re: Location code for a few tweeks?
Reply #3 - Dec 22nd, 2010 at 11:01pm
Print Post  
Every other tweek worked great except for changing the BoardIndex width. It put my board title inside the board bar but, slowly pushes the "Topics/Posts/Last Post over to the right even if I adjust the parameters by 1% (see attached screenshot).
  

BoardIndex.doc ( 144 KB | 24 Downloads )
Back to top
 
IP Logged
 
Citron
New Member
*
Offline


I Love YaBB 2!

Posts: 22
Joined: Dec 17th, 2010
Re: Location code for a few tweeks?
Reply #4 - Dec 22nd, 2010 at 11:05pm
Print Post  
Here is my boardindex.template code if that helps.
  

BI.txt ( 7 KB | 26 Downloads )
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Location code for a few tweeks?
Reply #5 - Dec 22nd, 2010 at 11:07pm
Print Post  
Sorry, I can't view word documents on my Mac - A screenshot and the code changes you made would help me more. I don't have the template installed, so I'm just taking an (un)educated guess... Smiley
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Location code for a few tweeks?
Reply #6 - Dec 22nd, 2010 at 11:09pm
Print Post  
Citron wrote on Dec 22nd, 2010 at 11:05pm:
Here is my boardindex.template code if that helps.

Try the first one at 55% and the other at 15%. Again, I haven't installed it to test, but can't see why it wouldn't work...
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Location code for a few tweeks?
Reply #7 - Dec 22nd, 2010 at 11:15pm
Print Post  
Citron wrote on Dec 22nd, 2010 at 11:01pm:
but, slowly pushes the "Topics/Posts/Last Post over to the right

Oh yeah, of cause. To be honest though, you shouldn't even be using that BoardIndex.template. It isn't included in the release that CJ has made. The only template file that should be in the template directory is 'fire_n_ice.html' - all the rest are for older versions...
  
Back to top
 
IP Logged
 
Citron
New Member
*
Offline


I Love YaBB 2!

Posts: 22
Joined: Dec 17th, 2010
Re: Location code for a few tweeks?
Reply #8 - Dec 22nd, 2010 at 11:19pm
Print Post  
That worked! Thanks.  Smiley
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Location code for a few tweeks?
Reply #9 - Dec 22nd, 2010 at 11:27pm
Print Post  
Citron wrote on Dec 22nd, 2010 at 11:19pm:
That worked! Thanks.

Great! You confused me then. I am the first to admit that I am easily confused, but you seem to make me worse - he he!

Glad you sussed it anyway, and you're very welcome! Smiley
  
Back to top
 
IP Logged
 
Citron
New Member
*
Offline


I Love YaBB 2!

Posts: 22
Joined: Dec 17th, 2010
Re: Location code for a few tweeks?
Reply #10 - Dec 22nd, 2010 at 11:55pm
Print Post  
I don't understand. I downloaded the zip which only had the html. How did those get integrated in with fire n ice i.e they have the fire n ice title before each template (boardindex/messageindex/display). Also, if I don't choose the fire n ice  for each drop down inside admin center/forum layout/template config, will it mix/match everything?

I'm not sure why fire n ice doesn't require the extra templates whereas default and yabb21 does? Do I need to delete these files out of my directory?

  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Location code for a few tweeks?
Reply #11 - Dec 23rd, 2010 at 12:11am
Print Post  
I didn't update the template or have even installed it, so you are best off asking CJ for what changes he's made in the update. But, if you uploaded the new template on top of the old one, then those files were still there because there was nothing to overwrite them with (I presume - If I've got you right).

But, the way that the template system works, is that you don't actually need every template file - For example, with the Fire 'n' Ice template, you only need the .html file, CSS file and images directory and in Template Configuration select the default template files for the rest (I think) - Have a read of this - it is for an older version of YaBB but is still the same concept (apart from the .cfg file) and I'm pretty sure there must be plenty of documentation in the YaBB Codex.

http://www.boardmod.org/yabb2/YaBB.pl?num=1105417484

Sorry if that was a bit of a quick explanation, but as I've just said to my good friend Batchman, if I don't start to spend a little time with my 'real family' as opposed to my 'YaBB family' over Christmas, then I will literally be killed...

Have a play about with things anyway. It's worth installing a test board to test things on... It's fun, and should be fun... So, have a good look around and a good experiment, and most importantly, enjoy it, and enjoy YaBB. Smiley
« Last Edit: Dec 23rd, 2010 at 1:38pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint