vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Loading a sidebar widget on its own page (https://vborg.vbsupport.ru/showthread.php?t=325768)

bfdzio 11-13-2017 11:21 PM

Loading a sidebar widget on its own page
 
Anyone have an idea on how to pull this off? I have taken the code from the (nameofthewidgetblock).php and duplicated it in its own page. I just can't get it to render it/process the variables so it is just blank. I've tried including everything but just can't get it to work.

To make it simple, I've been trying to get the dbtech_thanks.php block to display on it's own page instead of the sidebar. Then I would work to add other information to it myself but I can't get to that part yet. The goal here is I want to be able to show the 'trending' content from the thanks/like mod on it's own page.

So far I've got the template and page, and I get the page to load with the layout of the sidebar block (two tabs and a drop down) but nothing else.

Any suggestions here?

In Omnibus 11-13-2017 11:56 PM

I suggest you ask the developers at dbtech. They may or may not not be on board with your attempt at re-engineering their code.

bfdzio 11-14-2017 11:09 AM

Quote:

Originally Posted by In Omnibus (Post 2591086)
I suggest you ask the developers at dbtech. They may or may not not be on board with your attempt at re-engineering their code.

I did, they are the ones who pointed me to the right file because that was my main problem before. I actually didn't even know the widget existed before and was trying to get the right SQL query to pull the content.

I was just hoping somebody with more experience than me might know what it is I am failing to include. I'll keep digging and working on it but just had to post something in case somebody sees this and has an idea.


All times are GMT. The time now is 10:36 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.02280 seconds
  • Memory Usage 1,712KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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