Jump to content


Help with something


8 replies to this topic

#1 _*jamie4k_*

  • Guests

Posted 28 September 2005 - 10:23 AM

Im wondering how to do it I have a pic of what I want..

Picture is here

Basically I want it so when I edit a user I can like give it a badge so when people see his profile say I gave it ignorant it would show that badge and the same with the usergroups as well how would I do it to show a pic instead of text..

#2 l3lueMage

    Wanna Be Moderator

  • Publishing Betazoids
  • PipPipPipPip
  • 4,596 posts
  • Gender:Male
  • Location:San Francisco Bay Area

Posted 28 September 2005 - 10:31 AM

well lets see, you can edit the blue blocks so then when you set the ratings and user groups they have a certain amount of the ranking boxes, these Posted Image
I believe when you set up rankings and usergroups it asks how many blocks you would like to use, and it also lets you edit the image name? Upload the new images and change the image name to the one you want, make sure the images are uploaded to the correct directory. Then you can also give them as many of the images as you want. Hope I made sense, I dont have an invision board anymore so I tried :)

#3 _*jamie4k_*

  • Guests

Posted 28 September 2005 - 10:35 AM

You have gone of the point maybe have a look at the picture im not on about a forum its for a member system..

#4 l3lueMage

    Wanna Be Moderator

  • Publishing Betazoids
  • PipPipPipPip
  • 4,596 posts
  • Gender:Male
  • Location:San Francisco Bay Area

Posted 28 September 2005 - 10:38 AM

oh, well you say usergroups and stuff and I automatically think forum :)

if its not a forum you need to give more info on what you want...

#5 _*jamie4k_*

  • Guests

Posted 28 September 2005 - 10:42 AM

Next time take a look at the pic and you nderstand what im wanting.

Dont reply unless you have an answer to the topic.

#6 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 28 September 2005 - 05:27 PM

Don't assume we have esp and can understand what you want from a pic.
I looked at it and i have no clue how to help you. If you downloaded this script from some site, go ask them for help. If not, then give us a little more info.

#7 Donna

    Retired P2L Queen!

  • P2L Staff
  • PipPipPipPip
  • 12,330 posts
  • Gender:Female
  • Location:B.C Canada

Posted 28 September 2005 - 05:32 PM

jamie4k, on Sep 29 2005, 04:42 AM, said:

Next time take a look at the pic and you nderstand what im wanting.

Dont reply unless you have an answer to the topic.
Please don't be rude to members here offering to help you, your topic description and post does not clearly explain what you want so maybe fix that up first and use some manners.

#8 _*jamie4k_*

  • Guests

Posted 29 September 2005 - 07:47 AM

ok thats not gonna help me isit! anyone got any ideas for me?

#9 EGOTech

    Young Padawan

  • Members
  • Pip
  • 6 posts

Posted 03 October 2005 - 06:41 AM

Jamie, you could of asked me. (it's Nick btw)

You simple make a database for the badges with the inage url and an id for the badge. Then in the user database create a badges field and use the explod and implode functions to insert and export data.
e.g.
<?php
if($_POST['do'] == "update_badges")
{
$badges = implode(",",$_POST[badges]);
mysql_query("UPDATE `users` SET `badges` = '$badges' WHERE `userid` = '$_GET[id]' LIMIT 1");
echo "Badges Updated";
}
else
{
  echo "<form action=\"\" method=\"post\">
  $badges_query = mysql_query("SELECT * FROM `badges` ORDER BY `badgeid` ASC");
  while($badges = mysql_fetch_array($badges_query))
  {
  echo "<p><img src=\"$badges[url]\"> <input type=\"checkbox\" name=\"badges[]\" value=\"$badges[badgeid]\"></p>";
  }
  echo "<input type=\"submit\" value=\"Submit\">\n<input type=\"hidden\" name=\"do\" value=\"update_badges\"><br>\n";
}
?>

Just a quick write up, if you have any problems just ask.

Edited by EGOTech, 03 October 2005 - 06:42 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users