Page Index Toggle Pages: 1 ... 3 4 [5] 6 7  Send TopicPrint
Very Hot Topic (More than 25 Replies) Enable HTML v1.4 (Read 32168 times)
multikon
Full Member
***
Offline


Hakuna Matata

Posts: 240
Joined: May 14th, 2003
Re: Enable HTML v1.4
Reply #60 - Dec 15th, 2003 at 2:43am
Print Post  
Step 17 has to be ajusted to the following:
Code
Select All
<search for>
      $messages[$numfound] = ame|$micon|$mattach|$mip|$message|$mns|$tstate";
</search for>

<replace>
      $messages[$numfound] = ame|$micon|$mattach|$mip|$message|$mns|$tstate|$lastmoddate|$lastmoduser";
</replace> 



And Step 18 has to look like this:
Code
Select All
<search for>
            ($board, $tnum, $c, $tusername, $tname, $msub, $mname, $memail, $mdate, $musername, $micon, $mattach, $mip, $message, $mns, $tstate) = split( /\|/, $messages[$i] );
</search for>

<replace>
            ($board, $tnum, $c, $tusername, $tname, $msub, $mname, $memail, $mdate, $musername, $micon, $mattach, $mip, $message, $mns, $tstate, $lastmoddate, $lastmoduser) = split( /\|/, $messages[$i] );
</replace> 




Hi

Have installed the Mod with Step 17 and 18 for special Recent.pl.
All other steps works without errors.

The Mod works on Post but not in Recent !?

Please help, here a screenshot of my "action recent":
  

recent.jpg ( 10 KB | Downloads )
recent.jpg

beware ... yabb goes wbb ^^
Back to top
ICQ  
IP Logged
 
sam1
Guest


Re: Enable HTML v1.4
Reply #61 - Feb 22nd, 2004 at 10:42pm
Print Post  
I have a problem with InstantMessage.pl

<search>
&wrap;
           if($enable_ubbc) { if(!$yyYaBBCloaded) { require "$sourcedir/YaBBC.pl"; } &DoUBBC; }
           &wrap2;
</search>

<replace>

### Begin Enable HTML Mod
           if ($message =~ /\#enable_html/isg) {
                 $message_backup = $message; # since $message is no local variable, it often gets overwritten accidently somehwere (couldn't find out where)
                 $enable_html = HTML_allow($musername);
                 $message = $message_backup;
                 if ($enable_html == 1) {
                       $message =~ s/\#enable_html//isg;
                       $message =~ s/<br>/\n/ig;
                       &FromHTML($message);
                 }
           } else { $enable_html = 0; }

           if ($enable_html != 1) {
                 &wrap;
                 if($enable_ubbc) { if(!$yyYaBBCloaded) { require "$sourcedir/YaBBC.pl"; } &DoUBBC; }
                 &wrap2;
           }
           ### End Enable HTML Mod
</replace>


but my InstantMessage.pl look like this

$message = $immessage; # put the message back in the proper variable for doing ubbc
           if($enable_ubbc) { if(!$yyYaBBCloaded) { require "$sourcedir/YaBBC.pl"; } &DoUBBC; }
################ Media Player mod

how can I replace??
  
Back to top
 
IP Logged
 
Ron
Junior Member
**
Offline


I'm SquisHED ;-)

Posts: 62
Location: Grand Rapids
Joined: Feb 8th, 2004
Gender: Male
Re: Enable HTML v1.4
Reply #62 - Feb 24th, 2004 at 3:57pm
Print Post  
Does this work with nicer post mod installed? (Adding the check box at the bottom in all?)
  
Back to top
WWW  
IP Logged
 
setec
New Member
*
Offline


Too Many Secrets

Posts: 47
Joined: Jan 20th, 2002
Gender: Male
Re: Enable HTML v1.4
Reply #63 - Feb 25th, 2004 at 8:38am
Print Post  
Stupid question:

I have this installed properly.

What is the default group to enter if I want to have HTML for all users.  I don't have any MODS for advanced member groups, so there are just users and admins.

Is it Administrators and Users as the groups?

I have a closed board with under 25 trusted users. I want to enable HTML for them all without having to put all their names in there.

Thanks.
  

"I didn't know you could do that in Mexico City."
Back to top
WWW  
IP Logged
 
Ron
Junior Member
**
Offline


I'm SquisHED ;-)

Posts: 62
Location: Grand Rapids
Joined: Feb 8th, 2004
Gender: Male
Re: Enable HTML v1.4
Reply #64 - Feb 25th, 2004 at 8:16pm
Print Post  
setec- I would guess "member"
  
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Enable HTML v1.4
Reply #65 - Feb 27th, 2004 at 3:33pm
Print Post  
RonBurke wrote on Feb 24th, 2004 at 3:57pm:
Does this work with nicer post mod installed? (Adding the check box at the bottom in all?)

I have no idea, simply give it a try Smiley

Quote:
Stupid question:

I have this installed properly.

What is the default group to enter if I want to have HTML for all users.  I don't have any MODS for advanced member groups, so there are just users and admins.

Is it Administrators and Users as the groups?

I have a closed board with under 25 trusted users. I want to enable HTML for them all without having to put all their names in there.

Thanks.
Members have no membergroup by default. Either you enter the names manually or you add your users to a special member group.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Shaun Dark Lord
Full Member
***
Offline


P4@3.15; 1GBPC3500; Radeon9700Pro;
Muhahahaha!

Posts: 105
Location: Kent, UK
Joined: Jul 3rd, 2003
Gender: Male
Re: Enable HTML v1.4
Reply #66 - Mar 4th, 2004 at 11:56am
Print Post  
Fantastic - Works perfectly!
  
Back to top
WWW  
IP Logged
 
Shaun Dark Lord
Full Member
***
Offline


P4@3.15; 1GBPC3500; Radeon9700Pro;
Muhahahaha!

Posts: 105
Location: Kent, UK
Joined: Jul 3rd, 2003
Gender: Male
Re: Enable HTML v1.4
Reply #67 - Mar 11th, 2004 at 10:26am
Print Post  
Is it possible to use ssi in this mod?
  
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Enable HTML v1.4
Reply #68 - Mar 13th, 2004 at 11:07am
Print Post  
I don't think so because YaBB is parsed by perl, not SSI. I don't think there is a way to let it parse by both.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Bella
Guest


Re: Enable HTML v1.4
Reply #69 - Apr 5th, 2004 at 4:59am
Print Post  
is this compatiable with 1.3.1?
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Enable HTML v1.4
Reply #70 - Apr 8th, 2004 at 8:27pm
Print Post  
Yes absolutly Smiley
  

The Administrator.
Back to top
WWW  
IP Logged
 
MisDemeanor
New Member
*
Offline



Posts: 26
Joined: Mar 17th, 2004
Gender: Female
Re: Enable HTML v1.4
Reply #71 - May 8th, 2004 at 4:02am
Print Post  
We have successfully installed the HTML Mod and it's working quite well. However, one question remains.

The html page is displaying in its entirety but if that html code happens to contain java applet code everything displays except the applet.

Can we display java applets within? If so what am I missing here?

Ultimately I would like to post something like this within my posts:  http://www.niteshare.net/music/dreaming/

html source code below:

<html>
<BODY background="dreamingbg.jpg"
<body
bgcolor="#000000" bgproperties="fixed"><center>






< P ALIGN=Center>

<TABLE BORDER="2" CELLPADDING="0" bordercolor=#000000 ALIGN="Center">
   <TR><TD>


<P ALIGN=Center>

<TABLE BORDER="1" CELLPADDING="0" bordercolor=#000000    ALIGN="Center">
   <TR><TD>

<P ALIGN=Center>

<TABLE BORDER="1" CELLPADDING="0" bordercolor=#000000 ALIGN="Center">
   <TR><td align=center valign=center>
<applet archive="AnLake.jar" code="AnLake.class" width="500" height="500">
<param name="credits" value="Applet by Fabio Ciucci(www.anfyteam.com)">
<param name="res" value="1">
<param name="image" value="dreaming.jpg">
<param name="wavspeed" value="10">
<param name="perspective" value="10">
<param name="farwaving" value="250">
<param name="wind" value="6">
<param name="windvarval" value="5">
<param name="windvarmin" value="5">
<param name="windvarmax" value="4">
<param name="halfreflect" value="NO">
<param name="overimg" value="NO">
<param name="overimgX" value="1">
<param name="overimgY" value="1">
<param name="textscroll" value="NO">
<param name="regcode" value="NO">
<param name="reglink" value="NO">
<param name="regnewframe" value="NO">
<param name="regframename" value="_blank">
<param name="statusmsg" value="AnLake applet">
<param name="memdelay" value="1000">
<param name="priority" value="6">
<param name="MinSYNC" value="2">
Please <A HREF="http://www.anfyteam.com/java/">download Java(tm)</A>.
</applet>
</td>

</tr></tab le>
</tr></table>
</tr></table>



<br>


<P ALIGN=Center>

<TABLE BORDER="2" CELLPADDING="0" bordercolor=#000000 ALIGN="Center">
   <TR><TD>


<P ALIGN=Center>

<TABLE BORDER="1" CELLPADDING="0" bordercolor=#000000    ALIGN="Center">
   <TR><TD>

<P ALIGN=Center>

<TABLE BORDER="3" CELLPADDING="5" bordercolor=#000000 ALIGN="Center">
   <TR><TD>



<font color=#CD5419   size="6"><center><p><i>

~ ~ Dreaming ~ ~


</tr></td></table>
</tr></td></ table>
</tr></td></table>




<font size=4><i><BR>




<SCRIPT LANGUAGE="JavaScript1.1">
<!-- Original:  Martin Webb (martin@irt.org) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->


<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert("Enjoy learning by reading, the same way I did");
return false;
}
return true;
}

document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
//  End -->

</script>


<P><CENTER><!-- BEGIN GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER -->
<OBJECT ID="MediaPlayer1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby=" Loading Microsoft® Windows® Media Player components..."
TYPE="application/x-oleobject" ALIGN="MIDDLE" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2in f.cab#Version=5,1,52,701">

    <PARAM NAME="AudioStream" VALUE="-1">
    <PARAM NAME="AutoSize" VALUE="0">
    <PARAM NAME="AutoStart" VALUE="-1">
    <PARAM NAME="AnimationAtStart" VALUE="-1">
    <PARAM NAME="AllowScan" VALUE="-1">
    <PARAM NAME="AllowChangeDisplaySize" VALUE="-1">
    <PARAM NAME="AutoRewind" VALUE="-1">
    <PARAM NAME="Balance" VALUE="0">
    <PARAM NAME="BufferingTime" VALUE="5.000000">
    <PARAM NAME="ClickToPlay" VALUE="-1">
    <PARAM NAME="CursorType" VALUE="0">
    <PARAM NAME="CurrentPosition" VALUE="-1.000000">
    <PARAM NAME="CurrentMarker" VALUE="0">
    <PARAM NAME="DisplayBackColor" VALUE="0">
    <PARAM NAME="DisplayForeColor" VALUE="16777215">
    <PARAM NAME="DisplayMode" VALUE="0">
    <PARAM NAME="DisplaySize" VALUE="4">
    <PARAM NAME="Enabled" VALUE="-1">
    <PARAM NAME="EnableContextMenu" VALUE="-1">
    <PARAM NAME="EnablePositionControls" VALUE="-1">
    <PARAM NAME="EnableFullScreenControls" VALUE="0">
    <PARAM NAME="EnableTracker" VALUE="-1">
    <PARAM NAME="InvokeURLs" VALUE="-1">
    <PARAM NAME="Language" VALUE="-1">
    <PARAM NAME="Mute" VALUE="0">
    <PARAM NAME="PlayCount" VALUE="3">
    <PARAM NAME="PreviewMode" VALUE="0">
    <PARAM NAME="Rate" VALUE="1.000000">
    <PARAM NAME="SelectionStart" VALUE="-1.000000">
    <PARAM NAME="SelectionEnd" VALUE="-1.000000">
    <PARAM NAME="SendOpenStateChangeEvents" VALUE="-1">
    <PARAM NAME="SendWarningEvents" VALUE="-1">
    <PARAM NAME="SendErrorEvents" VALUE="-1">
    <PARAM NAME="SendKeyboardEvents" VALUE="0">
    <PARAM NAME="SendMouseClickEvents" VALUE="0">
    <PARAM NAME="SendMouseMoveEvents" VALUE="0">
    <PARAM NAME="SendPlayStateChangeEvents" VALUE="-1">
    <PARAM NAME="ShowCaptioning" VALUE="0">
    <PARAM NAME="ShowControls" VALUE="-1">
    <PARAM NAME="ShowAudioControls" VALUE="-1">
    <PARAM NAME="ShowDisplay" VALUE="0">
    <PARAM NAME="ShowGotoBar" VALUE="0">
    <PARAM NAME="ShowPositionControls" VALUE="-1">
    <PARAM NAME="ShowStatusBar" VALUE="0">
    <PARAM NAME="ShowTracker" VALUE="-1">
    <PARAM NAME="TransparentAtStart" VALUE="0">
    <PARAM NAME="VideoBorderWidth" VALUE="0">
    <PARAM NAME="VideoBorderColor" VALUE="0">
    <PARAM NAME="VideoBorder3D" VALUE="0">
    <PARAM NAME="Volume" VALUE="-600">
    <PARAM NAME="WindowlessVideo" VALUE="0">
    <PARAM NAME="FileName" VALUE="breathe.wav">

    <PARAM NAME="loop" VALUE="true">
</OBJECT>
<!-- END GENERIC ALL BROWSER FRIENDLY HTML FOR WINDOWS MEDIA PLAYER --><INPUT NAME="btnPlay" TYPE="Button" style="font-family:Tahoma; color:#C2AA7A; font-size:8pt; background:#000000;" VALUE="Play" onclick="document.MediaPlayer1.Play();">
<INPUT NAME="btnPause" TYPE="Button" style="font-family:Tahoma; color:#C2AA7A; font-size:8pt; background:#000000;" VALUE="Pause" onclick="document.MediaPlayer1.Pause();">
<INPUT NAME="btnStop" TYPE="Button" style="font-family:Tahoma; color:#C2AA7A; font-size:8pt; background:#000000;" VALUE="Stop" onclick="document.MediaPlayer1.Stop();"></CENTER></P>
<P><CENTER><FONT SIZE="-1" FACE="Verdana">April 1, 2004</FONT></CENTER></P>

</FORM>


</ BODY>
</HTML>
  
Back to top
WWWYIM  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Enable HTML v1.4
Reply #72 - May 8th, 2004 at 11:20am
Print Post  
It's no problem to include an applet. However the html code you posted here is pretty buggy (open body tags etc) so if you copy it 1:1 it will only mess your post up. Secondly, you either have to modify the parameters for the applet to point to the proper files or you have to copy those files to your YaBB directory. Otherwise your browser won't find anything.
  

The Administrator.
Back to top
WWW  
IP Logged
 
MisDemeanor
New Member
*
Offline



Posts: 26
Joined: Mar 17th, 2004
Gender: Female
Re: Enable HTML v1.4
Reply #73 - May 9th, 2004 at 2:24pm
Print Post  
Wow I'm still having problems.

I've significantly cleaned up the html script. It appears as though my post wants to display the applet just wont present the image or effect. It will display the media  just not the applet, its image or its effects.

I have specified the direct path the the .class files as well as the image files, still no go.

Below is a link to the end result of my attempts and copy of my code. Any help is certainly appreciated.

http://www.niteshare.net/images/applet.jpg


<html>
<body>
<body bgcolor="#000000" text="#C0C0C0" link="#C0C0C0" alink="#C0C0C0" vlink="#C0C0C0">
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="100">
<tr><td></td>
<td>
<center>
<applet code="http://www.niteshare.net/music/youwont/text_scroller.class" width=200 height=220>
<param name=info value="Applet by Gokhan Dagli,textscroller.tripod.com">
<param name=textcolor value="9095AE">
<param name=bgcolor value="000000">
<param name=enable_bgpicture value="0">
<param name=bgpicture value="http://www.niteshare.net/music/youwont/textscroller.jpg">
<param name=speed value="80">      
<param name=textdimension value="12">
<param name=fonttype value="Arial">
<param name=paragraph_number value="10">
<param name=parag1 value="Of all the things I've seen">
<param name=parag2 value="Of all the dreams I've dreamed">
<param name=parag3 value="Your image still blows my mind.">
<param name=parag4 value=" ">
<param name=parag5 value="Its always been the same ole line">
<param name=parag6 value="That same ole shoe, worn so many times.">
<param name=parag7 value="And these shoes I've worn for so long">
<param name=parag8 value="Have become tattered, torn, and heavy as stone.">
<param name=parag9 value=" ">
<param name=parag10 value="I know now that you won't be mine">
</applet>
</center>
</body>
</html>
  
Back to top
WWWYIM  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Enable HTML v1.4
Reply #74 - May 14th, 2004 at 2:54pm
Print Post  
works fine for me. I copied text_scroller.class and textscroller.jpg into the same folder as YaBB.pl and used the following code (note: I didn't use any path, I guess that's our problem):

Code
Select All
<applet code="text_scroller.class" width=160 height=220>
<param name=info value="Applet by Gokhan Dagli,textscroller.tripod.com">
<param name=textcolor value="03FEFE">
<param name=bgcolor value="000000">
<param name=enable_bgpicture value="1">
<param name=bgpicture value="textscroller.jpg">
<param name=speed value="40">
<param name=textdimension value="12">
<param name=fonttype value="Arial">
<param name=paragraph_number value="3">
<param name=parag1 value="Welcome to TextScroller Java Applet.">
<param name=parag2 value="Vertical text scroll effect. You can use background image.">
<param name=parag3 value="Please visit textscroller.tripod.com for download latest version of textscroller."> 


  

The Administrator.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 6 7 
Send TopicPrint