Frequently Asked Questions: script questions: page: 6
Page 6 of 17 · <1 ... 5 6 7 ... 17 >
-
1
I deleted some members from my list, and now the IDs are all wrong (e.g. 1, 2, 5, 7, 8). What happened?
The member IDs are database IDs in MySQL, and MySQL gives out IDs that are truly unique. This means that each ID will only be given out once and cannot be re-used, even after a member has been deleted. You can’t change this without hacking the script.
May 21, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Troubles, Scripts
-
2
On my country.php page, some countries are listed twice, but both pages have exact the same members! What’s going on?
If you view the source of the country.php page in your browser, you’ll see that the duplicates are because there’s a single space to the right of the country name. Just edit all members from the country this is happening to in your Admin Panel and delete any space after the country name.
If you have too many members in that country to go through, you can also go to the View All Members page, go to Edit > View Source in your browser, and check to see exactly which member has the extra space. The easiest way to do this would be by going to Edit > Find while viewing the source, and typing in “Country “, where country would be the country name (and without the quotation marks). This will lead you right to the members with the extra space, so you can directly type their member ID into your Admin Panel and fix it, instead of having to go through all members from that country.
May 21, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Troubles, Scripts
-
3
When the approval email is sent to a member and the email address turns out to be not valid or non-existent, do I get a “failure” notification?
That depends on how your server is set up. Usually, this will not be the case, since the email will technically come from PHP, and not through your email program, but your server can be configured to do this. If this is not happening on your server, and you would like it to, ask your host about it.
May 21, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Customize, Scripts
-
4
Whenever I use an apostrophe (’) in the Email All Members function, it puts a slash (\) in front of it! How can I make it stop doing that?
PHP puts the slash in to escape the character, to make sure it doesn’t get parsed as actual PHP coding instead of just as the body of the email. The easiest way to stop it from doing that, is by simply not using contractions. Write “I am” instead of “I’m”.
There is a way to fix this though, but it involves editing your admin.php file. Find the line that looks like this:
mail($recipient, $subject, "$_POST[body]", "$mailheaders");
It should be around line 262. Then change it to this:
mail($recipient, stripslashes($subject), stripslashes($_POST[body]), "$mailheaders");
That should fix the problem!
May 21, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Troubles, Scripts
-
5
Why is Korea not listed in the Country list?
It is, it’s listed as North Korea and South Korea.
May 21, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Troubles, Scripts