Sub-Forums???

General discussion of anything. Discuss a topic in and out of IntegraMOD

Moderator: Integra Moderator

Sub-Forums???

PostAuthor: tekguru » Sun Jun 25, 2006 12:43 am

Does anyone know which file one needs to edit, and maybe what to edit if one wishes to change teh way sub-forums display on the index?

I want to add in a </br> or similar so I can get each sub-forum on a seperate line instead of just being after one another.

Spent a good hour lastnight trying to work it out and failed miserably!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

Re: Sub-Forums???

PostAuthor: Teelk » Sun Jun 25, 2006 10:17 pm

Actually did this on my website, http://www.witchhunters.ca/coh/index.php

Check out the news forums...

I'll take a look at what edits I made, it's actually in one of the php files which makes it difficult to find...

Open includes/functions_categories_hierarchy.php
FIND[code]                     if ($link != '') $links .= (($links != '') ? ', ' ]REPLACE WITH[code]                     if ($link != '') $links .= (($links != '') ? '<br> ' ]
Just replaced the comma with the <br> tag. Did mine a little differently to add spaces and try to line it up on the right... doesn't quite look right 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

Re: Sub-Forums???

PostAuthor: tekguru » Sun Jun 25, 2006 11:05 pm

Teelk, you are a hero! It looks a lot better on site now I've added in your change.

Any ideas how to page break immediately after the 'Subforums' title, as I think that would fix the neatness issues?
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

Re: Sub-Forums???

PostAuthor: Teelk » Mon Jun 26, 2006 12:33 am

Sure...

Open templates/yourtheme/index_box.tpl
FIND
Code: Select all
        <span>{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>

REPLACE WITH
Code: Select all
        <span>{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}{catrow.forumrow.L_LINKS}<br>{catrow.forumrow.LINKS}</span>


Just added a <br> between the subforum language key and the subforum links.
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: tekguru » Mon Jun 26, 2006 11:32 am

Cheers again Teelk - just what was needed, now looks much better!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: tmotley » Mon Jun 26, 2006 5:37 pm

I like that look. I might just try it.

tekguru, your site loads quickly for me but yours is the second site I've noticed recently with odd page generation line...

Page generation time: 1151368550.57s (PHP: 100% | SQL: 0%)
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: tmotley » Mon Jun 26, 2006 5:45 pm

I use the BBLite theme also but replaced all of the buttons. I notice that the 'Download' button for downloading of a post has 'Dowload'...
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: tekguru » Mon Jun 26, 2006 11:11 pm

Yeah that weird page generatino time started occuring after the last upgrade. No ideas why as it only seems to affect some pages. Weird.

I'd missed that on the button - will check it out and get my designer to correct it. Cheers for he heads-up.

What's your site BTW, be interested to see what you have done with the theme.
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: tmotley » Tue Jun 27, 2006 7:24 pm

Not much since it's a site I use during the regular school year and I just put in the BBLite theme recently.

Pretty much the only modifications I've made are buttons...

http://motleyville.com
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: tekguru » Wed Jun 28, 2006 12:23 pm

Looks good though, I must admit I doi love the theme <img>

One Q, which is the block you are using for the Posts Leaders - looks pretty good!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00

PostAuthor: tmotley » Wed Jun 28, 2006 4:05 pm

Looking in block management, it shows the block file as 'top posters' but I don't remember if that's a different one I've added or the standard one.

'Bones Leaders' is pretty much the same block only ranking on points instead of posts. For that one, I modified the 'top cash' block to look like the 'top posters' block.
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA

PostAuthor: tekguru » Thu Jun 29, 2006 9:10 am

Cheers for that will certainly revist those!
Last edited by tekguru on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]http][/size]
[url=http][img=left]http://www.4winmobile.com/news/MVP_Horizontal_FullColor.png[/img][/url]
User avatar
tekguru
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 11:29 pm
Cash on hand: 0.00


Return to General Discussion

Who is online

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