Jump to the post that solved this thread.
Solved: 9 Months, 2 Weeks, 2 Days ago Custom thread fields disappears from thread after upgrade to 1.8.29
#1
Solved: 9 Months, 2 Weeks, 2 Days ago
Hi,
My Custom thread fields disappear from the threads after upgrading to 1.8.29.
On edit thread, there are all custom thread fields but on thread not displaying them
How to fix it?

help pleas to fix it.

All templates related to xthreads are in place.
Help to fix it.
Reply
#2
Solved: 9 Months, 2 Weeks, 2 Days ago
Please help, all templates checked. All are same as comparing with another 1.8.24 localhost board.
Some php files changed so it not displaying custom thread fields on postbit.
Guide please.

It occurs from upgrade 1.8.26 to 1.8.27.
Reply
#3
Solved: 9 Months, 2 Weeks, 2 Days ago
Have a look at the error log.

It may be related to parser validation: https://docs.mybb.com/1.8/faq/errors/#pa...ion-failed
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#4
Solved: 9 Months, 2 Weeks, 2 Days ago
Thank devilshackers.

There are no errors or empty posts.

But all the custom thread field related to xthreads disappears from the first post of all threads. On full edit of first pot of the thread, there are custom thread fields are present.

I try _parser-debug.php and it shows validates correctly.

I change $output_validation_policy value from VALIDATION_REQUIRE to VALIDATION_REPORT_ONLY in class_parse.php file but the issue is still present.

No, an error log was created after the upgrade to 1.8.27.
How to find the solution.
Thank you.

It looks like postbit_first and postbit_first_classic templates not loading.
Up to 1.8.26, both templates work fine but after that not work.
It's my thinking that it's not related to xthread. but it's due to changes in some core files in 1.8.27 and onward versions.
Hope I will get a fix for this.
Thank you.

I install a fresh copy of 1.8.27 and install xthread and create one custom thread field.
Created postbit_first and postbit_first_classic templates.
I also added {first_post} in shwothrad template..
But that created custom thread field not seen in first post of the thread even there is custom thread field in full edit of 1st post.

Below is the postbit_first_classic template:
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
	{$post['useravatar']}
	<div class="author_information">
			<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
			<span class="smalltext">
				{$post['usertitle']}<br />
				{$post['userstars']}
				{$post['groupimage']}
			</span>
	</div>
	<div class="author_statistics">
		{$post['user_details']}
	</div>
</div>
<div class="post_content">
	<div class="post_head">
		{$post['posturl']}
		{$post['icon']}
		<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
	{$post['subject_extra']}
	</div>
	<div class="post_body scaleimages" id="pid_{$post['pid']}">
		{$post['message']}
		<br/><br/><br class="clear" />
		
		<span class="largetext" style="color:#8761c3;font-size: 20px" ><center><strong> !!! Free Download Links !!!</strong></center></span>	
<div class="thread-content1 text-center largetext bg-info-o-10 ">{$GLOBALS['threadfields']['Free_Link']}</div>	
<br />	
		
	</div>
	{$post['attachments']}
	{$post['signature']}
	<div class="post_meta" id="post_meta_{$post['pid']}">
		{$post['iplogged']}
		<div class="float_right">
			{$post['poststatus']}
		</div>
	</div>
	{$post['input_editreason']}
</div>
<div class="post_controls">
	<div class="postbit_buttons author_buttons float_left">
		{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
	</div>
	<div class="postbit_buttons post_management_buttons float_right">
		{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
	</div>
</div>
</div>
Reply
#5
Solved: 9 Months, 2 Weeks, 2 Days ago
Its fix is here...
https://github.com/Sama34/XThreads-MyBB-...ad8b7782cd

Thanks to Omar G for this.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)