2015-08-10, 07:33 PM
2015-08-10, 08:37 PM
Can you make clear where (in which template) they don't work. The definition of variables depend on the php script that evaluates the templates.
2015-08-11, 01:59 PM
forumdisplay_thread
2015-08-11, 02:49 PM
(2015-08-10, 07:33 PM)XP Mai Wrote: [ -> ]{$post['fid5']},{$useravatar['image']},{$useravatar['width_height']},{$username}
These variables have not been set in script forumdisplay.php when the forumdisplay_thread template is evaluated.
Can you please explain what you are trying to achieve.
2015-08-11, 02:53 PM
Trying my best working on the forum layout.
http://forum.international-union.com/for...php?fid=27
I want to add OP's info at the right side, while left side is deal info.
http://forum.international-union.com/for...php?fid=27
I want to add OP's info at the right side, while left side is deal info.
2015-08-11, 03:07 PM
I'm afraid that what you want to achieve is only possible by either a plugin or by making changes in the forumdisplay php script.
Changing php scripts is not really advised, because it can cause problems when new upgrades of the forum software become available. You should have a good book-keeping of all the changes you have made.
Changing php scripts is not really advised, because it can cause problems when new upgrades of the forum software become available. You should have a good book-keeping of all the changes you have made.
2015-08-11, 03:15 PM
The current forumdisplay on the particular forum is actually a separated template, made it possible by the XThread plugin.
So after upgrades, I'm still having the same template and still able to use the latest version without worry of losing work.
As for the changes to be made, can you please advise me?
So after upgrades, I'm still having the same template and still able to use the latest version without worry of losing work.
As for the changes to be made, can you please advise me?
2015-08-11, 03:26 PM
I am sorry, but I have no experience with XThread at all.
2015-08-11, 03:30 PM
(2015-08-11, 03:07 PM)Ad Bakker Wrote: [ -> ]I'm afraid that what you want to achieve is only possible by either a plugin or by making changes in the forumdisplay php script.
Continue.
2015-08-11, 03:52 PM
One of the variables that you mention is already available. This is $username, which you should alter in $thread['username'].
The others require more elaboration, we could do that one by one.
Which information is in $post['fid5']?
The others require more elaboration, we could do that one by one.
Which information is in $post['fid5']?