MyBB Hacks

Full Version: Using XThreads Parser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Could you post what script you used for that (in the thread fields textarea)?
Yes, but its NOT just videos. I can't get this text to show either:

Code:
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center" class="tborder">
<tr>
<td class="thead"><strong>Game Section</strong></td>
</tr>
<tr>
<td class="trow1" align="center"><a href="http://www.leefish.nl/mybb/games.php"><img src="http://www.leefish.nl/SiteImages/games.jpg" alt="Games"/></a></td>
</tr>
</table>


My embedded video text

Code:
<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/LOd_GBx-6eQ?fs=1&amp;hl=en_GB"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/LOd_GBx-6eQ?fs=1&amp;hl=en_GB" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>


Custom threadfields Display variable

Code:
<br /><br />{VALUE}


Postbit template - dal_postbit_first

Code:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
	<td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
		<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
		<span class="smalltext">{$post['mystatus']}</span><br />
		<span class="smalltext">
			{$post['usertitle']}<br />
			{$post['userstars']}
			{$post['groupimage']}<br />
                <if $post['avatar'] then>
					<a href="member.php?action=profile&amp;uid=$post[uid]"><img src="{$post['avatar']}" alt="avatar" /></a>
                <else>                       
                    <img src="{$mybb->settings['bburl']}/images/avatars/guestfish.gif" alt="avatar" />                    
                </if><br />  {$post['onlinestatus']}<br />                                        
			{$post['user_details']}		
		</span>
	</td>
	<td class="{$altbg}" valign="top">
		<table width="100%">
			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']}{$post['subject_extra']} </strong></span>
				<br />
				<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				{$post['message']}
{$GLOBALS['threadfields']['cbsscr']}
				</div>                             
			</td></tr>
		</table>
	</td>
</tr>
<tr>
	<td class="{$altbg}" align="center" valign="middle"><span>{$post['awards']}</span></td>
	<td class="{$altbg}" valign="bottom">
{$post['signature']}	
						   {$post['attachments']}
				<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
				</div>                              
			</td></tr>


<td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
	<td class="{$altbg}" style="vertical-align: middle;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">	
			<td class="trow1 post_buttons {$unapproved_shade}">
				<div class="author_buttons float_left"><div class="author">
{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}				</div></div>
				<div class="post_management_buttons float_right"><div class="author"><if $GLOBALS['mybb']->user['usergroup'] != 1 then>
</if>{$post['button_edit']}{$post['button_quickdelete']}
				</div></div>
			</td>		
                        </tr>

	</table>
	</td>
</tr>
</table>


The lobster login will still work RateU.

so its a plug in conflict
hmmmm

I will go through them and look.
I've tried to look at your settings. It seems OK for me....
its all very weird. I should just add video display via an X thread Smile
If you want, try to add a test custom thread fields with a default setting for that forum.
And add the variable in the dal_postbit_first to see if it works, Lee.
Well, how odd is that. I made a NEW custom thread field - same settings - and it worked.  Thanks RateU
That's interesting...
Pages: 1 2
Reference URL's