News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

[Theme] Chat Bubbles

Started by spaceant, June 20, 2004, 05:41:34 PM

Previous topic - Next topic

Mysterio

I was gonna ask if there was a way to add signatures to posts, but I already found it, and I understand that it might not look as good with the signatures in there.

But, how about, maybe in the next update(If there is a next updates), could you add an option in there that will allow anyone(Admins or users) to turn signatures on or off?

That would be awesome if you could do that.

Anyways... excellent and really well thought out theme, by far one of the best themes I've ever seen, works REALLY well with my City of Heroes SG!

Thanks!

spaceant

I will update it when SMF reaches RC1 or better, and look into incorporating sigs.

Mysterio

Wow... that'll be along time off. lol :(

Already, someone mentioned why their signature isn't showing up on my CoH forum.

If I did want to add that feature, you said something about a file... would you be able to go into detail, please?

spaceant

Ok, ok... Go back to the first page of this thread, and redownload the theme. I've updated my theme with various bugfixes, improvements, etc, so it's worth it to redownload anyway.

By default, signatures are OFF, as I think it looks a lot nicer without it. If you insist on using signatures, I have provided the means to include it in this version. Here's what you have to do:

1.) Open Display.template.php in a text editor. (For example, Windows' notepad)
2.) Look for the line

$showSignatures = false;

This can be found on the 6th line, from the top, of the file.
3.) Simple change the value false to true, upload all the files into your chatbubbles Theme directory, and viola!
4.) Optional: Kindly send me a link to your website using this theme. I like seeing how people are using it  ;D
5.) Enjoy!

Mysterio

#64
k, thanks a lot man!

I really appreciate it. I'm gonna re-install the new updated theme now... and then I'll send ya the link. :)

deleric

 :D It's a great theme!!!!!!!!!!!!

Yust amazing I-chat like message display.

Mysterio

Hey, will Chat Bubbles work with the new RC1 version?

JKaizer

It didn't work for me.  =/


Is there gonna be an update for RC1 any time soon? o.o

Bitwiz44


Nice theme.
I used it on RC1. It just had trouble with the loading of the smileys when posting. Can that be fixed?

kegobeer

I'm sure it will be fixed.  According to his website, spaceant is gone for a few weeks so we won't see any updates until he's back.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

kegobeer

Here's the fix for the smilies:

In post.template.php, at line 542, replace

foreach ($context['smileys'] as $smiley_row)
{
foreach ($smiley_row as $smiley)


with

foreach ($context['smileys']['postform'] as $smiley_row)
{
foreach ($smiley_row['smileys'] as $smiley)
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Bitwiz44


Bitwiz44

actually, that fix works on all the other temp/smiley issues too! Thanks again!

charpress

I have the same smilies problem, but that line of my Post.template.php is:

foreach ($context['smileys'] as $smiley_row)
   {
      foreach ($smiley_row as $smiley)
         echo '
               <a href="javascript:replaceText(\' ', $smiley['code'], '\', document.', $context['post_form'], '.', $context['post_box_name'], ');"><img src="', $settings['smileys_url'], '/', $smiley['filename'], '" align="bottom" alt="', $smiley['description'], '" border="0" /></a>';
      echo '<br />';
   }

Horseman

#74
Hello spaceant,

two tips

a) upschrink work not on my site, a has the code in your template

<script language="JavaScript" type="text/javascript"><!--
var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

function shrinkHeader(mode)
{';

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
fetchById("upshrinkTemp").src = "', $scripturl, '?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';

echo '
fetchById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

fetchById("upshrinkHeader").style.display = mode ? "none" : "";

current_header = mode;
}
// --></script>

changed to

<script language="JavaScript" type="text/javascript"><!--
var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';

function shrinkHeader(mode)
{';

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
document.getElementById("upshrinkTemp").src = "', $scripturl, '?action=jsoption;var=collapse_header;val=" + (mode ? 1 : 0) + ";sesc=', $context['session_id'], ';" + (new Date().getTime());';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";

current_header = mode;
}
// --></script>

an it works fine.

2) in your template you have hardcodet grafik, thats gives traffic on yours caress ;)

td.topleft { background-image: url("http://www.spaceant.net/images/layout/top_left.jpg"); background-repeat: no-repeat; }
td.top { background-image: url("http://www.spaceant.net/images/layout/top.jpg"); background-repeat: repeat-x; font-size: 10pt; font-family: Arial, Verdana, Helvetica, sans-serif; font-weight: bold; color: #FFFFFF; }
td.topright { background-image: url("http://www.spaceant.net/images/layout/top_right.jpg"); background-repeat: no-repeat; }
td.left { background-image: url("http://www.spaceant.net/images/layout/left.jpg"); background-repeat: repeat-y; }
td.leftcompact { background-image: url("http://www.spaceant.net/images/layout/left_compact.jpg"); background-repeat: repeat-y; }
td.right { background-image: url("http://www.spaceant.net/images/layout/right.jpg"); background-repeat: repeat-y; }
td.rightcompact { background-image: url("http://www.spaceant.net/images/layout/right_compact.jpg"); background-repeat: repeat-y; }
td.bottomleft { background-image: url("http://www.spaceant.net/images/layout/bottom_left.jpg"); background-repeat: no-repeat; }
td.bottom { background-image: url("http://www.spaceant.net/images/layout/bottom.jpg"); background-repeat: repeat-x; }
td.bottomright { background-image: url("http://www.spaceant.net/images/layout/bottom_right.jpg"); background-repeat: no-repeat; }
td.inside { background-image: url("http://www.spaceant.net/images/layout/inside.gif"); background-repeat: repeat; font-size: 10pt; font-family: Arial, Verdana, Helvetica, sans-serif; color: #FFFFFF; }
td.blogs { background-image: url("http://www.spaceant.net/images/layout/inside.gif"); background-repeat: repeat; font-size: 10pt; font-family: Arial, Verdana, Helvetica, sans-serif; color: #FFFFFF; }
td.shouts { background-image: url("http://www.spaceant.net/images/layout/inside.gif"); background-repeat: repeat; font-size: 8pt; font-family: Arial, Verdana, Helvetica, sans-serif; color: #FFFFFF; }


very nice theme, thanks for your work!

and pleace, can you say me what this font is for the buttons?

best regards
horseman
Gruß Horseman
______________________________________________________

PhpOpenChat Support Portal: http://www.phpopenchat.de

garion

Great great great.

works fine here.. for the first smal testing.

greets
garion
me .... the black hole of information

kegobeer

@charpress:

QuoteI have the same smilies problem, but that line of my Post.template.php is:

foreach ($context['smileys'] as $smiley_row)
   {
      foreach ($smiley_row as $smiley)

Yes, that's correct.  You should replace that code with

foreach ($context['smileys']['postform'] as $smiley_row)
  {
    foreach ($smiley_row['smileys'] as $smiley)
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Horseman

There is a little Bug in this Theme.
When you klick the Image "New" it does not come the New Post, there comes always the first one.

regards
horseman
Gruß Horseman
______________________________________________________

PhpOpenChat Support Portal: http://www.phpopenchat.de

charpress

kegobeer:

Thanks. Working now with no problems. I had left in a character in my original cut and paste. It's the simple things that screw you up.

Horseman

here is a new css an buttons for chatbubbles in German language


Download here
http://www.h-h-c.de/downloads/chatbubbles_german.zip
Gruß Horseman
______________________________________________________

PhpOpenChat Support Portal: http://www.phpopenchat.de

Advertisement: