1
Requests / Request on a small script.
« on: March 03, 2009, 10:01:02 PM »
where can i get it
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
'Greet
'1.0
Sub Greet_event_load()
Addchat vbGreen, "-----------Plugin Greet Loaded--------"
Addchat vbGreen, "-------------Made by Awsome ----------"
Addchat vbGreen, "----------Speacial thanks to Hero-----"
End Sub
Sub Greet_event_userjoins(Username, Flags, Message, Ping, Product, Level, OriginalStatString)
AddQ "/me | " & Username & " has joined the channel," & " Your ping is: " & Ping
End Sub
I have fixed the old HL and placed it here for download until the new one is done:
To get: /r77 get hl or Click here
Preview
I could just give you a copy and you would have to fill out database info.
Here's the PHP file: (This one only draws data from the database, no text file)Code: [Select]<?php
$con = mysql_connect("localhost","username_here","password_here");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("database_here", $con);
$result = mysql_query("SELECT * FROM ibf_members");
while($row = mysql_fetch_array($result))
{
echo $row['name'];
echo "<br />";
}
mysql_close($con);
?>
Make sure to fill in:
username_here
password_here
database_here
If your SQL server is not located on the same server as your website you will have to change it from localhost to something else, but try localhost first.
I have a better way of doing this, Jason is paying me to create the same system and I simply use a php file to extract all the members from the database then add other 'exceptions' using a text file. It just needs read and write privileges. After creating the php file, it is very easy to create a script to parse it.