PLEASE READ - Other themes with Shoutbox EM

This shoutbox, fully integrates in phpbb2, support smilies and bbcode
this shoutbox is a shoutbox written for phpbb2, therefor it makes uses of templates and language files

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

PLEASE READ - Other themes with Shoutbox EM

Postby la on Fri 29. Jul, 2005 00:19

Ok.

Since my last post I have figured a few things out for myself.

#1 When installing ANY MOD EM or MANUAL, READ THE README.

#2 Read Read Read .. I posted a couple posts that had already been addressed in previous posts.

Now then... New Issue that I have NOT seen Covered thus far

-----------

I am using shoutbox_1.1.5em (as of this post the most recent version)
and phpBB 2.0.17 (The Newest Release as of this post)

My first attempt was unsuccesful due to the fact I did not read the README thus I didnt know to run the update.php first to create the needed SQL database.

Ok, So I manually went back in and deleted EVERYTHING related to shoutbox_1.1.5em from all files in the phpbb directory.

Then I ran the update.php and created the databases.

I then tried to reinstall shoutbox_1.1.5em from the ACP, however, since it had already been installed once, and I did not know how to delete that entry wherever it may be.. I did it manually.

Well, Everything went ok. I was able to manually do it.. BUT..
I had a problem.

When I logged into my ADMIN account, and tried to sign in to ACP, I got parse errors.

I returned here and seen that these issues were already posted on. but had NO solutions. SO I went back and removed any code in reference to shoutbox_1.1.5em from the following 2 files

Code: Select all
admin_db_utilities.php and admin_board.php


Now I could go back and see my ACP, just have no way to manage Shoutbox :(


The problem I had was when I edited the admin_board.php

Per the README I was suppose to do this

Code: Select all
#
#-----[ FIND ]------------------------------------------------
#
"L_ENABLE_PRUNE" =>

#
#-----[ AFTER, ADD ]------------------------------------------
#

// Start add - Fully integrated shoutbox MOD
'L_PRUNE_SHOUTS' => $lang['Prune_shouts'],
'L_PRUNE_SHOUTS_EXPLAIN' => $lang['Prune_shouts_explain'],
// End add - Fully integrated shoutbox MOD

#
#-----[ FIND ]------------------------------------------------
#
"PRUNE_NO" =>

#
#-----[ AFTER, ADD ]------------------------------------------
#

// Start add - Fully integrated shoutbox MOD
'PRUNE_SHOUTS' => $new['prune_shouts'],
// End add - Fully integrated shoutbox MOD


When I found
Code: Select all
"L_ENABLE_PRUNE" =>
it had
Code: Select all
$lang['Enable_prune'],
right after it.

Well who am I to argue with the readme..

Same for
Code: Select all
"PRUNE_NO" =>
has
Code: Select all
$prune_no,

after it.

Well.. Then on to the admin_db_utilities.php

Per the README I am to do this :

#
#-----[ OPEN ]------------------------------------------------
#
admin/admin_db_utilities.php

Code: Select all
#
#-----[ FIND ]------------------------------------------------
#
$tables = array(

#
#-----[ AFTER, ADD ]------------------------------------------
#

// Start add - Fully integrated shoutbox MOD
$tables[] = 'shout';
// End add - Fully integrated shoutbox MOD


Now.. Right after
Code: Select all
$tables = array(
I have this

Code: Select all
$tables = array('auth_access', 'banlist', 'categories', 'config', 'disallow', 'forums', 'forum_prune', 'groups', 'posts', 'posts_text', 'privmsgs', 'privmsgs_text', 'ranks', 'search_results', 'search_wordlist', 'search_wordmatch', 'sessions', 'smilies', 'themes', 'themes_name', 'topics', 'topics_watch', 'user_group', 'users', 'vote_desc', 'vote_results', 'vote_voters', 'words', 'confirm');


So to impliment the new code it looked like this when I was done

Code: Select all
$tables = array(// Start add - Fully integrated shoutbox MOD
$tables[] = 'shout';
// End add - Fully integrated shoutbox MOD 'auth_access', 'banlist', 'categories', 'config', 'disallow', 'forums', 'forum_prune', 'groups', 'posts', 'posts_text', 'privmsgs', 'privmsgs_text', 'ranks', 'search_results', 'search_wordlist', 'search_wordmatch', 'sessions', 'smilies', 'themes', 'themes_name', 'topics', 'topics_watch', 'user_group', 'users', 'vote_desc', 'vote_results', 'vote_voters', 'words', 'confirm');


In any case.. I had the same parse problems with both, so maybe if someone knows the answer it would be great to know what I am missing.


Now, Problem 2, which has been discussed in other threads, however, maybe a different solution is possible since none of the others helped me.

I am using the THEME RedSquare, which had been modified only .gif wise

I took the advise of someone who posted to edit the table.tpl file to reduce the size so it did not expand all across the screen

I modified the code by changing 100% to 47%

Code: Select all
<!-- Start add - Fully integrated shoutbox MOD -->
<table width="47%" cellspacing="2" border="1" align="center" cellpadding="2" class="forumline">
      <tr>
         <td align="center" nowrap="nowrap" class="catHead"><span class="cattitle"><a href="{U_SHOUTBOX_MAX}">{L_SHOUTBOX}</a></span></td>
      </tr>
      <tr>
         <td>
          <iframe src="{U_SHOUTBOX}" scrolling="NO" width="[color=red]47%[/color]" height="180" frameborder="0" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>
         </td>
  </tr>
</table>
<br/>
<!-- End add - Fully integrated shoutbox MOD -->


Ok.. Great.. Its smaller, but as you can see.. that only shrunk the Border, which leaving half the box just grey. Please look here

http://indiansquad.nsie.org

Any suggestions for that?


Sorry to have rambled on, but I wanted to be as thorough as possible.


- la
la
Poster
Poster
 
Posts: 7
Joined: Tue 26. Jul, 2005 19:18

Postby Beeveer on Fri 29. Jul, 2005 23:37

You have to add it after the WHOLE line, and not inline, except when the action contents the word INLINE :wink:

The second problem isn't visible without registering. Do you have a test account or change the style for guests.

But I think it will fix by making the width of the I frame 100%, now you have 47% from 100% width from the table ;)
Nee, ik geef geen antwoorden in het Nederlands, die horen thuis op www.phpbb.nl ;)
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby Niels on Fri 09. Sep, 2005 16:11

seam like you figured out - please remeber to upgrade you shoutbox to lates pressent version...IMPORTENT
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46


Return to Fully integrated shoutbox [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron