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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2019, 11:30 AM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Website Page Template Identification

Hello all you vBulletin 4 experts. Maybe an easy question...maybe a difficult one.

On most vBulletin forum websites you have the "top layer" which is usually the Home Page. On the Home Page most forums have a list of the forum discussion categories. If any of these categories are clicked on (you enter the 2nd layer of the website)...and you see a list of each individual discussion thread in that category.

On this "2nd layer" of the website I have some sidebar blocks that I cannot find the code that's controlling/defining them. The vBulletin "Forum Blocks Manager" only seems to control Forum Blocks that are displayed on the Home Page...but not on pages "deeper" into the site.

Thus I'm thinking someone in the past created some custom forum blocks on these non-Home Page pages.

Does anyone have any ideas where I might look to see if I can find the code for these non-Home Page forum blocks (which are located on the sidebar)?

I was thinking maybe if I looked at the vBulletin template responsible for the rendering this "2nd layer" (first layer deeper after the Home Page)...maybe I might find the forum block code I'm looking for there. But I didn't know what the name of this vBulletin template is (please let me know if you know).

If anyone has any ideas...please suggest. Right now these forum blocks are empty...and I would like to fill them with some website content or advertising.

Thanks much.

p.s. If what I'm asking for is unclear...please let me know & I will clarify.
Reply With Quote
  #2  
Old 10-29-2019, 11:40 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this the plugin you have installed right now for the "sidebar anywhere" functionality?
https://vbulletin.org/forum/showthread.php?t=283307
Reply With Quote
  #3  
Old 10-29-2019, 05:56 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Is this the plugin you have installed right now for the "sidebar anywhere" functionality?
Thanks for mentioning that Dave. I should have also mentioned that before I posted the thread...I looked thru all the installed plug-in products (via the Admin CP)...and there's no product there (Sidebar Anywhere) or other plug-in product (as far as I know) that would do this.

Only thing I can conclude is someone inserted code directly into the template (no plug-in product)...since I cannot find anything via the Admin CP.

I have sidebar blocks on the website home page that are setup via the "Forum Blocks Manager"...but the sidebar blocks on the next level deeper into the website (where the thread lists are)...are where the sidebar blocks I'm trying to work with are located.

I'm thinking if I knew what template or templates are involved in rendering the thread list pages...I might be able to find this sidebar code.

Thanks
Reply With Quote
  #4  
Old 10-29-2019, 06:19 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In that case it's hard to say because we don't know how it was implemented into your forum.
You can try searching for "sidebar" in your style by using the searching tool under "Style Manager".
Reply With Quote
  #5  
Old 10-29-2019, 07:34 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
In that case it's hard to say because we don't know how it was implemented into your forum.
You can try searching for "sidebar" in your style by using the searching tool under "Style Manager".
Aren't the vBulletin pages rendered in a fairly consistent way? Aren't the Home Page and other pages mostly a collection of individual templates that are assembled together to form each page?

Unless a vBulletin 4 site is heavily modified with a special "skin" or "eye candy"...the basic layout of a vBulletin 4 site is the same...thus the same templates are very likely used to form each page.

I was hoping to find out what templates are used to construct the 2nd level of a vBulletin 4 website (the page where the individual threads are listed...the level below the Home Page).

Thanks
Reply With Quote
  #6  
Old 10-29-2019, 07:38 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The "FORUMDISPLAY" template is used to display all threads.

Any custom feature (such as sidebar on any other page aside from homepage) can be implemented in many ways, it doesn't necessarily have the use the vBulletin structure and format which is why it's a bit hard to say from our end where exactly your sidebar is implemented. Unless I'm completely misunderstanding you.
Reply With Quote
  #7  
Old 10-29-2019, 07:50 PM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
The "FORUMDISPLAY" template is used to display all threads.

Any custom feature (such as sidebar on any other page aside from homepage) can be implemented in many ways, it doesn't necessarily have the use the vBulletin structure and format which is why it's a bit hard to say from our end where exactly your sidebar is implemented. Unless I'm completely misunderstanding you.
I think you got things perfectly.

What I'm saying is...as far as I can find via the Admin CP...there's no installed plugin product that's implementing the sidebar blocks on non-Home Page pages.

Because of this...my theory is someone in the past may have added some code directly to one of the templates which is implementing the sidebar blocks on non-Home Page pages.

This code may be similar to what the "Sidebar Anywhere" plugin uses...except whomever did it...may have inserted the code directly into a template rather than via a plugin.

What I was hoping to learn via this thread...was what the most likely template that would have been. Maybe this sidebar block code is inserted in the same template as "Sidebar Anywhere" uses...I just don't know what template(s) that is. Lol

Thanks

p.s. I'll give the FORUMDISPLAY template a close look...maybe I'll get lucky...and that's where it's located.

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

Made some progress. Turns out someone made a custom template called "sidebar"...also when I look at the FORUMDISPLAY template...I see references to "sidebar"...which would seem to indicate this is how the sidebar blocks I'm interested in are getting onto the 2nd level of the website.

Now I'm thinking I would probably like to install the "Sidebar Anywhere" plug-in...but I'm also thinking it probably wouldn't be a bad idea to remove any references to this custom "sidebar" template so there's less chance of conflicts between the custom "sidebar" template & the operation of the "Sidebar Anywhere" plugin.

Does this make sense...and if so...what would be the best way to get rid any references to this custom "sidebar" template? Is it as easy as simply deleting the custom "sidebar" template...or if I do this...will it mess up the FORUMDISPLAY template?

Thanks
Reply With Quote
  #8  
Old 11-02-2019, 03:23 PM
romaine's Avatar
romaine romaine is offline
 
Join Date: Jan 2015
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alfuzzy View Post
Does anyone have any ideas where I might look to see if I can find the code for these non-Home Page forum blocks (which are located on the sidebar)?
I think these ideas from this forum https://www.webmastersun.com/ will fit your requirements. However, you can create a forum depending on your ideas but any way I also like forums with blocks, it looks greater than default forum themes
Reply With Quote
  #9  
Old 11-03-2019, 10:51 AM
alfuzzy alfuzzy is offline
 
Join Date: Jul 2018
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by romaine View Post
I think these ideas from this forum https://www.webmastersun.com/ will fit your requirements. However, you can create a forum depending on your ideas but any way I also like forums with blocks, it looks greater than default forum themes
Sorry...I don't understand the suggestion.
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 12:33 PM.


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.04361 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete