Jump to content
MakeWebGames

Recommended Posts

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

does that match your header?

  • Replies 93
  • Created
  • Last Reply

Top Posters In This Topic

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

ya

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

and you added the announcment mod right?

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

ok in the mod

everywhere you see

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

replace it with

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

everytime you see this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

replace it with this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

ok, ill try it. Im hopping that this mod is worth all this trouble. lol

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

if i have to i will rewrite it too work with 2.0

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

well if this works, then Ill post it here saying it for version 2.0

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

what would I change these too

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

oh i screwed up i am sorry

mysql_num_rows = $db->num_rows

mysql_error = $db->error

mysql_fetch_array = $db->fetch_array

mysql_fetch_row = $db->fetch_row

basically you repleace the mysql_ with $db->

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

$is=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die($db->error());

 

 

this is wrong. what I put for it

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

take out ,$c

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

ok this code is all messed up. Still syas error. Can you rewrite this code for me.

Guest Anonymous
Posted

Re: [mccode] Annoucement Mod

ya it is but yours is soo much better. The one that comes with it sucks., do you know my problem and how to fix it

  • 2 weeks later...
Posted

Re: [mccode] Annoucement Mod

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/omegacri/public_html/ann.php on line 87

Announcements

Post New Annoucement

Announcements are posted here and can be discussed by the fellow members

Details Topic Announcement Discussions Delete

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/omegacri/public_html/ann.php on line 139

There are currently no annoucements posted.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/omegacri/public_html/ann.php on line 144

 

and yes i did execute the sql

Posted

Re: [mccode] Annoucement Mod

Well thats kinda impossible

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in

in short words meaning "cannot find table".

 

:) check in database if them tables exist.

The script isn't errored because it's worked for everyone else. :)

Posted

Re: [mccode] Annoucement Mod

no it doesn't :|

it usually (but dont know everything so just guesstimating) means that it didn't return any results

try adding one and see if it clears it

Posted

Re: [mccode] Annoucement Mod

Well it doesn't mean it cannot find any tables, but if you don't install a script properly, It'd come up with that or the SQL query is invalid/error'd.

It works for everyone :P

Posted

Re: [mccode] Annoucement Mod

ok i did get this mod installed today and it is working instead of running the querie in the db i tried put the tables in manually that is where i messed up. Thanks

now just working on it showing everyone when there is an announcement

Posted

Re: [mccode] Annoucement Mod

 

oh i screwed up i am sorry

mysql_num_rows = $db->num_rows

mysql_error = $db->error

mysql_fetch_array = $db->fetch_array

mysql_fetch_row = $db->fetch_row

basically you repleace the mysql_ with $db->

Some of thats wrong,

mysql_fetch_array = $db->fetch_row

mysql_fetch_rows = $db->fetch_rows

Posted

Re: [mccode] Annoucement Mod

yeah just do

$_POST['lala']=str_replace(array("<",">","/n"),array("","","

"), $_POST['lala']);

that stops HTML, dont know about ajax.

In AJAX the J means JavaScript and the X means XML == AJAX - Anstronomous Javascript and XML.

:) not exactly sure about the first A spelling lol, its too long and boring to keep in my head lol.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...