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)

a43079 01-01-2003 04:34 PM

Quote:

Originally posted by a43079
sorry i loaded the hack and this is the error i am getting

Warning: unexpected error in date() in C:\Program Files\Apache Group\Apache2\htdocs\forums\admin\functions.php on line 1599

Please Help

if anyone can provide assistance with this please

Phat Papa Pete 01-01-2003 08:11 PM

Is there any way to disable the [IMG] code? Members are abusing the Shoutbox by shouting extremely large pictures. Very annoying.

mistyl 01-02-2003 07:14 PM

Wonderful hack!! Works in 2.2.9 with no problems at all!!

Brahm 01-05-2003 06:33 PM

Another Great Hack TWTCommish! I am still trying to figure out how to put a preview box on my home page, but I am sure I will get it eventually.

I am using the myvbindex.php home page provided here at VB.org.

ashkins.net

mitchell 01-05-2003 10:06 PM

I want to be able to display more than one shout on my main page. Any ideas?

Elly 01-05-2003 10:37 PM

Quote:

Originally posted by Mathiau
Hey all

I am not using vb portal or anything, but i was curious how exactly i can put the shoutbox down the right or left side of my forum as i have my forums Main Table Width @ 50% so i have room to do that..

all help is appreciated.


I am also looking for this I do use vbindex and it is on there but I cant figure out how to get the same concept to work on my forum page -.-

mitchell 01-06-2003 02:06 AM

The bottom of my index.php file looks like this. I am trying to get multiple shouts to appear, no luck. Someone help me out here.

PHP Code:

$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")."\";");
eval(
"dooutput(\"".gettemplate('forumhome')."\");"); 


Brahm 01-08-2003 05:17 AM

Quote:

The bottom of my index.php file looks like this. I am trying to get multiple shouts to appear, no luck. Someone help me out here

Replace the contents of the "forumhome_shoutbox" with:

PHP Code:

<tr id="cat">
    <
td bgcolor="#1D6AA0" colspan="6"><a href="$bburl/shoutbox.php?s=$session[sessionhash]title="The Shoutbox"><normalfont color="#EEEEFF"><b>The Shoutbox Latest Shout</normalfont></b></a></td>
  </
tr>
  
  <
tr>
    <
td bgcolor="#13486D" colspan="6">$shouts</td>
  </
tr

As in Bald Bouncer's original post?

derb 01-08-2003 07:04 PM

hi,

i just dl the hack and saw in the instructions that i need to run a query...

could someone please explain me how to run a query ?

sorry for lame question, but i wanna have this on our forum :-)

thanx for your time !

Brahm 01-08-2003 07:41 PM

I use phpmyadmin for all of my database queries and such.
http://phpmyadmin.net/


All times are GMT. The time now is 12:47 PM.

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.01508 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)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