PHP Designer :3 I really like it.
2 2007-06-25 20:37
Re: Simple Antispambot-code Mod v0.8 (39 replies, posted in PunBB 1.2 modifications, plugins and integrations)
If you want the code to only work with one answer then when you use the random code, just have it create a hidden field to submit. Then, when the hidden field is submitted (1,2, or 3), just check that the answer and hidden field number are the same Once again, easy for anyone experienced to spot... but if you did it that way at least people would not be able to give any answer.
3 2007-06-25 08:20
Re: An awesome update to cash mod- check it out! (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
How much? I could do both. Not a problem.
4 2007-06-25 08:18
Re: cash mod help (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yes, that would be possible to do.
Have you studied PHP? If you learn just the basics, you should be able to do this very easily.
A great place to start is http://www.tizag.com/phpT/index.php
What you would do is:
1. get the user name of the person receiving the money and the amount that the sender wishes to give them
2. check to make sure that the original user actually has that much (you would do a sql query and then check the value)
3. subtract the value from the sender and add that same value to the person receiving the money
4. send a PM to the person getting the money (I would have a checkbox to say yes/no give a notice)
I would also have the user sending the money have to reenter their password just to be sure no one is stealing
5 2007-06-25 08:06
Re: Simple Antispambot-code Mod v0.8 (39 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I was thinking about how to make this mod so that there would be a few random questions.
This method would allow the person to enter any of the correct answers possible, but the user doesn't need to know that is possible
I have not tested this. Just an idea.
-------------------------------
$answer = $_POST['spamcode'];
switch ($answer){
case "1492":
$spamcodecorrect = 1;
break;
case "PunBB":
$spamcodecorrect = 1;
break;
case "Google":
$spamcodecorrect = 1;
break;
default:
$spamcodecorrect = 0;
break;
}
if ($spamcodecorrect <> "1")
message('Please enter the correct answer.');
------------------------------
<div class="inform">
<fieldset>
<legend>Spambot prevention</legend>
<div class="infldset">
<p>
<?php
$random = (rand()%3);
$random = $random + 1;
$question1 = <<<QUESTION1
Please enter the year in which Columbus discovered America in the box below.</p>
<p><b>Hint:</b> <i>In XXXX, Columbus sailed the ocean blue...</i></p>
QUESTION1;
$question2 = <<<QUESTION2
Please enter the name of a great forum script.</p>
<p><b>Hint:</b> <i>You are using it...</i></p>
QUESTION2;
$question3 = <<<QUESTION3
Please enter the name of a great search engine.</p>
<p><b>Hint:</b> <i>It may be your homepage...</i></p>
QUESTION3;
switch ($random){
case "1":
echo $question1;
break;
case "2":
echo $question1;
break;
case "3":
echo $question1;
break;
}
?>
<div class="rbox">
<input type="text" name="spamcode" size="4" maxlength="4" /><br />
</div>
</div>
</fieldset>
</div>
6 2005-10-05 21:23
Topic: "Redirecting" (0 replies, posted in PunBB 1.2 troubleshooting)
I'd like to add an additional message underneath the box for post.php
But no matter where I put the text I cannot figure out where to put it >__>
I'd like it to only happen when the...
Redirecting
Post entered. Redirecting ?
Box shows up...
Something like a random quote or something, but I can do that.
Thanks!
7 2005-10-05 21:16
Re: Cash Mod 1.0.0 (63 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I was sort of playing around with the mysql data... well I didn't ruin anything But I noticed that in the bank tab I added there was interest saying "290382309423E-6" interest waiting... so I thought that was sort of weird Going to the sql data I see that the default number is something huuuugggeeee... so I change it... so something smaller... like 2
Now the interest is about .0000000032823 >__>
What's up with this? What should I change the default value back to?
8 2005-05-19 20:03
Re: Char Avatars - like go-gaia.com (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
¬_¬ sorry
9 2005-05-18 22:40
Topic: Char Avatars - like go-gaia.com (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I've looked around on this forum and do some searches but have only found static avatar topics. What I would like is a script to have a system where the users of my forum can have their own char and collect items on the forum or from a store.
The script is already made for phpBB but I have no interest in using it and that's why I am here.
I've collected some links for a developer so that they can have a place to start if they are willing to write/translate a script for PunBB!
This is a mod that is almost complete:
http://www.pointandcode.com/demo/avatar_mod.zip
Here is a test forum for the mod -
http://www.pointandcode.com/demo/viewfo … c759e0962c
[more links]
This cool mod is what everyone is talking about -
http://go-gaia.com/
http://www.phpbb.com/phpBB/viewtopic.ph … mp;start=0
Current Discussion on the Mod (this page) -
http://www.phpbbhacks.com/forums/viewto … 869#126869
Current Mod that's developed and now stopped -
http://www.phpbb.com/phpBB/viewtopic.php?t=173299
Combining Avatar on Registration page -
http://www.phpbbhacks.com/viewhack.php?id=867
Special Developers Forum has been setup -
http://steampunk.org/avatar/index.php