vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Shoutbox 1.0 (https://vborg.vbsupport.ru/showthread.php?t=38698)

Sue 07-19-2002 06:53 AM

I am getting ready to actually install this hack, but I had one question before I did it.

You know how the shoutbox is Vertical like so:
||
||
||
||
||

Is there a way to make it so it's horizontal, and multiple shouts can be seen across the top of the forum homepage like:

===========

(can't think of any other way to display what I mean) :D

Sue

Edit: One more Q . . . any way to show the Shoutbox in an index.html page? I'm not too great at doing things like that :cross-eyed:

slazareth 07-19-2002 08:18 PM

Hey TWT,

I was wondering how I can make it so I can delete shoutbox posts. I am the admin, but I don't see the delete button...I am userid 1...so what should I do?

Thanks!

dprice 07-20-2002 10:55 PM

The hack posted by someone to show the last X shouts does not work:

shoutz = $DB_site->query('SELECT u.username, s.userid, s.shout_text, s.timestamp FROM user u, shoutbox s WHERE u.userid = s.userid ORDER BY s.timestamp DESC LIMIT 10');
while ($shout10top = mysql_fetch_array($shoutz)):
++$shout10topnbsp;
$shout[timestamp] = vbdate('n-j-y, g:i:s a', $shout10top[timestamp]);
$shout[shout_text] = bbcodeparse($shout10top[shout_text]);
$shouts .= "<smallfont><b>Posted by <a href=\"member.php?s=$sesion[sessionhash]&action=getinfo&userid=$shout10top[userid]\" class=\"small\">$shout10top[username]</a><br> Posted @ $shout[timestamp]</b></smallfont><br/><smallfont>$shout[shout_text]</smallfont><br><br>";
endwhile;
eval("\$the_shoutbox .= \"".gettemplate("forumhome_shoutbox")."\";");

Any other solutions?

Kars10 07-21-2002 06:34 AM

Hello Chris!!
This Hack is one of the greatest ive seen here on VB.org.
I installed it not with vbhacker (pure manually) and it worked beautiful!!
My Users like it much and me to.
Thank u very very much.
I klick installed!! ;)

Kars10 07-21-2002 07:34 AM

Hello Chris!
I forget something: i using the vbindex-hack. Is there a way to put the latest shout on this site?? I think the change on the index.php in your hack must be done also on the "Vbindex-Site". But what else must i do?? :confused:

shovel 07-22-2002 01:16 AM

Hey Chris. Would you mind if I upgraded this hack? I've added many new options to my own creation like an installer, Shout Edit, Shoutbox Moderators, and more. I respectfully still acredit your original work. What do you think?

Sue 07-25-2002 07:02 PM

Quote:

Originally posted by Sue
I am getting ready to actually install this hack, but I had one question before I did it.

You know how the shoutbox is Vertical like so:
||
||
||
||
||

Is there a way to make it so it's horizontal, and multiple shouts can be seen across the top of the forum homepage like:

===========

(can't think of any other way to display what I mean) :D

Sue

Edit: One more Q . . . any way to show the Shoutbox in an index.html page? I'm not too great at doing things like that :cross-eyed:


anyone? bueller? bueller?

:confused:

Kars10 07-28-2002 02:27 PM

*bumb*

Erwin 07-28-2002 10:41 PM

Suggestion: Users Browsing Shoutbox (at the top of the Shoutbox page) - requested by my members. :)

This is a great hack by the way. Thanks!

Erwin 07-30-2002 08:07 PM

Has anyone managed to figure out how to limit the number of smilies in shouts? I have users piling on 50 smilies at once in the shouts, which really stuffs up the index page. :)

Erwin 08-01-2002 02:53 AM

Okay, I went ahead and figured out how to limit the number of smilies in each shout to 5.

In shoutbox.php, find:

PHP Code:


  
if ($type == 'shout' && $comment_submit && trim($message) != '' && $bbuserinfo[userid] > 0) { 

Directly underneath, add:

PHP Code:


  $parsey  
bbcodeparse($message011);
  if (
countchar($parsey,"<img")>5) {
        eval(
"standarderror(\"".gettemplate("error_toomanyimages")."\");");
        exit;
        } 

Change the number 5 to any number you want for your shoutbox. It works well! :)

Schorsch 08-01-2002 03:05 AM

Danke Erwin funktioniert wunderbar :)

-------------------------------------------

Thanks Erwin works fine :)

cu
Schorsch

Heineken77 08-01-2002 10:44 PM

Can I ask a huge favour? :D

I am attatching a picture of what my forum index looks with this post...see below :)

Now what I want to do:

1 - get the heading you see above the shoutbox: Forum/Posts/Threads/Last Post/Moderator to be moved right above and stick to the top of the first category of my forum.

2 - Have the shoutbox section ((that would be The Shoutbox - Latest Shout bar ... and the bar below it that has the poster's name and shout in it)) to stick to the bottom of the Private Messages bar you see in the attatched screenshot. And then leave a space between it before the Forum/Posts/Threads heading begins.

3 - I would also love to have The Shoutbox bar look the same as the Private Messages and Important Announcement Categories look on my forum. Rather than having the background Black and the writing Green :(

Is there anyone who could help me on this one please? :(

Kars10 08-03-2002 06:09 PM

Hello heineken. I think you did not exactly what the manual says.
Normaly it would look like the PM-Bar.
In which template did you place "$the_shoutbox" ?
This must be addet to forumhome-template..directly after $pminfo
Hope that fixed youre Problem... ;)

BlackTiger 08-03-2002 06:15 PM

begin 666 Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ Your post was processed and added! Re_ What Styles are we All using .eml
M2&]I:&]I+@T*#0I):R!B96X@965N('!A87(@=V5E:VIE<R!M970@=F%K8 6YT
M:64N#0I(970@:V%N(&1U<R!E=F5N(&1U<F5N(&5E<B!J92!E9 6X@86YT=V]O
M<F0@:W)I:F=T+@T*06QS(&AE="!V<F%G96X@>FEJ;B!O=F5R( '-A=&5L;&EE
M="!O9B!S871E;&QI=&5F=6XL#0IS8VAR:6IF(&1A;B!D96YK= &5N:T!S871E
M;&QI=&5F=6XN;W)G(&5E;B!B97)I8VAT:F4N#0H-"DES(&1I="!B97)I8VAT
M('-P96-I86%L(&)E9&]E;'0@=F]O<B!M:6H@>F5L9BP-"F1A;B!K<FEJ9R!J
M92!V86YZ96QF(&5E;B!A;G1W;V]R9"!A;',@:6L@=&5R=6<@8F5N+@T*#0I4
8;W0@>FEE;G,N#0H-"D)L86-K(%1I9V5R
`
end

Kars10 08-06-2002 10:53 AM

Hello Guys
@ Post 80, the same Problem to me.
I need also the Username with the *.
Please help me!! :)

NexDog 08-06-2002 01:43 PM

The hack rocks.....

Bit of a basic question, but how do I change the colour of the bar the shoutbox is on, on the index page. It seems to have taken the wrong variable. If you look on our forum, the shoutbox is set on dark blue, would be better if it was purple like the forum categories......

TWTCommish 08-06-2002 01:50 PM

Actually, it's not the "wrong" variable -- it's designed to take on the table head color, rather than the category color. If you want to change that, though, find all instances of this...

{ tableheadbgcolor }

in your forumhome_shoutbox template...and replace them with this...

{ categorybackcolor }

...then, replace the instances of this...

{ tableheadtextcolor }

...with this...

{ categoryfontcolor }

Of course, remove the spaces. :)

Kars10 08-06-2002 03:53 PM

@ Twt, why you answer not to my questions??
I ask something...nothing happends.
Someone else asks and get the answer from you.....:confused:

TWTCommish 08-06-2002 03:58 PM

I don't know if you realize this, but I do this in my spare time, and there are about a DOZEN questions that are unanswered. I just get to them whenever I can...and I tend to address the easy ones off the top of my head right away.

Tok Muda 08-06-2002 04:31 PM

Hello,

Is there a way to disable the html codes? my users
had mess up my shoutbox using html on their shouts?
thanks ...

Kars10 08-06-2002 04:41 PM

@ Twt, i know this.
Wonder after Post 80, the user asks the same then me.....has the same problem than me, nothing frome you comes....
I mean i am not a hacker, i just use the work from the hackers here (also from you), but if in my Forum a user asks something, and i don“t know the answer i let him know.
Sorry .....

NexDog 08-07-2002 04:07 AM

Thanks TWT. Actually, the dark blue is starting to grow on me. :)

NexDog 08-07-2002 04:24 AM

Hey, how can I list the last 5 shouts on index instead of just having one? A scroll would be even better. :D

RenzukenX 08-08-2002 05:25 PM

I'm having a very small problem, but a problem none the less.
My forums are situated in a directory (Ie www.example.com/forum) and everytime someone goes to post a shout it goes to the main directory (www.example.com).

What do I need to edit to fix this?

Jadelit 08-09-2002 10:11 AM

Ok I looked at all the posts, and did some of the fixes, but when I try to submit it just idles for about 30 seconds and then displays a 404. Then when I go back to */shoutbox.php it shows about 27 posts.

Any help I would appreciate!

Mr_P 08-09-2002 10:26 AM

<a href="https://vborg.vbsupport.ru/showthread.php?postid=273727#post273727" target="_blank">https://vborg.vbsupport.ru/showt...727#post273727</a>

read that post m8 and it does work

u got the url problem thats all

RenzukenX 08-09-2002 11:03 AM

No that doesn't seem to work.
My shoutbox is located at http://www.coalitionforums.com/hyper...t/shoutbox.php
and whenever a shout is submitted it still tries to go back to the main directory www.coalitionforums.com

Mr_P 08-09-2002 11:16 AM

after i hit the submit button to post a shout i got the page not displayed all time so if i went back and refreshed the shout had been added but the url was wrong once it had been submitted so i found all instances of where the url was pointing to and changed them to my current dir as mine is not in a vbb folder and i think this threw it a bit.

NexDog 08-09-2002 11:40 AM

Quote:

Originally posted by NexDog
Hey, how can I list the last 5 shouts on index instead of just having one? A scroll would be even better. :D
I know you want to help me. Can't you feel the urge? ;)

Sadie Frost 08-12-2002 07:23 PM

Quote:

Originally posted by Mr_P
after i hit the submit button to post a shout i got the page not displayed all time so if i went back and refreshed the shout had been added but the url was wrong once it had been submitted so i found all instances of where the url was pointing to and changed them to my current dir as mine is not in a vbb folder and i think this threw it a bit.
I had the same problem. So I had to go through all the shoutbox templates and where the path was forums/blahblah.php, I changed it to just blahblah.php

:)

Okiewan 08-18-2002 08:06 PM

The smilie issue has to do with an installed hack, wish I could remeber the name of it, but it's the one that modify's vbcode.js .... causing smilies to be inserted where the curser is, rather than the end of the post text.

I put the original version back in and the smilies work. It would be SWEET if the shoutbox could use the modifed file, inserting smilies is a LOT nicer with that hack.

NexDog 08-19-2002 02:00 AM

Be great to have a scoller for the shoutbox or at least show the last 3 shouts on index.php.......

Odil 08-19-2002 08:19 AM

My page is empty after I post a shout. It only shows the number of shouts for me which adds 27 shouts to each one I post, yet it doesn't show the shouts at all like it should. It only shows the newest shout on the main page.

What can be wrong here?

Odil

Webmasta XT 08-19-2002 06:01 PM

my lastest shout on ForumHome, doesn't display the smilies... it displays the smilies in the shoutbox.php but not on forumhome.. WHY? help..

TWTCommish 08-19-2002 06:25 PM

Open index.php. Replace this:

$shout[shout_text] = bbcodeparse($shout[shout_text]);

...with this...

$shout[shout_text] = bbcodeparse($shout[shout_text], X);

Replace "X" with a forumid number of one of your forums that allows vB Code parsing. :) That should do it.

NexDog 08-19-2002 11:39 PM

Hey TWT,

I definitely saw a forum that had your shoutbox with a scroller on the home page. How is it done? If that is a bit hectic, how to post the last 3 shouts instead of one???

Webmasta XT 08-20-2002 03:31 AM

thnx TWT, this hack rules!

Googa 08-21-2002 03:48 PM

Quote:

Originally posted by RenzukenX
No that doesn't seem to work.
My shoutbox is located at http://www.coalitionforums.com/hyper...t/shoutbox.php
and whenever a shout is submitted it still tries to go back to the main directory www.coalitionforums.com

Just fixed this problem for myself.

Go into the template "shoutbox_postshout", and find:

Code:

  <form action="/shoutbox.php" method="post" name="vbform">
and replace it with:

Code:

  <form action="/shoutbox.php" method="post" name="vbform">
That'll do it nice and easy :)

Erwin 08-22-2002 12:30 AM

The 2 lines of codes in your post are the same. You meant to say to remove the "/" before the "shoutbox.php". :)


All times are GMT. The time now is 03:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01697 seconds
  • Memory Usage 1,831KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete