PDA

View Full Version : Kristall Panel RC2 -- DJ Says File?



RyanDOT
11-09-2008, 04:24 PM
Is there a file for the DJ Says?
Because i need it for my site...

Please reply
+Rep...

Calon
11-09-2008, 04:26 PM
Is there a file for the DJ Says?
Because i need it for my site...

Please reply
+Rep...

PRIVATE MESSAGES

RyanDOT
11-09-2008, 04:30 PM
PRIVATE MESSAGES

PM who?

edgates
11-09-2008, 04:32 PM
PM who?
Jewish Bear?

Is there a frontend folder or an includes folder?

RyanDOT
11-09-2008, 04:36 PM
Jewish Bear?

Is there a frontend folder or an includes folder?

Oh ok, i PM him/her now.

Theres a frontend including

functions.php
request.php
requeststats.php
timetable.php

MrCraig
11-09-2008, 04:36 PM
its a function if i can remember...

Read the functions file and look for something resembeling function djsays() or djmessage()

cant really remember which one.

RyanDOT
11-09-2008, 04:40 PM
its a function if i can remember...

Read the functions file and look for something resembeling function djsays() or djmessage()

cant really remember which one.

I opened functions.php in Code Editor and nothing is resembling to djsays or djmessage

MrCraig
11-09-2008, 04:52 PM
Ok, just downloaded the KPRC2 script and had a look,

create a new file called says.php and put it in the frontend folder, then add this code:



<?php
include("../connector.php");
$sql = mysql_fetch_array(mysql_query("SELECT * FROM `djsays`"));
echo("<hr /><b>DJ {$sql["username"]}</b> posted the message:<br />
{$sql["shoutout"]}");
?>

RyanDOT
11-09-2008, 04:56 PM
Ok, just downloaded the KPRC2 script and had a look,

create a new file called says.php and put it in the frontend folder, then add this code:



<?php
include("../connector.php");
$sql = mysql_fetch_array(mysql_query("SELECT * FROM `djsays`"));
echo("<hr /><b>DJ {$sql["username"]}</b> posted the message:<br />
{$sql["shoutout"]}");
?>


That works thanks.
+Rep.

EDIT: HAVE TO SPREAD, I ADD YOU TO THE I OWE REP TO LIST!

Want to hide these adverts? Register an account for free!