Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
question on iforum
Avatar
kvr28
Member
Free Members
Offline
Nov 29, 2014 - 9:03 am

I am testing this theme, when I click on the forum page it goes to the first subforum and opens the add new topic textarea on the bottom instead of just listing the forum, is that normal?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Nov 29, 2014 - 10:57 am

No...  likely means some js conflict... have you checked the browser console?

Avatar
kvr28
Member
Free Members
Offline
Nov 29, 2014 - 11:39 am

hmm, I'll have to check, I have javascript errors notifier extension for chrome and didn't notice anything, I will look again

Avatar
kvr28
Member
Free Members
Offline
Nov 29, 2014 - 1:21 pm

I don't see anything, whenever I click on forums from the menu or breadcrumbs it opens the forum and then it directs to /forums/#spPostForm 

Avatar
Ike
Sawtry, UK
Member
Free Members
Offline
Nov 29, 2014 - 2:04 pm

Have you got your editor set to always be open? In this case (I believe we are talking about forum view here) it would be the $addTopicForm array at the very top of spForumView.php, see the second argument (hide), check if it is 0 or 1.

If it's set to hide = 0, it will always be open, and it will center the screen on the editor whenever the page loads, rather than the top of the forum.

Avatar
kvr28
Member
Free Members
Offline
Nov 29, 2014 - 2:05 pm

let me take a look

Avatar
Ike
Sawtry, UK
Member
Free Members
Offline
Nov 29, 2014 - 2:08 pm

Sorry - I read through the thread and completely missed the topic title stating the obvious.. Iforum :)

It doesn't look like you can use the same argument in the spForumSubView.php template.

Avatar
kvr28
Member
Free Members
Offline
Nov 29, 2014 - 2:12 pm

nope, it's set to one, and it only happens when you click on the main forum breadcrumb or on the forum from our menu, if I click on any of the subforums themselves, they show fine

Avatar
Ike
Sawtry, UK
Member
Free Members
Offline
Nov 29, 2014 - 2:21 pm

I haven't played around with Iforum much myself, but I know if you have the editor default to be open, as I said before, it will center the screen on the editor instead of the top of the page.

You could try adding the

'hide'                    => 1, 

argument to the list in spForumSubView.php, note it doesn't already contain it but it's the same function as forum view so it will work fine.

Add it underneath the tagClass argument so it appears the same as the forum view template and see if that helps.

As I said I haven't played around with Iforum that much so would need someone else to confirm that this is normal behavior, I know it is when you set any of the other stock themes to hide = 0. Note also that this will remove the editor and force you to use the 'add new topic' button to reveal it. If that's a deal breaker then would have to wait for other advice!

Avatar
kvr28
Member
Free Members
Offline
Nov 29, 2014 - 2:36 pm

let me take a look

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626