vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Logician's Webtemplates just a small request (https://vborg.vbsupport.ru/showthread.php?t=122667)

Davey 07-31-2006 08:15 PM

Logician's Webtemplates just a small request
 
Hey all, it's been a while. I bought myself another license so I am back again :)


I actually have a small request because I can't get back into the vB coding quite so easily. There's a lot for me to relearn.

For the templates, I need a news system. Just a little something which pulls the top newest posts out of a forum. I understand there's a preset variable which does this $WQ_last10threadfromforum2 however it seems to be pulling blank even though I have a post in that forum. It seems to pull empty.

I have ensured that I ticked the "used web query" but nothing.

Could use a little help getting this fixed and/or if not then some help making something which works in the same way.

Renmiri 07-31-2006 09:07 PM

Hmmm.. Tried adding it as $GLOBALS[WQ_last10threadfromforum2] ?
Sometimes this is all that is needed

Davey 08-01-2006 05:36 AM

1 Attachment(s)
I'll post a couple of screenshots with this post. I tried the GLOBALS thing but it's still coming up a blank template. Maybe it's something silly I am missing that I needed to do, but I cannot figure it out, sorry.

Edit, the first screenshot was fixed.

I forgot the WQ bit. It shows the forum ID 2, but how do I [might I enquire] go about changing that? I had a look around but I can't see anything. I was trying to look for the template for that table as well. I wanted a bit of cell-padding and centering to spruce its appeal up a bit more.

Thank yah.


All times are GMT. The time now is 02:52 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.00969 seconds
  • Memory Usage 1,706KB
  • 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)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