2
   

Please sir - how can i configure my new vanilla phpbb board?

 
 
zrock
 
  1  
Reply Wed 27 Aug, 2003 06:41 am
Thanks for the date formatting help.

I would like to change the panthers to the subBlack style, if it will work with what I have so far.
0 Replies
 
Craven de Kere
 
  1  
Reply Wed 27 Aug, 2003 08:54 am
If you change to subblack you need to isnpact all the class="something here" in fetch as the classes might be different between subsilver and subblack.

You will also have to point your images and stylesheet to the correct folder.
0 Replies
 
zrock
 
  1  
Reply Wed 27 Aug, 2003 10:48 am
I was able to change the style on the forum, but request clarification:

1. do I do the inspection in index.php and change "class=subSilver" to "class=SubBlack"?
2 How do I point my images and stylesheet to the correct folder?
0 Replies
 
Craven de Kere
 
  1  
Reply Wed 27 Aug, 2003 10:56 am
Not class="Subsilver" But maybe some of the classes in subsilver.css.

Look through the css file for the new style. Then see if every class that the fetch page referenced is in there. The fetch page has subsilver classes taht might not be the same name in your new style (unlikely but I have seen it)

For e.g. some styles do not have class="gen" so you'd have to substitute that with genmed or something.

But other than that you basically just need to replace the foldername of the SubSilver folder with the new style's folder throughout the fetch page.
0 Replies
 
zrock
 
  1  
Reply Wed 27 Aug, 2003 11:19 am
thank you, changes were successful - next up: find/create logo for panthers
0 Replies
 
Craven de Kere
 
  1  
Reply Wed 27 Aug, 2003 11:21 am
Good to hear. Keep me posted and let me know if you need anything.
0 Replies
 
zrock
 
  1  
Reply Thu 28 Aug, 2003 10:44 am
Craven,
I'm still working on content, but have 2 questions regarding making the sites more user friendly:

1. How can I add a link to the forums from the front page, and a link to the front page on the forums?

2. How can I automatically link the subject to the post (ie. DHS football history title on front page is automatically linked to t=19)?

Thanks
0 Replies
 
Craven de Kere
 
  1  
Reply Thu 28 Aug, 2003 03:29 pm
Where do you want the link?

As to the rest I will just release my version of the fetch code soon.
0 Replies
 
zrock
 
  1  
Reply Thu 28 Aug, 2003 04:17 pm
I would like the link on the top right side of the page, similar to the phpbb.com layout (where they have news-links-about- home) if possible.

I am looking forward to the release. I sincerely appreciate all of your help and thank you for your patience with me. I hope you have a great Labor Day weekend.
0 Replies
 
Craven de Kere
 
  1  
Reply Thu 28 Aug, 2003 04:19 pm
zrock,

First you will need an image to use for the forum and home links. Do you ahve those icons ready?
0 Replies
 
zrock
 
  1  
Reply Thu 28 Aug, 2003 04:20 pm
no, I don't have images ready. I will work on getting icons.
0 Replies
 
zrock
 
  1  
Reply Thu 4 Sep, 2003 04:04 pm
Hello Craven,
I am having a bit of trouble converting zrock to the fisubice theme. I believe my problem involves the overall header tpl, but I'm really not sure. Can you please take a peek I am close to getting it right, but could use some guidance. Thank you
0 Replies
 
Craven de Kere
 
  1  
Reply Thu 4 Sep, 2003 04:28 pm
I actually was looking at your site today and noticed the forums were fisubice.

Remember that I can't see your PHP code. PHP is parsed on the server side so I can't see it all from a link. It's better to post code (in the code box please).

Ok, this is what you need to do:

Replace

Code:<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">

<td align="left"><a href="http://www.zrock.com/"><img src="zforum/templates/fisubice/images/phpbb2_logo.jpg" border="0" alt="Zrock" vspace="1" align="left"/></a></td>

</table>
<table cellspacing="0" cellpadding="2" border="0">

<tr>

<td align="center" valign="top" ><span class="topnav"> 
<a href="zforum/faq.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="FAQ" hspace="3" />FAQ</a></span><span class="maintitle">   <a href="zforum/search.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="Search" hspace="3" />Search</a>   <a href="zforum/memberlist.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="Memberlist" hspace="3" />Memberlist</a>   <a href="zforum/groupcp.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="Groups" hspace="3" />Usergroups</a> 
 <a href="zforum/profile.php?mode=register" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="Register" hspace="3" />Register</a></span> 

</td>

</tr>

<tr>

<td height="25" align="center" valign="top" nowrap="nowrap"><span class="maintitle"> <a href="zforum/profile.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="Profile" hspace="3" />Profile</a>   </span></td>

</tr>

</table>


With this


Code:<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">

<td align="left"><a href="http://www.zrock.com/"><img src="zforum/templates/fisubice/images/phpbb2_logo.jpg" border="0" alt="Zrock" vspace="1" align="left"/></a></td>

</table>
<table cellspacing="0" cellpadding="2" border="0">

<tr>

<td align="center" valign="top" ><span class="topnav"> 
<a href="zforum/faq.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="FAQ" hspace="3" />FAQ</a></span><span class="maintitle">   <a href="zforum/search.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_search.gif" width="12" height="13" border="0" alt="Search" hspace="3" />Search</a>   <a href="zforum/memberlist.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_members.gif" width="12" height="13" border="0" alt="Memberlist" hspace="3" />Memberlist</a>   <a href="zforum/groupcp.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="Groups" hspace="3" />Usergroups</a> 
 <a href="zforum/profile.php?mode=register" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="Register" hspace="3" />Register</a></span> 

</td>

</tr>

<tr>

<td height="25" align="center" valign="top" nowrap="nowrap"><span class="maintitle"> <a href="zforum/profile.php" class="maintitle"><img src="zforum/templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="Profile" hspace="3" />Profile</a>   </span></td>

</tr>

</table>


Note that the part I'm teling you to replace will be a bit different in your php file. If you post the whole code to your php file I'll edit it and post the code back to you but you should be able to figure it out from the above.
0 Replies
 
zrock
 
  1  
Reply Thu 4 Sep, 2003 07:06 pm
1 I was a little confused by the code above - both the "replace" and the "with this" seem to be identical.

2. Is it the overall header.tpl that needs to be changed so that the links are Home Forum FAQ Search Memberlist Profile Personal Messages Log Out instead of FAQ Search Memberlist usergroups Profile Personal Messages Log Out ? Thank you.
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 6 Sep, 2003 03:14 am
zrock,

Try the find and replace i suggested. It should work. You can then add any links you want or reorder them.

If you get stuck let me know and I'll help you out.
0 Replies
 
zrock
 
  1  
Reply Sat 6 Sep, 2003 09:23 pm
Craven,
I went back and studied your prior instructions again, and, combined with scanning the fi boards, was able to get the changes made. I still have 2 minor problems and would appreciate it if you could take a look. (This will be the home page once I correct the errors)

1. I have tried various methods to change the "bold line" under the nav bar to match the other pages - I'm not sure if this is related to a cellpad or cellspace entry.

2. I was able to change the nav links around, but somehow mis-configured the log in/log out at the right side of the top nav bar (currently displaying "{L_LOGIN_LOGOUT}" It works correctly on all pages except the fetch page.

Hope you are having a great weekend and thanks for your assistance.
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 6 Sep, 2003 09:39 pm
I am not sure but I think that both problems are related. I think you are seeing the bold line because the log in text is stretching the cell.

The reason why the long in/out link doesn't work is because you are using the phpbb variable for the link. And fetch doesn't set this variable so the variable is being displayed.

In the past I altered fetch to use the templating system and I'd use those links perfectly.

I can teach you how to rewrite fetch to become template based but that is a big task.

For now I'll explain how to set the log in/out links.

since the variable can't be called you need to use a simple html link. But the problem is that you want this link to change based on whether the user is logged in or out.

This is how you do it:

Code:

<?php if ($userdata['session_logged_in']) { ?>
CODE TO SHOW IF USER IS LOGGED IN
<?php } else { ?>
CODE TO SHOW IF USER IS NOT LOGGED IN
<?php } ?>



So in the case of the login/logout link you would use:

Code:<?php if ($userdata['session_logged_in']) { ?>
<a href="zforum/login.php">Log In</a>
<?php } else { ?>
<a href="zforum/login.php?logout=true">Log Out [ <?php echo $userdata['username']; ?> ]</a>
<?php } ?>


I added the way the link displays the member name if logged in.

You should be able to add it easily. And hopefully now you also know how to show content to those logged in versus those logged out in fetch all.
0 Replies
 
Craven de Kere
 
  1  
Reply Sat 6 Sep, 2003 10:56 pm
Zrock, I screwed up. Reverse the two like this:

Code:<?php if ($userdata['session_logged_in']) { ?>
<a href="zforum/login.php?logout=true">Log Out [ <?php echo $userdata['username']; ?> ]</a>
<?php } else { ?>
<a href="zforum/login.php">Log In</a>
<?php } ?>
0 Replies
 
zrock
 
  1  
Reply Sat 6 Sep, 2003 11:09 pm
Thank you for the clarification. I was in the process of posting an inquiry because I was getting opposing results.

I had posted the code as written in your post on example 1 and then switched it around on example 2

I have tested the revise code and it works like a champ! I'm still not sure what is causing the double line - I removed "usergroups" from the nav bar to make room for home and forum, but for now I am comfortable using example 2 above as the new home page.

Thank you again for your assistance. I am interested in learing more about the session ID's and phpAds in the future and sincerely appreciate your guidance.
0 Replies
 
gadgetaddict
 
  1  
Reply Mon 8 Sep, 2003 08:59 am
Hi CdK and Co.,
me again. been banging what i call brains trying to make a relatively simple change - on my board, the hyperlinked text blends in a bit too well with the standard text - can you point me to the spot where i'd change the web color code to make it stand out more? and if you have an opinion on shading/color, i'd appreciate it. the site is green and the text is a bit darker green. i'd either like the hyperlinks (when i say, click "here" and here represents the hyperlink) to either be an obvious color, or underlined. i think if i don't say "here" but instead just have the whole link as an url, it is automatically underlined. I was thinking possibly black for the text or maybe a brown to contrast with the green, or as mentioned, just underlined. any suggestions?
as you may recall, we've changed the overall_header.tpl to make it more efficient. thanks again! Smile
Gary
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.04 seconds on 01/16/2025 at 02:47:26