|
#1
|
||||
|
||||
TBDev 2010 revision 464
Attention
|
The Following 63 Users Say Thank You to Fynnon For This Useful Post: | ||
al-jodtv (15th August 2009),
aladdin56789 (7th December 2009),
alpha1969 (21st October 2009),
aMiGo1972 (24th June 2009),
Aszab123 (22nd June 2021),
augustinit (3rd June 2011),
badea (11th February 2010),
brian1616 (2nd January 2010),
burnt2 (18th December 2009),
Clauu (30th December 2009),
Cocas (18th September 2020),
Coder112 (29th February 2020),
cybernet2u (26th November 2009),
d6bmg (27th April 2011),
DAKz (3rd June 2011),
Daz (19th December 2010),
DooM (11th September 2009),
edupia1 (12th December 2009),
EnigmaWB (22nd April 2019),
Expecto (6th June 2013),
Extreme86 (10th November 2009),
fen (27th June 2014),
fireman (17th February 2009),
Fireman007 (27th June 2009),
Fnon (28th November 2009),
Fusi0nCr0w (8th April 2014),
gabor12 (16th February 2009),
gandalfleal (24th March 2013),
gavrila (2nd January 2010),
get_fire (30th August 2009),
giaythuytinh176 (6th November 2010),
gogo999 (28th October 2012),
golddragon (19th July 2009),
Legend2000 (19th May 2012),
limiankl (6th April 2013),
marekduse (25th January 2024),
Megus14 (23rd December 2009),
Moh.ElBaz (3rd July 2009),
mothership (3rd June 2009),
mpx (9th September 2012),
ngnmtl (18th April 2014),
nicukent (17th December 2009),
paspar2002 (5th October 2020),
peiratikos (7th November 2011),
pirpiliter (6th July 2009),
puppets (28th March 2010),
rfadown (12th February 2015),
rlff (8th September 2010),
roland22 (31st January 2015),
Rroy (8th July 2009),
Sandancer (14th June 2013),
sebi (7th April 2010),
Security (30th January 2011),
sirusuk (6th February 2010),
skyf4llen (5th May 2014),
sushike (23rd January 2013),
Thunder™ (16th August 2012),
tinkano (7th March 2013),
TomasHR (10th February 2012),
Toy (2nd December 2012),
tungke (7th May 2011),
Typon (14th October 2012),
zero (8th August 2009)
|
#2
|
|||
|
|||
Re: TBDev Source v2008
This source is BETA code so use it at your own risk.
It should not be used on live tracker! |
The Following User Says Thank You to Kotafi For This Useful Post: | ||
Daz (19th December 2010)
|
#3
|
|||
|
|||
Re: TBDev Source v2008
not tbdev but tbsource and not finish searchcloud etc
|
#4
|
||||
|
||||
Re: TBDev Source 2008 rev133
no its tbdev source .. the newer version... searchcloud can be fixed by addin an entry in the sql if i remember correctly .. go to the tbdev forums and the temp fix is posted there.. obviously as with all code its subject to bug fixes ect .. but its good to see another release from the team and its still not jam packed with stuff we dont need (gotta love virgin sources :D )
|
The Following User Says Thank You to djlee For This Useful Post: | ||
Polish (9th November 2010)
|
#5
|
|||
|
|||
Re: TBDev Source 2008 rev133
Code:
<? $smilies = array( ":-)" => "smile1.gif", ":smile:" => "smile2.gif", ":-D" => "grin.gif", ":lol:" => "laugh.gif", ":w00t:" => "w00t.gif", ":-P" => "tongue.gif", ";-)" => "wink.gif", ":-|" => "noexpression.gif", ":-/" => "confused.gif", ":-(" => "sad.gif", ":'-(" => "cry.gif", ":weep:" => "weep.gif", ":-O" => "ohmy.gif", ":o)" => "clown.gif", "8-)" => "cool1.gif", "|-)" => "sleeping.gif", ":innocent:" => "innocent.gif", ":whistle:" => "whistle.gif", ":unsure:" => "unsure.gif", ":closedeyes:" => "closedeyes.gif", ":cool:" => "cool2.gif", ":fun:" => "fun.gif", ":thumbsup:" => "thumbsup.gif", ":thumbsdown:" => "thumbsdown.gif", ":blush:" => "blush.gif", ":unsure:" => "unsure.gif", ":yes:" => "yes.gif", ":no:" => "no.gif", ":love:" => "love.gif", ":?:" => "question.gif", ":!:" => "excl.gif", ":idea:" => "idea.gif", ":arrow:" => "arrow.gif", ":arrow2:" => "arrow2.gif", ":hmm:" => "hmm.gif", ":hmmm:" => "hmmm.gif", ":huh:" => "huh.gif", ":geek:" => "geek.gif", ":look:" => "look.gif", ":rolleyes:" => "rolleyes.gif", ":kiss:" => "kiss.gif", ":shifty:" => "shifty.gif", ":blink:" => "blink.gif", ":smartass:" => "smartass.gif", ":sick:" => "sick.gif", ":crazy:" => "crazy.gif", ":wacko:" => "wacko.gif", ":alien:" => "alien.gif", ":wizard:" => "wizard.gif", ":wave:" => "wave.gif", ":wavecry:" => "wavecry.gif", ":baby:" => "baby.gif", ":angry:" => "angry.gif", ":ras:" => "ras.gif", ":sly:" => "sly.gif", ":devil:" => "devil.gif", ":evil:" => "evil.gif", ":evilmad:" => "evilmad.gif", ":sneaky:" => "sneaky.gif", ":axe:" => "axe.gif", ":slap:" => "slap.gif", ":wall:" => "wall.gif", ":rant:" => "rant.gif", ":jump:" => "jump.gif", ":yucky:" => "yucky.gif", ":nugget:" => "nugget.gif", ":smart:" => "smart.gif", ":shutup:" => "shutup.gif", ":shutup2:" => "shutup2.gif", ":crockett:" => "crockett.gif", ":zorro:" => "zorro.gif", ":snap:" => "snap.gif", ":beer:" => "beer.gif", ":beer2:" => "beer2.gif", ":drunk:" => "drunk.gif", ":strongbench:" => "strongbench.gif", ":weakbench:" => "weakbench.gif", ":dumbells:" => "dumbells.gif", ":music:" => "music.gif", ":stupid:" => "stupid.gif", ":dots:" => "dots.gif", ":offtopic:" => "offtopic.gif", ":spam:" => "spam.gif", ":oops:" => "oops.gif", ":lttd:" => "lttd.gif", ":please:" => "please.gif", ":sorry:" => "sorry.gif", ":hi:" => "hi.gif", ":yay:" => "yay.gif", ":cake:" => "cake.gif", ":hbd:" => "hbd.gif", ":band:" => "band.gif", ":punk:" => "punk.gif", ":rofl:" => "rofl.gif", ":bounce:" => "bounce.gif", ":mbounce:" => "mbounce.gif", ":thankyou:" => "thankyou.gif", ":gathering:" => "gathering.gif", ":hang:" => "hang.gif", ":chop:" => "chop.gif", ":rip:" => "rip.gif", ":whip:" => "whip.gif", ":judge:" => "judge.gif", ":chair:" => "chair.gif", ":tease:" => "tease.gif", ":box:" => "box.gif", ":boxing:" => "boxing.gif", ":guns:" => "guns.gif", ":shoot:" => "shoot.gif", ":shoot2:" => "shoot2.gif", ":flowers:" => "flowers.gif", ":wub:" => "wub.gif", ":lovers:" => "lovers.gif", ":kissing:" => "kissing.gif", ":kissing2:" => "kissing2.gif", ":console:" => "console.gif", ":group:" => "group.gif", ":hump:" => "hump.gif", ":hooray:" => "hooray.gif", ":happy2:" => "happy2.gif", ":clap:" => "clap.gif", ":clap2:" => "clap2.gif", ":weirdo:" => "weirdo.gif", ":yawn:" => "yawn.gif", ":bow:" => "bow.gif", ":dawgie:" => "dawgie.gif", ":cylon:" => "cylon.gif", ":book:" => "book.gif", ":fish:" => "fish.gif", ":mama:" => "mama.gif", ":pepsi:" => "pepsi.gif", ":medieval:" => "medieval.gif", ":rambo:" => "rambo.gif", ":ninja:" => "ninja.gif", ":hannibal:" => "hannibal.gif", ":party:" => "party.gif", ":snorkle:" => "snorkle.gif", ":evo:" => "evo.gif", ":king:" => "king.gif", ":chef:" => "chef.gif", ":mario:" => "mario.gif", ":pope:" => "pope.gif", ":fez:" => "fez.gif", ":cap:" => "cap.gif", ":cowboy:" => "cowboy.gif", ":pirate:" => "pirate.gif", ":pirate2:" => "pirate2.gif", ":rock:" => "rock.gif", ":cigar:" => "cigar.gif", ":icecream:" => "icecream.gif", ":oldtimer:" => "oldtimer.gif", ":trampoline:" => "trampoline.gif", ":banana:" => "bananadance.gif", ":smurf:" => "smurf.gif", ":yikes:" => "yikes.gif", ":osama:" => "osama.gif", ":saddam:" => "saddam.gif", ":santa:" => "santa.gif", ":indian:" => "indian.gif", ":pimp:" => "pimp.gif", ":nuke:" => "nuke.gif", ":jacko:" => "jacko.gif", ":ike:" => "ike.gif", ":greedy:" => "greedy.gif", ":super:" => "super.gif", ":wolverine:" => "wolverine.gif", ":spidey:" => "spidey.gif", ":spider:" => "spider.gif", ":bandana:" => "bandana.gif", ":construction:" => "construction.gif", ":sheep:" => "sheep.gif", ":police:" => "police.gif", ":detective:" => "detective.gif", ":bike:" => "bike.gif", ":fishing:" => "fishing.gif", ":clover:" => "clover.gif", ":horse:" => "horse.gif", ":shit:" => "shit.gif", ":soldiers:" => "soldiers.gif", ); $privatesmilies = array( ":)" => "smile1.gif", // ";)" => "wink.gif", ":wink:" => "wink.gif", ":D" => "grin.gif", ":P" => "tongue.gif", ":(" => "sad.gif", ":'(" => "cry.gif", ":|" => "noexpression.gif", // "8)" => "cool1.gif", we don't want this as a smilie... ":Boozer:" => "alcoholic.gif", ":deadhorse:" => "deadhorse.gif", ":spank:" => "spank.gif", ":yoji:" => "yoji.gif", ":locked:" => "locked.gif", ":grrr:" => "angry.gif", // legacy "O:-" => "innocent.gif", // legacy ":sleeping:" => "sleeping.gif", // legacy "-_-" => "unsure.gif", // legacy ":clown:" => "clown.gif", ":mml:" => "mml.gif", ":rtf:" => "rtf.gif", ":morepics:" => "morepics.gif", ":rb:" => "rb.gif", ":rblocked:" => "rblocked.gif", ":maxlocked:" => "maxlocked.gif", ":hslocked:" => "hslocked.gif", ); // Set this to the line break character sequence of your system $linebreak = "\r\n"; function parse_image($image) { $image = str_replace( " ", "%20", $image ); $maxwidth = 620; $alt = "Image is resized, click for full size."; if ($img_info[0] > $maxwidth) return "<font size=\"1\">$alt</font>\n[img]$image[/img] "; return "[img]$image[/img]"; } function get_row_count($table, $suffix = "") { if ($suffix) $suffix = " $suffix"; ($r = mysql_query("SELECT COUNT(*) FROM $table$suffix")) or die(mysql_error()); ($a = mysql_fetch_row($r)) or die(mysql_error()); return $a[0]; } function stdmsg($heading, $text) { print("<table class=main width=750 border=0 cellpadding=0 cellspacing=0><tr><td class=embedded>\n"); if ($heading) print("<h2>$heading</h2>\n"); print("<table width=100% border=1 cellspacing=0 cellpadding=10><tr><td class=text>\n"); print($text . "</td></tr></table></td></tr></table>\n"); } function stderr($heading, $text) { stdhead(); stdmsg($heading, $text); stdfoot(); die; } function sqlerr($file = '', $line = '') { print("<table border=0 bgcolor=blue align=left cellspacing=0 cellpadding=10 style='background: blue'>" . "<tr><td class=embedded><font color=white><h1>SQL Error</h1>\n" . "" . htmlspecialchars(mysql_error()) . ($file != '' && $line != '' ? " in $file, line $line</p>" : "") . "</font></td></tr></table>"); die; } // Returns the current time in GMT in MySQL compatible format. function get_date_time($timestamp = 0) { if ($timestamp) return date("Y-m-d H:i:s", $timestamp); else return gmdate("Y-m-d H:i:s"); } function encodehtml($s, $linebreaks = true) { $s = str_replace("<", "<", str_replace("&", "&", $s)); if ($linebreaks) $s = nl2br($s); return $s; } function get_dt_num() { return gmdate("YmdHis"); } function format_urls($s) { return preg_replace( "/(\A|[^=\]'\"a-zA-Z0-9])((http|ftp|https|ftps|irc):\/\/[^<>\s]+)/i", "\\1<a target=_blank href=redir.php?url=\\2>\\2</a>", $s); } function format_local_urls($s) { return preg_replace( "/(<a href=redir\.php\?url=)((http|ftp|https|ftps|irc):\/\/(www\.)?torrentbits\.(net|org|com)(:8[0-3])?([^<>\s]*))>([^<]+)<\/a>/i", "<a href=\\2>\\8</a>", $s); } //Finds last occurrence of needle in haystack //in PHP5 use strripos() instead of this function _strlastpos ($haystack, $needle, $offset = 0) { $addLen = strlen ($needle); $endPos = $offset - $addLen; while (true) { if (($newPos = strpos ($haystack, $needle, $endPos + $addLen)) === false) break; $endPos = $newPos; } return ($endPos >= 0) ? $endPos : false; } function format_quotes($s) { preg_match_all('/\\[quote.*?\\]/', $s, $result, PREG_PATTERN_ORDER); $openquotecount = count($openquote = $result[0]); preg_match_all('/\\[\/quote\\]/', $s, $result, PREG_PATTERN_ORDER); $closequotecount = count($closequote = $result[0]); if ($openquotecount != $closequotecount) return $s; // quote mismatch. Return raw string... // Get position of opening quotes $openval = array(); $pos = -1; foreach($openquote as $val) $openval[] = $pos = strpos($s,$val,$pos+1); // Get position of closing quotes $closeval = array(); $pos = -1; foreach($closequote as $val) $closeval[] = $pos = strpos($s,$val,$pos+1); for ($i=0; $i < count($openval); $i++) if ($openval[$i] > $closeval[$i]) return $s; // Cannot close before opening. Return raw string... $s = str_replace("[quote]","<p class=sub>Quote:</p><table class=main border=1 cellspacing=0 cellpadding=10><tr><td style='border: 1px black dotted'>",$s); $s = preg_replace("/\\ |
#6
|
||||
|
||||
Re: TBDev Source 2008 rev133
hi speedy .. ive just setup a fresh install of tbdev source and copied your global file exactly as you posted it into the global.php of teh original .. i have no problems changing classes of users .. i can see all teh classes you defined and it updates the users correctly
are you sure you can't see a list of all the classes with teh added ones :S |
#7
|
|||
|
|||
re: TBDev Source 2009 rev166
in signup.php me wrote
NO SPAM! |
#8
|
|||
|
|||
re: TBDev Source 2009 rev166
tried this very dodgy indeed not recommended
|
#9
|
|||
|
|||
re: TBDev Source 2009 rev166
Quote:
Code:
(time() - $_SESSION['captcha_time'] < 10) ? exit('NO SPAM!') : NULL; |
#10
|
|||
|
|||
this source has by default full error reporting enabled in config.php:
PHP Code:
this is by far the best tbdev source to date, Coldfusion has fixed all the notice errors that plagued the previous releases and has done a great deal to optimize this vanilla source as well as adding most popular mods (passkey, statusbar, new message system, cached tables, etc.). this source is not dodgy! however i wouldn't recommend it to n00bs but am recommending it for those with basic php/mysql skills who don't need to ask for support every hour cause of a missing require_once or sumthing. :P there is a thread at tbdev with fixes for most common issues arising from this alpha release. i use it on my live site with no issues :) |
Tags |
2010 , 464 , revision , tbdev , torrentbits , torrents tracker |
Thread Tools | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
xBtiT v2.5.4 | Fynnon | xBTiT | 87 | 26th April 2024 07:13 |
SZ Edition v0.3.5 revision 337 | Fynnon | SZ Edition | 70 | 21st January 2020 10:10 |
YSE 2.x | Ashur | Yuna Scatari Edition (YSE) | 19 | 4th February 2015 23:57 |
[TBDEV 2010] Theme/Skin | Runny | TBDev | 1 | 26th January 2010 15:37 |
TorrentPier 0.3.5 Revision 763 | Karlson | Community Cafe | 1 | 19th January 2008 17:00 |