Extra Threadfields 1.5.0 Lite

westgds

New Member
t7d214.png


2jbrtcp.png


What does this hack do?
This hack allows you to add more fields to your threads besides just the title and message. This is extremely usefull in order to
specify certain things in a thread in a way that people are more aware of it and such. There are several types of fields you can add
and several features for the hack.

Step 1. Import the following product: product-extra_threadfields.xml
Step 2. Upload the files in the upload folder.
Step 3. Do the edits located below
Step 4. Edit the newly added options in admincp as you please
Step 5. Enjoy the hack.

############# Do The Following In The NEWTHREAD template ##############

Code:
Search For: 
<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>		</tr>

Add Below: 
	$extrathreadfields


############# Do The Following In The threadadmin_editthread template ##############

Code:
Search For: 
		<tr>
			<td><input type="text" class="bginput" name="title" value="$threadinfo[title]" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>
		</tr>

Add Below: 
	$extrathreadfields

############# Do The Following In The postbit or postbit_legacy template ##############

Code:
Search for:
				<if condition="$post['title']"><strong>$post[title]</strong></if>

Add below:
	<if condition="$post[postcount] == '1' ">
	<div align="right">$extrafields</div>
</if>

############# Do The Following In The threadbit template ##############

Code:
Search for:
				<a href="showthread.php?$session[sessionurl]t=$thread[threadid]&page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
		</div>

Add below:
		$extrafields
 

w5a

New Member
I been using this, it's great for warez forum, how ever does anyone knows how to code this the right way ? let me explain, after the post have been, you can not edit the extra fields
I made a post at vb.org and the coder does not offer support..
 

sharaq

New Member
w5a said:
I been using this, it's great for warez forum, how ever does anyone knows how to code this the right way ? let me explain, after the post have been, you can not edit the extra fields
I made a post at vb.org and the coder does not offer support..

Well after a post has been made, if u want to edit the extra field made by someone, then do this, open the thread, on top of the first post u'll get 'Thread Tools' (if u r admin) n click 'Edit Thread', in that u'll get that extra field to edit............. :D

Enjoy.........
 

w5a

New Member
aha thanks....... all this time I was using edit from the post, no wonder i was not able to see it......
 

SuCre

New Member
can anyone help me to include this in editpost template i will allow my members!

Sorry for my english!
 
Top