Jump to content
MakeWebGames

Recommended Posts

Posted

heres a few revamps i have done, hope you like them :)

 

Index.php (this uses House Images [V2] and Advanced Marriage Mod [V2])

 

You're unable to view this code.

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

 

index.png

 

Inventory.php (iamwicked helped slighty) (this uses Item Pic mod [V2])

 

You're unable to view this code.

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

 

inventory.png

 

Viewuser.php (this uses Profile Signatures [V2] and Personal Details [V2])

 

You're unable to view this code.

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

 

viewuser.png

Posted

Re: 3 Revamps [V2]

How would i get a users equipped items to show up in their profiles (viewuser.php)

I have tried added along the lines of the Inventory.php above, but it just shows my equipped items in everyones profiles.

thx in advance to anyone who can help.

Posted

Re: 3 Revamps [V2]

 

How would i get a users equipped items to show up in their profiles (viewuser.php)

I have tried added along the lines of the Inventory.php above, but it just shows my equipped items in everyones profiles.

thx in advance to anyone who can help.

 

It will be because you have used eg- $ir[itempic] instead of $r[itempic]

Posted

Re: 3 Revamps [V2]

Panda....

----------------------

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND us.userid != 3 AND u.user_level != 0' at line 1

Query was SELECT count(*) FROM userstats us LEFT JOIN users u ON us.userid=u.userid WHERE us.accuracy > AND us.userid != 3 AND u.user_level != 0

--------------------

in index.php....

Posted

Re: 3 Revamps [V2]

 

How would i get a users equipped items to show up in their profiles (viewuser.php)

I have tried added along the lines of the Inventory.php above, but it just shows my equipped items in everyones profiles.

thx in advance to anyone who can help.

why would you want to show their items? that would ruin attacking.

Posted

Re: 3 Revamps [V2]

 

Panda....

----------------------

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND us.userid != 3 AND u.user_level != 0' at line 1

Query was SELECT count(*) FROM userstats us LEFT JOIN users u ON us.userid=u.userid WHERE us.accuracy > AND us.userid != 3 AND u.user_level != 0

--------------------

in index.php....

Mossy m8 find these and take them out, it should work.

 

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.

 

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.

 

You're unable to view this code.

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

Posted

Re: 3 Revamps [V2]

nope :p

Just chopped all this out....

$ir['strank']=get_rank($ir['strength'],'strength');

$ir['agirank']=get_rank($ir['agility'],'agility');

$ir['guarank']=get_rank($ir['guard'],'guard');

$ir['accrank']=get_rank($ir['accuracy'],'accuracy');

$ir['labrank']=get_rank($ir['labour'],'labour');

$ir['endrank']=get_rank($ir['endurance'],'endurance');

$ir['IQrank']=get_rank($ir['IQ'],'IQ');

$tsrank=get_rank($ts,'strength+agility+guard+accuracy');

$ts2rank=get_rank($ts2,'labour+endurance+IQ');

Working now :)

  • 2 weeks later...
  • 1 month later...
Posted

Re: 3 Revamps [V2]

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Query was SELECT * FROM users WHERE userid=

view user

  • 1 month later...
  • 1 month later...
  • 4 months later...
Posted

says this on view user

 

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Query was SELECT * FROM users WHERE userid=

how can i sort it?

Posted

I am going to add these three revamps when I get back on my computer, I can't ever seem to get that item house pic to work, It would be cool if there was national cleanup day on here were people would take allthe broken files and update them correctly in the original post. It saves time to having looking threw all the posts for the "Correct" or the "Fix way of it.

Either way, I like the revamps man good job.

Posted
I am going to add these three revamps when I get back on my computer, I can't ever seem to get that item house pic to work, It would be cool if there was national cleanup day on here were people would take allthe broken files and update them correctly in the original post. It saves time to having looking threw all the posts for the "Correct" or the "Fix way of it.

Either way, I like the revamps man good job.

Not hard to fix. I'll add it to my 'to do' list

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...