Page Index Toggle Pages: 1 ... 5 6 [7]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Mods that I found to work! (Read 3906 times)
Giro
Guest


Re: Mods that I found to work!
Reply #90 - Jun 21st, 2005 at 3:09pm
Print Post  
Hi all,

speaking of addsmiles3, I am trying to adapt the original mod (v1.3) to v1.4 but something is going wrong.

I am searching for: 

[code]      $yymain .= qq~
     <tr>
       <td bgcolor="$color{'bordercolor'}" colspan="2" class="bordercolor">
       <table width="100%" cellpadding="3" cellspacing="0" bgcolor="$color{'windowbg'}" class="windowbg">
~;
}
     $yymain .= qq~
     <tr>
       <td class="windowbg2" bgcolor="$color{'windowbg2'}" width="23%"><font size=2><b>$txt{'297'}:</b></font></td>
       <td valign=middle class="windowbg2" bgcolor="$color{'windowbg2'}">
       <script language="JavaScript1.2" type="text/javascript">
       <!--
       if((navigator.appName == "Netscape" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Opera" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Konqueror" && navigator.appVersion.charAt(0) >= 2)) {
         HAND = "onmouseover=this.style.cursor='hand'";

         document.write("<img src='$imagesdir/smiley.gif' onclick='smiley();' "+HAND+" align='bottom' alt='$txt{'287'}' title='$txt{'287'}' border='0'> ");
         document.write("<img src='$imagesdir/wink.gif' onclick='wink();' "+HAND+" align='bottom' alt='$txt{'292'}' title='$txt{'292'}' border='0'> ");
         document.write("<img src='$imagesdir/cheesy.gif' onclick='cheesy();' "+HAND+" align='bottom' alt='$txt{'289'}' title='$txt{'289'}' border='0'> ");
         document.write("<img src='$imagesdir/grin.gif' onclick='grin();' "+HAND+" align='bottom' alt='$txt{'293'}' title='$txt{'293'}' border='0'> ");
         document.write("<img src='$imagesdir/angry.gif' onclick='angry();' "+HAND+" align='bottom' alt='$txt{'288'}' title='$txt{'288'}' border='0'> ");
         document.write("<img src='$imagesdir/sad.gif' onclick='sad();' "+HAND+" align='bottom' alt='$txt{'291'}' title='$txt{'291'}' border='0'> ");
         document.write("<img src='$imagesdir/shocked.gif' onclick='shocked();' "+HAND+" align='bottom' alt='$txt{'294'}' title='$txt{'294'}' border='0'> ");
         document.write("<img src='$imagesdir/cool.gif' onclick='cool();' "+HAND+" align='bottom' alt='$txt{'295'}' title='$txt{'295'}' border='0'> ");
         document.write("<img src='$imagesdir/huh.gif' onclick='huh();' "+HAND+" align='bottom' alt='$txt{'296'}' title='$txt{'296'}' border='0'> ");
         document.write("<img src='$imagesdir/rolleyes.gif' onclick='rolleyes();' "+HAND+" align='bottom' alt='$txt{'450'}' title='$txt{'450'}' border='0'> ");
         document.write("<img src='$imagesdir/tongue.gif' onclick='tongue();' "+HAND+" align='bottom' alt='$txt{'451'}' title='$txt{'451'}' border='0'> ");
         document.write("<img src='$imagesdir/embarassed.gif' onclick='embarassed();' "+HAND+" align='bottom' alt='$txt{'526'}' title='$txt{'526'}' border='0'> ");
         document.write("<img src='$imagesdir/lipsrsealed.gif' onclick='lipsrsealed();' "+HAND+" align='bottom' alt='$txt{'527'}' title='$txt{'527'}' border='0'> ");
         document.write("<img src='$imagesdir/undecided.gif' onclick='undecided();' "+HAND+" align='bottom' alt='$txt{'528'}' title='$txt{'528'}' border='0'> ");
         document.write("<img src='$imagesdir/kiss.gif' onclick='kiss();' "+HAND+" align='bottom' alt='$txt{'529'}' title='$txt{'529'}' border='0'> ");
         document.write("<img src='$imagesdir/cry.gif' onclick='cry();' "+HAND+" align='bottom' alt='$txt{'530'}' title='$txt{'530'}' border='0'> ");
       }
       else { document.write("<font size='1'>$txt{'215'}</font>"); }
       //-->
       </script>
       <noscript>
       <font size="1">$txt{'215'}</font>
       </noscript>
       </td>
     </tr><tr>
       <td valign=top class="windowbg2" bgcolor="$color{'windowbg2'}" width="23%"><font size=2><b>$txt{'72'}:</b></font></td>[/code]

..and replacing by:

[code]### Add More Smilies 3.0 - Smiley List ###
     if ($SmilieURL[0] eq "") {&LoadSmilies;}

     $showmore = "";
     $smilie_list = "";
     $smilie_more = "";
     $smilie_block = "";
     $smilie_url_array = "";
     for( my $i = 0; $i < @SmilieURL; $i++ ) {
           if ($SmilieURL[$i] =~ /\//i) {$tmpurl = $SmilieURL[$i];} else {$tmpurl = qq~$smiliesurl/$SmilieURL[$i]~;}
           ($tmpCode, $dummy) = split (/\s+/, $SmilieCode[$i]);
           $tmpCode =~ s/'/&#39;/g;
           if ($SmilieOption[$i] % 2 == 1) { $smilie_list .= qq~
                   document.write("<img src='$tmpurl' onclick='javascript:AddText(" + '" $tmpCode"' + ")' align='bottom' alt='$SmilieDescription[$i]' border='0' style='cursor:hand'> ");~;
           }
           if (($SmilieOption[$i] / 2) % 2 == 1) {$smilie_block .= qq~
                   document.write("<option value=" + '" $tmpCode"' + ">$SmilieDescription[$i]</option>");~;
                 $smilie_url_array .= qq~"$tmpurl", ~;
           }
           if (($SmilieOption[$i] / 4) % 2 == 1) {$showmore = 1;}
     }
     $smilie_url_array .= qq~""~;

     if ($showmore == 1 && ($show_smilie_block != 1 || $smilie_block eq "")) {$smilie_more = qq~
                   document.write('<a href="$scripturl?action=smilieindex" target="_blank" onclick="' + "javascript: window.open('$scripturl?action=smilieindex', 'list', 'width=100,height=100,left=0,top=0,scrollbars=yes'); return false" + '">$smi_txt{'8'}</a>');~;
     }

     if ($smilie_list ne "" || $smilie_more ne "" ) {$yymain .= qq~
             <tr>
               <td width="23%"><font size="2"><b>$txt{'297'}:</b></font></td>
               <td valign="middle">
                 <script language="JavaScript1.2" type="text/javascript">
                 <!--
                 if((navigator.appName == "Netscape" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Opera" && navigator.appVersion.charAt(0) >= 4)) {$smilie_list$smilie_more
                 }
                 else { document.write("<font size='1'>$txt{'215'}</font>"); }
                 //-->
                 </script>
                 <noscript>
                   <font size="1">$txt{'215'}</font>
                 </noscript>
               </td>
             </tr>~;
     }
### Add More Smilies 3.0 - Smiley List ###

           $yymain .= qq~
             <tr>
               <td valign="top" width="23%"><font size=2><b>$txt{'72'}:</b></font>
                 <br><br><br>~;

### Add More Smilies 3.0 - Smiley Block ###
     if ($show_smilie_block == 1 && $smilie_block ne "") {$yymain .= qq~
              <script language="JavaScript1.2" type="text/javascript">
              <!--
              smilieurl = new Array($smilie_url_array)
              smiliecode = new Array($smilie_code_array)

              if((navigator.appName == "Netscape" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.charAt(0) >= 4) || (navigator.appName == "Opera" && navigator.appVersion.charAt(0) >= 4)) {

                document.write('<table border="0" cellpadding="3" callspacing="0" bgcolor="white" style="border-style:solid; border-width:1px; border-color:$color{'bordercolor'}" align="center"><tr>');
                document.write('<td height="20" width="120" align="center" valign="top"><select name="smiliextra_list" onchange="document.images.smiliextra_image.src= smilieurl[document.postmodify.smiliextra_list.selectedIndex]" style="width:120px; font-size:7pt">');$smilie_block
                document.write('</select></td>');
                document.write('</tr><tr>');
                document.write('<td height="70" align="center" valign="middle" style="height:70px"><img name="smiliextra_image" src="'+smilieurl[0]+'" alt="" border="0" onclick="javascript:AddText(document.postmodify.smiliextra_list.options[document.postmodify.smiliextra_list.selectedIndex].value)" style="cursor:hand"></td>');
                document.write('</tr><tr>');
                document.write('<td height="15" align="center" valign="middle"><font size="1"><a href="$scripturl?action=smilieindex" target="_blank" onclick="' + "javascript: window.open('$scripturl?action=smilieindex', 'list', 'width=100,height=100,left=0,top=0,scrollbars=yes'); return false" + '">$smi_txt{'9'}</a></font></td>');
                document.write('</tr></table>');
              }

              //-->
              </script>~;
     }
### Add More Smilies 3.0 - Smiley Block ###

           $yymain .= qq~
              </td>[/code]

Everything is fine with Boardmod but then YaBB is not able to execute Post.pl anymore. I can't think of anything else I should change in the "##AddMoreSmiles 3.0##" code although there must be something...

Any suggestions?

Thx in advance.
  
Back to top
 
IP Logged
 
pesto126
Guest


Re: Mods that I found to work!
Reply #91 - Jun 27th, 2005 at 8:45pm
Print Post  
Hi.. was hoping someone could help me with a problem I'm having with Recent Topics 2.

I'm using the following code in my shtml file and I keep getting an error message as follows.

<!--#exec cgi="http://mysite.com/cgi-bin/yabb/YaBB.cgi&action=recenttopics" -->

error message:
[an error occurred while processing this directive]

I've tried the #include version too and get the same error.. just trying to execute the command straight from a browser works just fine!

Any help would be greatly appreciated.. i'm really going crazy with this one!  Thx!!!
  
Back to top
 
IP Logged
 
DA
Guest


Re: Mods that I found to work!
Reply #92 - Jul 3rd, 2005 at 3:34pm
Print Post  
I get errors installing POLL.

Quote:
That mod is not SP1.4-compatible out of the box, do a manual install.


But you wrote: "1 Gold - Service Pack 1/1.1/1.2/1.3/1.3.2/1.4"

Please HELP ME
If you can, write answer to my email darkness_angel@one.lt
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Mods that I found to work!
Reply #93 - Jul 3rd, 2005 at 6:08pm
Print Post  
Note the date, a SP1-4 compatible version has been released after the post you quoted. Make sure that you have the latest poll mod version: http://www.boardmod.org/mods.php?searchfor=Polls_3.zip
  

The Administrator.
Back to top
WWW  
IP Logged
 
DA
Guest


Re: Mods that I found to work!
Reply #94 - Jul 4th, 2005 at 11:27am
Print Post  
When i'm starting to install mbco2_poll_patch.mod i get these errors:


starting log...

script path: C:\Documents and Settings\Algimantas\Desktop\yabb\YaBB.cgi

detected script: YaBB 1 Gold - SP 1.4

selected script: YaBB 1 Gold - SP 1.4

installed mods: 2

YaBB 1 Gold - SP 1.4\quick_reply_box_13.mod

YaBB 1 Gold - SP 1.4\announcement_board_sp14.mod



--------------------------------------------------------------------------------


now installing: More Board and Category Options Polls Patch 2.1
(mbco2_polls_patch.mod)

--------------------------------------------------------------------------------




Step 1 ... failed - ERR(1): Search string could not be found

Step 2 ... failed - ERR(2): Could not find file to edit (C:\Documents and
Settings\Algimantas\Desktop\yabb\Sources\MBCoptions.pl)

Step 3 ... failed - ERR(2): Could not find file to edit (C:\Documents and
Settings\Algimantas\Desktop\yabb\Sources\MBCoptions.pl)

Step 4 ... failed - ERR(2): Could not find file to edit (C:\Documents and
Settings\Algimantas\Desktop\yabb\Sources\MBCoptions.pl)

Step 5 ... failed - ERR(1): Search string could not be found

Step 6 ... failed - ERR(1): Search string could not be found



> modifications failed! 6 errors occured. No files will be modified. Please see readme for
help on the error messages.
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Mods that I found to work!
Reply #95 - Jul 4th, 2005 at 3:00pm
Print Post  
You obviously don't have the "More Board and Category Options" mod installed, so why do you try to install the poll mod patch for that?

Try to install "Polls_3_SP132_SP14.mod" instead.
  

The Administrator.
Back to top
WWW  
IP Logged
 
DA
Guest


Re: Mods that I found to work!
Reply #96 - Jul 7th, 2005 at 4:17pm
Print Post  
How to install More Board and Category Options?
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Mods that I found to work!
Reply #97 - Jul 7th, 2005 at 10:11pm
Print Post  
  

The Administrator.
Back to top
WWW  
IP Logged
 
mikomi
Guest


Re: Mods that I found to work!
Reply #98 - Sep 12th, 2005 at 12:01am
Print Post  
Hello all!
I have successfully installed some mods for my board but I would like to have "moderatorforum" mod.  It is for an older version (SP1) but I had hoped it would work for SP1.4.  This is what I get:

starting log...

script path: F:\software2\internet\yabb\cgi-bin\yabb\YaBB.cgi

detected script: YaBB 1 Gold - SP 1.4
selected script: YaBB 1 Gold - SP 1.4

installed mods: 5

YaBB 1 Gold - SP 1.4\Polls_3_SP132_SP14.mod
YaBB 1 Gold - SP 1.4\newcalendar3_9_SP_1_32_and_1_4.mod
YaBB 1 Gold - SP 1.4\announcement_board_sp14.mod
YaBB 1 Gold - SP 1.4\enable_html_v14a_sp13_sp14.mod
YaBB 1 Gold - SP 1.4\Simple_Spoiler_v2_SP14.mod

------------------------------------------------------------
now installing: Moderator-Forum 1.5 SP1 (moderatorforum.mod)

------------------------------------------------------------

Step 1 ... failed - ERR(1): Search string could not be found

Step 2 ... ok
Step 3 ... ok
Step 4 ... ok
Step 5 ... ok
Step 6 ... ok
Step 7 ... ok
Step 8 ... ok
Step 9 ... ok
Step 10 ... ok
Step 11 ... ok
Step 12 ... ok
Step 13 ... ok
Step 14 ... ok
Step 15 ... ok
Step 16 ... ok

Step 17 ... failed - ERR(1): Search string could not be found

Step 18 ... ok
Step 19 ... ok

> modifications failed! 2 errors occured. No files will be modified. Please see readme for help on the
error messages.

I don't know much about perl or cgi scripting so I'm a little leary about going in a editting.

Is there a mod for SP 1.4 that does this (forum visible to only moderators/admins) or should I attempt to edit the script?

Thanks for any help and advise!
  
Back to top
 
IP Logged
 
Eagle_f90
God Member
*****
Offline


For those with wings,
fly to your dreams.

Posts: 926
Location: Derry
Joined: Mar 7th, 2002
Gender: Male
Re: Mods that I found to work!
Reply #99 - Sep 12th, 2005 at 1:20am
Print Post  
Try the more board and cat options mod. That should let you restrict bords to mods and admins. Y2 also has this by defult.
  

For those with wings, fly to your dreams

Dreams are what we find at the end of reality, your reality if what you find at the end of your dreams.

Back to top
WWW  
IP Logged
 
mikomi
Guest


Re: Mods that I found to work!
Reply #100 - Sep 12th, 2005 at 1:38am
Print Post  
Eagle_f90 wrote on Sep 12th, 2005 at 1:20am:
Try the more board and cat options mod. That should let you restrict bords to mods and admins. Y2 also has this by defult.

Does that one --hide-- the forum from other members?  I know I can set premissions on whom can post and reply in certain boards but I was looking at having a hidden board for the mods.

BTW, why is it that I have to create a user group call "Moderator" to have any user indicated as such when there is already a group call that?
  
Back to top
 
IP Logged
 
Eagle_f90
God Member
*****
Offline


For those with wings,
fly to your dreams.

Posts: 926
Location: Derry
Joined: Mar 7th, 2002
Gender: Male
Re: Mods that I found to work!
Reply #101 - Sep 12th, 2005 at 12:57pm
Print Post  
I do not have a Y1 board with that mod installed so I am not 100% sure if you can hide the board or not.

As for moderators they are not membergroups but a status. When you edit a board there is a place to enter the names of users you want to moderate that board, if you place there name in there then they will be a moderator of that board and any posts they make IN that board will show them as moderstors. If you make a group called "Moderator" they do not have moderator powers.
  

For those with wings, fly to your dreams

Dreams are what we find at the end of reality, your reality if what you find at the end of your dreams.

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