PDA

View Full Version : Modification on forumhome query in vBulletin 3.8.11


rachidrachid99
03-29-2022, 07:31 PM
Hello dear.
Please, how do I make a modification on forumhome query in vBulletin 3.8.11.
I want to join table to the home query ( categories and sub categories) but i fond only the cache code.
All my respect.

Dr.CustUmz
03-29-2022, 09:36 PM
Hello dear.
Please, how do I make a modification on forumhome query in vBulletin 3.8.11.
I want to join table to the home query ( categories and sub categories) but i fond only the cache code.
All my respect.

hook location forumhome_start?

I'm sorry but I have no idea what you're asking. If you explained exactly what you are trying to do I could be of better assistance.

rachidrachid99
03-30-2022, 03:12 AM
hook location forumhome_start?

I'm sorry but I have no idea what you're asking. If you explained exactly what you are trying to do I could be of better assistance.

What i'm asking for, is the place (file) of the home query.
The query who showing us categories and sub categories on the index page (home page)

Dr.CustUmz
03-30-2022, 03:27 AM
again not any more clear.

Try looking in index.php

--------------- Added 1648621202 at 1648621202 ---------------

forumdisplay_query may work for you

rachidrachid99
03-30-2022, 06:31 AM
again not any more clear.

Try looking in index.php

--------------- Added 1648621202 at 1648621202 ---------------

forumdisplay_query may work for you

i want to add the "id" directly without passing of search.

Dr.CustUmz
03-30-2022, 06:58 AM
This can be found in the threadbit template. Although modifying it would not give you the result you want.

When the link is clicked it goes to member.php?u=123 not member.php?find=lastposter&t=123

<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase>

This is just used to find the last posters ID and without it you would not be able to link to the members profile.

you could use $thread[lastposter] to retrieve the name of the last poster but the user id would not be fetched outside of that phrase.

rachidrachid99
03-30-2022, 08:45 AM
I want to join table users to the query to get the id not just change the code as you mentioned.
I'm looking for this query but i couldn't find it.

--------------- Added 1648637739 at 1648637739 ---------------

i'm locking for the query who gives us cache ($vbulletin->forumcache)
i want to add new data to $vbulletin->forumcache

--------------- Added 1648640009 at 1648640009 ---------------

i'm searching for this function query but not in the archive, the home forum

archive/global.php
function print_archive_forum_list(){}

rachidrachid99
04-02-2022, 10:42 AM
any help ?