Search found 220 matches

by cdodds
Fri May 09, 2014 2:08 am
Forum: [3.0.x] MOD Writers Discussion
Topic: SQL Headaches
Replies: 4
Views: 758

Re: SQL Headaches

@vipaka It already works. No need. Thanks.
by cdodds
Fri May 09, 2014 1:32 am
Forum: [3.0.x] MOD Writers Discussion
Topic: SQL Headaches
Replies: 4
Views: 758

Re: SQL Headaches

@vipaka : Thank you for the advice. I got a working SQL statement in phpmyadmin before I tried to make one using phpbb. It worked. :D
by cdodds
Thu May 08, 2014 9:14 pm
Forum: [3.0.x] Abandoned MODs
Topic: [RC] Classifieds MOD 2.0.0
Replies: 1693
Views: 152409

Re: [RC] Classifieds MOD 2.0.0

I am trying to make a wishlist add-on for this: viewtopic.php?f=71&t=2241841

I pretty much have everything done, except the SQL for displaying the user's wishlist is giving me a bit of trouble. If anyone wants to use my code and help me out, I would be much obliged.
by cdodds
Thu May 08, 2014 9:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: SQL Headaches
Replies: 4
Views: 758

SQL Headaches

Alright, so I am trying to script up a cool little wishlist add-on for an already existing classifieds mod which has been installed on our board for years now ... and heavily customized. Over the years, the number of people using it has grown enough that we now have a sizable number of members deman...
by cdodds
Mon Oct 22, 2012 2:42 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help working out last bug in my mod
Replies: 9
Views: 1187

Re: Need help working out last bug in my mod

Of course not. Obviously you haven't even read the token explanations in the ACP Actually, I did read the explanations, but I was hoping that digits included decimals and not just positive integers. Accept cent-wise values, like 2300 for 23 USD (suggested).[/list] Ooo, that is how the cash register...
by cdodds
Sun Oct 21, 2012 1:21 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help working out last bug in my mod
Replies: 9
Views: 1187

Re: Need help working out last bug in my mod

request_var('foo', 0); creates an integer. You want a float, e.g. request_var('foo', 0.0) Thank you Jelly_Doughnut. Updated bill.php: <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_...
by cdodds
Sun Oct 21, 2012 1:09 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help working out last bug in my mod
Replies: 9
Views: 1187

Re: Need help working out last bug in my mod

Oh, that is awesome, phpbb has its own function for filtering input. I did not know that.

:?: Why does the bbc number token not allow decimal points?
by cdodds
Sun Oct 21, 2012 12:08 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help working out last bug in my mod
Replies: 9
Views: 1187

Re: Need help working out last bug in my mod

It's probably the EMAIL token, try changing it to a different one ({TEXT} or whatever) Some of the users/members on my site are really really ... creative; I do not trust them to input a valid email address. Everything from funny flash videos to database attacks would be injected into my code .... ...
by cdodds
Sun Oct 21, 2012 3:16 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help working out last bug in my mod
Replies: 9
Views: 1187

Need help working out last bug in my mod

I am making a easy paypal billing mod that will allow easy sending of bills to members. I just have one last bug left to fix that has me stumped. The custom bbcode for this mod is not parsing. All of my other custom bbcodes are parsing just fine, but not this one. Here is a picture of what is happen...
by cdodds
Wed Aug 22, 2012 2:38 am
Forum: [3.0.x] Support Forum
Topic: New round of spam registrations
Replies: 29
Views: 2890

Re: New round of spam registrations

Same, I am suddenly having this problem as well. Our board has been up for years, but we have not had bot problems in well over a year since we installed several spambot prevention mods / activated recaptcha / added custom fields. Now all of a sudden, for the past 2 days we have been getting about 2...
by cdodds
Thu Jan 05, 2012 9:11 pm
Forum: [3.0.x] MODs in Development
Topic: [BETA] Ultimate Board Clubs 1.0.3
Replies: 1363
Views: 75990

Re: [BETA] Ultimate Board Clubs 1.0.0

Is the new search engine included on the clubs page SQL injection safe, and the memberlist search and avatar upload? no i didnt change anything in the clubsearchsystem through i dont know what to change.. i hope somebody could create some new search system... Just run the integer values through int...
by cdodds
Tue Dec 27, 2011 11:37 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] mChat Bot
Replies: 196
Views: 28404

Re: [RC] mChat Bot

In mchat.php you add code //mChat Bot code from instruction before or after $sql = 'INSERT INTO ' . MCHAT_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary); $db->sql_query($sql); ? Thanks! I use to have the Mchat Bot code after: $sql = 'INSERT INTO ' . MCHAT_TABLE . ' ' . $db->sql_build_array(...
by cdodds
Tue Dec 27, 2011 9:21 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] mChat Bot
Replies: 196
Views: 28404

Re: [RC] mChat Bot

Something is wrong with your mChat not with mChat Bot. This line $user->data['user_id'] != $config_mchat['bot_id'] prevents bot to reply on its own text. It is placing my post between the bot's two posts. So, I post, but instead of displaying my post...it displays the bot's reply. Then it displays ...
by cdodds
Tue Dec 27, 2011 8:58 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Little Help On SQL For Mafia Wars Clone Integration
Replies: 1
Views: 485

Little Help On SQL For Mafia Wars Clone Integration

Name of script I am integrating: Pimp Wars - this is a mafia wars clone which is no longer sold as the business that made it went out of business / shut down their site, but you can still download it / buy old licenses and lots of people still use it. There is already an integration made by someone ...
by cdodds
Tue Dec 27, 2011 7:41 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] mChat Bot
Replies: 196
Views: 28404

Re: [RC] mChat Bot

Check and compare mchat bot id ('user_id') in users table and 'bot_id' in mchat config table - they must be the identical. In both tables, the 'bot_id' is 32518. Also check in mchat.php if you have that line if (strstr(strtolower($message), strtolower($user_text)) && $user->data['user_id'] != $conf...

Go to advanced search