Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2022, 07:31 PM
rachidrachid99 rachidrachid99 is offline
 
Join Date: Feb 2022
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 03-29-2022, 09:36 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rachidrachid99 View Post
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.
Reply With Quote
  #3  
Old 03-30-2022, 03:12 AM
rachidrachid99 rachidrachid99 is offline
 
Join Date: Feb 2022
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.CustUmz View Post
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)
Reply With Quote
  #4  
Old 03-30-2022, 03:27 AM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

again not any more clear.

Try looking in index.php

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

forumdisplay_query may work for you
Reply With Quote
  #5  
Old 03-30-2022, 06:31 AM
rachidrachid99 rachidrachid99 is offline
 
Join Date: Feb 2022
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.CustUmz View Post
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.
Attached Images
File Type: jpg ap.jpg (59.5 KB, 0 views)
Reply With Quote
  #6  
Old 03-30-2022, 06:58 AM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 03-30-2022, 08:45 AM
rachidrachid99 rachidrachid99 is offline
 
Join Date: Feb 2022
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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(){} 
Reply With Quote
  #8  
Old 04-02-2022, 10:42 AM
rachidrachid99 rachidrachid99 is offline
 
Join Date: Feb 2022
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any help ?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:37 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
  • Page Generation 0.03766 seconds
  • Memory Usage 2,251KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete