SMFPacks.com Shoutbox

Started by Nibogo, October 19, 2008, 11:41:06 AM

Previous topic - Next topic

phpaddicted

Thnaks haito ... it is working now.. it was my mistake..

I had put "all" only (without semicolumn) now i have put ";all" and it is working.

Thanks for solution..

Haito... i have installed this shoutbox on non default theme by very hard work... now if i will again install new verison of this one then it will big problem for me.

Can you tell me any chnage in any file which can increase message count in shoutbox..?? can change in any for loop or any other thing directly in file??
then tell me please.

Thanks
Ankur

phpaddicted

Hello Haito..

I have solved it and got solution to increase message count in shoutbox.

Here is solution

in ./Sources/HP_shoutBox.php

go to line 86

you will find this line like
$query = db_query("SELECT ID_MEMBER, realName, style, message, timestamp, colorName FROM {$db_prefix}hp_shoutbox
ORDER BY timestamp DESC LIMIT 20", __FILE__, __LINE__);


Here you can see 20... change it to whatever number of message count you want to show. like this ... if you want to show 100 then it will be like this.

$query = db_query("SELECT ID_MEMBER, realName, style, message, timestamp, colorName FROM {$db_prefix}hp_shoutbox
ORDER BY timestamp DESC LIMIT 100", __FILE__, __LINE__);



Thanks
Ankur Gandhi

Neshesin

He Is My index.template i can`t edit :s..!   :-X

Mi Web [nofollow]

DareDevil1990

http://img300.imageshack.us/img300/9433/sadsadas.jpg this is how my sb appears on my custom there :( ....its intslled without any errors what to do ?

haito

Quote from: Neshesin on March 23, 2009, 10:47:46 PM
He Is My index.template i can`t edit :s..!   :-X


what's your themes?

Quote from: MRDJ on March 25, 2009, 09:27:53 AM
http://img300.imageshack.us/img300/9433/sadsadas.jpg this is how my sb appears on my custom there :( ....its intslled without any errors what to do ?

copy
Move the included file "Themes/default/HP_colorPicker.js" to "./Themes/default".
Move the included file "Themes/default/HP_shoutBox.js" to "./Themes/default".
Move the included file "Themes/default/HP_shoutBox_Mod.js" to "./Themes/default".
Move the included file "Themes/default/HP_shoutBox.template.php" to "./Themes/default".
Move the included file "Themes/default/HP_shoutBox_Manage.template.php" to "./Themes/default".
Move the included file "Themes/default/images/del.gif" to "./Themes/default/images".
Move the included file "Themes/default/images/edit.gif" to "./Themes/default/images".
Move the included file "Themes/default/images/loading.gif" to "./Themes/default/images".
Move the included file "Themes/default/images/bbc/bgcolor.gif" to "./Themes/default/images/bbc".
Move the included file "Themes/default/images/bbc/caretos.gif" to "./Themes/default/images/bbc".
Move the included file "Themes/default/images/bbc/clean.gif" to "./Themes/default/images/bbc".
Move the included file "Themes/default/images/bbc/fontcolor.gif" to "./Themes/default/images/bbc".
Move the included file "Themes/default/images/bbc/nocolor.gif" to "./Themes/default/images/bbc".
Move the included file "Themes/default/languages/HP_shoutBox.english.php" to "./Themes/default/languages".
Move the included file "Themes/default/languages/HP_shoutBox_Manage.english.php" to "./Themes/default/languages".

change default--> themes which you use
www.japanesia.co.id | Portal Berita & Komunitas Untuk Kamu yang Suka Jepang

DareDevil1990

thnx for the help ,m8 :D....btw how do i make the shout box below the news and link tree right now it coming at the top of site just below the nav bar :)  please help :)

GPTvn

#406
QuoteIs it available to disable the "shoutbox.mp3" every time I reload the SB, because of the auto get link problem with IDM.

Just rename shoutbox.swf.

GPTvn

#407

QuoteAnyone have solution for changing SB's width? 

I wrapped SB within <table width = "80%"...
and it worked.



DareDevil1990

umm the topic seems to be dead for some days :( anyways i'll post my question for help
i want the shout to visible only to members not to guest they should even know there's a shout box until they register :D

so how to do this ?

GPTvn

Quote from: MRDJ on March 29, 2009, 07:53:59 AM
i want the shout to visible only to members not to guest they should even know there's a shout box until they register :D

You should uncheck Admin CP > Permissions > Guest > View Shout Box.

GL.


/Not like you, I want the SB always show to everyone include guests, and unable to be collapsed :D
Any idea ?


stylishkishore

Hi everybody..

I am using This ShoutBox..but getting error..can any one help me..

The thread is posted at.. http://www.simplemachines.org/community/index.php?topic=301897.0

Please help me..

Waiting for your reply..

Thanks in advance...

DareDevil1990

Quote from: GPTvn on March 29, 2009, 12:46:31 PM
Quote from: MRDJ on March 29, 2009, 07:53:59 AM
i want the shout to visible only to members not to guest they should even know there's a shout box until they register :D

You should uncheck Admin CP > Permissions > Guest > View Shout Box.

GL.


/Not like you, I want the SB always show to everyone include guests, and unable to be collapsed :D
Any idea ?



there no such permission for guest under admin>permisson>guest :p

anyone else?

GPTvn



GPTvn

Quote from: MRDJ on March 30, 2009, 03:37:40 AM
hxxp:img10.imageshack.us/img10/6317/dsdadas.jpg [nonactive]

see this there no shoutbox option :)

Are you using that lastest version ?


/  To show SB in every pages, I tried to put ";all" in "Pages where Shoutbox will be printed" but it seems not to work with 2.0RC1

VegaTheChosen

#415
fixed kinda

autarh

Hi i have installe version 2.0 today.. everything is working now but i can not set to show shoutbox when browsing and reading mesages...
this is my setings that i have tested andd that works

;all
boardindex
messageindex
categoryindex
forumindex
all
topicindex
themeindex
postindex
post

Moja Ladja > Nautika opšta... > POTRAGA ZA UKRADENIM STVARIMA I MOTORIMA > Ako ne možemo da ih sprečimo bar da im otežamo...

red color shows shoutbox ok, blue color do not show shoutbox

see pictures

Claine

I'm a real noob when it comes to this kind of thing.  I'd appreciate any help you can give me.  I'm running 1.1.8 with the Outline theme http://demo.dzinerstudio.com/  I thought I added all the code manually, but when I try to change theme I get this error:


Template Parse Error!
There was a problem loading the /Themes/Ruby_Coast/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/Ruby_Coast/index.template.php on line 161

152:         <br />
153:         ' . $txt['hs_sb_59'] . ':
154:         <table cellpadding="0" cellspacing="0" border="0" style="border: 1px solid #8d8d8d; margin: 2px 0 8px 0;">
155:         <tr><td id="hp_colorpicker_div_show" style="background-color: #FFFFFF;">
156:             <img border="0" src="', $settings['images_url'], '/blank.gif" width="80" height="18" alt="" /></td></tr></table>
157:         ' . $txt['hs_sb_60'] . ':
158:         <table cellpadding="0" cellspacing="0" border="0" style="border: 1px solid #8d8d8d; margin-top: 2px;">
159:         <tr><td id="hp_colorpicker_div_select" style="background-color: #FFFFFF;">
160:             <img border="0" src="', $settings['images_url'], '/blank.gif" width="80" height="18" alt="" /></td></tr></table></td>

161:         </tr><tr class="windowbg"><td colspan="2" align="right"><span class="smalltext"><a href="http://www.hackspark.com/scripts/smf-colorpicker_10.0.html" title="Hack's Park colorPicker" target="_blank">(cc) Hack's Park</a></span></td></tr></table>

162:     </div></div></td></tr></table>
163:             <input type="hidden" value="0" name="hdn" /><input type="hidden" value="0" name="hds" /><input type="hidden" value="0" name="hdk" /><input type="hidden" value="" name="hdcolor" /><input type="hidden" value="" name="hdbgcolor" /><input type="hidden" value="" name="hdface" />';
164:
165:         // Smilies


Atrum-Amicus

Quote from: dry3210 on February 13, 2009, 04:05:16 PM
Quote from: qubbah on February 11, 2009, 02:00:44 AM
how can i put it in php block using tinyportal?

I installed it and removed the

Quote
template_HP_shoutBoxMain();
And then added that into a block in tiny portal with php and it works

However it only works on the main page and not the boards...I can't figure out what to put in the "Sites where shoutBox will be printed (?action=)" part to get it to show there also


And yes, I wish it would save more shouts before clearing them out
Can someone please explain this step by step. I have been trying to get this to work in a tinyportal code box for days!!

Claine

I've managed to mostly fix it, but it still isn't posting or displaying messages.  I've attached a image of what it currently looks like.  Can somebody help me please.

Advertisement: