Translate
Sub Menu
Links Menu
Online Users

In total there are 65 users online :: 1 registered, 0 hidden and 64 guests

Most users ever online was 372 on Thu May 09, 2019 3:50 am

Registered users: Majestic-12 [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

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 2: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 5:00 pm, edited 1 time in total.

TheJT
Members
Members
 
Posts: 55
Joined: Sat May 06, 2006 2:12 am

PostAuthor: Master Dwarf » Sat May 06, 2006 9: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 5: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
Joined: Sun Apr 09, 2006 9:26 am
Location: Madison, WI

PostAuthor: Adrian Rea » Sat May 06, 2006 1: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 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Joined: Sun Mar 12, 2006 12:59 am

PostAuthor: Adrian Rea » Sat May 06, 2006 1: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 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Joined: Sun Mar 12, 2006 12:59 am

Re: how to remove the shoutbox and calendar

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

Thanks A! I think this is something for the Knowledge Base, IMO.
Last edited by Master Dwarf on Wed Dec 31, 1969 5: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
Joined: Sun Apr 09, 2006 9:26 am
Location: Madison, WI

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

Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Joined: Sun Mar 12, 2006 12:59 am

PostAuthor: kiwi » Tue May 23, 2006 6: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 5:00 pm, edited 1 time in total.

kiwi
Newbie
Newbie
 
Posts: 7
Joined: Fri May 19, 2006 5:06 am

PostAuthor: Dragonsys » Tue May 23, 2006 12:08 pm

"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 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Joined: Mon Apr 10, 2006 7:45 am
Location: Atlanta, GA

Re: how to remove the shoutbox and calendar

PostAuthor: ihammo » Thu May 25, 2006 2: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 5:00 pm, edited 1 time in total.

ihammo
Newbie
Newbie
 
Posts: 28
Joined: Thu May 25, 2006 2:42 am

Re: how to remove the shoutbox and calendar

PostAuthor: Dragonsys » Thu May 25, 2006 4: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 5:00 pm, edited 1 time in total.
Image
User avatar
Dragonsys
Sr Integra Member
Sr Integra Member
 
Posts: 326
Joined: Mon Apr 10, 2006 7:45 am
Location: Atlanta, GA

Re: how to remove the shoutbox and calendar

PostAuthor: XHIBIT » Thu Apr 17, 2008 11: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 5: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
Joined: Wed Jul 25, 2007 11:44 am

Re: how to remove the shoutbox and calendar

PostAuthor: XHIBIT » Fri Apr 18, 2008 7: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 5: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
Joined: Wed Jul 25, 2007 11:44 am


Return to IntegraMOD 140

Who is online

Registered users: Majestic-12 [Bot]

cron