Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-08-2007, 03:01 PM
dynamot dynamot is offline
 
Join Date: Aug 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default what is a threadbit and a forumbit

Hi All,

What is a thread bit and a forumbit?

Cause I am trying to understand the terminology used in the install instructions of a plugin.
https://vborg.vbsupport.ru/showthrea...=125654&page=2

Tx in advance
Reply With Quote
  #2  
Old 08-08-2007, 03:05 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Basically put they are the rows within each of the tables.

threadbit is each of the thread rows on the forumdisplay.php page. (Name/Replies/Views e.t.c.)
Reply With Quote
  #3  
Old 08-08-2007, 03:17 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As Opserty replied.

vBulletin uses *bit names for templates that are repeated. As when showing a thread, this is made up of many posts (each using the postbit template to show the posts data).
Reply With Quote
  #4  
Old 08-08-2007, 04:30 PM
dynamot dynamot is offline
 
Join Date: Aug 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you guys lend your insight into interpreting what this means.

If you look at this link:
https://vborg.vbsupport.ru/showthrea...t=125654#posts

Can you tell me what is the name of the file he is referring to?

" threadbit template updates
(1) On the very first line, change
"

forumhome_forumbit_level1_post updates
On the second line, change


forumhome_forumbit_level2_post
On the very first line, change


pm_messagelistbit
On the very first line, change


memberlist_resultsbit
change

Initially I thought (1) was forumdisplay.php. But forumdisplay.php does not have any "<tr>" in it

Tx in advance
Reply With Quote
  #5  
Old 08-08-2007, 06:57 PM
consolegaming consolegaming is offline
 
Join Date: Jan 2007
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These are the names of templates found in the styles for the forum. You don't need to edit the actual php files normally for mods, quite often you can get away with just doing template edits etc.

To edit one of your styles log into the AdminCP and go to the Styles & Templates section, click Style Manager then decide which style you wish to edit once you know which u want to change go to the dropdown next to it and choose edit templates. A list of templates will now appear this is where the names mentioned will appear i.e. threadbit etc.

Hope that helps.
Reply With Quote
  #6  
Old 08-08-2007, 07:11 PM
dynamot dynamot is offline
 
Join Date: Aug 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Consolegaming,

Thank you for pointing me in the right direction. I found all my templates in there.

Tx everybody
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07379 seconds
  • Memory Usage 2,200KB
  • Queries Executed 13 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete