I think using member_build_blocks_start is much better than member_complete as it allows you to access function preRegister of vB_Template class.
|
JUst a quick question
Playing with 4.2.2 Tried using the $templater but no dice but (Sorted) BUT !!!! eval does work ? is this right ? PHP Code:
|
Quote:
Code:
$templater = vB_Template::create('testtest'); |
Help me please! What I`m do wrong?...
I trying show some info on showthread page. ----------------------------------------------------------------- PHP Code:
HTML Code:
<template name="rightside_on_showthread" templatetype="template" date="1337106668" username="taravasya" version="1.0.0"><![CDATA[ And so on SHOWTHREAD template I adding: HTML Code:
{vb:raw rightside_on_showthread} But with no luck ((( In place in what I was want to add my info I have white space(without my div class="rightsideinfo" in inspector of page). But in debug info, I have not cached template rightside_on_showthread. UPDATE ------------------------------------- I was thinking if I take vars into my own template, then I don`t need to use vB_Template:: preRegister for add my template in showthread. But I was wrong...)) |
PHP Code:
|
Thanks, Lynne! Actually I wrote in a previous message, that I understood my mistake, but your variant helped me to make my code more succinctly! Thanks!
|
Another problem(((
In hook showthread_similarthreadbit I add next code: PHP Code:
This hook added in showthread.php on 1978. I was thinking, if this hook placed in a while cycle, I will have all results from this cycle. But no.... :( |
Hi
my plugin load in "showthread_complete" and it's code is: PHP Code:
Code:
<meta property="og:title" content="{vb:raw pagetitle} - page {vb:raw pagenumber} of {vb:raw totalpages} pages" /> I need to point out that I can not load the plugin in the "parse_template". Because the page number and other variable is not recognized in "parse_template". and why "{vb:rawphrase thread.title}" not work in my template? |
All times are GMT. The time now is 03:55 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|