Announcement

Collapse
No announcement yet.

php and template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • php and template

    I have a php file working in mo forum and i have a lot of styles. My problem is this php file is calling a template but i have to edit the php file to change background color so it causes a problem with differet styles.

    here is the code inside the php file.
    Code:
     ###########################################################################
    ##  SET YOUR OWN COLOURS HERE
    ###########################################################################
       
    			?>
    			<body bgcolor="#202020" text="#999999" link="#ff0000" alink="#ff0000" vlink="#ff0000">
    			<font face="verdana" size="1"><a href="member.php?u=<? echo "$postuserid"; ?>" target="blank">
    			<b><? echo "$name"; ?></b></a><br><? echo "$comment"; ?><br><br></font></body>
       
    			<?
    			}
    is there anyway i can get this to get my style colors ? Maybe with replacement variable but i dont know how to do that.

  • #2
    You need some kind of variable that changes with each style. Because this involves custom code, I recommend you post on www.vbulletin.org. You will have better luck over there.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X