The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Front Page Problem

View previous topic View next topic Go down

Front Page Problem

Post by motorhomesrus on March 17th 2011, 7:34 pm

Can anyone advise me how to remove this line "view unanswered posts" which is situated on my front page.

Thanks in advance

Pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Sanket on March 18th 2011, 5:24 am

Using phpbb3, its not possible.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: Front Page Problem

Post by lalalamda22 on March 18th 2011, 5:25 am

Is it possible using Invision? I also want to know this.

lalalamda22
Forumember

Posts : 32
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Sanket on March 18th 2011, 5:38 am

Nopes.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: Front Page Problem

Post by motorhomesrus on March 18th 2011, 10:11 am

I have phpBB2 (subsilver) is it possible then

pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Sanket on March 18th 2011, 6:29 pm

Are you sure yours is phpbb2? Link to your forum.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: Front Page Problem

Post by motorhomesrus on March 18th 2011, 7:46 pm

Yes I have checked in the admin panel and it states phpbb2 subsilver.

pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Jophy on March 19th 2011, 7:44 am

We need a link to your forum so we can have a look.

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Re: Front Page Problem

Post by motorhomesrus on March 19th 2011, 9:43 am

Link as requested www.motorhomesrus.openu2.com

pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Nera. on March 19th 2011, 3:53 pm

Try;

Find:
Code:
a.gen, a.genmed, a.gensmall {
Add below,
Code:
display: none;

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Front Page Problem

Post by Base on March 19th 2011, 3:56 pm

The CSS code works, but it gets rid of the groups in the legend.

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Front Page Problem

Post by Nera. on March 19th 2011, 4:02 pm

My mistake.
Code:
a.gen, a.genmed, a.gensmall {
Change color code to transparent.
Code:
  color: transparent;

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Front Page Problem

Post by Base on March 19th 2011, 4:04 pm

I believe that's as close as you can get, motorhomesrus. Nera.'s code "hides" the view unanswered posts link but you can still access it if you highlight it. Smile

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Front Page Problem

Post by motorhomesrus on March 19th 2011, 4:15 pm

Thanks for reply Nera but can you tell me how to get there please.

Thanks
Pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Base on March 19th 2011, 4:18 pm

To get to your CSS code, please go to:

1. Administration Panel (advanced mode)
2. Display Tab
3. Colors (on the left, under Pictures and Colors)
4. CSS Stylesheet and paste the code there

Once again, the code is (credits to Nera.):
Code:
a.gen, a.genmed, a.gensmall {
  color: transparent;
}

Very Happy

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Front Page Problem

Post by motorhomesrus on March 19th 2011, 4:41 pm

Tried that guys but unfortunately it never worked it changed the colour from blue to black.

Pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by motorhomesrus on March 19th 2011, 4:47 pm

All sorted thanks again guys.

Pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Base on March 19th 2011, 4:49 pm

You're welcome! Glad to be of your assistance. Very Happy

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

Re: Front Page Problem

Post by motorhomesrus on March 19th 2011, 5:19 pm

Hi Guys,

Had to remove that as now discovered that it removed the colours from my members list?

Back to the beginning?

Pelo

motorhomesrus
New Member

Posts : 11
Reputation : 0
Language : english

Back to top Go down

Re: Front Page Problem

Post by Nera. on March 19th 2011, 10:37 pm

I tired to find a solution via templates but I faild for phpBB2.
Found only for punBB by editing index_body template and removing
Code:
      <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
if it helps you in any way.
I suspose there has to be a way for phpBB2 also.
Sorry.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: Front Page Problem

Post by Base on March 20th 2011, 10:49 am

Some good news! I have found out how to remove it using template editing for version phpBB 2. Please replace all the template index_box with this:

Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
   <tr>
      <td valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall">{LAST_VISIT_DATE}<br />
         {CURRENT_TIME}<br />
         </span>
         <!-- END switch_user_logged_in -->
         <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
         <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
         <!-- END switch_user_logged_in -->
      </td>
   </tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle">{catrow.tablehead.L_FORUM}</th>
      <th nowrap="nowrap" width="50">{L_TOPICS}</th>
      <th nowrap="nowrap" width="50">{L_POSTS}</th>
      <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
   </tr>
   <!-- END tablehead -->
   <!-- BEGIN cathead -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
         <h{catrow.cathead.LEVEL} class="hierarchy">
            <span class="cattitle">
               <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
         </h{catrow.cathead.LEVEL}>
      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"></td>
   </tr>
   <!-- END cathead -->
   <!-- BEGIN forumrow -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
         <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
               <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
         </h{catrow.forumrow.LEVEL}>
         <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
         </span>
      </td>
      <td class="row3" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td class="row3 over" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </td>
   </tr>
   <!-- END forumrow -->
   <!-- BEGIN catfoot -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
   </tr>
   <!-- END catfoot -->
   <!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

To find your templates, please go to:

1. Administration Panel (advanced mode)
2. Display Tab
3. General (on the left, under Templates)
4. Click on the modify button () next to index_box
5. Replace everything inside with the above code

Let me know if it works; I'm confident it will work. Smile

Regards,

Base

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum