SOLVED Bug - Blank Column In Black Pearl Search Results.


Goto page 1, 2  Next

Subject: Bug - Blank Column In Black Pearl Search Results.
Forum Location: Forum Link
phpBB 3.0.11
Black Pearl to Version: 1.6.9

Okay now for my Question :D

I've used Black Pearl for a few years now (Sharpest Style out there).

When you click on any of these:
View unanswered posts | View active topics
Mark forums read | View unread posts | View new posts | View your posts


There's a Extra Black Column - And it Just does not match the rest of the forum pages served.

So I would like to Remove the dead Box, Just don't know where to Look, and what to change.

Example:

black_pearl

I did search a lot and can't seem to find an answer.

Thanks in Advance,

St0ney

Last edited by St0ney on Wed 21 Nov, 2012 00:38; edited 1 time in total
Subject: Re: Black Pearl Extra Column
If understand you correct St0ney... you need to set a forum icon to FILLthis box, this way the box won''t be empty at all :wink:

Subject: Re: Black Pearl Extra Column
Joshua:

I'm actually looking to remove it completely.
(does not seem, to serve a purpose) for me.

Thanks
St0ney

Last edited by St0ney on Wed 21 Nov, 2012 01:15; edited 1 time in total
Subject: Re: Black Pearl Extra Column
OK St0ney,

Just to make clear how it can look..... please take a close look at this forum and all the forum icons it has, each forum has its own nice little image.

Now if you are really sure you still want to remove this feature i promise to take a close look for you and assist you, it should not be too hard to do and it's certainly possible :wink:

However... I do need to have a good day to make sure I give you correct advice, ATM my health is not very ok.... so I hope you can be a little patient and are willing to wait.

Or maybe someone else is willing to help???

Subject: Re: Black Pearl Extra Column
Josh, I'm in no rush.

I had this Style loaded for years (+updates)

Yes I would still like to remove it. (it's more just to clean up the look of those Search boards).

I understand what your saying about the icons, but keep in mind, these are all just post. (Not Boards)
(in pearl (active topics) it does list the board name/section under the title of the post).

My goal is to have the Example above top - look the same as the example Bottom.

Honestly if this is going to take you ALL Day, I can Live with it :o
And well just bag it.

I've been still searching, and cant find what (page) where the code is that serves these pages.

Hope you feel better Soon !

St0ney

Subject: Re: Black Pearl Extra Column
I think I'm in the right place; :mrblue:

viewforum_body.html

You should be able to turn this off in the ACP/Forums or just kill the script.
Code: [Download] [Hide] [Select]
<!-- IF S_TOPIC_ICONS -->
<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
<!-- ENDIF -->

Profile PM  
Subject: Re: Black Pearl Extra Column
Thanks Mort:

But I found the correct Page to Edit. "search_results.html"

Now I just need the Code Change.





Thanks Guys !!

St0ney

Subject: Re: Black Pearl Extra Column
You're right. ;)

search_results.html

Find This:

Code: [Download] [Hide] [Select]
<!-- BEGIN searchresults -->
<tr valign="middle">
<td class="row1" width="25" align="center">{searchresults.TOPIC_FOLDER_IMG}</td>
<td class="row1" width="25" align="center">
<!-- IF searchresults.TOPIC_ICON_IMG -->
<img src="{T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}" width="{searchresults.TOPIC_ICON_IMG_WIDTH}" height="{searchresults.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" />
<!-- ENDIF -->
</td>
<td class="row1">


Change it to this (Because these VARS appear be inside the <TD <!-- IF searchresults.TOPIC_ICON_IMG --> and <!-- ENDIF --> should be outside of it so that they don't bring up the blank space.

Code: [Download] [Hide] [Select]
<!-- BEGIN searchresults -->
<tr valign="middle">
<td class="row1" width="25" align="center">{searchresults.TOPIC_FOLDER_IMG}</td>
<!-- IF searchresults.TOPIC_ICON_IMG -->
<td class="row1" width="25" align="center">
<img src="{T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}" width="{searchresults.TOPIC_ICON_IMG_WIDTH}" height="{searchresults.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" />
</td>
<!-- ENDIF -->
<td class="row1">

Profile PM  
Subject: Re: Black Pearl Extra Column
Thanks Mort:

I did some Changes Also, But Even though I got the Look I was looking For.
Doesn't mean it Proper coding - :P

So I'll try your code (so I'll save what Have as a backkup Plan B)

I'll let ya Know how Goes.........


St0ney

Subject: Re: Black Pearl Extra Column
I missed something too - If the column is removed it affects the colspan of the sub-header.

So the replace fix is the better option but you also have to modify this.

Code: [Download] [Hide] [Select]
<th width="4%" nowrap="nowrap">&nbsp;</th>
<th colspan="2" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>



To:

Code: [Download] [Hide] [Select]
<th width="4%" nowrap="nowrap">&nbsp;</th>
<!-- IF searchresults.TOPIC_ICON_IMG -->
<th colspan="2" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<!-- ELSE -->
<th colspan="1" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<!-- ENDIF -->
<th nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
<th nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>



:censored: phpBB :censored:

Last edited by mort on Tue 20 Nov, 2012 22:53; edited 1 time in total
Profile PM  
Subject: Re: Black Pearl Extra Column
LMAO !!

I was going to post this, Until I saw your next Post!
11-20-20123-34-25pm

BTW: That top post was a porn Spammer
The photo's were good so we saved the post to a Private Board :LOL:


Yep Were Good ta Go ! Looks much better with-out a blank Box.

bingo


I'm surprised this has not come up in the past.
During my search, I went to a lot of boards using this style, and they all had the Blank Box.
But then again - I let it stay that way too, for a few years - :P


Thank You !

St0ney

Subject: Re: Black Pearl Extra Column
Congrats St0ney, Thanks for taking over Mort :wink:

Subject: Re: Black Pearl Extra Column
You're welcome St0ney, and I'll leave it up to Joshua to report it as a cosmetic GUB :LOL: because I would find it annoying too.

And it probably affects all the MG phpBB styles based on subsilver.

Anyway,

What about editing your first post and changing the title to.

bug - Blank Column in Black Pearl search results.

It may help others to find it a lot easier. ;)

OT: Re the I am topic - -

I am wanting to meet - - - Naw! better not. :censored:




Joshua wrote: 
Thanks for taking over Mort

Do any more taking over and I'll be needing an Undertaker over. :mrgreen:

Profile PM  
Subject: Re: Black Pearl Extra Column
heheheh.. just wanted you to know it's much appreciated Mort.

MG removing these would stop phpbb to validate the styles, because realy it's just a feature (called post icon!)
One could even force a default icon to fill the empty block when a user posts

Subject: Re: Black Pearl Extra Column
I don't know how it would affect validation because the <!-- Arguments are on the wrong side of the request.

<?php relates to if(!empty($post_icon)) {then show the block};

So :censored: phpBB have it wrong if they have it coded to show the block <td etc. when there's nothing there to show.

Who cares - Maybe MG was as tired as I get when he wrote it. :twisted:

Profile PM  
Goto page 1, 2  Next

Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 1.4993s (PHP: 2% SQL: 98%)
SQL queries: 15 - Debug Off - GZIP Enabled