MyBB Community Forums

Full Version: Nitemares Mod List
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
New version available, v4.1.1
fixes the problem with multiple errors related to MySQLi, also revampt the randomizer script, should be alittle more reliable now

you can get it at the link on the first page, or until its approved, from here:
http://www.nitemare.ca/ADR/AD_R_4_1_1.zip

Edit: small subversion update to fix a stupid mistake
yes, another update, apperently i forgot to fix part of the banner admin file, should work correctly now:
http://www.nitemare.ca/ADR/AD_R_4_1_2.zip
Hello.

I´ve installed Ad plugin but I receive this error

MySQL error: 1146
Table 'plastic_mybb.mybb_ads' doesn't exist
Query: SELECT * FROM mybb_ads

How I install it?

thanks
When I want to add this code:
<script type='text/javascript' src='http://www.layerking.com/framead/framead.php?mode=s&inad=xxx&size=1'></script>
than I receive this error:
MySQL error: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'text/javascript' src='http://www.layerking.com/framead/framead.php?mode=s&in' at line 1
Query: INSERT INTO mybb_ads (code,mode,max) VALUES ('<script type='text/javascript' src='http://www.layerking.com/framead/framead.php?mode=s&inad=xxx&size=1'></script>','1','0')
when i want add the following code

<!-- BEGINN TROCADO PARTNER PROGRAMM - BITTE PARAMETER DER LINKS NICHT AENDERN-->
<a href='http://www.trocado.at/network/click.php?url_id=3693&img_id=3907'>
<img src='http://www.trocado.at/network/view.php?url_id=3693&img_id=3907' width='468' height='60' border=0 alt='AdultShop.de - Erotik Waren Gutschein'></a>
<!-- ENDE TROCADO PARTNER PROGRAMM -->

to AD ROTATION, i will get this error

MySQL error: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'http://www.trocado.at/network/click.php?url_id=3693&img_id=3907'> <im' at line 1
Query: INSERT INTO mybb_ads (code,mode,max) VALUES ('<!-- BEGINN TROCADO PARTNER PROGRAMM - BITTE PARAMETER DER LINKS NICHT AENDERN--> <a href='http://www.trocado.at/network/click.php?url_id=3693&img_id=3907'> <img src='http://www.trocado.at/network/view.php?url_id=3693&img_id=3907' width='468' height='60' border=0 alt='AdultShop.de - Erotik Waren Gutschein'></a> <!-- ENDE TROCADO PARTNER PROGRAMM -->','1','0')


please ... help ....
(2008-06-30, 01:27 AM)steff28 Wrote: [ -> ]when i want add the following code

<!-- BEGINN TROCADO PARTNER PROGRAMM - BITTE PARAMETER DER LINKS NICHT AENDERN-->
<a href='http://www.trocado.at/network/click.php?url_id=3693&img_id=3907'>
<img src='http://www.trocado.at/network/view.php?url_id=3693&img_id=3907' width='468' height='60' border=0 alt='AdultShop.de - Erotik Waren Gutschein'></a>
<!-- ENDE TROCADO PARTNER PROGRAMM -->

to AD ROTATION, i will get this error

MySQL error: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'http://www.trocado.at/network/click.php?url_id=3693&img_id=3907'> <im' at line 1
Query: INSERT INTO mybb_ads (code,mode,max) VALUES ('<!-- BEGINN TROCADO PARTNER PROGRAMM - BITTE PARAMETER DER LINKS NICHT AENDERN--> <a href='http://www.trocado.at/network/click.php?url_id=3693&img_id=3907'> <img src='http://www.trocado.at/network/view.php?url_id=3693&img_id=3907' width='468' height='60' border=0 alt='AdultShop.de - Erotik Waren Gutschein'></a> <!-- ENDE TROCADO PARTNER PROGRAMM -->','1','0')


i recommend you try going through your code, and replasing all the single quotes(') with double quotes("), that should help
Or you (as pluginauthor) could add $db->escape_string() to it ?
true, but i wasn't aware of that function when ifirst made the plugin, i'll add it to the plugin soon, thanks
How do I change the location of the banner? I want it below the panel
I have problems with ads plugin. It gives me a millions of errors just above my header...it looks like something like this...

The following warnings occurred:
Warning [2] mysql_result(): Unable to jump to row 0 on MySQL result index 28 - Line: 433 - File: inc/db_mysql.php PHP 5.2.3 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/db_mysql.php 	433 	mysql_result
/inc/plugins/ads.php 	88 	DB_MySQL->fetch_field
[PHP] 	  	ads_globals
/inc/class_plugins.php 	101 	call_user_func_array
/global.php 	89 	pluginSystem->run_hooks
/index.php 	18 	require_once
Warning [2] mysql_result(): Unable to jump to row 0 on MySQL result index 30 - Line: 433 - File: inc/db_mysql.php PHP 5.2.3 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/db_mysql.php 	433 	mysql_result
/inc/plugins/ads.php 	96 	DB_MySQL->fetch_field
[PHP] 	  	ads_globals
/inc/class_plugins.php 	101 	call_user_func_array
/global.php 	89 	pluginSystem->run_hooks
/index.php 	18 	require_once
Warning [2] mysql_result(): Unable to jump to row 0 on MySQL result index 30 - Line: 433 - File: inc/db_mysql.php PHP 5.2.3 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/db_mysql.php 	433 	mysql_result
/inc/plugins/ads.php 	97 	DB_MySQL->fetch_field
[PHP] 	  	ads_globals
/inc/class_plugins.php 	101 	call_user_func_array
/global.php 	89 	pluginSystem->run_hooks
/index.php 	18 	require_once
Warning [2] mysql_result(): Unable to jump to row 0 on MySQL result index 30 - Line: 433 - File: inc/db_mysql.php PHP 5.2.3 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/db_mysql.php 	433 	mysql_result
/inc/plugins/ads.php 	98 	DB_MySQL->fetch_field
[PHP] 	  	ads_globals
/inc/class_plugins.php 	101 	call_user_func_array
/global.php 	89 	pluginSystem->run_hooks
/index.php 	18 	require_once
Warning [2] mysql_result(): Unable to jump to row 0 on MySQL result index 30 - Line: 433 - File: inc/db_mysql.php PHP 5.2.3 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/db_mysql.php 	433 	mysql_result
/inc/plugins/ads.php 	99 	DB_MySQL->fetch_field
[PHP] 	  	ads_globals
/inc/class_plugins.php 	101 	call_user_func_array
/global.php 	89 	pluginSystem->run_hooks
/index.php 	18 	require_once
Warning [2] mysql_result(): Unable to jump to row 0 on MySQL result index 30 - Line: 433 - File: inc/db_mysql.php PHP 5.2.3 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/db_mysql.php 	433 	mysql_result
/inc/plugins/ads.php 	100 	DB_MySQL->fetch_field
[PHP] 	  	ads_globals
/inc/class_plugins.php 	101 	call_user_func_array
/global.php 	89 	pluginSystem->run_hooks
/index.php 	18 	require_once

I understand it's hard to see where is the problem in all that code but just take a look, and try to fix it if you can.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14