Frequently Asked Questions: script questions: page: 3
Page 3 of 17 · <1 ... 2 3 4 ... 17 >
-
1
If someone joins my list without a URL, and I approve them, a porn website appears in their URL section! No matter what I do, it’s still there! What’s going on?
Unfortunately, enough people have had this happen to them that we felt it necessary to add to the FAQ.
This porn links problem is most likely due to some spyware you’ve inadvertently downloaded. There are programs out there that insert porn websites into any URL form field they find, and it doesn’t stop until you get rid of the spyware.
Here are a few good spyware programs to try - each one tends to find different things, and each acts in its own way.
The only thing with Bazooka is that you have to remove the offending spyware manually, but they give thorough instructions and it’s usually quite simple.

September 6, 2004 |
By Kathryn |
Filed under FAQ, PHPFanBase: Troubles, Scripts
-
2
When I view the archives page at archives.php, I get this error: “Can’t select from table in the database. SELECT timestamp, id, title FROM php_blog WHERE FROM_UNIXTIME( timestamp, ‘%Y’)= ORDER BY id DESC” OR I get this message: “Invalid year specified”.
You cannot go directly to archives.php — you must view the archives page by going to archives.php?year=xxxx (where xxxx is a year in which you have written blog entries).
September 5, 2004 |
By Sasha |
Filed under Build A Blog, FAQ, PHPCalendar, Tutorials
-
3
Is it possible to do a count of the total number of members in different fanlistings if they are on different web domains?
Yes, please see this forum thread.
June 3, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Customize, Scripts
-
4
How can I add a field to the join form, and make it a required field?
That is explained in this forum thread.
June 3, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Customize, Scripts
-
5
Script for total and pending members?
Where can I find the script snippet that displays the Total and Pending Member Counts for my fanlisting?
You can find that in the README file included in the zip file.
Total Members:
<?php include("config.php"); $query = "SELECT * FROM $table WHERE apr='y'"; $result = mysql_query($query); $num = mysql_num_rows($result); ?> <p>We have a total of <strong><?php echo $num; ?></strong> members!</p>Pending Members:
<?php include("config.php"); $query2 = "SELECT * FROM $table WHERE apr!='y'"; $result2 = mysql_query($query2); $num2 = mysql_num_rows($result2); ?> <p>We have a total of <strong><?php echo $num2; ?></strong> pending <?php if ($num2 == "1"){ ?>member<?php } else { ?>members<?php } ?>!</p>You only need to include config.php once, so if you’re using both of these snippets, make sure to delete the line that includes config.php in the second one.

June 3, 2004 |
By Sasha |
Filed under FAQ, PHPFanBase: Customize, Scripts