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)

ga.net 02-26-2003 09:01 PM

Quote:

Originally posted by Kars10
I have the "Randomsmilies-Hack" installed.
Now i found a way to display the order of the smilies like on that hack. :)

Just replace:
PHP Code:

$smilies $DB_site->query("SELECT title, smilietext, smiliepath FROM smilie ORDER BY smilieid ASC LIMIT $smilie_limit"); 

with

PHP Code:

$smilies $DB_site->query("SELECT title, smilietext, smiliepath FROM smilie ORDER BY RAND() ASC LIMIT $smilie_limit"); 

Have fun! ;)

What's this hack for? Will it fix the problem of the smilies not being displayed properly in the shoutbox? Btw what php is this to edit?

Kars10 02-27-2003 06:13 AM

No the "Randomsmilies-Hack" shows your clickable smilies randomly (when you refresh the page). You find this code in shoutbox.php. :)

ga.net 02-27-2003 10:03 AM

Quote:

Originally posted by Kars10
No the "Randomsmilies-Hack" shows your clickable smilies randomly (when you refresh the page). You find this code in shoutbox.php. :)
Ok! But do you have any idea why my smilies dont work in my shoutbox?

www.greenarcher.net/forums/shoutbox.php

Kars10 02-27-2003 10:32 AM

Have you "Smilies in Signatures" (vBulletin Options) turned off? That could be a reason! ;)

BTW: Why is your header and footer not displayed?

iceman11111 02-28-2003 03:59 PM

I don't understand the first instruction

"Run this query on your database:"

Could someone please explain how I do this?

thanks
iceman

Kars10 03-01-2003 10:47 AM

Quote:

Originally posted by iceman11111
I don't understand the first instruction

"Run this query on your database:"

Could someone please explain how I do this?

thanks
iceman

Search for "how to run querys".
Thats basic to install a hack!! ;)

ga.net 03-02-2003 04:55 AM

Is there a way to limit the number of characters in the shoutbox???

Kars10 03-02-2003 07:00 AM

Quote:

Originally posted by ga.net
Is there a way to limit the number of characters in the shoutbox???
I just searched this thread and found this: ;)

https://vborg.vbsupport.ru/showthrea...793#post325793

ga.net 03-02-2003 11:43 AM

Thanks a lot! :)

Kars10 03-02-2003 12:36 PM

No Problem! ;)


All times are GMT. The time now is 05:50 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.01363 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_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