Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Shoutbox mod
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Shoutbox mod
PostPosted: 07/05/2007 8:35 AM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:59 PM
Location: west midlands:uk
greatbrE.gif
Hey nightrider,

Is there a chance i could add the shoutbox on every page of my forum? It is getting used quite often now coz i use it for competitions etc and it would be great if it could be on every page so members dont have to keep going back to the index page....
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Shoutbox mod
PostPosted: 07/05/2007 4:49 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:59 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Yes, you can add it. Simply copy the shoutbox code from templates/subSilver/index_body.tpl file and paste it into templates/subSilver/overall_header.tpl file.

If you don't get it, just give me your templates/subSilver/index_body.tpl code and overall_header.tpl code and I will make it for you.

occasion9
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Shoutbox mod
PostPosted: 07/06/2007 7:48 AM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:59 PM
Location: west midlands:uk
greatbrE.gif
ok, i did do this for something else but it never worked then nightrider sorted it for me, il give it ago later on and il let you know if it works or not!

Thanks  sunny
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Shoutbox mod
PostPosted: 07/06/2007 3:21 PM Reply with quote
Citation
~^Karen^~
Citation
Posts 556
Word Cnt. 20,326
BDay Jan 26
Sign Aquarius
Sex Sex:Female
Joined: Nov 26, 2006
Local time: 9:59 PM
Location: west midlands:uk
greatbrE.gif
Hey...

Iv tried this mate, the shout box is there but its just all white, no messages can be wrote in there, iv tried this on my test forum:

http://toddlersandbabies.co.uk/test/index.php You'l probably have to join though, as i think nightrider wont be around for a while!
Back to Top
View user's profile Find all posts by ~^Karen^~ Send private message   Visit poster's website Yahoo Messenger MSN Messenger
Re: [Solved] Shoutbox mod
PostPosted: 07/06/2007 4:01 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:59 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
oOps!

For this complete empty shoutbox, i cannot do anything!  Brick wall
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Shoutbox mod
PostPosted: 07/07/2007 4:32 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:59 PM
Location: St Pete, FL
peace.gif
If you added the Shoutbox to the Overall Header, then you will have to add the code that you added to the index.php file into the includes/page_header.php file too to get this to work...

OPEN
includes/page_header.php

FIND
Code:
'PRIVMSG_IMG' => $icon_pm,

AFTER, ADD
Code:

// 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

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Shoutbox mod
PostPosted: 07/07/2007 5:21 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:59 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Ahaan. I thought we should add the code only in overall_header.tpl  Brick wall
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Shoutbox mod
PostPosted: 07/07/2007 6:28 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:59 PM
Location: St Pete, FL
peace.gif
That would have worked if the original MOD had added the code to the page_header.php file.  Then many other files could see the settings too.  But in this case, the MOD added the code to the index.php file, so ONLY the index_body.tpl file could see the settings.  Since the shoutbox code was moved to the overall_header.tpl file, then the code need to also be added to the page_header.php file so that the overall_header.tpl file could see the settings...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Shoutbox mod
PostPosted: 07/07/2007 6:58 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 12:59 AM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Ah, I see.
Thanks for making me understand so that I can be careful next time.
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: Shoutbox mod
PostPosted: 07/07/2007 8:03 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:59 PM
Location: St Pete, FL
peace.gif
Well if you forget and run into a similar problem in the future, I imagine that you will be more likely to remember this discussion and be able to figure it out.  The more you see it, the more obvious it will become...

banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0724s (PHP: 60% - SQL: 40%) - SQL queries: 57 - GZIP disabled - Debug on