523 Forum Posts by "Fallin-Again"
uhhhh thanks......ill let you know how it goes when i figure it all out......
ok i use a wordwrap in my forums, and it works pretty good, until they use signs like # and %. I set the limit for wordwrap to 90 and it works fine for all chars except those two. Is there a way to stop long words and not just so many words per line? If i lower the number for the wordwrap anymore the forums start to look stupid.
set a session or cookie that will be stored with the user to say when thier last visit was, and then when they visit replace it with the current date or create the cookie if one isnt there after displaying it so there next visit will display the last set one and so on and so on.
im not sure if its supposed to be there or not but theres a period infront of your = sign on the last line.
im trying to integrate php into the rss feed so that it is automaticly updated.
Ok right now I have an XML file which will be displaying my feeds. I have it all setup fine but when I try to add php to it the damn thing keeps giving me errors. All the tutorials are basicly the same so pointing me to one probly wont help.
Heres the xml file im using www.toon-workshop.net/rss/index.xml
Can you please help me get this damn thing going.
ok im fucking dumb can someone move this topic to the programing forum! XD
Ok right now I have an XML file which will be displaying my feeds. I have it all setup fine but when I try to add php to it the damn thing keeps giving me errors. All the tutorials are basicly the same so pointing me to one probly wont help.
Heres the xml file im using www.toon-workshop.net/rss/index.xml
Can you please help me get this damn thing going.
still nothing heres the link http://www.toon-workshop.net/forums/topi c.php?id=770
The code below wont replace the quote tags that are in the bodies of text, I cant figure out why. I dont get errors or anything.
$bb_replace2 = array ('/(\[[quote]\])(.+)(\[\/[quote]\])/');
$bb_replacements2 = array ('<div class="quote">\\2"</div>');
$newrepbody = preg_replace($bb_replace2, $bb_replacements2, $newrepbody);
print $newrepbody;
all searches came to a big nothing for me.
Hi I was just wondering where I can get the intro for newgrounds thats on Metropolis Circuit.
Ok first off i remade the code, its simpler and more effective......or it would be if i could get it to work. The problem is, that it wont display the images at all. I have even echoed the vars that held the numbers to make sure they were being created, but heres the new code, I just need to know whats wrong:
<?php
$tocheckrep = mysql_query("SELECT * FROM topics WHERE tid = '$topic[id]' ORDER BY pos DESC LIMIT 1")or die("CCE: ".mysql_error());
$lastchckrep = mysql_fetch_array($tocheckrep);
$check_last_rep = $lastchckrep['pos'];
$curr_date = date("ymdgis");
if (isset($_SESSION['TW_forum_second'])){
$did = 'no';
}
if (!isset($did)){
$_SESSION['TW_forum_second'] = $curr_date;
}
$curr_sess = $_SESSION['TW_forum_second'];
if ($check_last_rep > $curr_sess) {
echo ('<img src="icons/new.png">');
}
if ($check_last_rep > $curr_sess) {
echo ('<img src="icons/default.png">');
}
if ($topic[is] == "lock"){
echo '<img src="icons/locked.png">';
}
?>
Right now im building my own forums, and im having trouble getting an image to display if the user hasnt been to the forums before or if theres a new post since there last visit. Here what I have so far:
<?php
$tocheckrep = mysql_query("SELECT * FROM topics WHERE tid = '$topic[id]' ORDER BY id DESC LIMIT 1")or die("CCE: ".mysql_erorr());
$lastchckrep = mysql_fetch_array($tocheckrep);
$check_last_rep = $lastchckrep['pos'];
if (isset($_SESSION['TW_forum_second'])){
$check_cookie_var_now = $_SESSION['TW_forum_second'];
//start of inside
if ($did!='no' && $topic[is] != "lock" && $check_cookie_var_now<$check_last_rep){
echo ('<img src="icons/default.png">');
}
if($did!='no' && $topic[is] != "lock" && $check_cookie_var_now>$check_last_rep){
$_SESSION['TW_forum_second'] = date("ymdgis");
echo ('<img src="icons/new.png">');
$did = 'no';
}
if ($topic[is] == "lock"){
echo("<img src='icons/locked.png'>");
}
//end of the inside
}
if(!isset($_SESSION['TW_forum_second']) && $topic[is] != "lock"){
$_SESSION['TW_forum_second'] = date("ymdgis");
echo ('<img src="icons/new.png">');
$did = 'no';
}
?>
How do u add a space into a body of text after a certain ammount of characters? or like after a certain ammount of characters on one line.
ok that worked and all but i dont really know how to explain this.
This is for a forum, and when a user puts [link]www.website.com[/link] i need that to turn into a link to whatever url they put inbetween, so if i have an array i wont be able to tell how many links they put in.
ok well that worked for the first part of it and then im left with something[/link]
Is there a way to copy whwats inbetween [link]something[/link] into a variable?
were defending ourselves so cram it.
dont lie about your age along with your graphics. face it your still learning. So keep learning and when your better make another idea.
too late now, he acted his age so were continuing without him.
Actually he got mad becuase his skills werent up to our so we agreed to just let him lead us. We were doing find until hwanted to do some art and then he started telling everyone that they were fired. So since we redid the entire game (including scrpts) we decided to keep working and he could go and do his own thing still. He's a lil 12 year old brat.
but it didnt work.....
this is the code i have:
<form id="form1" name="form1" method="post" action="cool.php">
<textarea name="textarea"></textarea>
<input type="submit" name="Submit" value="Submit" onmousedown="var x=window.confirm('Are you sure you are ok?')
if (x)
" />
</form>
i need to know how to make the javascript go to the url in the action part of the form when someone click ok.
I have a forum that somebody started and he all of a sudden dissapeared along with his website and all. So I need somebody to finish the job he started and also fix the bugs that are there. The forums are located at www.toon-workshop.net/forums/ You can have an advertisement spot on any part of the site you want for a year.
its not that the problem is so much for me but for people that use firefox. I want to make the site browser friendly.
Im having a problem getting a flash player that i made to load music files from my site in firefox but it works in Internt Explorer. Check out http://www.toon-workshop.net/portal/view.php?
type=music&id=1 and click listen to music.
see i dont know if its an actionscript problem or a problem with the way the site is....

