Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Change New Topic Colour


I just installed a mod and now when theres a new post made somewhere, when your on the mainpage instead of it just telling you who posted it and the date, it now tells you who, were and the date. Heres a preview of it:

http://img210.imageshack.us/img210/6...ictitle1lm.jpg.




View Complete Forum Thread with Replies

Related Forum Messages:
Change Background Colour
I want to display my query results using alternate background colours like the screen shot attached. Code:

View Replies !
Cell Colour Change!!!
I am trying to change the colour of a cell depending on what page the
user is on..

I have View.php the is loaded into every page!

This is what I was trying to do but I got no clue how it goes

If page is "home" Then cell colour should be blue
If page is "register" Then cell colour should be Red
If page is "contact us" Then cell colour should be yellow

View Replies !
Calender Change The Background Colour
im have made a calender that i want to tie into a sql database , and depending on the value in the database will change the background colour of that day in the calender, the problem im having is with the following:

$colour = "#FF0000"; // this is just to test whether the background colour changes
$cal_event_opentd = "<td align=center bgcolor=#<?php echo $colour;?><b>"; 

but for some reason the backgroud doesnt change,can anyone tell me where im going wrong.

View Replies !
Comments Php Script Colour Change
i have just got a free php comment script of the net. but the defualt theme is black text on white back ground.

Wile on my web site i have a dark back ground and white writing, so after many hours of php code readying and learning i have finaly managed to change most of the text into white exept for the last 3 text pices.

1. the "Name/ tilttle" of the comment/s

2. the "date and time" of when the comment was posted

3. the " comment/ text" which the user posted

from what i have found i belive i need to set the colour in this part of the script here but everything i have tryed hasnt worked.

1.  $COM_LANG['header'] = "Comments";

2.  $COM_LANG['months'] = array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");

3.  not sure where the code is for this :| i have just started with php.

View Replies !
How Do You Change The Colour Of A Menu Drop Down?
Could somone please help me with changing the colour of a default menu dropdown? The border / dropdown arrow. Code:

View Replies !
Topic To Put This Under
I made custom error pages and used .htaccess to display them, but now when i go to my website it just shows the custom 403 forbidden error. i tried deleting the .htaccess to make it default but it's not working any ideas?

View Replies !
Advanced OO Topic
I notice a strange behavior in PHP4 and wonder if anyone can explain it.

Essentially, when I extend a class from a built-in module, I can add and
access variables but can not access new functions I create within the
extended class.

This has only happened attempting to extend classes from ming, but I suspect
it may be a universal problem (?).

That is:

<?PHP
class foo {

}

class bar extends foo {
function bar() {
print "bar";
}
}

$bar = new bar();
$bar->bar(); //PRINTS "bar"
?>

Works as expected, however, in:

<?PHP

class foo extends SWFSprite {

var $x = 10;

function bar() {
print "bar";
}

}

?>

running:

<?PHP

$foo = new foo();
print $foo->x; //WORKS; PRINTS "10"
$foo->bar(); //RETURNS "Undefined Function" FATAL ERROR

?>

Can anyone explain this behavior? Will it be fixed in PHP5? Is it related to
the Zend engine? Any workarounds?

View Replies !
Topic Subscription
I am not asking how topic subscription works here. I am asking how to make one. I have written a nice looking forum system and I would like to create topic subscription function also. I know couple of methods to do this but they sound too 'heavy'. What do you suggest? How do these IPB's, PHPBB's and other forums' subscription work?

View Replies !
(Off Topic) Cyberwar Question
One of my internet providers has blocked my broadband adsl internet
connection for over a 2 months now. They still steal money from my bank
account and they still hold the adsl line hostage, so I can switch over
to another ADSL internet provider. I could switch over to a (tv) cable
internet provider, however these are more expensive and only few
providers available because of mergers.

I am not happy about all this:

1. Blocked internet access.
2. Vastly reduced internet provider choice.
3. They stealing money and providing no service for it in return.
4. They received false complaints, they were too lazy to do proper
research, and now they accuse me of things I did not do, and even if I
did do it, it's not serious enough to disconnect anybody for 2 months.
What are they, internet police ? I don't think so ?!

The question is what to do about it ? I can see 4 options:

1. Switch to a more expensive (tv) cable internet provider.
2. Sue the ADSL internet provider.
3. Start a cyberwar against the ADSL internet provider. It's the
Italian Internet Provider (Tiscali). However I live in the Netherlands
where they are also present !
4. Stick with the current dial-up internet provider.

Here is what I have to say about the options:

1. I don't really want to switch to a more expensive (tv) cable
internet provider, since it's more expensive, and they also have the
same kind of contracts, so they may also disconnect me for no reason at
all ! Most internet providers have some lines in their contracts which
say: "We have the right to disconnect you at any time !". Ridicilous I
say ! That's dangerous ! People might have internet telephone, and then
they can't call the help services in case of fire or injury or other
dangerous situations ! Furthermore internet is becoming more and more
important, just disconnecting people for no reason or bullshit reasons
should not be allowed anymore ! Internet has become to important to
just let some internet provider mess it all up !

2. The law in the Netherlands even states that disconnecting equipment
from open communication networks without valid reason is a crime.
However the goverment does little against it. It's a new law.
Furthermore, most lawyers and judges know little about internet and
it's technology, the same can be said for the police, they know little
about it all, they are mostly busy catching street criminals and such.
Going to the police at least in my neighbourhood is useless. Same can
be said for the lawyers. However I am still waiting for the lawyers
response... they still have to make up their minds. Gje. It's only been
2 months... Gje.

3. So that brings me to option three. Cyberwar ! We could start a
cyberwar against such ISP's like Tiscali and block their networks from
our webservers, websites and homepages. They don't provide me, and us,
with services then we don't provide anymore of our services to them !
So their networks will become less valuable ! At some point if enough
people take part in the cyberwar, their users will switch, because they
can no longer access any websites. It's mean, it's not nice, but the
ISP is doing it already ! Should we do they same back at them ?

That's my question really:

Who is willing to start or support a Cyberwar against these kinds of
Evil ISP's ? and maybe you have some ideas about such a war yourself ?
we can discuss those.

You can also reply via e-mail at: Skybuck2000@hotmail.com

If we do start a cyberwar maybe we will become anonymous to protect
ourselves somewhat.

I can be short about option four, it's working, but it ain't great. Me
not too happy about it. I was lucky I still have an old computer, with
an old 33k6 modem which is still supported by Windows 98. I can forget
about windows xp, it doesn't support it, as well as other older
phone/fax/data modems <- no driver support. I might buy a new 56k6
modem, but then I would have to replace one my graphics cards in my new
computer, and that kinda sucks as well... and the improvement won't be
that much and dial-up is kinda expensive... need to pay per minute...
but it's not too expensive for now. The problem is... downloading
larger stuff becomes a
problem... so that's not good. I am not happy about that.

View Replies !
How To Put The Check Next To A Topic That Is Solved
anybody know how to put the check next to a topic that is solved??

View Replies !
Fetch Irc Channel Topic
how to grab the topic of a channel on a given irc server (no passwords or nickserv to deal with).

View Replies !
Page Cannot Be Displayed While Post Or Reply To A Topic
I can send emails through my forum can access Admin and change etc. for the first time ever the other night tried to post or reply to a topic and I get the below message I have tried everything I can think of. Code:

View Replies !
Convert IRC Based Colored Topic Into Colours In Html
i have a script and everything that moves what the channel topic is onto irc, into a sql database, and from there into a variable called $topic, the question is how can i make $topic show the mirc topic with all the colours and layout.

View Replies !
Query Strings - Edit The Topic And Submit The Form?
I am creating some custom php forums right now, and I need some help with query strings.

In the forums, when someone edit his own post, I set the following query string:
"address.com/topic.php?t=123&control=edit"

Which opens a text area so that the user can edit his topic. Now when the user edit the topic and submit the form, the address stays:
"address.com/topic.php?t=123&control=edit"

But I want it to change back to:
"address.com/topic.php?t=123"

without the 'control=edit' part.

View Replies !
Building A Web Portal For Users To Log In And Leave Their Views About A Particular Topic?
I have recently just got a project to start using php and mysql. The project involves building a web portal for users to log in and leave their views about a particular topic.

I am new to all this and was wondering could anyone recommend a book or tutorial that will tell me how to build a web portal using php and mysql.

View Replies !
Row Colour
I have a table and would like the row to change colours. The table uses two colours white and green. The frist row in the table should be green then white then green then white and so on.

How would i go about doing this thanks. I am using while() tio get the rows and storing it in a variable.

View Replies !
Table Row Colour
I have a table and would like the row to change colours. The table uses two colours white and green. The frist row in the table should be green then white then green then white and so on.

How would i go about doing this thanks. I am using while() tio get the rows and storing it in a variable.

View Replies !
Convert HEX Colour To Rgb
Im trying to convert a hex ref to rgb to use with the gd image manipulation. try:

$rgb = chunk_split('ff0000', 2);
// convert hex values to decimal
$r = hexdec($rgb[0]);
$g = hexdec($rgb[1]);
$b = hexdec($rgb[2]);
echo($r);
echo($g);
echo($b);

gives:

15150

where id expect 25500

View Replies !
Background Colour Not Showing
I need to use a coloured background for a page which contains tables. Using
Frontpage 2k I can create the background colour OK and it views correctly;
but when viewed using apache, there is no background colour, it is just
white.

View Replies !
Selecting Colour Problem
I have a dynamic part of the page where the user can select what colour they want the bottom and top table colour to be, the thing is, on the bottom part of the table i have my advertisment link, which if someone is cunning enough they could make the colours the same colour as the link in an attempt to hide the advertisment PHP Code:

View Replies !
Colour Top 3 Results In A Table
I'm currently trying to make a poker league whats seem to be going well.

I have populated a table with the league results, but would like 1st position in gold, 2nd in silver and 3rd in bronze. These will be the first three rows of the table, as the data has already been arranged in the correct order.

I'm a little unsure how to go about doing this, and wondered if anyone could point me in the right direction. Code:

View Replies !
Changing Text Colour
i had this script down but have modified it, somewhere along the way and can't see where, what i had was, if there were messages in the users inbox the word "Inbox" would go red, if there were unread messages in there the "Inbox" would go blue if there were no messages it would simple be black Code:

View Replies !
Changing An Images Colour
I have an image containing 3 colours. Is there anyway using PHP i can change these colours, one at a time, to whatever colour is selected via a dropdown menu?

View Replies !
Make A Colour Transparent
I would like to do is grab an image, determine what colour is at a certain pixel (maybe 10, 10) and then set that colour to transparent for the whole image. Basically it is so that I can dynamically place an image on various backgrounds for previewing. I am not worried about perfection (anit-aliasing, matte, etc).

View Replies !
Background Alternating Colour Code
Im having problem making my background alternate between colors.  Following is my code, the result alternates 2 colors ok, but prints each entry from my database 30 times. Code:

View Replies !
Alter Font Colour Within Text Box
I have been trying to change the font colour within a text box. I have used a hidden box with echo but want to display within the box to continue the theme of my forms. I am stuck and been trying different methods, but with no joy any help would be greatly appreciated. current code this not working is PHP Code:

<? echo "";
if ($percentage >= 87.5) {
    $color = '#00FF00'
} elseif ($percentage >= 37.5) {
    $color = '#ff9900'
} else {
    $color = 'red'
}
?>
<input type="text" name="percentage" value="<? echo '<b style="color:' . $color . '">' . $percentage . '</b>' ?>">...

View Replies !
Replacing A Colour With An Other In A Truecolor Picture
would anyone know the most efficient way to replace a colour with an other in a truecolor picture?

For the moment, I'm doing it manually, looping though the pixels and using imagecolorat() to test the pixel and imagesetpixel() to change its colour if needed, but it's slooooow: a 900x800 picture takes 10 seconds or so to convert one colour, and I will need to convert up to 50 colours.

View Replies !
Colour Selected Columns Using Sessions?
i have this code that creates all these columns using checkboxes,

if (isset($_SESSION['checkbox2'])) {
fwrite($handle,'<td><xsl:value-of select="county_UA"/></td>'."
");
}
if (isset($_SESSION['checkbox3'])) {
fwrite($handle,'<td><xsl:value-of select="pop_code"/></td>'."
");
}

<td><xsl:value-of select="county_UA"/></td>
<td><xsl:value-of select="pop_code"/></td>

i want be able to have the ability to give the user to colour the columns they require using dropdownlist for the fields and radiobuttons for colours: Code:

View Replies !
Cell Colour Based On Field Data
I have a mysql database and i am using php to display some field data in a table cell on a page. The field data is either 'failed' or 'passed', how can i make the cell colour change depending on the field data result?

View Replies !
Paste Colour Coded Scripts Into This Forum?
i noticed alot of people paste their scripts colour coded, what editor do you use to do this? I have PSPad but I dont think it has the feature of copying script with forum colour tags...

View Replies !
Image(jpeg) Upload & Resize Loses Colour?
I am uploading an image to a server and resizing the image then saving it to a directory,I had it working fine on my local machine (windows) but when i uploaded the code to the server (linux) - same directory structure etc, it didnt work the colour appeared to be removed from the image, as though the number of colours in the image was reduced to 2 or 4 or something?

has anybody come accross similar problems with GD or image functions in php?

View Replies !
Use Session Variables To Pass The Background Colour Of A Page
I am trying to use session variables to pass the background colour of a page loaded into a frame using session variables. I declare tyhe colour in the main page which loads first, this is the content in the main page and echos OK.

$_SESSION['content_color'] = "#E9E9E9";
echo $_SESSION['content_color'];

However if I echo the session variable in my loaded page in another frame I don't get anything at all.

View Replies !
How To Update Form Input Field Background Colour On Validation Error
I have been searching for form validation scripts for ages and all th ones that I like are far too complicated and inflexible so I decided to stick with my own which is easier to understand.

The only thing I don't like which i have seen on better form validation scripts is that and fields with errors are highlighted.  i can only presume that they have used php to set the background color of the input field or textarea.

How would I add some code to change the background colour of form elements if an error is found? Here is my code which validates the form but doesn't change form elements colours. Code:

View Replies !
Change Field Content After Select Change
Having looked but can not find a solution, can this be done.

I have a table (airports) that contains 2 fields.

field 1 = airport_name
field 2 = iata_code

I have a form which has a dropdown list which gets its content from the airports table using field 2 (airport_names).

What I am trying to do is when a user selects the name of an airport, field 2 (iata_code) is updated to the corrosponding record. Code:

View Replies !
How To Change One Page To Change All?
i need to know how to create a page where i only have to change one thing on one page so it changes that text or image on every page of my site. in other words i want to be able to create a template, so if i do want to vchange something in the duture, i only have to change on page, instead of changing each individual page.

View Replies !
Cannot Change Php.ini
System info: PHP Version 4.3.11, Debian, 2.4.18-bf2.4
Configure Command './configure' '--with-ibm-db2=/usr/IBMdb2/V7.1'
'--with-apache=/usr/local/src/EMILLICANWORK/apache/apache/1.3.31'
'--with-gd' '--with-zlib-dir=/usr' '--with-jpeg-dir=/usr/local'
'--with-freetype-dir=/usr/local/src/EMILLICANWORK/apache/work/usr/local'
'--enable-sw_securid' '--with-sybase' '--with-pgsql' '--with-bz2'
'--enable-track-vars' '--enable-bcmath'

Configuration File (php.ini) Path /usr/local/lib

There was not a php file or director in /usr/local/lib, initally I
tried copying the one I had edited in /etc/php4/apache/php.ini. Then
have created the director /usr/local/lib/php, and put the php.ini file
there. Still no change from the default settings to the ones I have
made.

View Replies !
Hello, [XML] Is There Something To Change?
I'm a newbie in XML/XSLT trying to get some HTML output from a simple
XML source that starts with:

QUOTE:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="letter2text.xsl" version="1.0"?>
/QUOTE

I ran phpinfo();
Here is what I gathered:
QUOTE:
libxml
libXML support active
libXML Version 2.6.22
libXML streams enabled

SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.10 $
Schema support enabled

xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.22

xmlreader
XMLReader enabled

xmlwriter
XMLWriter enabled

/QUOTE

The problem is that I keep seeing the XML source in IE6, not the
formatted data.

View Replies !
How Can I Change Every Second Row?
I am making a html table builder, and would like every second row to be
blue. So for that purpose I need a number that changes on every
iteration of a while loop, for exampel so that a value is 0 then 1 then
0 a so forth.

View Replies !
Row Bg Change...
How do you make it so like the first background color of the row is red, then the next one is blue, then red, then blue, based on a bunch of items echo'ed from a db table. ??

View Replies !
How Do I Change A Dir Name?
I just want to know what function i should use for changing a folders name? i have looked at php.net but cant seem to find any function who can you this.

View Replies !
Change The Src
i have been fighting with this for days now and i cannot figure out how to change a diplaying flash file on a page with a link or a button. i can display the flash file with the <embed src="flash.swf" name="flashdisplay"> but i cannot get the src to change like the Image Flip in Javascript. when the user clicks on "Next", the displaying flash file will change to a different one that is already uploaded to the server. without refreshing the page.

View Replies !
Change PHP.INI
Is it possible to change the php.ini file without having to access the server?

I am building a program and want it to do everything when I say "create" and I want it to change the allow_url_fopen to be on if not already on and then upload a few files.

I have access to the FTP, is it possible to dynamically download it, read the file replace allow_url_fopen = off with allow_url_fopen = on then finish uploading using the fopen function?

View Replies !
Can You Change A PNG From 8 Bit To 24 Bit Image?
Can you change a PNG from 8 bit to 24 bit image using PHP?

View Replies !
Change The Refferer
I'm looking for a way to change the refferer of the client clicking on
a link to an external site. In other words, the external site should not see where the visitor is coming from, or even better, if i could manipulate the referer so that in their web-server's logs it will show as if they are coming from their own site.

View Replies !
Permission Change
Change permissions to 'file.txt' for be writing by nobody (chmod a+rw). Excuse my ignorance, but what does this mean in english?

View Replies !
How To Change PHP To HTML...
Need to put a small website fully databased (that is 20-30 pages only - mostly pictures) on a CDRom.

Is there a way to automatically do the move or do I have to change everything manually (URL, A tag)?

View Replies !
Change The Standard Out
Is there any way to redirect the standard out to some variable ?

I meen, instead of seending the result to the browser, send it to a
variable.

View Replies !
How To Change Passowrd
I want to change my linux password through PHP script.

View Replies !
Syntax To Change Value
I am trying to change a value but cant quite grasp the syntax
<?
$vtfa=test
$dn=1
?>

<td><?= $vtfa.$dn ?></td>

<? $dn = $dn + 1 ?>
<td><?= $vtfa.$dn ?></td>
<? $dn = $dn + 1 ?>
<td><?= $vtfa.$dn ?></td>

What I want are the three cells to consist of test1, test2 and test3. As you

Any help appreciated



View Replies !
Change Color
Does anyone know how I would make each row of the result a different color:
here is what I have:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<?
$connection=mysql_connect("localhost", "bla bla", "bla bla") or die
("could not connect");
mysql_select_db("yorkbia2_dbname");
$result = mysql_query("SELECT * FROM Board");
echo "<table border=0, table width=200%, bgcolor=#FFFFFF>
";
while ($myrow = mysql_fetch_row($result)) {
printf("<tr><td%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td>
<td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</tr>
",
$myrow[0], $myrow[1], $myrow[2], $myrow[3], $myrow[4], $myrow[5],
$myrow[6], $myrow[7], $myrow[8], $myrow[9], $myrow[10]);
}
echo "</table>
";
?>
</body>
</html>

View Replies !
How To Change A File Name
i want to change the name of an uploaded file from:myant.jpg -> to -> ID123.jpg
how do you do it?

what i want is to make a mysql database with pics but i don't want to load the pics on the database. i want to change the name of the picture to a picture_id name (and store the picture info on a table). otherwise i could never load another pic with the same name in a directory.

View Replies !
Change Register_global
It's possible or not to change register_global with php script not permanent but only work when connecting.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved