2wapWorld

Started on the old forum in May 2010 · view the original in the archive · old links redirect here

8 replies · 1,544 views · started 16 years ago · 1 min read

2 participants
wap_king Developer · 126 posts #1

any body has this script and sql?

wap_king Developer · 126 posts #3

dude am just having problems with my script.....am trying to code the background color and image but i cant and i saw it on 2wap World thats y am asking dont have to be so arsh..! GumSlone could you share that coding with me please?

wap_king Developer · 126 posts #4

first of all...i dnt use lavalair....! and two i can look on his coding and make it into mine so dnt worry urself abt me GumSlone may i please i get the code

GumSlone Administrator Principal · 1,690 posts #5

Here is a piece of code that you need:

if(isset($_POST['customize'])){
$style='
body {
  background-color: #'.$_POST["bgcol"].'; ';

  if(strlen($_POST["bgimg"])>2){ $style.='
  background-image : url(http://w.2wap.org/css/bkg/'.$_POST["bgimg"].'); ';
  }
$style.='
  background-attachment : fixed;
  background-repeat : repeat;
  font-weight: normal;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  color: #'.$_POST["tcol"].';
  padding: 2px;
  margin: 0px;
  text-align: '.$_POST["align"].';
}

a{
color: #'.$_POST["lcol"].';
}
div.head{
text-align: left;
}';

echo '<div><i>Profile customized successfully!</i></div>';
@mysql_query("UPDATE 2wap_users SET `user_css_style`='". mysql_real_escape_string($style) ."' WHERE user_id='".intval($user_id)."'");
}

thats how simple it is.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

wap_king Developer · 126 posts #6

cool i like hw that looks...all i need its the profile part and the part to select them i wud be greatful and m8 its simple to u bcuz ur good at it am not yet

GumSlone Administrator Principal · 1,690 posts #7

wap_king wrote: cool i like hw that looks...all i need its the profile part and the part to select them i wud be greatful and m8 its simple to u bcuz ur good at it am not yet

the other parts you can code yourself its much easyer.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

wap_king Developer · 126 posts #8

bro the above coding is urs theres no way i can code the other parts without u giving me them....

GumSlone Administrator Principal · 1,690 posts #9

wap_king wrote: bro the above coding is urs theres no way i can code the other parts without u giving me them....

yes you can, there is nothing special in the code above just a css style which you store in the users table, you got the idea and almost the full code that you need all the other basic things you should do on your own.

In case you cant even code the basic things you should visit this links: HTML Tutorial PHP Tutorial CSS Tutorial or hire someone who would do it for you.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close