![]() |
[Parse error ]in my code help needed
Parse error: parse error in /xxx/xxx/xxx/topp.php on line 17
================================================== = PHP Code:
trying to display thread starters in 2 forums 10 & 11 in a template a simple guideline would be great please |
try
PHP Code:
|
Parse error: parse error in /xxx/xxx/xxx/topp.php on line 15
had tried that bit of code earlier already :( thanks for trying though ;) any clues ?? |
Quote:
PHP Code:
|
No joy filburt1 :(
inserted this code PHP Code:
could this be the template ?? |
Quote:
|
Thanks for your time filburt1
i took the semicolon out from the end of the query with no joy :( |
stuck completley now
/me *cries* for HELP :P |
assign a value for "$maxposters". It is blank in your code so query has a syntax error.
|
Thanks Logician but still no luck :(
changed the code to this PHP Code:
|
you didnt include vb's global.php in your code so your code does not recognize gettemplate function which is a vbulletin function.
|
thank you very much Logician
got it working ;P [edit: spoke to soon] :( |
This is simply frustrating me now thank you to all that have helped
i can get the template to show now but no results from either forum ?? Any help or guidelines would be great thanks PHP Code:
Template Named: topp PHP Code:
|
require global.php instead of include.
Also, if this is for vBulletin, no need to require admin/config.php |
Thanks for the speedy reply assasingod i tried that but......
Quote:
|
try:
PHP Code:
|
already tried that m8
tried a few ways but it wont show the results of the forums specified script & template is in https://vborg.vbsupport.ru/showpost....1&postcount=13 |
You can't do it with one template, you must add another gettemplate function in the loop, setting it to a variable. Then add a template that does loop over and over, and put the variable in its correct spot in the main template.
|
Then add a template that does loop over and over
example would be great |
PHP Code:
|
All times are GMT. The time now is 03:58 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|