Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hoxxing

Pages: [1]
1
Items / Re: Simple Lotery
« on: January 19, 2013, 11:54:39 pm »
Hola :)
Ya he podido saber porque el error de arriba se daba, y es que yo había guardado el archivo como "lotery.php" cuando el id del ítem es "loteria.php", así es como debía guardarlo, pero bueno, ahora tengo otro problema:

Resulta que al añadir el ítem todo iba bien, añadirlo en el shop, comprarlo, usarlo, jugar y perder.....pero al momento de ganar, surge un problema:

"Fatal error: Call to undefined function db_query() in /home/stepmani/public_html/foro_3/Sources/shop/items/loteria.php on line 76"

He intentado solucionarlo, pero nada la verdad, no se cual es el problema, uso DreamWeaber Cs5 y cuando trato de cambiar algo muestra error syntax, pero cuando vuelve a su normalidad, nada, me dice que el código esta bien pero en realidad al usarlo, no. Que puede ser?

Muchas gracias.

2
Items / Re: Simple Lotery
« on: January 18, 2013, 11:11:59 am »
Hola, me aparece éste error:

"ERROR: No se pudo crear instancia de 'lotery' item!"

Tengo la versión:
Numero de la version: 3.1 (SMF 2.0 branch) (Build 5)
Version: 3.0 (Build 15)

SMF: 2.0.2

Cómo lo puedo solucionar?
Gracias! :)

3
I have shopmod 3.1.6.1. Let me know if there is any option to not let go up "points" on the forum that the administrator chooses, it does not accumulate "points" the user or posting new topics or post new replies in that forum, but in the other category and other forums.

A couple of years ago I saw an SMF forum ShopMOD in a forum of "off topic" issues and answers all new users to open "Off Topic" do not accumulate points in the shop, but in the other category and web forums that if, even in each forum determined how many points are earned, occilaba between 0 (for online games and off-topic) to 5 points (for forums in which users contributed to the subject was the web )

I wish I could handle that option, I would be very helpful ... Thanks  :)

4
Bugs / Re: error RemoveTopic.php
« on: June 29, 2010, 01:33:03 pm »
por favor alguien que me ayude con este problemaaa!!!

5
Bugs / error RemoveTopic.php
« on: June 28, 2010, 02:51:43 pm »
hi!

I have a problem when I delete a message on my forum, I get the following message:

Wrong value type sent to the database. Integer expected. (Amount)
Function: removeMessage
File: / Sources / RemoveTopic.php
Line: 953

When I check the line 953 I realize that it is about this part:

Quote
   // Begin SMFShop code
   $smcFunc['db_query']('', '
      UPDATE {db_prefix}members
      SET money = IF(money >= {int:amount}, money - {int:amount}, 0)
      WHERE id_member = {int:member}
      LIMIT 1',
      array(
         'amount' => $modSettings['shopPointsPerPost'],
         'member' => $row['id_member'],
      ));
   // End SMFShop code

I have tried to change that, but I have good results. the most that I have to do is change "));" by "),", but in doing so, another error occurs in line 957:

Quote
// Only remove posts if they're not recycled.
   if (!$recycle)

Blank page appears with a message: parse error in source / removetopic.php in line 957

Do not know what to do, really need help, I hope someone answers this message.

Version SMF: 2.0 RC3
Version SHOP: 3.1.5 for SMF 2.0 RC3


I appreciate the attention to this in advance because of the help I can offer.

Bye!

Pages: [1]