Lavalair Script :(
Started on the old forum in June 2007 · view the original in the archive · old links redirect here
TL;DR · summary of 74 replies
- Guest encountered errors trying to import SQL files for Lavalair registration and faced issues with host permissions.
- Futurewap provided solutions including replacing old MySQL code, uploading new SQL files, and changing hosts.
- The main issue was related to database permissions or IP range restrictions preventing registration.
- Guest managed to work around the error by making a table drop in ibwf_setings, but still needed help setting up admin privileges.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
can you give me the code to show number of registered members
i can give that but i too need the code to fetch last posted topic
here the code but make sure to help me too
$memid = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_users ORDER BY regdate DESC LIMIT 0,1")); echo "Newest Member:
sorry i gave the wrong code ill add the the registered member 2moro i have no time now
cheers i would help but dont know code sorry External image (may be gone) External image (may be gone)
cheers i need that code too
here is ur code now some one plz gimme the code to show last posted topic on main pleaseeeeeeeeeeeeeeeeeeeee External image (may be gone)
code echo "Registered Members: $norm[0] ";
<? $lpt = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_topics ORDER BY lastpost DESC LIMIT 0,1")); $nops = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_posts")); if($nops[0]==0) { $pinfo = mysql_fetch_array(mysql_query("SELECT authorid FROM ibwf_topics")); $tluid = $pinfo[0]; }else{ $pinfo = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_posts ORDER BY dtpost DESC LIMIT 0, 1")); $tluid = $pinfo[0]; } $tlnm = htmlspecialchars($lpt[1]); $tlnick = getnick_uid($tluid); $tpclnk = "<a href=\"index.php?action=viewtpc&sid=$sid&tid=$lpt[0]&go=last\">$tlnm</a>"; $vulnk = "<a href=\"index.php?action=viewuser&sid=$sid&who=$tluid\">$tlnick</a>"; echo " **last post** topic: $tpclnk by: *$vulnk*"; ?>
i use this... name it lastpost.php and then put include ('lastpost.php'); where ever u want it 2 show
eeeeerrr....
miluckass that code you gave dnt work mate it say register members but no number
i got codes but show as blank mate