Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post Subforum Arangment . . . 
 
hi,

          i want to change the layout of subforum in Icy Phoenix 1.1.10.25 and also remove the "Subfourm" Title from the forum.
please help me.. how can i do this.. i wnat to arranged in 2 or 3 column.


un-arranger's subforum Icy Phoenix 1.1.10.25 Screen shot
 unaranged

Arrange Subforum in column (I want like this )
 arrenged
 



 
mafridiSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
Unfortunately it isn't so easy...

If you are confident with PHP and HTML you may try to modify functions_category_hierarchy.php and index_box.tpl to get what you need.

Good luck.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
i will show you..
but i know only to put it vertical--(i dont know yet how to put 2,3 or 4collums ..i think somehow in index_box.tpl but i will try soon)


so open functions_categories_hierarchy.php

find

$links .= (($links != '') ? ', ' : '') . $wlast_post . $link;

replace with

$links .= (($links != '') ? '<br>  ' : '') . $wlast_post . $link;

find

'L_LINKS' => empty($links) ? '' : ( empty($lang['Subforums']) ? '' : '<b>' . $lang['Subforums'] . ':</b>&nbsp;' ),

replace with

'L_LINKS' => empty($links) ? '' : ( empty($lang['Subforums']) ? '' : '<b>' . $lang['Subforums'] . ':</b><br>' ),



now open your index_box.tpl (in your folder theme !!! )

step 1
find

<span class="gensmall">{catrow.forumrow.L_LINKS}&nbsp;</span>

replace with

<span class="gensmall">{catrow.forumrow.L_LINKS}</span>

if you only want to remove title -Subforums:- from forum you dont need to make step 1
step 2
find

<span class="gensmall">{catrow.forumrow.L_LINKS}&nbsp;</span>

delete it !!

i hope this gona help somehow...



and this how it looks with step 1

 final_1203397252_724076



!!!Before you do anything beckup your functions_categories_hierarchy.php and index_box.tpl !!!
 




____________
We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
 
LimunSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
Thank You Limun

its working
 



 
mafridiSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
Hi Limun,

great job and it works fine!
It would be really great if you are able to get it work with 3 collums!   ooops

Greetings
Borbarad
 



 
BorbaradSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
Borbarad wrote: [View Post]
Hi Limun,

great job and it works fine!
It would be really great if you are able to get it work with 3 collums!   ooops

Greetings
Borbarad


It works fine whit 3 collums.

Great job !!
 




____________
Gr. Ron

Team "Dutch"

?If you have accomplished all that you have planned for yourself, you have not planned enough."
 
HarimauSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
@Harimau

To read nicely.
However, could you be so friendly and write how can one create other columns? With the code from Limun i receive only one column with subforums vertically listed.

Greetings
Borbarad
 



 
BorbaradSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
I found a snippet to get more than one column.

Use the changes that Limun posts only with one change:

Find:
Code: [Download] [Hide] [Select]
$links .= (($links != '') ? ', ' : '') . $wlast_post . $link;


Replace with:  
Code: [Download] [Hide] [Select]
if($j %4)
               {
                  $connector = '&nbsp;';
               }
               else
               {
                  $connector=   '<br>';
               }
              
              
               if ($link != '') $links .= (($links != '') ? $connector : '') . $wlast_post . $link;

4 can be changed to the number of columns that are wanted

than it looks so:
 subforums

Indeed, the indicated look is not very nice! With differently long words the lines move.
To fix this in the original snippet they use an table. this is the code there for:
Code: [Download] [Hide] [Select]
if($j %2)
               {
                  $connector = '<span style="left: 300; position:absolute">';
               }
               else
               {
                  $connector=   '<br>';
               }
               if ($link != '') $links .= (($links != '') ? $connector : '') . $wlast_post . $link;
              
               if ($j %2){$links.='</span>';}


But it doesn`t work   - with IP?
Can somebody please help to create a "output-table"?

Greetings
Borbarad
 



 
BorbaradSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
As I said it is not so easy.

  • You should have an intermediate PHP knowledge.
  • You should have good HTML knowledge and know how table works.
  • You have to create a subforum counter in the PHP file which generates subforum listing (if I remember well is includes/functions_category_hierarchy.php), so when you have more than X (depends on your taste...) subforums a new row is created.
  • You have to modify the template file (if I remember well is templates/YOUR_TEMPLATE/index_box.tpl) inserting a table and a template switch for increasing ROWS and CELLS accordingly.


You can try to verify how album category works depending on how many pictures are set by rows and columns... the logic is the same... you will realize that it is not so easy if you are not confident with PHP and HTML.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
I just applied this cosmetic change and it works just fine with version 1.2.0.27c.

 
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
Have you done the first version with 4

or the second "With differently long words the lines move"  

I think only the second doesn't work
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
I just followed the steps in this post up above:

Spoiler: [ Show ]


Looks good too!
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
Ah OK, thanks for your answer Chaotic
 




____________
TheSteffen
Often SEARCH is the quickest way to get support.
IcyPhoenix German Support
 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
Moving to General Support as this cosmetic change still works.  
 




____________
| Icy Phoenix ColorizeIt! |
Bipolar Disorder - Not good for you and definitely not good for everyone else.
 
ChaoticSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Subforum Arangment . . . 
 
That's a great idea.

Chaotic, are those cigarettes, or clothespins?

   
 




____________
My main IP 1.3 site
My IP 1.3 styles test site
 
gearheadSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron