vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Modification on forumhome query in vBulletin 3.8.11 (https://vborg.vbsupport.ru/showthread.php?t=329208)

rachidrachid99 03-29-2022 07:31 PM

Modification on forumhome query in vBulletin 3.8.11
 
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

Quote:

Originally Posted by rachidrachid99 (Post 2608400)
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

Quote:

Originally Posted by Dr.CustUmz (Post 2608401)
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 [DATE]1648621202[/DATE] at [TIME]1648621202[/TIME] ---------------

forumdisplay_query may work for you

rachidrachid99 03-30-2022 06:31 AM

1 Attachment(s)
Quote:

Originally Posted by Dr.CustUmz (Post 2608404)
again not any more clear.

Try looking in index.php

--------------- Added [DATE]1648621202[/DATE] at [TIME]1648621202[/TIME] ---------------

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

Code:

<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 [DATE]1648637739[/DATE] at [TIME]1648637739[/TIME] ---------------

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

--------------- Added [DATE]1648640009[/DATE] at [TIME]1648640009[/TIME] ---------------

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

archive/global.php
function print_archive_forum_list(){} 


rachidrachid99 04-02-2022 10:42 AM

any help ?


All times are GMT. The time now is 10:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01063 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete