Sub Menu
Links Menu
Online Users

In total there are 330 users online :: 2 registered, 0 hidden and 328 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

how to remove the shoutbox and calendar

Support for IntegraMOD 140

Moderator: Integra Moderator

how to remove the shoutbox and calendar

PostAuthor: TheJT » Sat May 06, 2006 1:16 am

hi
on the forum there is {from the the installation on} a calendar and a shout box [not on the im portal but on the forum]
how can i remove the calendar and the shout box.
can i configure it so that only a special groupe can see them?
Last edited by TheJT on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

TheJT
Members
Members
 
Posts: 55
Likes: 0 post
Liked in: 0 post
Joined: Sat May 06, 2006 1:12 am
Cash on hand: 0.00

PostAuthor: Master Dwarf » Sat May 06, 2006 8:41 am

Funny, I forgot what file gets modified to take out the shoutbox. I had done it before. I even went to integramod.com and saw that I was the last one to comment on shoutbox removal thread, but that thread is now coming up with a parsing error.

Anyone want to mention the file that needs to be tweaked?

As for setting permissions on each, not sure about that.
Last edited by Master Dwarf on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Sean Kelley
http://www.GrumblingDwarf.com
Wisconsin Region Game Site
User avatar
Master Dwarf
Integra Supporter
Integra Supporter
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 8:26 am
Cash on hand: 0.00
Location: Madison, WI

PostAuthor: Adrian Rea » Sat May 06, 2006 12:06 pm

for the shoutbox:
The shoutbox is a great instant messenger on some site, yet for others, it adds queries, auto refreshes and has a limited level of control for some forums. The block is hard coded into the templates folders at templates/your_template/index_body.tpl

When I remove the shoutbox I go a little wider of the actual MOD and take out a little either side to line it up with the calendar.

FIND
Code: Select all
<tr><td><BEGIN><Start>

DELETE
Code: Select all
<tr><td><BEGIN><Start><table> <tr> <td><span><a>{L_SHOUTBOX}</a></span></td> </tr> <tr><td> <iframe></iframe> </td> </tr> </table><table><tr><td><img></td><td><img></td><td><img></td></tr></table><End><END></td></tr><BEGIN><tr><td> </td></tr><tr><td>


In addittion to this Tekime suggested Removing this from the template will reduce the number of queries, because the shoutbox is an iframe element which is loading shoutbox_view.php, which is in turn running at least two queries. It also includes a number of other scripts (extension.inc, common.php, lang files, bbcode, template, database classes, etc.).

Basically with the shoutbox enabled you're getting two hits for every one. If your shoutbox is busy I imagine the queries could get noticeable over time.

To remove completely I did the following]Open templates/your_template/index_body.tpl[/b]

Find, and remove:
Code: Select all
<tr><td><BEGIN><Start><table> <tr> <td><span><a>{L_SHOUTBOX}</a></span></td> </tr> <tr><td> <iframe></iframe> </td> </tr> </table><table><tr><td><img></td><td><img></td><td><img></td></tr></table><End><END></td></tr>


Open index.php

Find, and remove]// Start add - Fully integrated shoutbox MOD         'U_SHOUTBOX' => append_sid("shoutbox.$phpEx"),         'L_SHOUTBOX' => $lang['Shoutbox'],         'U_SHOUTBOX_MAX' => append_sid("shoutbox_max.$phpEx"),// End add - Fully integrated shoutbox MOD[/code]
A
Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Sat May 06, 2006 12:12 pm

Configuring a group is more dificult, the above is how to remove it completely.

A
Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

Re: how to remove the shoutbox and calendar

PostAuthor: Master Dwarf » Mon May 08, 2006 5:18 pm

Thanks A! I think this is something for the Knowledge Base, IMO.
Last edited by Master Dwarf on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Sean Kelley
http://www.GrumblingDwarf.com
Wisconsin Region Game Site
User avatar
Master Dwarf
Integra Supporter
Integra Supporter
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 8:26 am
Cash on hand: 0.00
Location: Madison, WI

PostAuthor: Adrian Rea » Tue May 09, 2006 2:35 am

Last edited by Adrian Rea on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 11:59 pm
Cash on hand: 0.00

PostAuthor: kiwi » Tue May 23, 2006 5:29 am

ok, this is how to remove the shoutbox but how can i remove the calendar and the "who is online" next to it too?
Last edited by kiwi on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

kiwi
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Fri May 19, 2006 4:06 am
Cash on hand: 0.00

PostAuthor: Dragonsys » Tue May 23, 2006 11:08 am

"kiwi";p="6988" wrote:ok, this is how to remove the shoutbox but how can i remove the calendar and the "who is online" next to it too?


Do you want to remove them completely or only from the forum index page?
Last edited by Dragonsys on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 6:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: how to remove the shoutbox and calendar

PostAuthor: ihammo » Thu May 25, 2006 1:49 am

Hi

I too want to remove the shoutbox and calendar from the forums page only. Can I check that the suggestions posted above will only remove it from the forums page?

As a side note, how come the forum page was not integrated to the IM portal page management?
Last edited by ihammo on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

ihammo
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Joined: Thu May 25, 2006 1:42 am
Cash on hand: 0.00

Re: how to remove the shoutbox and calendar

PostAuthor: Dragonsys » Thu May 25, 2006 3:45 am

OPEN templates/{your_template}/index_box.tpl
FIND: (Who's Online Box)
Code: Select all
<tr><td><table><tr><td><table>  <BEGIN><tr><td> </td></tr><tr><td><table><tr><td><a>{L_WHO_IS_ONLINE}</a></td></tr><tr><td><img></td><td><span>{TOTAL_POSTS}<br>{TOTAL_USERS}<br>{NEWEST_USER}</span></td></tr><tr><td><span>{L_ONLINE_EXPLAIN}</span></td></tr></table><table><tr><td><img></td><td><img></td><td><img></td></tr></table></td></tr><END><BEGIN><tr><td> </td></tr><tr><td><table><tr><td><span>{L_HAPPY_BIRTHDAY}</span></td></tr><tr><td><img></td><td><span> {HAPPY_BIRTHDAY_FELLOWS} </span></td></tr></table><table><tr><td><img></td><td><img></td><td><img></td></tr></table></td></tr><END></table></td></tr></table></td></tr></table>


REPLACE WITH]</table>[/code]

FIND & REMOVE: (Mini Calendar)
Code: Select all
<td>{MINI_CAL_OUTPUT}</td><td><img></td>  
Last edited by Dragonsys on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Likes: 0 post
Liked in: 0 post
Joined: Mon Apr 10, 2006 6:45 am
Cash on hand: 0.00
Location: Springtown, TX

Re: how to remove the shoutbox and calendar

PostAuthor: XHIBIT » Thu Apr 17, 2008 10:52 pm

Ok guys, I've removed my useless shoutbox since I have my own embedded chat in the portal and the shoutbox served no purpose.
I have a new query.
If I now remove the Calendar can I resize the "who is online" box, wider without it conflicting in ie and firefox ?
Last edited by XHIBIT on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/LP-ani.gif[/img][/url]
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/ALBUM%203/rabbitbanner.jpg[/img][/url]
[url=http][img=center]http://5thshiftradio.top-site-list.com/images/banners/5thshiftradio.jpg[/img][/url]
User avatar
XHIBIT
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 25, 2007 10:44 am
Cash on hand: 0.00

Re: how to remove the shoutbox and calendar

PostAuthor: XHIBIT » Fri Apr 18, 2008 6:39 pm

Just clearing up a typo.
In the post by dragonsys he said to delete the mini calendar you go to index_box.tpl

Its actually index_body.tpl...I know cause I searched for the code to omit for close to 30 minutes.

However...to remove the shoutbox its index_box-tpl
Last edited by XHIBIT on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/LP-ani.gif[/img][/url]
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/ALBUM%203/rabbitbanner.jpg[/img][/url]
[url=http][img=center]http://5thshiftradio.top-site-list.com/images/banners/5thshiftradio.jpg[/img][/url]
User avatar
XHIBIT
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 25, 2007 10:44 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot]

cron