Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Trading Forum
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #131
RE: Trading Forum
Could you please post the error message?

06-30-2012 02:27 AM
Find all posts by this user Quote this message in a reply
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #132
RE: Trading Forum
Quote:Value for "Product image" is required.

happens the same, no matter if i put image uplaod or URL
06-30-2012 02:58 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #133
RE: Trading Forum
What I can think right now is there is more than one xthreads_trdfimg input on that pages.
Try to view the source page to check it.

06-30-2012 03:19 AM
Find all posts by this user Quote this message in a reply
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #134
RE: Trading Forum
Quote:<div align="center"><div id="xtarow_trdfimg"><div style="display: none; font-size: x-small;" id="xtasel_trdfimg"><label style="margin: 0 0.6em;"><input type="radio" name="xtasel_trdfimg" value="file" checked="checked" id="xtaselopt_file_trdfimg" />File</label><label style="margin: 0 0.6em;"><input type="radio" name="xtasel_trdfimg" value="url" id="xtaselopt_url_trdfimg" />URL</label></div>
<div><span id="xtaseltext_file_trdfimg">File: </span><input type="hidden" name="MAX_FILE_SIZE" value="402400" /><input type="file" class="fileupload" name="xthreads_trdfimg" size="40" tabindex="10" id="xthreads_trdfimg" /><input type="hidden" name="MAX_FILE_SIZE" value="0" /></div>
<div><span id="xtaseltext_url_trdfimg">URL: </span><input type="text" class="textbox" id="xtaurl_trdfimg" name="xtaurl_trdfimg" size="40" value="http://" /></div></div><script type="text/javascript"><!--

$("xtasel_trdfimg").style.display="";
$("xtaseltext_file_trdfimg").style.display=$("xtaseltext_url_trdfimg").style.display="none";
($("xtaselopt_file_trdfimg").onclick = $("xtaselopt_url_trdfimg").onclick = function() {
var f=$("xtaselopt_file_trdfimg").checked;
$("xthreads_trdfimg").style.display = (f?"":"none");
$("xtaurl_trdfimg").style.display = (f?"none":"");
if(!f) $("xthreads_trdfimg").value = "";
})();
//-->
</script></div>
</td>
</tr>

i only see one in new thread
06-30-2012 03:28 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #135
RE: Trading Forum
If you have the other XThreads file input, does it happens to the file inputs too?
If this happens to trdfimg file input only, if you have a test area/forum on that board, try assigning the trdfimg field to the test forum/area, then try to upload image from there.

06-30-2012 03:57 AM
Find all posts by this user Quote this message in a reply
Glas Offline
Member
***
Posts: 106
Joined: Jul 2010
Post: #136
RE: Trading Forum
(06-30-2012 03:57 AM)RateU Wrote:  If you have the other XThreads file input, does it happens to the file inputs too?
If this happens to trdfimg file input only, if you have a test area/forum on that board, try assigning the trdfimg field to the test forum/area, then try to upload image from there.

[Image: capturadepantalladeqq20.png]
I've put it in another forum and still gives me error
i've deleted it and created it again and still problem

here is my new thread template

trdf_newthread


Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
	<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
		<tr><td class="thead" colspan="2"><strong>Nueva Venta</strong></td></tr>
		<tr><td class="tcat" colspan="2"><strong>Informacion requerida</strong></td></tr>
		<tr>
			<td class="trow_sep" colspan="2">
				<div class="float_left">Necesito:</div>
				<div class="float_left" style="margin-left: 9px;">{$tfinput['trdftnt']}</div>
				<div class="float_left" style="margin-left: 19px;">Categoria:</div>
				<div class="float_left" style="margin-left: 9px;">{$tfinput['trdfcat']}</div>
				<div class="float_left" style="margin-left: 19px;">Nombre del producto:</div>
				<div class="float_left" style="margin-left: 9px;"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></div>
			</td>
		</tr>
		<tr>
			<td class="trow1 smalltext" colspan="2">
				Por favor define si vas a comprar o vender un producto, su nombre y su categoria.
			</td>
		</tr>
		<tr>
			<td class="trow_sep" colspan="2">
				<div class="float_left">Cantidad:</div>
				<div class="float_left" style="margin-left: 9px;">{$tfinput['trdfquantity']}</div>
				<div class="float_left" style="margin-left: 19px;">Precio:</div>
				<div class="float_left" style="margin-left: 9px;">{$tfinput['trdfminmax']} $ {$tfinput['trdfprice']} {$tfinput['trdfet']}</div>
				<div class="float_left" style="margin-left: 19px;">Condicion:</div>
				<div class="float_left" style="margin-left: 9px;">{$tfinput['trdfcond']}</div>
				<div class="float_left" style="margin-left: 19px;">Estado:</div>
				<div class="float_left" style="margin-left: 9px;">{$tfinput['trdfstatus']}</div>
			</td>
		</tr>
		<tr>
			<td class="trow1 smalltext" colspan="2">
			Debes definir cuantos articulos tienes del mismo producto a comprar/vender. puedes establecer un precio minimo/maximo. Tambien debes establecer si si el precio es para cada producto o para todos los que ingreses (pack).  Formato de precio: x o x.xx, Tambien determina si el producto es nuevo/usado, asi como si esta disponible o no editando la opcion de estado.
			</td>
		</tr>
		<tr><td class="tcat" colspan="2"><strong>Informacion Adicional</strong></td></tr>
		<tr>
			<td class="trow2" width="1">
				<textarea name="message" id="message" rows="7" cols="60" tabindex="2">{$message}</textarea>
			</td>
			<td class="trow2 smalltext" valign="top">
				Si tienes informacion adicional sobre este producto o sobre las condiciones de pago/entrega puedes ingresarlo en el cuadro de la izquierda.
				<br class="clear" /><br />
		Si tienes una imagen relacionada con el producto, puedes subirla aqui. Formatos permitidos: jpeg, jpg, gif o png. TamaƱo Maximo 200kb. Dimension Maxima: 1024 x 768 pixeles. Dimensiones minimas: 320 x 240 pixeles.
<br>
 <span style="color:red"><b>Por seguridad, se requiere que la imagen sea real y que contenga algun texto que diga beatDJ.net, si la imagen no cumple con este requisito, tu venta/compra sera eliminada del sistema</b></span> 
				<br class="clear" />
				<div align="center">{$tfinput['trdfimg']}</div>
			</td>
		</tr>
		
		<tr><td class="tcat" colspan="2"><strong>Miscelaneos</strong></td></tr>
		<tr><td class="trow_sep" colspan="2"><strong>Metodos de pagos</strong></td></tr>
		<tr>
			<td class="trow2 smalltext" valign="top" colspan="2">
			Establece el metodo de pago para tu producto aqui, puedes seleccionar mas de uno.
				<br class="clear" />
				<div>{$tfinput['trdfpayment']}</div>
			</td>
		</tr>
		{$subscriptionmethod}
		{$modoptions}
		{$captcha}
	</table>
	<br />
	<div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
	<input type="hidden" name="action" value="do_newthread" />
	<input type="hidden" name="posthash" value="{$posthash}" />
	<input type="hidden" name="attachmentaid" value="" />
	<input type="hidden" name="attachmentact" value="" />
	<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
	<input type="hidden" name="tid" value="{$tid}" />
	{$editdraftpid}
</form>
{$forumrules}
{$footer}
</body>
</html>

06-30-2012 04:26 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #137
RE: Trading Forum
Ugh... I can't reproduce it (I've tried using your template above).
Do you have a regular test account?

06-30-2012 05:16 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #138
RE: Trading Forum
Great template set RateU, thank you very much. I am using it on a forum I am helping out on (mybb 1.6.8) and the $ symbol in new thread, forumdisplay thread edit post and postbit first is giving a security error. Ludicrous.

I replaced the $ with the HTML Entity (hex) from http://www.fileformat.info/info/unicode/...http://www.fileformat.info/info/unicode/char/24 and it saves fine.


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 07-28-2012 09:23 PM by leefish.)
07-28-2012 09:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #139
RE: Trading Forum
Ah yes. I forget about the template security in MyBB 1.6. Thanks, Lee Smile

07-29-2012 07:09 AM
Find all posts by this user Quote this message in a reply
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #140
RE: Trading Forum
I have a problem with Trading Forum:

http://img109.imageshack.us/img109/3650/xtheads.png

Why my trading forum isn't as this: http://mybbhacks.zingaburga.com/attachment.php?aid=179   ?

thanks
08-05-2012 03:12 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: