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)

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.


All times are GMT. The time now is 04:07 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.01346 seconds
  • Memory Usage 1,743KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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