How can I do these modifications to GARS
Hello,
Ok I don't know how is this going to sound but here is what I want to do :) 1. I want to use GARS as my home page however it would not apply the template changes in to the index page of the forum. Is there a way to get around this? 2. I want to change the forumdisplay to look a bit different. In the meantime the page shows the subforums in the middle and below it comes the articles. What I want it to do is erase the subforums completely and add a list to the left or right of the articles right away which would show the forums within it. for example if this is how you have structured your articles forum - Articles forum - - Computers - - Internet - - Cellphones - - - Nokia - - - Samsung - - - iPhones When you are in the "Articles Forum" you can only see - - Computers - - Internet - - Cellphones Then you click on "Cellphones" you would only see - - - Nokia - - - Samsung - - - iPhones so what I want is to apply the depth option which is in the admin CP to this list. I am not sure if it is clear or not please let me know. :confused: I hope this is easy to do. :eek: |
1: http://www.thevbgeek.com/showthread.php?t=5196
2: You'd need to edit the GARS_forumdisplay template or make a new template for the forum display page. Look in the GARS_forumdisplay template, as there you will find HTML comments that indicate the sub-forum list, the HTML for which you could edit and move to a sidebar/column if you want. |
Hey Morgan,
Thanks for your help ... 1. I will take care of it and use redirects. 2. I have missed the categories.php which is a module included with the GARS However it shows all forums and subforums. I would like to make a little change to it which will only show the subforums which are under the forum I am browsing. I have managed to add the code below to the forum display which does exactly what I want however I am not able to get it positioned in the right place which is at the top-left. Is there a way to use this code in the categories.php module? Code:
<!-- Navigation --> |
You could edit the GARS_forumdisplay template, assuming that is the template you are using for the forumdisplay page.
In the GARS_forumdisplay template are variables like the following, where X is 1, 2, 3, or 4: Code:
$show[GARS_modpositionX]
Similarly, in the GARS_pb template are variables like the following, where X is 1, 2, 3, 4, 5, or 6: Code:
$post[GARS_modpositionX]
|
Hey Morgan,
Thanks for that ... its really helpful however I have found this MOD which would save me the hassle of playing around with the original templates. However I am not able to get it to output what is in the template I have followed all the steps and got it working. The only issue I am facing is when I add the following template it does not output nothing. however if I input the following, it works just fine Code:
<a href="http://www.google.com">This is a test</a> Code:
<!-- Navigation --> |
I'm going nuts trying to modify those codes
is there something that I can delete from the "categories.php" mod in order for it to only show depth of "1" and not all categories? |
I have noticed one thing ...
Whenever I used a code like this Code:
<if condition="$forumid==1"> basically if I try to add a variable within this template it would never work meaning if I add this within the template Code:
$forumhome_forumbit_level1_post however if i use html code it works fine .. is there something that i am missing? |
Oh yeah :D
I finally found a way to do this :D Here are the steps just in case someone would like to refer to it or for future reference for myself 1. ACP >> GARS >> TYPES Code:
How many columns for subforums? 2. ACP >> Style & Templates >> Style Manager >> GARS_forumdisplay FIND & DELELTE: Code:
<if condition="$show['forumslist'] && !$show['nosubs']"> Code:
<!-- LEFT COLUMN --> Code:
<!-- LEFT COLUMN --> 3. ACP >> Style & Templates >> Style Manager >> GARS_forumbit_level1_post DELETE ALL ITS CONTENT AND REPLACE WITH: Code:
<td class="alt1" valign="top" align="$stylevar[left]" id="f$forum[forumid]"> ENJOY:D |
Very cool, thank you for this. Now is there any way to have the sub-forums display in order by newest thread start date? Also, how do I get the sub-forums to appear in the sub-forums themselves? Example:
This is our main GARS page: http://gridironfans.com/forums/nfl-uncensored/ And this is inside a sub-forum: http://gridironfans.com/forums/captain-nfl/ See? No sub-forum listing. Can that be enabled? Also, in the new listing for the sub-forums, can a forum icon be displayed? If so, how? |
All times are GMT. The time now is 11:49 AM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.