[2.0.20] rEd bar 2

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
27
84%
Very Good
5
16%
Good
0
No votes
Fair
0
No votes
Poor
0
No votes
 
Total votes: 32

inayan
Registered User
Posts: 41
Joined: Fri Apr 13, 2007 9:25 pm
Location: Knoxville, TN

Re: [2.0.20] rEd bar 2

Post by inayan »

Brilliant - thanks yet again cherokee red! 8)
fldodger
Registered User
Posts: 10
Joined: Wed Apr 04, 2007 10:03 am

Re: [2.0.20] rEd bar 2

Post by fldodger »

Just want to say thanks. It was a very easy Install.
fldodger
Registered User
Posts: 10
Joined: Wed Apr 04, 2007 10:03 am

Re: [2.0.20] rEd bar 2

Post by fldodger »

I have added image to the bar. But now I have color outlines arround them.( blue or purlpe. They start out one color you click them and they turn another)
see here http://www.motomodding.us

Is there a way to get rid of them?( the color outline)

Thanks for any and all help.
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: [2.0.20] rEd bar 2

Post by stickerboy »

Hey, very simple.
All you nneed to do is add border="0" to the img code :)
Then the border should dissapear 8)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
User avatar
xmenfile
Registered User
Posts: 163
Joined: Sun Apr 22, 2007 10:32 pm

Re: [2.0.20] rEd bar 2

Post by xmenfile »

perfect!!! I love it, but I would like more links. Can anyone show me know to create more than 10? I appreciate it :D
User avatar
xmenfile
Registered User
Posts: 163
Joined: Sun Apr 22, 2007 10:32 pm

Re: [2.0.20] rEd bar 2

Post by xmenfile »

anyone? please help
User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: [2.0.20] rEd bar 2

Post by stickerboy »

Hi, sorry for not getting back quicker.
Adding new links is pretty simple, but not as simple as i'd like it to be.
It's basically a case of duplicating the code.

Below i've detailed the code to add 1 more link.
Should be clear how to add more after that :)

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/page_header.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   'NAV_NAME10' => $board_config['nav_name10'], 
   'NAV_LINK10' => $board_config['nav_link10'], 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
   'NAV_NAME11' => $board_config['nav_name11'], 
   'NAV_LINK11' => $board_config['nav_link11'], 

# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_admin.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['nav_link1'] = "Link 1:   "; 

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
$lang['nav_link11'] = "Link 11:   "; 

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['nav_link10'] = "Link 10:   "; 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$lang['nav_link10'] = "Link 11:   "; 

# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/overall_header.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
      | <a href="{NAV_LINK10}" class="genmed">{NAV_NAME10}</a> 
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
      | <a href="{NAV_LINK11}" class="genmed">{NAV_NAME11}</a> 
# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/overall_footer.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
      | <a href="{NAV_LINK10}" class="genmed">{NAV_NAME10}</a> 
# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
      | <a href="{NAV_LINK10}" class="genmed">{NAV_NAME11}</a> 
# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/admin_redbar.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
          'L_10' => $lang['nav_name10'], 
          'L_LINK10' => $lang['nav_link10'], 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
          'L_11' => $lang['nav_name11'], 
          'L_LINK11' => $lang['nav_link11'], 

# 
#-----[ FIND ]------------------------------------------ 
# 
          'NAV_LINK10' => $new['nav_link10'], 
          'NAV_NAME10' => $new['nav_name10'],

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
          'NAV_LINK11' => $new['nav_link11'], 
          'NAV_NAME11' => $new['nav_name11'],

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['nav_link10'] = "Link 10: &nbsp;&nbsp;"; 

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
$lang['nav_link11'] = "Link 11: &nbsp;&nbsp;"; 

# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/admin/admin_redbar.tpl 
# 
#-----[ FIND ]------------------------------------------ 
# 
   <tr> 
      <td class="row1">{L_10}</td> 
      <td class="row2"><input class="post" type="text" name="nav_name10" value="{NAV_NAME10}" size="45" maxlength="160" /></td> 
   </tr> 
   <tr> 
      <td class="row1">{L_LINK10}</td> 
      <td class="row2"><input class="post" type="text" size="45" maxlength="160" name="nav_link10" value="{NAV_LINK10}" /></td> 
   </tr>
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
   <tr> 
      <td class="row1">{L_11}</td> 
      <td class="row2"><input class="post" type="text" name="nav_name11" value="{NAV_NAME11}" size="45" maxlength="160" /></td> 
   </tr> 
   <tr> 
      <td class="row1">{L_LINK11}</td> 
      <td class="row2"><input class="post" type="text" size="45" maxlength="160" name="nav_link11" value="{NAV_LINK11}" /></td> 
   </tr>
Now you also need to update your database as well. Here's the SQL code for that

Code: Select all

INSERT INTO phpbb_config (config_name, config_value)
 VALUES ('nav_name11', 'link 11'); 
INSERT INTO phpbb_config (config_name, config_value)
 VALUES ('nav_link11', 'http://'); 
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red
User avatar
xmenfile
Registered User
Posts: 163
Joined: Sun Apr 22, 2007 10:32 pm

Re: [2.0.20] rEd bar 2

Post by xmenfile »

No worry, thank you for your respond.

Let me try it.
dogvetusa
Registered User
Posts: 5
Joined: Mon Feb 28, 2005 7:20 pm
Contact:

Re: [2.0.20] rEd bar 2

Post by dogvetusa »

I find that this looks like the best designed modpage ever. I hate having to sift through 126 pages of posts to find a working demo or screenshot, this even though quite an old mod, has an excellently dedicated author who takes the time to see that people will start on the first page looking for info about the mod.

Thanks cherokee red, for knowing how to edit your previous posts.

as to the actual mod, it is late here and I will install it later, and even if the mod doesnt work at all I thank the author for taking the time to put relevent info (aka screenshot, demo) near the download link.

side note, while I am here...Has anyone ever requested the mod template thing that the modbot thing posts actually supplies a screenshot or two? it would be so nice and permenant to have the info just posted and (by extension) hosted on phpBB.com? just my two-and-a-half cents.
NWCPNE1
Registered User
Posts: 222
Joined: Sat Feb 02, 2008 8:28 pm

Re: [2.0.20] rEd bar 2

Post by NWCPNE1 »

Wakey wakey Red lol. Just found this, installed it, worked first time, absolutely brilliant, adds the finishing touch to the forum. But, can I have it with the menu bar on its own back ground, instead of sharing the Background from the forum, I want the Text white and the Background Blue. www.nwcpnefc.co.uk/forum to see what I mean. Cheers David

PS, if you aint installed this yet, why not, it the best mod I come accross and the best instructions I come accross.
http://www.nwcpnefc.co.uk for PNE Fans in North Wales and Cheshire, but we welcome all, including fans from other clubs.
NWCPNE1
Registered User
Posts: 222
Joined: Sat Feb 02, 2008 8:28 pm

Re: [2.0.20] rEd bar 2

Post by NWCPNE1 »

Done it cheers its in Styles Admin
http://www.nwcpnefc.co.uk for PNE Fans in North Wales and Cheshire, but we welcome all, including fans from other clubs.
Post Reply

Return to “[2.0.x] MOD Database Releases”