EzPortal - Portal Software for Forums

EzPortal Forums => ezBlock Coding Forums => Topic started by: jaffaman on January 03, 2009, 01:55:38 pm

Title: Modifying standard shout box
Post by: jaffaman on January 03, 2009, 01:55:38 pm
Hi there 1st off all i would like to say thanks for a great portal system. I just wanted to know is there a way to add a smileys box to the shout box ?

Thanks in advance...............Jaffa
Title: Re: Modifying standard shout box
Post by: EzPortal on January 03, 2009, 03:53:05 pm
If you mean like a bbc box to appear not yet.
But you can include any emoticion you want in the shoutbox
Code: [Select]
:)[.code]


If you want to the edit the shoutbox code check out Sources/Subs-EzPortalMain.php
Title: Re: Modifying standard shout box
Post by: jimwinters on March 25, 2009, 01:12:15 pm
i'm an idiot when it comes to these things, but how can we make modifications to the built-in shoutbox for ezportal? i just want to decrease the text size and maybe make it bold (so that it is still viewable). i understand that it has something to do with modifying the Subs-EzPortalMain.php file, but i really don't want to mess things up by trial and error - can you help? thanks
Title: Re: Modifying standard shout box
Post by: Marian on March 26, 2009, 03:07:30 am
Download that ,php file to your PC, save it as is, then if you wish to play around with the code and cause errors, upload the saved file to overwrite the one you have been working on to restore it to it original state.  I do this all the time.  But I always test it on my test forum just for safety sake.
Title: Re: Modifying standard shout box
Post by: Phåråoh on June 21, 2009, 11:12:59 am
Test forums are the way to go when you're not sure what the cause/effect of code hacking will be.  Most often, it's simple sytax errors, but they can crash your entire forum in a heartbeat.

If you don't use a test forum, one thing you can do to quickly correct a goof-up is to create a folder in the folder you're working in and name it something like "goodcopy".  Then, before you make your code hack, copy the file you are going to work on into to the "goodcopy" folder. 

If you botch-up the code hack, you can quickly go to the goodcopy folder and copy your file back into the main folder you were working in.  It takes less than 60 seconds to get your forum out of "ERROR!" crashes.

If you don't want to do a whole directory back-up after doing an successful hack and you want to continue modifying that same file to make other changes, remember to copy your file to the goodcopy folder before starting again.

Title: Re: Modifying standard shout box
Post by: Marian on June 21, 2009, 05:42:12 pm
Very well put and is what I do, only you explained it so much clearer.  Thanks.
Title: Re: Modifying standard shout box
Post by: Katrien on June 22, 2009, 02:54:45 am
Howdy all

We've just started with our forum..and its already a big succes and alllmost perfect!
Thanks also to EZPortal and ofcourse SMF
We've used a theme intifada and modified it ourselves..so it became a whole new theme. Thanks to the scripter of intifada.

Also ofcourse we are using ezBlock Manager which is a great help in fullfilling our needs! Thanks!

Now we have a problem and i cant solve it:

we are looking for a shout with minimum the following features. The default shout of ezBlock Manager isnt what we would like to have...sorry.

We've looked everywhere en tried to install some shouts but none of the installed shouts fullfilled our needs and/or we had problems installing it in our theme:


can you help us? we are desperate to have one like this. Perheps a challange for you to make a new shout ezBlock? We would be very gratefull  ;D

Pls note this..i've learned a lot since installing this forum and i am leaning also to edit in CSS. But still i am a n00b on this. so a new ezBlock which is easy to install would be a geat help!

Pls help us? for us and our community a good shout is very important.

Thanks in advance
Kind regards
Katrien
1place4nzb.eu
Title: Re: Modifying standard shout box
Post by: EzPortal on June 23, 2009, 09:19:46 am
A lot of those ideas for the shoutbox are great ideas. Will try to get them added to the next release.
Title: Re: Modifying standard shout box
Post by: Katrien on June 23, 2009, 11:20:16 am
A lot of those ideas for the shoutbox are great ideas. Will try to get them added to the next release.

That would be perfect! thanks in advance. I am looking forward to the next release. ;D

If you have any questions dont hessitate to contact us:

our site: http://www.1place4nzb.eu/

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: ressevil on June 24, 2009, 05:17:02 am
please help shout  box no emoticon????
Title: Re: Modifying standard shout box
Post by: Katrien on June 24, 2009, 06:28:50 am
same problem here, but a new shoutbox will come  :P(pls read above)

You see no smileys, but they are there. If you  shout, type the code of the smiley and the smiley will appear.
Title: Re: Modifying standard shout box
Post by: ACEMAN on August 04, 2009, 05:34:55 pm
same problem here, but a new shoutbox will come  :P(pls read above)

You see no smileys, but they are there. If you  shout, type the code of the smiley and the smiley will appear.

That works. I posted a thread with all of the smiley codes. I just hope they come out with a new one soon. I can't stand how it doesn't refresh itself.
I represent Freak Avenue, BTW. Soon to be BikerFreaks.com
www.freakavenue.com
Title: Re: Modifying standard shout box
Post by: Katrien on August 19, 2009, 03:52:17 pm
A lot of those ideas for the shoutbox are great ideas. Will try to get them added to the next release.

Dear EzPortal. we've just installed the new release of EZPortal. Thanks for the new release.
Unfortunately no new shoutbox was added.

we are desperate to have one as described above. If it is too much work for u to do this, could you pls than only fix the autorefresh? It is quite difficult for our members always to have the entire page refreshed manually.

To us and our members you would be a great help.

Hoping you will help us, we're looking forward to a reply.

Thanks in advance
Kind regards
Katrien


Title: Re: Modifying standard shout box
Post by: EzPortal on August 19, 2009, 05:56:01 pm
Maybe autorefresh for 0.30 going to require using iframes to get it done.
Title: Re: Modifying standard shout box
Post by: Katrien on August 21, 2009, 05:35:53 am
Howdy EzPortal

thanks for your reply.

If that is the solution, we hope you will do that for us. It sounds logical using iframes as only the shout needs autorefresh, not the whole page. But i am an amateur in this however i am learning a lot lately (1st own site lol)


Looking forward to hear from you

Kind regards
Katrien

Title: Re: Modifying standard shout box
Post by: EzPortal on August 25, 2009, 06:40:43 pm
Added autorefresh, bbc, smilies to the shoutbox in the latest release 0.3.0 of ezPortal
Title: Re: Modifying standard shout box
Post by: Katrien on August 26, 2009, 03:07:42 am
Thanks!!!!!!!!!!!!!!!!!! you are TOP!!! Thanks again on behalf of the whole community of our site.

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: Marian on September 01, 2009, 05:30:19 am
I now think EZPortal is perfect with the shoutbox corrections and additions. 
Title: Re: Modifying standard shout box
Post by: EzPortal on September 01, 2009, 06:22:59 am
Thanks! I have a lot more I want to do and support
Title: Re: Modifying standard shout box
Post by: Marian on September 01, 2009, 11:08:04 am
Looking forward to them.
Title: Re: Modifying standard shout box
Post by: donjoe on September 06, 2009, 01:05:06 pm
Hello!


I'm just finding my way around these blocks and so far only two things are bothering me:

1. I'd like to be able to use HTML character codes in ezBlock titles just like I can in their body. (Right now I can't give Romanian titles to my ezBlocks because the HTML codes for special Romanian characters show up as plain text.) I guess this could be implemented in the next version of ezPortal.

2. The shoutbox history IFRAME is reusing my forum's overall background image, so it looks like it's "transparent", plus it shows the upper-left corner of my background image a second time, which is just ugly. Can I hack this so it doesn't use any background image whatsoever? (I have ezPortal v0.3.0.)

Thanks.
Title: Re: Modifying standard shout box
Post by: EzPortal on September 06, 2009, 10:32:39 pm
1. Will have to look into. You may try to convert the ezportal database tables to utf8 and see if that helps. If not I can take a look and check my functions if they support utf8.

2. I plan on changing it to ajax script in the next release which should fix the iframe issue.
Title: Re: Modifying standard shout box
Post by: donjoe on September 07, 2009, 03:06:59 am
2. OK, but I was asking if there's something I could edit now to get rid of that horrible duplicated background.

(Ajax? Hmm... I used to have an Ajax-based shoutbox, but that was before it hogged all my bandwidth and made me throw it out.)
Title: Re: Modifying standard shout box
Post by: EzPortal on September 07, 2009, 05:55:10 am
You would have to edit the shoutbox code. Mostly the template file in the ezportal.template.php it loads the default style.
Title: Re: Modifying standard shout box
Post by: Katrien on November 15, 2009, 04:54:23 pm
Dear EzPortal

here i am again  ;)

We are very happy with the shoutbox..again thanks!

But there are two things we hope you can fix:

- at the moment only admins can delete shouts in the shoutbox itself (X behind the sentence). Is it possible we can give this permissions to other staffmembers/usergroups?
f.y.i.: we have not so mutch admins. But we have a whole staff who we trust. We would like to give them permission only to delete shouts from the shoutbox itself...no other permissions...just that. Also the possibility to take that permission back again if neccessary. As we have a lot of members, sometimes intervention is neccessary as they sometimes misbehave. If we are able to give more staff members this permission, more people can keep an eye on the shouts.

- following we see: if we enable autorefresh the font size gets smaller in the shout box. If we then look into shouthistory, the fontsize is normal. We woukld like to have the normal fontsize if possible..the bigger one.

I hope you can help us in the above. We are very happy what you've done sofar for us..the above are small things, but if you can help us..the shout will be more than perfect!

Thanks in advance
Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: Katrien on December 17, 2009, 04:12:42 pm
Dear EzPortal

here i am again  ;)

We are very happy with the shoutbox..again thanks!

But there are two things we hope you can fix:

- at the moment only admins can delete shouts in the shoutbox itself (X behind the sentence). Is it possible we can give this permissions to other staffmembers/usergroups?
f.y.i.: we have not so mutch admins. But we have a whole staff who we trust. We would like to give them permission only to delete shouts from the shoutbox itself...no other permissions...just that. Also the possibility to take that permission back again if neccessary. As we have a lot of members, sometimes intervention is neccessary as they sometimes misbehave. If we are able to give more staff members this permission, more people can keep an eye on the shouts.

- following we see: if we enable autorefresh the font size gets smaller in the shout box. If we then look into shouthistory, the fontsize is normal. We woukld like to have the normal fontsize if possible..the bigger one.

I hope you can help us in the above. We are very happy what you've done sofar for us..the above are small things, but if you can help us..the shout will be more than perfect!

Thanks in advance
Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: EzPortal on December 17, 2009, 07:21:24 pm
I can look into doing both for next update of EzPortal

I really want to redo how the portal does autorefresh and get away from the iframe.
Title: Re: Modifying standard shout box
Post by: Katrien on December 25, 2009, 04:12:55 pm
howdy ezportal

thanks that u want to look into it.

We're looking forward to the next update!

Thanks in advance.

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: CrouchingPanther on March 06, 2010, 05:07:04 pm
Does anyone know which file I need to edit to create a line break between shouts?

I am using it in the side panel and it looks very messy. I'm busy moving over from E107 and I like the format of the shout box, it can be seen at http://www.airtimeclub.co.za (http://www.airtimeclub.co.za) the new site chat is at http://www.airtimeclub.co.za/forum (http://www.airtimeclub.co.za/forum)

Thanks in advance  :)
Title: Re: Modifying standard shout box
Post by: EzPortal on March 06, 2010, 05:12:49 pm
Sources/Subs-Ezportal-Main.php
Title: Re: Modifying standard shout box
Post by: CrouchingPanther on March 06, 2010, 06:11:22 pm
Thank you! such a quick response, I'll give that a try! :)
Title: Re: Modifying standard shout box
Post by: CrouchingPanther on March 07, 2010, 04:30:22 am
I'm not a coder so this is becoming quite difficult, I thought I might need to add
Quote
</br></br>
somewhere but I can't quite figure out where.

This is the shout code that I found:

Quote
function EzBlockShoutBoxBlock($paramters = array(), $numberofShouts = 10, $iframe = false)
{
   global $txt, $db_prefix, $ezpSettings, $scripturl, $context, $user_info, $settings, $modSettings;
   
   // Check if shoutbox is enabled
   if ($ezpSettings['ezp_shoutbox_enable'] == 0)
   {
      echo $txt['ezp_shoutbox_error_disabled'];
      return;
      
   }
   
   // Pass all the parematers
   foreach($paramters as $myparam)
   {
      if ($myparam['parameter_name'] == 'numberofShouts')
         $numberofShouts = (int) $myparam['data'];
   }
   
   $adminShoutBox = allowedTo('admin_forum');
   
   $useIframe = empty($ezpSettings['ezp_shoutbox_refreshseconds']) ? false : true;
   

   if ($context['browser']['is_ie6'] == true || $context['browser']['is_gecko'] == true || strpos($_SERVER['HTTP_USER_AGENT'], 'WebKit') !== false)
   {
      $iframe = false;
      $useIframe = false;
   }

   
   // Show latest shouts
   if ($iframe == false)
   {
   echo '<table style="width: 100%;table-layout: fixed;">
   <tr>
   <td>
   <div style="overflow: auto;">';
   }
   
   if ($useIframe == true && $iframe == false)
      echo '<iframe src="' . $scripturl . '?action=ezportal;sa=shoutframe;num=' . $numberofShouts   . '" frameborder="0" width="100%" height="100%">';
   
   if ($useIframe == true && $iframe == false)
   {
      
   }
   else
   {
   
      $dbresult = db_query("
         SELECT
            s.shout, s.date,  s.id_shout,  s.id_member, m.realName, mg.onlineColor, mg.ID_GROUP
         FROM {$db_prefix}ezp_shoutbox AS s
         LEFT JOIN {$db_prefix}members AS m ON (s.ID_MEMBER = m.ID_MEMBER) 
         LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = IF(m.ID_GROUP = 0, m.ID_POST_GROUP, m.ID_GROUP))
         ORDER BY s.id_shout DESC LIMIT $numberofShouts", __FILE__, __LINE__);
      while ($row = mysql_fetch_assoc($dbresult))
      {
         // Censor the shout
         censorText($row['shout']);
         
         if ($ezpSettings['ezp_shoutbox_showdate'])
            echo timeformat($row['date']) . ' ';
   
         echo '<a href="',$scripturl,'?action=profile;u=',$row['id_member'],'" style="color: ' . $row['onlineColor'] . ';">',$row['realName'],'</a>';
         
         if (empty($ezpSettings['ezp_shoutbox_hidesays']))
            echo $txt['ezp_shoutbox_says'];
         else
            echo ": ";
         
         echo parse_bbc($row['shout']);
         
         if ($adminShoutBox && empty($ezpSettings['ezp_shoutbox_hidedelete']))
            echo ' <a href="',$scripturl,'?action=ezportal;sa=removeshout;shout=',$row['id_shout'],'" style="color: #FF0000">[X]</a>';
         
         echo '<br />';
      }
      mysql_free_result($dbresult);
      
      
   }
   
   if ($useIframe == true && $iframe == false)
   {
      echo '</iframe>';
      
   }
   if ($iframe == true)
   {
      echo '</div></body></html>';
      return;
   }   
   
   $_SESSION['shoutbox_url'] = $_SERVER['REQUEST_URI'];
   
      
   if ($ezpSettings['ezp_shoutbox_archivehistory'] == 1)
      echo '<span class="smalltext"><a href="',$scripturl,'?action=ezportal;sa=shouthistory">',$txt['ezp_txt_viewshouthistory'],'</a></span><br />';
   
   // Show the shoutbox form
   if (!$user_info['is_guest'])
   {
   echo '<hr />
      <form action="', $scripturl, '?action=ezportal;sa=addshout" id="ezpshoutform" method="post" accept-charset="', $context['character_set'], '">';
   
      if ($ezpSettings['ezp_shoutbox_showbbc'])
      {
         $context['bbc_tags2'] = array();
         $context['bbc_tags2'][] = array(
            'bold' => array('code' => 'b', 'before' => '', 'after' => '', 'description' => $txt['ezp_bbc_bold']),
            'italicize' => array('code' => 'i', 'before' => '', 'after' => '', 'description' => $txt['ezp_bbc_italic']),
            'underline' => array('code' => 'u', 'before' => '', 'after' => '', 'description' => $txt['ezp_bbc_underline']),
            'strike' => array('code' => 's', 'before' => '', 'after' => '', 'description' => $txt['ezp_bbc_strike']),
            array(),
            'img' => array('code' => 'img', 'before' => '(http://', 'after' => ')', 'description' => $txt['ezp_bbc_img']),
            'url' => array('code' => 'url', 'before' => '', 'after' => ' (http://', 'after' => ')', 'description' => $txt['ezp_bbc_link']),
            'move' => array('code' => 'move', 'before' => '
', 'after' => '
', 'description' => $txt['ezp_bbc_move']),
         );
         $context['bbc_tags2'][] = array(
            
            'left' => array('code' => 'left', 'before' => '
', 'after' => '
', 'description' => $txt['ezp_bbc_left'] ),
            'center' => array('code' => 'center', 'before' => '
', 'after' => '
', 'description' => $txt['ezp_bbc_center']),
            'right' => array('code' => 'right', 'before' => '
', 'after' => '
', 'description' => $txt['ezp_bbc_right']),
   
            array(),
            'size' => array('code' => 'size', 'before' => '', 'after' => '', 'description' => $txt['ezp_bbc_size']),
            'face' => array('code' => 'font', 'before' => '', 'after' => '', 'description' => $txt['ezp_bbc_face'] ),
            array(),
            'hr' => array('code' => 'hr', 'before' => '
', 'description' => $txt['ezp_bbc_hr'] ),
   
         );
         
         foreach ($context['bbc_tags2'] as $i => $row)
         {
            foreach ($row as $image => $tag)
            {
               // Is this tag disabled?
               if (!empty($tag['code']) && !empty($context['disabled_tags'][$tag['code']]))
                  continue;
   
               if (isset($tag['before']))
                  echo '<a href="javascript:' . (isset($tag['after']) ? 'surround' : 'replace') . 'Text(\'' . $tag['before'] . '\'' . (isset($tag['after']) ? ', \'' . $tag['after'] . '\'' : '') . ', document.forms.ezpshoutform.shout);"><img src="' . $settings['images_url'] . '/bbc/' . $image . '.gif" align="bottom" width="23" height="22" alt="' . $tag['description'] . '" border="0" /></a>';
            }
   
            if ($i != count($context['bbc_tags2']) - 1)
               echo '<br />';
         }
      }
   
      
   if ($ezpSettings['ezp_shoutbox_showsmilies'])
   {
      echo '<br />';
      $context['shout_smileys']  = array(
         'smileys' => array(
            array('code' => ':)', 'filename' => 'smiley.gif'),
            array('code' => ';)', 'filename' => 'wink.gif'),
            array('code' => ':D', 'filename' => 'cheesy.gif'),
            array('code' => ';D', 'filename' => 'grin.gif'),
            array('code' => '>:(', 'filename' => 'angry.gif'),
            array('code' => ':(', 'filename' => 'sad.gif'),
            array('code' => ':o', 'filename' => 'shocked.gif'),
            array('code' => '8)', 'filename' => 'cool.gif'),
            array('code' => '???', 'filename' => 'huh.gif'),
            array('code' => '::)', 'filename' => 'rolleyes.gif'),
            array('code' => ':P', 'filename' => 'tongue.gif'),
            array('code' => ':-[', 'filename' => 'embarrassed.gif'),
            array('code' => ':-X', 'filename' => 'lipsrsealed.gif'),
            array('code' => ':-\\', 'filename' => 'undecided.gif'),
            array('code' => ':-*', 'filename' => 'kiss.gif'),
            array('code' => ':\'(', 'filename' => 'cry.gif')
      ),
      
      );
      
      $settings['smileys_url'] = $modSettings['smileys_url'] . '/' . $user_info['smiley_set'];
   // Show each row of smileys ;).
      foreach ($context['shout_smileys'] as $smiley_row)
      {
         foreach (@$smiley_row as $smiley)
         {
            echo '
            <a href="javascript:replaceText(\' ', addslashes($smiley['code']), '\', document.forms.ezpshoutform.shout);"><img src="', $settings['smileys_url'], '/', $smiley['filename'], '" align="bottom" alt="" title="" border="0" /></a>';
         }

      }
      
   }
      
   echo '         
         <textarea name="shout" id="shout" rows="3" cols="30" style="width: 98%"></textarea>
         <br />
         <input type="submit" value="', $txt['ezp_shoutbox_add_shout'], '" />
            
      </form>';
   }   
   
   echo '</div>
   </td>
   </tr>
   </table>';
   
   
}

Please can you let me know where to place the </br>. I'm not ever sure if I must be using /br.

Thank you!
Title: Re: Modifying standard shout box
Post by: EzPortal on March 07, 2010, 12:53:58 pm
After
Code: [Select]
   if ($adminShoutBox && empty($ezpSettings['ezp_shoutbox_hidedelete']))
            echo ' <a href="',$scripturl,'?action=ezportal;sa=removeshout;shout=',$row['id_shout'],'" style="color: #FF0000">[X]</a>';
         
         echo '<br />';
Title: Re: Modifying standard shout box
Post by: CrouchingPanther on March 07, 2010, 01:18:09 pm
Thank you for your help, that works perfectly!   ;D
Title: Re: Modifying standard shout box
Post by: Katrien on March 10, 2010, 10:04:52 am
Dear  EzPortal

I hope you remember my previous request (http://www.ezportal.com/ezblock-coding-forums/modifying-standard-shout-box/msg910/#msg910)  ;D


We are now testing on a test site: upgrading from smf 1.11.1 to smf 2.0 RC 2 which succeeded.

We encounter now the following problem:

we are using the theme Extreme6 By Fussilet (dark)
if we enable "refresh" the text area of the shout is blanc
if we disable "refresh" or we look at shouthistory the textarea is as it should be: dark

I hv looked into index.css but everything looks fine there (but i am a n00b lol).
should i look elswhere? can you help me?

f.y.i. on our live forum smf 1.11.1 everything looks fine

Thanks in advance
kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: EzPortal on March 10, 2010, 10:14:51 am
I am really debating what to do with the shoutbox.
I never really liked ajax but people like autorefresh feature.
So I would have to code something for it to work just I don't have enough experience with that yet.
Title: Re: Modifying standard shout box
Post by: Katrien on March 10, 2010, 11:42:12 am
I am really debating what to do with the shoutbox.
I never really liked ajax but people like autorefresh feature.
So I would have to code something for it to work just I don't have enough experience with that [color=greenyet[/color].

So now you have a new challange ;)

I hope you can help us. we have tested a lot of portals, but your portal is really the best: Friendly in use, looks are really nice and a lot of features!

The shout is for our community very important and used a lot inclusive autorefresh. We are a non-commercial (just hobby) site with almost 9000 members.

Another problem is that we cant use another shout as we are using your Portal unclusive Portal Homepage..so we are depending on you.

You've done really well so far..thanks and compliments! So pls take this challange :D

Kind reagrds
Katrien
Title: Re: Modifying standard shout box
Post by: Katrien on March 17, 2010, 04:23:34 am
Dear  EzPortal

I hope you remember my previous request (http://www.ezportal.com/ezblock-coding-forums/modifying-standard-shout-box/msg910/#msg910)  ;D


We are now testing on a test site: upgrading from smf 1.11.1 to smf 2.0 RC 2 which succeeded.

We encounter now the following problem:

we are using the theme Extreme6 By Fussilet (dark)
if we enable "refresh" the text area of the shout is blanc
if we disable "refresh" or we look at shouthistory the textarea is as it should be: dark

I hv looked into index.css but everything looks fine there (but i am a n00b lol).
should i look elswhere? can you help me?

f.y.i. on our live forum smf 1.11.1 everything looks fine

Thanks in advance
kind regards
Katrien


Dear EzPortal we continued testing and now upgraded to SMF 2.0 RC3. Looks nice!

But still we encounter the same problem as above (autorefresh shout/colour text-area)

Could you pls advise us?

Also i have installed latest version of ezportal: 0.3.8. Unfortunately we get a lot of errors all referring to EzPortal which we had also with the previous version of SMF with yr version 0.3.8.
with your version 0.3.7 there are no problems..no errors..(except for shout tekst-erea/autorefresh)

again i like to point out that we are very happy with your portal....thanks! That is why we would like to fix the errors together with you.

Could you pls tell us what to do?

f.y.i. our live forum is running on smf 1.1.11. But due to incompatible theme we must upgrade to the latest SMF version asap in order to keep our looks. A new theme has been released with almost the same look as we have now...but this theme only is compatible with SMF versions 2.0 RC1 and higher. That is why we are testing now with the latest version of smf and we hope we can get your portal also perfect. But we need your help pls?

I hope to hear from you soon

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: Katrien on March 17, 2010, 10:50:49 am
Well, I should have the EzPortal guide out by the end of the month, but like I have said, I make no promises because I am very busy.

Howdy

ehhh i am dutch so maybe I misunderstood you. In that case sorry. We dont need a guide but help with solving the problems as explained above.

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: EzPortal on March 17, 2010, 08:30:43 pm
Still planned and in the works to do. Really complex to update.
Title: Re: Modifying standard shout box
Post by: Katrien on March 18, 2010, 02:43:36 am
i understand EzPortal.

you have seen my comment concerning your latest version (0.3.8 ) of EzPortal?

we are now running  version 0.3.7 on our test site (SMF 2.0 RC3) with no problems except for the tekst area if we activate auto-refresh.

I hoop you can find the time as we would very mutch like to use your portal if the gold version of SMF will be released.
Yours is very easy in use, friendly, and with good looks for which we are thankfull...compliments!

For us it is very important to upgrade as soon as possible due to the errors we have right now in our live forum as explained above.

If you want to have a look on our test site you are welcome to do so. In that case pls sent me a pm and i will give you the url.

Thanks in advance
Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: Katrien on March 21, 2010, 06:36:47 am
Dear EzPortal..is this an idea?

Integrade AJAX shout into EzPortal?

http://custom.simplemachines.org/mods/index.php?mod=1319

This one looks nice!

I just want think for a solution together with you. If you integrade this shout into your portal, your portal will be more perfect.

For example:

The admins need to instal this mod themselves via package manager. After this admins make a new php block via ezBlockManager with a script you provide us so that EzPortal will recognize this AJAX shout in default bu also in other themes??

Idea from a n00b but perhepts this is usefull for all of us i hope

I hope to hear from u soon.

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: Katrien on March 21, 2010, 02:04:25 pm
Here a reply from me again...sorry.

I am testing on our testsite and perheps you can use my findings....that is why i inform you:

I have temporarely uninstalled EzPortal
Installed AJAX shout box (refresh intigrated, more like a chat)

Same problem with AJAX shout as you have with your shout in your portal:

The tekst area is white  :'(

Dont know where we have to look for the problem:

in the shoutboxes/portals themselves
Or in SMF forum itself (SMF 2.0 RC3)

because of this finding i have asked my question also to SMF themselves:
click here (http://www.simplemachines.org/community/index.php?topic=371969.new#new)

I hope you can use this info.

If you want to have a look at our testforum, you are welcom ofcourse

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: Vertigo on March 31, 2010, 08:44:49 pm
After
Code: [Select]
   if ($adminShoutBox && empty($ezpSettings['ezp_shoutbox_hidedelete']))
            echo ' <a href="',$scripturl,'?action=ezportal;sa=removeshout;shout=',$row['id_shout'],'" style="color: #FF0000">[X]</a>';
         
         echo '<br />';
Sorry, but could you give me more details about this? I tried to put
Quote
</br></br>
like CrouchingPanther said, but dont work :(

If you can, put the complete code to add a line ...thanks!
Title: Re: Modifying standard shout box
Post by: Katrien on April 01, 2010, 06:05:03 am
howdy EzPortal

Installed EzPortal latest version 0.3.9a on our test forum SMF 2.0 RC3. Unfortunately the tekst-area of the shout ( if auto-refresh is enabled), still is white as descriped in previous page here.

Also so we see this in settings:

Your Version: 0.3.9 Latest Version: 0.3.8 Your EzPortal version is not up to date!


Regards
Katrien
Title: Re: Modifying standard shout box
Post by: EzPortal on April 01, 2010, 08:59:39 am
Fixed the version. I think if you turn off autorefresh the background should be normal.
Title: Re: Modifying standard shout box
Post by: Katrien on April 01, 2010, 09:15:38 am
howdy EzPortal

Thats the problem...we really want to have the auto-refresh on! Our shout is used by a lot of members...whole conversations are there. Not to be able to use autorefresh will kill the life of the shout which will result in loosing members.

I hope to hear from u soon.

regards
Katrien
Title: Re: Modifying standard shout box
Post by: Katrien on April 29, 2010, 08:30:44 am
howdy EzPortal

Thats the problem...we really want to have the auto-refresh on! Our shout is used by a lot of members...whole conversations are there. Not to be able to use autorefresh will kill the life of the shout which will result in loosing members.

I hope to hear from u soon.

regards
Katrien

pls pls pls? Otherwise we have to switch to another portal  :'(
Title: Re: Modifying standard shout box
Post by: Katrien on May 02, 2010, 04:49:41 pm
thanks for yr reply. I understand..thanks.

 I wait as long as possible. But pls understand that we are also working and testing at our test site and intent to upgrade our present live smf forum in the near future.

I hope u will understand my urge due to the above what may look as impolite which never was my intention to give u that impression...sorry (bad english i think but i am dutch sorry)

Kind regards
Katrien
Title: Re: Modifying standard shout box
Post by: yameth on June 13, 2010, 04:57:40 am
Thanks for a nice and ez to handle portal.
The shoutbox is a great toy and used frequently by my visitors, but I must say that it is buggy. I would like to finetune the following:

1. show smaller size text.
2. the scroll bar shows only in IE8 and when refresh is set to on. Can we limit the box size by adding a scroll that works with firefox and the other browsers too?

Thanks in advance.
Title: Re: Modifying standard shout box
Post by: Rothana on February 20, 2011, 04:25:59 pm
After
Code: [Select]
  if ($adminShoutBox && empty($ezpSettings['ezp_shoutbox_hidedelete']))
            echo ' <a href="',$scripturl,'?action=ezportal;sa=removeshout;shout=',$row['id_shout'],'" style="color: #FF0000">[X]</a>';
        
         echo '<br />';
Sorry, but could you give me more details about this? I tried to put
Quote
</br></br>
like CrouchingPanther said, but dont work :(

If you can, put the complete code to add a line ...thanks!

You just add the "br" directly after the first one - don't go to the next line.  You can add multiple if you want more space between shouts.  So for example like this...

Code: [Select]
  if ($adminShoutBox && empty($ezpSettings['ezp_shoutbox_hidedelete']))
            echo ' <a href="',$scripturl,'?action=ezportal;sa=removeshout;shout=',$row['id_shout'],'" style="color: #FF0000">[X]</a>';
        
         echo '<br /><br /><br />';

If you want a  small line between the shouts, use hr instead of br.