![]() |
Going off someone else's post much earlier on in the thread about making the thread show for guests (so google would see it) I came up with the below for the second template edit.
If they're a guest (usergroup id 1) they'll see the full listing with the forums from all tabs else it'll show the tabbed forums. I also added a second condition which checks whether the product is active or not. Might have been a less hacky way of doing it but I didn't like that if I disabled the product the forums would disappear until the template was re-edited. PHP Code:
Concerning the collapse issue I did some digging round for it but couldn't find a decent solution so ended up removing the buttons myself. I managed to fix the linking issue but it seems there was actually two issues involved. I fixed the linkage issue by removing the {vb:raw relpath} from the href in the forumhome_forumbit_level1_post template. The value of that is being changed because of the yui call to that tab script. So removing the relpath variable fixed that part of the problem. However in Firefox the javascript still wasn't working (i.e. doing nothing). In IE it was actually working perfectly lol. I don't have an experience with YUI but I suspect this is similar to an issue I've had with JQuery where the event listener (for the collapse button) needs to be re-binded for the dynamically generated content. That's more of a job for someone who has knowledge of YUI and javascipt though. |
Hey
I have a small problem, Ive gotten the mod to work out of the box with the default style, doing the same changes in my custom style and it hasn't taken affect, any ideas as to what could be the cause? its probably something very simple and its to late at night for me to think clearly :( so i hope when i wake up someone can tell me what im doing wrong Cheers. |
Tagged, seems very useful.
|
Hello !
its a great great hack thank you 10000 times ! i want just to make BOLD the title of the tabs and change their color, its possible please ? |
Hello,
Great add-on! Very useful. But why does the background of the tabs doesn't change to the forum theme background? Thank you for this very useful add-on! |
please update for 4.1.x version
thanx |
hello !!
i finded the solution, you can change alll colors off text and background in the file skin-tfh.css in the tfh folder. i hope that help Mrs Tryst |
Quote:
|
you welcome mrs,
i hope we will have an update for this great hack soon |
Quote:
|
All times are GMT. The time now is 04:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|