Page Index Toggle Pages: 1 2 [3] 4  Send TopicPrint
Very Hot Topic (More than 25 Replies) [DONE] Chat Bubbles! (Read 26740 times)
Postmaster
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 137
Joined: Feb 4th, 2002
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #30 - Feb 10th, 2002 at 3:41pm
Print Post  
@ Neo Plan 3

replace this in the display.pl (  # Chat Bubbles! 1.5 to # then use the normal, default display) than you have all options in the message.report to moderator,the stars and the flaghack under the membername,...

Quote:
# Chat Bubbles! 1.5
     # This code determines if the current board is one
     # that needs to be displayed in chat bubbles.
     $dobubbles = '0';
     my( @bubbles, $i );
     fopen(FILE, "$vardir/chatbubbles.txt");
     @bubbles = <FILE>;
     fclose(FILE);
     foreach $i (@bubbles) {
           $i =~ tr/\r//d;
           $i =~ tr/\n//d;
           if ($i eq $currentboard) {
                 $dobubbles = '1';
           }
     }
     # Chat Bubbles display code
if ($dobubbles eq '1') {            
     if ((($counter % 2) == '0')||($counter == '0')) {
           $yymain .= qq~
<a name="$counter">
     <table cellpadding=0 cellspacing=0 border=0 width="100%" bgcolor="$windowbg" class="windowbg" align="center">
 <tr><td>
     <table cellpadding=0 cellspacing=0 border=0 width="96%" bgcolor="$windowbg" class="windowbg" align="center">
 <tr>
   <td valign="top">
     <table border="0" cellpadding="0" cellspacing="0">
       <tr>
         <td width="100%"><font size="1">
           $usernamelink
           $memberinfo<BR>~;
     if($musername ne "Guest") {
                 fopen(FILE, "$memberdir/$useraccount{$musername}.flg");
                 @flag = <FILE>;
                 fclose(FILE);
chomp @flag;
$test = $flag[0];
if($test eq '') {
     $test = "blank";
}
           $yymain .= qq~
           $star<BR><BR>
         <img src="$imagesdir/flags/$test.gif" border="0"><br><br>
           $userprofile[13]$userprofile[12]
           <BR>$userprofile[8] $icqad   $userprofile[10] $yimon   $userprofile[9]<BR>
~;
     }
     if($musername eq "Guest") {
           $yymain .= qq~
           <BR><a href="mailto:$memail">$img{'email_sm'}</a><BR><BR>
~;
     }
     elsif ($userprofile[19] ne "checked" || $settings[7] eq "Administrator" || $settings[7] eq "Global Moderator" || $allow_hide_email ne 1) {
           $yymain .= qq~
           $profbutton$userprofile[4] <a href="mailto:$memail">$img{'email_sm'}</a>$sendm<BR><BR>
~;
     } else {
           $yymain .= qq~
   $profbutton$userprofile[4]$sendm<BR><BR>
~;
     }
        $yymain .= qq~
           $userprofile[11]
           $postinfo
           </font><br><a ername">$rtm{'1'}</a></td>
       </tr>
     </table>
   </td>    
   <td width="100%" valign="top">  
     <table border="0" cellpadding="0" cellspacing="0" width="100%">  
       <tr>  
         <td></td>  
         <td><img border="0" src="$imagesdir/huki1.gif" width="14" height="14"></td>  
         <td bgcolor="#FFFFFF" width="100%"><font size="1" color="#FFFFFF">.</font></td>  
         <td><img border="0" src="$imagesdir/huki2.gif" width="14" height="14"></td>  
       </tr>  
       <tr>  
         <td valign="top"><img border="0" src="$imagesdir/huki5.gif" width="30" height="30"></td>  
         <td bgcolor="#FFFFFF"> </td>
         <td bgcolor="#FFFFFF" width="100%">
           <table border="0" cellpadding="0" cellspacing="0" width="100%">
             <tr>
               <td width="100%">            <table width='100%' border='0'>
             <tr>
               <td align="left" valign="middle"><img src="$imagesdir/$micon.gif"></td>
               <td align="left" valign="middle">
               <font size="2"><B>$msub</b></font><BR>  
               <font size="1">« <B>$counterwords $txt{'30'}:</B> $messdate »</font></td>  
               <td align="right" valign="bottom" nowrap height="20">  
               <font size=-1> $menusep<a t">$img{'replyquote'}</a>$menusep<a href="$cgi;action=modify;message=$counter;thread=$viewnum">$img{'modify'}</a>  
~;
     if(exists $moderators{$username} || $settings[7] eq 'Administrator' || $username eq $musername) {
           $yymain .= qq~  $menusep<a ont>~;
     }

     $yymain .= qq~
               </td>  
             </tr>  
           </table> </td>  
             </tr>  
             <tr>  
               <td width="100%">
                 <hr size="1">
                         <font size="2">$message</font>
               </td>
             </tr>
             <tr>
               <td width="100%"><font size="1">$userprofile[5]</font>  
               </td>
             </tr>
           </table></td>
         <td bgcolor="#FFFFFF"> </td>
       </tr>
       <tr>
         <td></td>
         <td><img border="0" src="$imagesdir/huki4.gif" width="14" height="14"></td>
         <td bgcolor="#FFFFFF" width="100%"><font size="1" color="#FFFFFF">.</font></td>
         <td><img border="0" src="$imagesdir/huki3.gif" width="14" height="14"></td>
       </tr>
     </table>
     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       <tr>
         <td width="50%"></td>
         <td width="50%" align="right">
          <font size="1"><img src="$imagesdir/ip.gif" alt="" border="0"> $mip</font>
         </td>
       </tr>
     </table>
         </td></tr></table>  
   </td>
 </tr>
 </table>
~;
}

elsif (($counter % 2) != '0') {
           $yymain .= qq~
<a name="$counter">
     <table cellpadding=0 cellspacing=0 border=0 width="100%" bgcolor="$windowbg" class="windowbg" align="center">
 <tr><td>
     <table cellpadding=0 cellspacing=0 border=0 width="96%" bgcolor="$windowbg" class="windowbg" align="center">
 <tr>
   <td width="100%" valign="top">  
     <table border="0" cellpadding="0" cellspacing="0" width="100%">  
       <tr>  
         <td><img border="0" src="$imagesdir/huki1.gif" width="14" height="14"></td>  
         <td bgcolor="#FFFFFF" width="100%"><font size="1" color="#FFFFFF">.</font></td>  
         <td><img border="0" src="$imagesdir/huki2.gif" width="14" height="14"></td>  
         <td></td>  
       </tr>  
       <tr>  
         <td bgcolor="#FFFFFF"> </td>
         <td bgcolor="#FFFFFF" width="100%">
           <table border="0" cellpadding="0" cellspacing="0" width="100%">
             <tr>
               <td width="100%">            <table width='100%' border='0'>
             <tr>
               <td align="left" valign="middle"><img src="$imagesdir/$micon.gif"></td>
               <td align="left" valign="middle">
               <font size="2"><B>$msub</b></font><BR>  
               <font size="1">« <B>$counterwords $txt{'30'}:</B> $messdate »</font></td>  
               <td align="right" valign="bottom" nowrap height="20">  
               <font size=-1> $menusep<a t">$img{'replyquote'}</a>$menusep<a href="$cgi;action=modify;message=$counter;thread=$viewnum">$img{'modify'}</a>  
~;
           if(exists $moderators{$username} || $settings[7] eq 'Administrator') {
$yymain .= qq~
               $menusep<a ont>
~;
}
$yymain .= qq~
               </td>  
             </tr>  
           </table> </td>  
             </tr>  
             <tr>  
               <td width="100%">
                 <hr size="1">
                         <font size="2">$message</font>
               </td>
             </tr>
             <tr>
               <td width="100%"><font size="1">$userprofile[5]</font>  
               </td>
             </tr>
           </table></td>
         <td bgcolor="#FFFFFF"> </td>
         <td valign="top"><img border="0" src="$imagesdir/huki6.gif" width="30" height="30"></td>  
       </tr>
       <tr>
         <td><img border="0" src="$imagesdir/huki4.gif" width="14" height="14"></td>
         <td bgcolor="#FFFFFF" width="100%"><font size="1" color="#FFFFFF">.</font></td>
         <td><img border="0" src="$imagesdir/huki3.gif" width="14" height="14"></td>
         <td></td>
       </tr>
     </table>
     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       <tr>
         <td width="50%" align="left"><font size="1"><img src="$imagesdir/ip.gif" alt="" border="0"> $mip</font></td>
         <td width="50%"></td>
       </tr>
     </table>
         </td>
             <td valign="top">
     <table border="0" cellpadding="0" cellspacing="0">
       <tr>
         <td width="100%"><font size="1">
           $usernamelink
           $memberinfo<BR>~;
     if($musername ne "Guest") {
                 fopen(FILE, "$memberdir/$useraccount{$musername}.flg");
                 @flag = <FILE>;
                 fclose(FILE);
chomp @flag;
$test = $flag[0];
if($test eq '') {
     $test = "blank";
}
           $yymain .= qq~
           $star<BR><BR>
         <img src="$imagesdir/flags/$test.gif" border="0"><br><br>
           $userprofile[13]$userprofile[12]
           <BR>$userprofile[8] $icqad   $userprofile[10] $yimon   $userprofile[9]<BR>
~;
     }
     if($musername eq "Guest") {
           $yymain .= qq~
           <BR><a href="mailto:$memail">$img{'email_sm'}</a><BR><BR>
~;
     }
     elsif ($userprofile[19] ne "checked" || $settings[7] eq "Administrator" || $settings[7] eq "Global Moderator" || $allow_hide_email ne 1) {
           $yymain .= qq~
           $profbutton$userprofile[4] <a href="mailto:$memail">$img{'email_sm'}</a>$sendm<BR><BR>
~;
     } else {
           $yymain .= qq~
   $profbutton$userprofile[4]$sendm<BR><BR>
~;
     }
        $yymain .= qq~
           $userprofile[11]
           $postinfo
           </font><br><a ername">$rtm{'1'}</a></td>
       </tr>
     </table>   <br>
   </td>    </tr></table>  
   </td>
 </tr>
 </table>
~;
}
}
     # If it's not to be displayed as chat bubbles,
     # then use the normal, default display


have fun  Grin
  

MFG MAC
Back to top
 
IP Logged
 
DigiTech ID
Full Member
***
Offline


AKA Neo Plan 3, Neo Digital
3, Audiodox, etc...

Posts: 205
Location: Media
Joined: Oct 11th, 2001
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #31 - Feb 10th, 2002 at 6:04pm
Print Post  
Ouch, could you tell me what part is for the report to moderator mod? I've already done some heavy graphical modifications to the mod on my board, replacing the all of the code would be another 8 hrs. of work I don't have right now.

Thanx,

NP3
  

Looks like there's work yet to be done...

Pitty, never even made it past YaBB 1 SP1.1
Back to top
WWWAIM  
IP Logged
 
Postmaster
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 137
Joined: Feb 4th, 2002
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #32 - Feb 10th, 2002 at 6:17pm
Print Post  
Grin Grin Grin

ok the part is 2x in the code.

search for
Code
Select All
	  $yymain .= qq~
		$userprofile[11]
		$postinfo
		</font>
	    </td> 



and replace
Code
Select All
	  $yymain .= qq~
		$userprofile[11]
		$postinfo
		</font><br><a ername">$rtm{'1'}</a></td> 



no forget!!!this code is 2x in the chatbubbles  Wink

have fun
  

MFG MAC
Back to top
 
IP Logged
 
DigiTech ID
Full Member
***
Offline


AKA Neo Plan 3, Neo Digital
3, Audiodox, etc...

Posts: 205
Location: Media
Joined: Oct 11th, 2001
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #33 - Feb 10th, 2002 at 9:17pm
Print Post  
Thanx Postmaster!
  

Looks like there's work yet to be done...

Pitty, never even made it past YaBB 1 SP1.1
Back to top
WWWAIM  
IP Logged
 
McH
Junior Member
**
Offline


Juud. 16

Posts: 60
Location: Lahti
Joined: Nov 6th, 2001
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #34 - Feb 10th, 2002 at 10:14pm
Print Post  
custom user titles to bubbles... mod

open chat_bubbles_sp1.mod

Do this x3 !
find
Code
Select All
		$memberinfo<BR> 


Replace:
Code
Select All
~;
	if($titlesettings eq $cuttxt{'2'}) {
		$yymain .= qq~
		$titlesettings
		$memberinfo<BR>
~;
	} else {
		$yymain .= qq~
		$memberinfo<BR>
		$titlesettings<BR>
~;
	}
$yymain .= qq~ 



If you got speed_options_sp1.mod don't use my mod!
  
Back to top
WWW  
IP Logged
 
t d
Guest


Re: [DONE] Chat Bubbles!
Reply #35 - Feb 10th, 2002 at 10:28pm
Print Post  
Although this is a cool mod, it's a little on the flippant side.  Some threads are serious and less conversational, and threads like this don't look right with this mod.

So my suggestion is this ... right now the mod can be set to work in certain forums.  Instead of this, put a radio button at the bottom of each post, so that someone can choose when they create a thread whether they want the thread to be displayed in bubbles or the normal way.  This way, if someone wants to post something serious, it can be displayed in a serious manner.
  
Back to top
 
IP Logged
 
McH
Junior Member
**
Offline


Juud. 16

Posts: 60
Location: Lahti
Joined: Nov 6th, 2001
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #36 - Feb 10th, 2002 at 10:59pm
Print Post  
You can chooce board to use bubbles.

If you chooce to use bubbles on you joke board, you true stories board will not use bubbles then.

I did make mod that users can choice if they wanna see bubbles or not, on those boards that are whit bubbles... I haven't done .mod file for this mod. But if you wan't it, just say it!

I am sorry for my very bad english...
  
Back to top
WWW  
IP Logged
 
t d
Guest


Re: [DONE] Chat Bubbles!
Reply #37 - Feb 11th, 2002 at 12:06am
Print Post  
That'd be a cool mod, yes.   Smiley

I always just install mods by hand anyway, so if you just want to post the lines of code that I need to add, that would be fine.
  
Back to top
 
IP Logged
 
McH
Junior Member
**
Offline


Juud. 16

Posts: 60
Location: Lahti
Joined: Nov 6th, 2001
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #38 - Feb 11th, 2002 at 12:17am
Print Post  
Ok, first you need to install speed_options.sp1.mod

then open Display.pl

find
Code
Select All
if ($dobubbles eq '1') {	 



replace
Code
Select All
if ($dobubbles eq '1' && $offsettings[7] ne "1") { 



open Profile.pl

find
Code
Select All
	if ($offsettings[6] == 1) { $offsettings[6] = 'checked'; } 



replace
Code
Select All
	if ($offsettings[6] == 1) { $offsettings[6] = 'checked'; }
	if ($offsettings[7] == 1) { $offsettings[7] = 'checked'; } 



find
Code
Select All
    </tr><tr>
	<td width="320"><font size=2><b>$spdtxt{'07'}</b></font></td>
	<td><input type="checkbox" name="hidesum" value="1" $offsettings[5]></td>
    </tr> 



replace
Code
Select All
    </tr><tr>
	<td width="320"><font size=2><b>$spdtxt{'07'}</b></font></td>
	<td><input type="checkbox" name="hidesum" value="1" $offsettings[5]></td>
    </tr><tr>
	<td width="320"><font size=2><b>$spdtxt{'09'}</b></font></td>
	<td><input type="checkbox" name="hidesum2" value="1" $offsettings[7]></td>
    </tr> 



find
Code
Select All
		print FILE "$member{'hidecracks'}"; 



replace
Code
Select All
		print FILE "$member{'hidecracks'}\n";
		print FILE "$member{'hidesum2'}"; 



Open your language file (english.lng ?)

find
Code
Select All
$spdtxt{'08'} = "Disable showing of Cracks Smilies Table?"; 



add after
Code
Select All
$spdtxt{'09'} = "Disable showing of bubbles?"; 



Work for me!
  
Back to top
WWW  
IP Logged
 
rehlbe
God Member
*****
Offline


Juve Merda

Posts: 614
Joined: Feb 1st, 2002
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #39 - Feb 12th, 2002 at 7:45pm
Print Post  
I've released a fix to let user custom titles 1.2 sp1 work even on chatbubbles enabled forums..you can find it here:
http://www.rehlbe.com/Mods/User_custom_files12_chat_bubbles15_fix_10.mod

Let me know if you find some bugs!
  

www.rehlbe.com
Current task -> rewriting website.
Per un aiuto in italiano contattami tramite il mio forum!

Installed Mods = 82
Milan forever
Back to top
IP Logged
 
phark
New Member
*
Offline


Everthing is groovy...
just groovy!

Posts: 46
Joined: Jan 27th, 2002
Gender: Male
Re: [DONE] Chat Bubbles!
Reply #40 - Feb 13th, 2002 at 1:10am
Print Post  
Grin AWESOME MOD!  Grin

I have SP1 and tons of mods installed, and this installed no problem!  Thanks!

phark!
  
Back to top
WWW  
IP Logged
 
cypher
Junior Member
**
Offline


Run for the hills killer
chicken

Posts: 78
Joined: Apr 13th, 2002
Re: [DONE] Chat Bubbles!
Reply #41 - May 10th, 2002 at 7:49pm
Print Post  
can some one plz post the finished version of chat bubbles not the custom user fix plz thanks Cheesy
  
Back to top
WWW  
IP Logged
 
dijovi
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Mar 14th, 2002
Re: [DONE] Chat Bubbles!
Reply #42 - May 11th, 2002 at 8:06am
Print Post  
I think chat bubbles is not compatiable with file attachment mod.
Once i install and add Boards to Display as Chat Bubbles the topics will not show the picture i post previously.
Is there any fix?? Smiley
  
Back to top
 
IP Logged
 
cypher
Junior Member
**
Offline


Run for the hills killer
chicken

Posts: 78
Joined: Apr 13th, 2002
Re: [DONE] Chat Bubbles!
Reply #43 - May 18th, 2002 at 1:08pm
Print Post  
i cant use chat bubbles on admin center where is says - Chat Bubbles! i click on it and it says this Type one board name per line. The board names are that appear in your url as board=[namehere]. You can also view them in the edit boards function.

so i type board=Genera
(which is my general disscusion board id and the chat mod dont work) what do i do?
  
Back to top
WWW  
IP Logged
 
Charles Trilithium
Guest


Re: [DONE] Chat Bubbles!
Reply #44 - May 18th, 2002 at 4:50pm
Print Post  
I am unable to download this, can you please attach it?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 
Send TopicPrint