Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
[HTL] & [Normal] Shoutbox Hack - 1.03d Details »»
[HTL] & [Normal] Shoutbox Hack - 1.03d
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 01-09-2004 Last Update: Never Installs: 83
Supported
 

Re-released at https://vborg.vbsupport.ru/showthrea...790#post547790

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-10-2004, 04:38 PM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks great, although i only have one question. On forumhome, when it says lastest shout by..... every username is replace by a 0

this is after i have updated all counters and run the doupdate in shoutbox.php

any ideas anyone?

EDIT: not to worry, it's only the old shouts that are showing up like this, so nevermind.
  #23  
Old 01-10-2004, 04:46 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure you ran shoutbox.php?do=update?
  #24  
Old 01-10-2004, 05:47 PM
SB2002 SB2002 is offline
 
Join Date: Dec 2002
Location: United States
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol, i thought i had, but i'm almost ashamed to admit this, i forgot to remove the ? off of the end or i must have added an extra char. I ran it again just now and it's worked

/me is dumb

thanks for the help, great hack btw
  #25  
Old 01-10-2004, 09:35 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I give up on this hack because the mysql tableprefix must be put in the sqls before we can use it.
  #26  
Old 01-10-2004, 09:45 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

RC1 comes with an installer that inserts and creates everything with the prefix.
  #27  
Old 01-10-2004, 10:25 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's good news Link14716 I hope you can make it look as the pos31don chatbox because that whas awesome on the forumhome.
  #28  
Old 01-10-2004, 10:27 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, an input box on forumhome is an option and is enabled by default.
  #29  
Old 01-10-2004, 10:30 PM
AshAbed AshAbed is offline
 
Join Date: Nov 2003
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://forums.rebelliongfx.com/adv_index.php" target="_blank">http://forums.rebelliongfx.com/adv_index.php</a>
i tried to add the shoutbox on another page... the phrases dont show up and the scroll-section where the shouts should be dont show up
if it doesnt take a lot of your time could you possibly tell me how i could fix it
Thanks alot
  #30  
Old 01-10-2004, 10:34 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a 404 error on the above URL.

Just make sure you make all appropriate changes that are supposed to be made to index.php to the other page and it should work.
  #31  
Old 01-11-2004, 01:11 AM
AshAbed AshAbed is offline
 
Join Date: Nov 2003
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

http://forums.rebelliongfx.com/adv_index2.php
i edited it just like i edited the index.php page and now its fine except the same messages repeat themselves alot of time... theres about 9 messages and they repeat untill theres 50...?
i think it has something to do with this code:
PHP Code:
require_once('./includes/functions_bbcodeparse.php');
if (
$vboptions['shoutbox_forumhomeshouts'] == 1) {
    
$noviewperms $vbphrase['shoutbox_noviewperms'];
    
$shoutbox_posts $DB_site->query("
                            SELECT s.*, u.username AS absusername
                            FROM " 
TABLE_PREFIX "shoutbox_posts s 
                            LEFT JOIN " 
TABLE_PREFIX "user u ON (s.userid=u.userid) 
                            WHERE deleted='0'
                            ORDER BY time DESC LIMIT 
$vboptions[shoutbox_numberofforumhomeshouts]
                            "
);
    while (
$shoutbox_post=$DB_site->fetch_array($shoutbox_posts)) {
        if (
$tachyuser != in_coventry($shoutbox_post['userid'])) {
            if ((
$permissions['shoutboxpermissions'] & SHOUTCOVENTRY)) {
                
$shout_tachygoestocoventry 1;
            } elseif (!(
$permissions['shoutboxpermissions'] & SHOUTCOVENTRY)) {
                
$screwyoucoventryshout 1;
            }
        }
        
$shoutbox_post_date vbdate($vboptions['dateformat'], $shoutbox_post['time'], 1);
        
$shoutbox_post_time vbdate($vboptions['timeformat'], $shoutbox_post['time']);
        
$shoutbox_post_text $shoutbox_post['text'];
        
// In case you have the /me code hack...
        
$post['username'] = $shoutbox_post['username'];
        
$shoutbox_text parse_bbcode2("$shoutbox_post_text"$vboptions['shoutbox_allowhtml'], $vboptions['shoutbox_allowimage'], $vboptions['shoutbox_allowsmilies'], $vboptions['shoutbox_allowbbcode'], 01);
        
$ignore = array();
        if (
trim($bbuserinfo['ignorelist'])) {
            
$ignorelist preg_split('/( )+/'trim($bbuserinfo['ignorelist']), -1PREG_SPLIT_NO_EMPTY);
            foreach (
$ignorelist AS $ignoreuserid) {
                
$ignore["$ignoreuserid"] = 1;
            }
        }
        if (isset(
$ignore["$shoutbox_post[userid]"]) AND !in_array($shoutbox_post['userid'], explode(' '$bbuserinfo['buddylist']))) {
            
$ignoreuser '1';
        } else {
            unset(
$ignoreuser);
        }
        if (
$screwyoucoventryshout != 1) {
            eval(
'$latestshouts .= "' fetch_template('forumhome_shoutbit') . '";');
            unset(
$shout_tachygoestocoventry);
        } else {
            unset(
$screwyoucoventryshout);
        }
    }

Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05068 seconds
  • Memory Usage 2,326KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete