Jump to content

[-_-]

Members
  • Posts

    76
  • Joined

  • Last visited

    Never

About [-_-]

  • Birthday 09/21/1977

Contact Methods

  • Website URL
    http://www.plentyoftorrents.com

Profile Information

  • Gender
    Male
  • Location
    Canada

[-_-]'s Achievements

Member

Member (2/5)

0

Reputation

  1. So I would have to manually put forum titles into the array? How would the code recognize which page is for which title?
  2. Im not sure what you mean by replace it with a dynamic url. I use a drop down menu to navigate thru the pages. I'll post the code for you here. zoktop.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <script type="text/javascript" src="http://www.plentyoftorrents.com/js/jquery.min.js"></script> <script type="text/javascript" src="http://www.plentyoftorrents.com/media/jqueryslidemenu.js"></script> <link rel="stylesheet" type="text/css" href="http://www.plentyoftorrents.com/jqueryslidemenu.css" /> <style type="text/css"> input, select { border: 1px solid #999999; color: #555; font-size: 13px; padding: 2px } input:focus, select:focus { background: #e9f6fd; padding: 2px; border: 1px solid black; } </style> </head> <body> <div id="myslidemenu" class="jqueryslidemenu"> <ul> <!-- Home ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/" target="zoklet">Home</a> <ul> <li><a href="http://www.zoklet.net/bbs/usercp.php" target="zoklet">User CP</a></li> <li><a href="http://www.zoklet.net/bbs/search.php?do=getnew" target="zoklet">New Posts</a></li> <li><a href="http://www.zoklet.net/bbs/search.php" target="zoklet">Search</a></li> <li><a href="http://www.zoklet.net/bbs/index.php?nojs=1#chat" target="zoklet">IRC Chat</a></li> <li><a href="http://www.zoklet.net/bbs/group.php" target="zoklet">Social Groups</a></li> <li><a href="http://www.zoklet.net/bbs/album.php" target="zoklet">Pictures & Albums</a></li> <li><a href="http://www.zoklet.net/bbs/profile.php?do=buddylist" target="zoklet">Contacts & Friends</a></li> <li><a href="http://www.zoklet.net/bbs/memberlist.php" target="zoklet">Members</a></li> <li><a href="http://www.zoklet.net/bbs/calendar.php" target="zoklet">Calendar</a></li> <li><a href="http://www.zoklet.net/bbs/private.php" target="zoklet">Private Messages</a></li> <li><a href="http://www.zoklet.net/bbs/subscription.php" target="zoklet">Subscribed Threads</a></li> <li><a href="http://www.zoklet.net/bbs/online.php" target="zoklet">Who's Online</a></li> <li><a href="http://zoklet.net/bbs/cv_rss_feeds.php" target="zoklet">RSS Feeds</a></li> </ul> </li> <!-- OFFICIAL BS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=61" target="zoklet">Official Bullshit</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=62" target="zoklet">News</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=81" target="zoklet">From M & A</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=8" target="zoklet">Suggestions</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=79" target="zoklet">Halp!</a></li> </ul> </li> <!-- GENERAL ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=3" target="zoklet">General</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=7" title="Spurious Generalities" target="zoklet">Generally Speaking</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=29" target="zoklet">Introductions</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=12" target="zoklet">Pissin' each other off</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=80" target="zoklet">I got infracted and I'm MAD!!</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=13" target="zoklet">It Crawled Up My Dot Com</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=15" target="zoklet">LOL, Internet</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=35" target="zoklet">Pics or it didn't happen</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=65" target="zoklet">The Porn Forum</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=23" title="Half Baked" target="zoklet">Bat Country</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=78" target="zoklet">This Just In!</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=73" target="zoklet">Totsepedia</a></li> </ul> </li> <!-- SCIENCE ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=53" target="zoklet">Science</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=51" target="zoklet">Flasks and Beakers</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=52" target="zoklet">Math and Science</a></li> </ul> </li> <!-- Human Life ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=60" target="zoklet">Human Life</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=38" target="zoklet">Carved Outta Wood</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=83" target="zoklet">So Last Summer</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=76" target="zoklet">Holes and Ink</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=66" target="zoklet">Shrink Wrap</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=36" target="zoklet">Love, Lust, and Relationships</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=56" target="zoklet">Gluttons & Gourmets</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=84" target="zoklet">ABC's to Ph.D's</a></li> </ul> </li> <!-- Entertainment |||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=17" target="zoklet">Entertainment</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=30" target="zoklet">The Game Corner</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=67" target="zoklet">Visual Arts</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=46" target="zoklet">The Book Nook</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=58" target="zoklet">Original Works</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=55" target="zoklet">Viva La Sports</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=59" target="zoklet">Everything Anime</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=32" target="zoklet">Music!</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=71" target="zoklet">Albums of 2009 Discussion</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=72" target="zoklet">Musicians Playground</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=31" target="zoklet">TV and Movies</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=22" target="zoklet">Lost - ABC Series</a></li> </ul> </li> <!-- Technology |||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=4" target="zoklet">Technology</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=10" target="zoklet">Technophiles and Technophiliacs</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=14" target="zoklet">Hardware</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=64" target="zoklet">What's operating your system?</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=9" target="zoklet">Codes of all kinds</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=33" target="zoklet">Code Archive</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=19" target="zoklet">Zokbot</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=49" target="zoklet">Tales from the Transmitter</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=43" target="zoklet">Network Security & Hacking</a></li> </ul> </li> <!-- Society |||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=45" target="zoklet">Society</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=40" target="zoklet">Metaphysical</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=34" target="zoklet">Not for Human Consumption</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=28" target="zoklet">Stoner Chat</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=41" target="zoklet">Right to Bear Arms</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=44" target="zoklet">Der Politik</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=50" target="zoklet">The Inhumane Condition</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=54" target="zoklet">Money</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=70" target="zoklet">Won't someone please?</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=57" target="zoklet">Mission Support</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=63" target="zoklet">Globetrotters</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=77" target="zoklet">Languages</a></li> </ul> </li> <!-- Other |||||||||||||||||||||| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||--> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=24" target="zoklet">Other</a> <ul> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=39" target="zoklet">Greasemonkeys</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=47" target="zoklet">It's a Conspiracy!</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=37" target="zoklet">Bad Ideas</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=48" target="zoklet">Flora and Fauna</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=68" target="zoklet">DIY</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=69" target="zoklet">Paranormal</a></li> <li><a href="http://www.zoklet.net/bbs/forumdisplay.php?f=74" target="zoklet">The Trashcan</a></li> </ul> </li> <!-- search form <form action="http://www.zoklet.net/bbs/search.php" method="post"> <input type="text" name="q" size="25"> <input type="submit" value="Search"> </form> search form --> <br style="clear: left" /> </div> </body> </html> index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Zoklet.net</title> <!--[if lte IE 7]> <style type="text/css"> html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/ </style> <![endif]--> <script type="text/javascript" src="http://www.plentyoftorrents.com/js/jquery.min.js"></script> <script type="text/javascript" src="http://www.plentyoftorrents.com/media/jqueryslidemenu.js"></script> <link rel="stylesheet" type="text/css" href="http://www.plentyoftorrents.com/jqueryslidemenu.css" /> <style type="text/css"> body{ width:100%; height:100%; margin:auto; font-family:Arial, Helvetica, sans-serif; } #menu{ height:25px; } </style> </head> <body onload="autofitIframe('zoklet')"> </head> <body> <?php include('zoktop.php'); ?> <!-- include the site in an iframe --> <iframe id="zoklet" src="http://www.zoklet.net/bbs/" scrolling="no" width="100%" height="3900pt" name="zoklet" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0"></iframe> </body> </html>
  3. I need a php code to show the forums title in the <title> </title> part of my iFrame page. http://www.plentyoftorrents.com/zoklet/ It says Zoklet.net right now because I manually put that in there, but I would like it to read the forum title and put that in the html title portion of my page. I'm pretty sure it has something to do with $_SERVER['PHP_SELF'] but I dont know php well enough to do it. For example when I click on 'News', the first forum in the forum I would like that to then be displayed in the title as soon as I navigate to it.
  4. I made this to make navigating my favourite forum easier but I cant get the links on the top black drop down menu to load into the frame. They always go directly to the site. Does anyone know how to fix this? http://www.plentyoftorrents.com/zoklet/zoklet ???
  5. You can make certain forums invisible to the public with smf. You can also give certain members special privellages. Are you planning on making a private torrent site? ???
  6. What do you mean by shacked up? ??? Looks fine to me.
  7. Ive also made a 3rd version. http://www.plentyoftorrents.com/index3
  8. Im working on a new front page and menu system for all pages. I would just like to see what people think and what you would change on the new page if anything. Is the color scheme good? Should there be less whitespace? More padding or wider search menu background? Should I make a smaller toolbar ad? Maybe put it where totse is and rotate them? http://www.plentyoftorrents.com/index2.htm And heres how it normall looks. http://www.plentyoftorrents.com Thanks for any suggestions.
  9. I can do it but you have to donate to my paypal first.
  10. Someone told me that the code at the bottom might work, I tried putting this in under # $comments = stripslashes($myrow['comments']); # if (strlen($comments)>$maxshow_comments) { But it wont work. str_replace("", "<img src='http://www.plentyoftorrents.com/flsh/smileys/hai_gais.gif' alt='' />", $comments); This is the page where Im trying to test it out. http://www.plentyoftorrents.com/flsh/animation/princess-1 Does anyone know whats going wrong there?
  11. Is it possible to have kb's percentage and eta in the browser title for loading animated gifs? I am working on an image library and would like a better way of letting the user know when the animated gif will be fully loaded rather than the animation starting off slow and the firefox loading image showing up .
  12. Yes but dont I need it stored in the database? and I need to do something to the php to make it show up once the comment is posted.
  13. I know how to do the javascript to make clickable smileys that insert anscii smileys into the form. But I have no idea of how to make it show up in php or if I need to add anything to the mySQL database? Could anyone help me figure this out? I think this might be the code which manages the images in the comment script. // construct page query to find out how many matches $query = "SELECT * from $db_table WHERE page_id = '$page_id' AND is_approved = '1' ORDER by dated DESC LIMIT $from, $comment_limit";// what matches THIS page? $result = mysql_query($query) or die("Error: ". mysql_error(). " with query ". $query); // skip output if no comments exist if (!$count) { echo "<center><p style='". $num_style. "'>". $no_comments. "</p></center>"; } else { echo "<center><p style='". $num_style. "'>". $comments_to_date. $count. $this_is_page. $comm_page. $page_of_page. $total_pages. ". "; if (($av_rating>0) && ($art_rating==1)) { $stars = 5 * round($av_rating/0.5); echo $average_rating. "<img src='comments/images/stars/stars_". $stars. ".png' alt=''/></center>"; } echo "</p>"; // output comments echo "<table cellpadding='0' cellspacing='0' width='100%' border='0' align='center'>"; while ($myrow = mysql_fetch_array($result)) // loop through all results { $style = $style == $ro1 ? $ro2 : $ro1; echo "<tr bgcolor='". $style. "'>"; echo "<td><p style='". $comm_style. "'><b>"; if ($show_flags == 1) { $flag_image = "comments/images/flags/". $myrow['flag']. ".png"; if (file_exists($flag_image)) { $size = getimagesize($flag_image); echo " <img src='". $flag_image. "' ". $size[3]. " alt=''/> "; } if (!$myrow['name']) { echo $unknown_poster; } else { echo $myrow['name']; } } echo "</b></p></td>"; echo "<td align='right'><p style='". $commdate_style. "'>"; niceday($myrow['dated']); echo "<br/>"; if (($art_rating==1) && ($myrow['rating']>0) && ($visitor_rating==1)) { $star_img = "comments/images/stars/stars_". 10*$myrow['rating']. ".png"; $size = getimagesize($star_img); echo " <img src='". $star_img. "' ". $size[3]. " alt=''/>"; } echo "</p></td></tr>"; echo "<tr bgcolor='". $style. "'>"; echo "<td colspan='2' style='border-bottom:1px dotted ". $space_color. ";'> <p style='". $comm_style. "'> "; $comments = stripslashes($myrow['comments']); if (strlen($comments)>$maxshow_comments) { $comments = substr($comments,0,$maxshow_comments). "... <a href='comments/showmore.php?id=". $myrow['id']. "'>". $show_more. "</a> <strong>ยป</strong>"; } echo nl2br($comments); if ($myrow['admin_comment']) { echo "<br/><br/>". $admin_comment. " <span style='color:#c30;'><em>". $myrow['admin_comment']. "</span></em>"; } echo "</p></td></tr>\n"; } // loop done echo "</table>\n"; } // Pagination magic (of sorts) And heres the mySQL thing I have to import into phpmyadmin when I first setup the script. # # Table structure for table `page_comments` # CREATE TABLE IF NOT EXISTS page_comments ( id mediumint(11) NOT NULL auto_increment, name varchar(40) NOT NULL default '', location varchar(40) NOT NULL default '', flag varchar(20) NOT NULL default '', comments text NOT NULL, ip varchar(20) NOT NULL default '', page_id varchar(40) NOT NULL default '0', dated datetime NOT NULL default '0000-00-00 00:00:00', rating tinyint(1) NOT NULL default '0', admin_comment text NOT NULL default '', is_approved tinyint(1) NOT NULL default '1', PRIMARY KEY (id) ) TYPE=MyISAM AUTO_INCREMENT=1 ;
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.