[kind of solved] problem when 2 qbars are used together...

Support for IntegraMOD 141

Moderator: Integra Moderator

[kind of solved] problem when 2 qbars are used together...

PostAuthor: sanji » Tue Jan 30, 2007 10:28 pm

Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Advanced Knowledge
Board URL: http://www.secret-japan.com/forum_beta

PHP Version:
MySQL Version:


What was done before the problem appeared?
upgraded to 1.41


What was done to try to solve the problem?
-



De.scription and Message

Please check the link above. It is a test forum only. I have 2 qbar installed, but only one "go the to bottom" icon appears on each side, which makes the presentation rather miserable.

Is there a way to fix that?

Thanks,

sanji
Last edited by sanji on Sun Feb 11, 2007 11:17 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG ?] template problem when 2 qbars are used together.

PostAuthor: Teelk » Tue Jan 30, 2007 11:02 pm

Hey sanji,

Not really a bug, it's just that the template design doesn't lend itself to multi-line qbar menus. I can try and play with overall_header.tpl to come up with a solution for you though.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: Dick Dynamite » Tue Jan 30, 2007 11:19 pm

I noticed that, too. I was thinking maybe have the arrows load as two images a piece or something?
Last edited by Dick Dynamite on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
www.dickdynamite.com

Dick Dynamite
Members
Members
 
Posts: 68
Likes: 0 post
Liked in: 0 post
Joined: Sun Dec 31, 2006 10:53 am
Cash on hand: 0.00

Re: [BUG ?] template problem when 2 qbars are used together.

PostAuthor: sanji » Tue Jan 30, 2007 11:34 pm

"Teelk";p="20883" wrote:I can try and play with overall_header.tpl to come up with a solution for you though.


Would be appreciated, thanks.

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG ?] template problem when 2 qbars are used together.

PostAuthor: Teelk » Wed Jan 31, 2007 2:12 am

Ok, I've got it to play nice. It'll just double the whole bar now.

OPEN templates/Integra2/overall_header.tpl
FIND
Code: Select all
<table><tr><td><a><img></td><td>{QMENUS}</td><td><a><img></td></tr></table>

REPLACE WITH
Code: Select all
{QMENUS}


OPEN templates/Integra2/qbar_qmenus.tpl
FIND
Code: Select all
    <BEGIN>

AFTER ADD
Code: Select all
<td><a><img></td>

FIND
Code: Select all
    <END>

BEFORE ADD
Code: Select all
<td><a><img></td>
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: sanji » Wed Feb 07, 2007 6:41 pm

Thanks Teelk,

Finally I could get my forum (beta version) to work, and the trick is working fine... for the upper qbar.

For the qbar on the bottom, I get an unexpected result :
http://www.secret-japan.com/forum_beta

Do you have any idea how to fix that?

Thanks,

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

PostAuthor: Dick Dynamite » Thu Feb 08, 2007 7:47 pm

Just replace the same stuff he mentioned to do on the overall_header.tpl to the overall_footer.tpl
Last edited by Dick Dynamite on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
www.dickdynamite.com

Dick Dynamite
Members
Members
 
Posts: 68
Likes: 0 post
Liked in: 0 post
Joined: Sun Dec 31, 2006 10:53 am
Cash on hand: 0.00

Re: [BUG ?] template problem when 2 qbars are used together.

PostAuthor: Helter » Fri Feb 09, 2007 1:08 am

it wont work like that because now every Qbar will have the down arrows. It shows the up arrows on the outside of the footer qbar beacause they are still in the footer code (outside of the qbar file)
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: [BUG ?] template problem when 2 qbars are used together.

PostAuthor: sanji » Sun Feb 11, 2007 6:41 pm

I am trying to create two different files, qbar_qmenusfooter.tpl and qbar_qmenusheader.tpl, each of them to display the qbar at the top (with the icons pointing down) and at the bottom of the page (with the icons pointing up).

For example :

qbar_qmenusheader.tpl
Code: Select all
<BEGIN><table><BEGIN><tr>     <BEGIN>  <SANJI>     <td><a><img></td>         <td>         <BEGIN>         <BEGIN>         <table><tr><td>         <END>         {_qmenu.line.cell.field.OPTION}         <BEGIN>         </td></tr></table>         <END>         <END>     </td>  <SANJI>  <td><a><img></td>     <END></tr><END></table><END>


is called from overall_header.tpl with the line
Code: Select all
{QMENUSHEADER}


However, this is not working. Any idea why??

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG ?] template problem when 2 qbars are used together.

PostAuthor: Helter » Sun Feb 11, 2007 8:08 pm

go to phpbbhacks.com and dl Qbar. You can find the additional code there.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: sanji » Sun Feb 11, 2007 8:17 pm

Thanks HelterSkelter,

But this mod is not solving my issue. I just would like to control the position of the two "up" and "down" icons next to the qbars, as I use 2 qbars instead of 1.

In the mod, there are no such icons anyway.

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: [BUG ?] template problem when 2 qbars are used together.

PostAuthor: Helter » Sun Feb 11, 2007 10:51 pm

well since they are stacked on top of each other, you could edit the image of the up arrow to be double tall and edit the size of the code in overall footer and header
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: sanji » Sun Feb 11, 2007 11:17 pm

Finally, I went for an easier solution:

I put the "to the top" button on one side of the qbar, and the "to the bottom" of the other side...

Thanks,

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]