The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
Well the thing is, I don't have that in the forumhome template. Nothing from $forumbits to main exists.
|
#12
|
||||
|
||||
![]()
If you view source the code is somewhere:
Code:
<tbody id="collapseobj_forumbit_1" style=""> <tr align="center"> <td class="thead" width="4%"> </td> <td class="thead" width="62%"align="left">Forum</td> <td class="thead" width="5%">Threads</td> <td class="thead" width="5%">Posts</td> <td class="thead" width="23%">Last Post</td> </tr> <tr align="center"> <td class="alt2"><img src="limited/statusicon/forum_old.png" alt="" border="0" id="forum_statusicon_2" /></td> <td class="alt1Active" align="left" id="f2"> $vbphrase[threads] That should list all templates with that code in it. |
#13
|
|||
|
|||
![]()
I think I might have created a misunderstanding, I am not trying to move the category itself over, the categories Theards, Posts, Last Post are in the right places, I am trying to move the content under those categories in the correct place.
If I were to move what you stated over it would look the way it was before. Basically my forum should be made as Forums (under that lists the forums), Threads (under that lists the threads), Posts (under that lists the posts), and finally Last Post (under that lists the latest post by the user). I am not trying to switch the categories, just the content under the categories. |
#14
|
||||
|
||||
![]()
Now I understand, you want to move the content not the titles... Hmm... I THINK you have to edit the php file for that, index.php in this case- but honestly not sure. I would look for $forumbits in the php file and see if you can change the order it's "put together" - backup the file of course before testing.
|
#15
|
|||
|
|||
![]() Quote:
![]() |
#16
|
||||
|
||||
![]()
OK you need to look at the function: construct_forum_bit
in the file includes/functions_forumlist.php That's is the code that puts the $forumbits together. |
#17
|
|||
|
|||
![]()
I hate to ask, but can you tell me what to change, I took a look through that section and I can't figure out what needs to be moved, I am not that good at php and there isn't really any reference towards post or thread count, just lots of references to the last post.
|
#18
|
||||
|
||||
![]()
I looked at it myself- unfortunately I can't figure it out either.
![]() Maybe someone else who is reading this thread? (anyone?) |
#19
|
|||
|
|||
![]()
There is a set of templates under Forum Home Templates named forumhome_forumbit_levelN_post where N is a number 1 to 4. These are used by construct_forum_bit to build $forumbits, so I think those are what you want to change.
|
#20
|
||||
|
||||
![]()
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
Once you've found the template using that method, just move the variables around. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|