Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[HACK] All bbcodes
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-02-27 15:35:03
in index.php  find this :

begin_frame("SHOUTBOX");

echo '<IFRAME name="shout_frame" src="'.$site_config["SITEURL"].'/shoutbox.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="600" width=350 scrolling="no" align="middle"></IFRAME>';

and replace this : height="600" width=350  by what you want !
Unknown User
2008-02-27 17:07:03
thanks it works  :)
Unknown User
2008-03-10 17:47:26
hello guys, great code , full work for me, so you can add this in the functions.php to complete

All work 100% with firefox, but IE7 don't show google video for me

	 //[video]http://somesite.com/test.divx[/video]Nouveau

$s = preg_replace("/\[video\]((www.|http:\/\/|https:\/\/)[^\s]+(\.divx))\[\/video\]/i",

"<param name=filename value=\\1/><embed width=470 height=310 src=\\1></embed>", $s);



//[video]http://somesite.com/test.avi[/video]Nouveau

$s = preg_replace("/\[video\]((www.|http:\/\/|https:\/\/)[^\s]+(\.avi))\[\/video\]/i",

"<object classid=\"clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616\" width=\"470\" height=\"310\" codebase=\"http://go.divx.com/plugin/DivXBrowserPlugin.cab\"><param name=\"autoPlay\" value=\"false\" /><param name=\"custommode\" value=\"Stage6\" /><param name=\"mode\" value=\"null\" /><param name=\"autoPlay\" value=\"false\" /><param name=\"allowContextMenu\" value=\"false\" /><param name=\"src\" value=\"\\1\" /><embed type=\"video/divx\" src=\"\\1\" custommode=\"Stage6\" width=\"470\" height=\"310\" mode=\"null\"  autoPlay=\"false\"  allowContextMenu=\"false\"  pluginspage=\"http://go.divx.com/plugin/download\"></embed></object>", $s);





//[video]http://somesite.com/test.wmv[/video]Nouveau

$s = preg_replace("/\[video\]((www.|http:\/\/|https:\/\/)[^\s]+(\.wmv))\[\/video\]/i",

"<param name=filename value=\\1/><embed width=470 height=310 src=\\1></embed>", $s);



//[video]http://somesite.com/test.mp4[/video]Nouveau

$s = preg_replace("/\[video\]((www.|http:\/\/|https:\/\/)[^\s]+(\.mp4))\[\/video\]/i",

"<object id=\"MediaPlayer\"  width=\"310\" height=\"280\" classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" standby=\"Loading Windows Media Player components...\" type=\"application/x-oleobject\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112\"><param name=\"filename\" value=\"\\1\"><param name=\"Showcontrols\" value=\"True\"><param name=\"autoStart\" value=\"True\"><embed type=\"application/x-mplayer2\" src=\"\\1\" name=\"MediaPlayer\"  width=\"310\"  height=\"280\"> </embed></object>", $s);



//[video]http://somesite.com/test[/video]

$s = preg_replace("/\[video\]((www.|http:\/\/|https:\/\/)[^\s]+?)\[\/video\]/i",

"<embed src=\"\\1\" allowFullScreen=\"true\" width=\"540\" height=\"438\" bgcolor=\"#000000\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"></embed>", $s);



//[video]http://somesite.com/test.swf[/video]

$s = preg_replace("/\[video\]((www.|http:\/\/|https:\/\/)[^\s]+(\.swf))\[\/video\]/i",

"<param name=movie value=\\1/><embed width=470 height=310 src=\\1></embed>", $s);



//[video=http://somesite.com/test.swf]

$s = preg_replace("/\[video=((www.|http:\/\/|https:\/\/)[^\s]+(\.swf))\]/i",

"<param name=movie value=\\1/><embed width=470 height=310 src=\\1></embed>", $s);



//[left]Text[/left]//Nouveau

$s = preg_replace("/\[left\](.*?)\[\/left\]/si",

"<p align=left>\\1</p>", $s);



//[right]Text[/right]//Nouveau

$s = preg_replace("/\[right\](.*?)\[\/right\]/si",

"<p align=right>\\1</p>", $s);
Unknown User
2008-03-20 22:34:08
Bonsoir, je pense que vous
Unknown User
2008-03-23 23:48:15
hi

i intalled this hack but the follow error appears

Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXX/public_html/shoutbox.php:2) in /home/XXXX/public_html/backend/functions.php on line 31

and the tags used don't work.

if i use the tag [blink]teste[/blink], in the shoutbox appears te exctly text
Unknown User
2008-05-21 11:48:01
how to put this function bb code in the request torrent

thank s

gia
Unknown User
2008-05-21 13:01:12
"alamandra, post: 38568":
here after the 3 scripts 4 Rainbow and highlight and Neon Effects :::::

SCRIPT POUR LE NEON
______________________

<h2>
<script language="JavaScript1.2">
/*
Neon Lights Text
By JavaScript Kit (http://javascriptkit.com )
For this script, TOS, and 100s more DHTML scripts,
Visit [url="http://www.dynamicdrive.com"]http://www.dynamicdrive.com[/url]
*/
var message=" {content} "
var neonbasecolor="gray" //tu peux egalement changer les couleurs //
var neontextcolor="yellow"
var flashspeed=100 //in milliseconds
///No need to edit below this line/////
var n=0
if (document.all||document.getElementById){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
document.write('</font>')
} else
document.write(message)
function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
return crossobj
}
function neon() {
//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
//eval("document.all.neonlight"+m).style.color=neonbasecolor
crossref(m).style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor
if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()

</script>
</h2>


SCRIPT PORU LE RAINBOW
________________________

<html>



<HEAD>
<script LANGUAGE="JavaScript">
function createHexArray(n) {
this.length = n;
for (var i = 1; i <= n; i++)
this = i - 1;

this[11] = "A";
this[12] = "B";
this[13] = "C";
this[14] = "D";
this[15] = "E";
this[16] = "F";
return this;
}
hx = new createHexArray(16);

function convertToHex(x) {
if (x < 17) x = 16;
var high = x / 16;
var s = high+"";
s = s.substring(0, 2);
high = parseInt(s, 10);
var left = hx[high + 1];
var low = x - high * 16;
if (low < 1) low = 1;
s = low + "";
s = s.substring(0, 2);
low = parseInt(s, 10);
var right = hx[low + 1];
var string = left + "" + right;
return string;
}

function makeRainbow(text) {
text = text.substring(0, text.length);
color_d1 = 255;
mul = color_d1 / text.length;
for(var i = 0; i < text.length; i++) {
color_d1 = 255*Math.sin(i / (text.length / 3));
color_h1 = convertToHex(color_d1);
color_d2 = mul * i;
color_h2 = convertToHex(color_d2);

k = text.length;
j = k - i;
if (j < 0) j = 0;
color_d3 = mul * j;
color_h3 = convertToHex(color_d3);

document.write("<FONT COLOR="#" + color_h3 + color_h1 + color_h2 + "">" + text.substring(i, i + 1)+"</FONT>");
}
}
</script>
</HEAD>

<BODY>


<font size=3>
<script>
makeRainbow("{content}");
</script>
</font>
</body>

</html>


SCRIPT POUR LE HIGHLIGHT
_________________________



function highlight($search,$subject,$hlstart="<b><font color=yellow>",$hlend="</font></b>") {

$srchlen=strlen($search); // lenght of searched string
if ($srchlen==0) return $subject;
$find = $subject;
while ($find = stristr($find,$search)) { // find $search text in $subject -case insensitiv
$srchtxt = substr($find,0,$srchlen); // get new search text
$find=substr($find,$srchlen);
$subject = str_replace($srchtxt,"$hlstart$srchtxt$hlend",$subject); // highlight founded case insensitive search text
}
return $subject;
}




where you put this script for the rainbow and neon dont work for me ??? thank s gia
Unknown User
2008-05-28 12:57:38
on the shout box all bbcode work very fine

for the UPLOAD-MP AND COMMENT  when i put on the button i have just 1 balise ex:[/bLINK] but when i add the first [blink] manuel it s working i ts the same for all bb code in the upload-mp and comment

for the request dont working

and the neon and raindow dont work anyplace
Unknown User
2008-06-03 20:09:15
Hi guys !

Could you tell me how to do to integrate the "SPOILER BBCODE" please ?

Thanks a lot :lol:
Unknown User
2008-06-06 09:25:37
Hey, looking for an IMEEM bbcode.  Anybody know how to create one?  All I've seen online is code for vB
Unknown User
2008-07-07 18:28:37
i did a set of new bbcode icons for a m8 "limited set"



if you are using just these icons  you can grab them from this [url="http://nikkbu.info/bbcode/index.html"]TEST[/url] page....

i may complete the set when i have time and post them for everyone
bbcode.jpg
bbcode.jpg
Unknown User
2008-07-07 21:35:03
nice set nikkbu ill add them

now which color should i add mmmm lol
Unknown User
2008-08-07 08:32:03
for the [blink] show in ie7

add after in "shoutbox.php"

if ($site_config['SHOUTBOX']){

?>





this





<!-- DEBUT DU SCRIPT -->

<script type="text/javascript">

/*

SCRIPT DE L'EDITEUR JAVASCRIPT

http://www.editeurjavascript.com

*/

go_visibility = new Array;



function goblink()

{

if(document.getElementById && document.all)

{

blink_tab = document.getElementsByTagName('blink');

for(a=0;a<blink_tab.length;a++)

{

if(go_visibility[a] != "visible")

go_visibility[a] = "visible";

else

go_visibility[a] = "hidden";

blink_tab[a].style.visibility=go_visibility[a];

}

}

setTimeout("goblink()", 500);

}



window.onload = goblink;

</script>

<!-- FIN DU SCRIPT -->
Unknown User
2008-08-07 17:32:05
Hello I have a slight problem.

[url="http://imageshack.us"][/url]

[url="http://g.imageshack.us/g.php?h=293&i=notcompletewq6.gif"][/url]

I've gone to index.php and changed the height and width to try to adjust it, but it doesn't adjust. I want to get something like this:

[url="http://imageshack.us"][/url]

[url="http://g.imageshack.us/g.php?h=114&i=fixedop3.gif"][/url]
Unknown User
2008-08-13 10:43:55
Hi all,

Take my last code adaptation for the shoutbox

So take the last bbcode : rainbow, glow and neon

In backend/fonction.php put the next code in the correct section :

		//[rainbow]Text[/rainbow]

$s = preg_replace("/\[rainbow\]((\s|.)+?)\[\/rainbow\]/", "<SPAN class=rainbow>\\1</SPAN>", $s);



//[glow]Text[/glow]

$s = preg_replace("/\[glow\]((\s|.)+?)\[\/glow\]/", "<SPAN id=glowtext>\\1</SPAN>", $s);



//[neon]Text[/neon]

$s = preg_replace("/\[neon\]((\s|.)+?)\[\/neon\]/", "<h2 id=\"neo1\" style=\"color:gray;\">\\1</h2><script type=\"text/javascript\">new neoII('neo1', 'yellow', '#ffffa8', 100, 3, 1, 0);</script>", $s);



Now you must put the javascript code in the correct section in shoutbox.php:

<STYLE>
.rainbow{ behavior:url(js/rainbow.htc) }

</STYLE>

<script type="text/javascript">

//OO Neon Lights Text II from Neon Lights Text II by G.P.F. (gpf@beta-cc.de)

//visit http://www.beta-cc.de - This notice must remain for legal use

//Visit http://www.dynamicdrive.com for TOS

//Modified in http://www.dynamicdrive.com/forums/ by jscheuer1 for multiple use

///////////// No Need To Edit Here - See Below, in the Body /////////////

function neoII(id, nc, nc2, fs, fl, fl2, fp){

if(!document.createElement||(!document.getElementById&&!document.all)) return;

this.id=id;

this.el=document.getElementById? document.getElementById(id) : document.all[id];

this.message=this.el.firstChild.nodeValue;

this.el.firstChild.nodeValue='';

this.neonbasecolor=this.el.style.color;

this.neontextcolor=nc;

this.neontextcolor2=nc2;

this.flashspeed=fs;

this.flashingletters=fl;

this.flashingletters2=fl2;

this.flashpause=fp;

this.n=0;

for (var s, m=0; m < this.message.length; m++){

s=document.createElement('span');

s.id=id+m;

s.appendChild(document.createTextNode(this.message.charAt(m)));

this.el.appendChild(s);

}

this.beginneon();

}

neoII.prototype.crossref=function(number){

var crossobj=document.all? document.all[this.id+number] : document.getElementById(this.id+number);

return crossobj;

}

neoII.prototype.neon=function(){

//Change all letters to base color

if (this.n==0){

for (var m=0;m<this.message.length;m++)

this.crossref(m).style.color=this.neonbasecolor;

}

//cycle through and change individual letters to neon color

this.crossref(this.n).style.color=this.neontextcolor;

if (this.n>this.flashingletters-1)

this.crossref(this.n-this.flashingletters).style.color=this.neontextcolor2;

if (this.n>(this.flashingletters+this.flashingletters2)-1)

this.crossref(this.n-this.flashingletters-this.flashingletters2).style.color=this.neonbasecolor;

if (this.n<this.message.length-1)

this.n++;

else{

this.n=0;

clearInterval(this.flashing);

var c=this;

for (var m=0;m<this.message.length;m++)

this.crossref(m).style.color=this.neonbasecolor;

setTimeout(function(){c.beginneon();},this.flashpause);

return;

}

}

neoII.prototype.beginneon=function(){

var c=this;

this.flashing=setInterval(function(){c.neon();}, this.flashspeed);

}

</script>

<style>

<!--

#glowtext{

filter:glow(color=FFFF00,strength=3);

width:100%;

}

-->

</style>

<script language="JavaScript1.2">

/*

Glowing Text Script-

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2734"]rainbow.rar[/url]
rainbow.rar
Download
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728