The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
in index.php I didnt add anything
in the template I added $thread[message] and $thread[forumname] there is something to add I guess this is the code from index.php... PHP Code:
|
#12
|
||||
|
||||
![]()
That's the only added code in index.php ?
There is no $thread[message] and $thread[forumname], thats why they don't show on the template as well. |
#13
|
|||
|
|||
![]()
what excatly should I add? can u write down the whole lines?
here is the whole code added for Latest Treads: PHP Code:
|
#14
|
||||
|
||||
![]()
No guarantees this will work.
Using $thread[message] and $thread[forumname] in the templates. Code in index.php you can try: PHP Code:
|
#15
|
|||
|
|||
![]()
I'm gettin an error
Code:
Parse error: parse error, unexpected T_STRING in /forums/index.php on line 456 PHP Code:
The thread message is working! ![]() I added just this line Code:
$thread['message'] = htmlspecialchars_uni(fetch_trimmed_title(strip_bbcode(fetch_censored_text($thread['preview']), false, true), $vboptions['threadpreview'])); |
#16
|
|||
|
|||
![]()
instead of preview in [message] I used pagetext as used in featured threads. it works smootly.
I resolved everything exept the forum name. I'm getting database errors when trying to insert those code lines. if anyone can help me resolve this I would really appreciate it. thanks in advance |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|